summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
-rw-r--r--src/lib/ffmpeg_decoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h
index 663a3c687..ce2476fb0 100644
--- a/src/lib/ffmpeg_decoder.h
+++ b/src/lib/ffmpeg_decoder.h
@@ -24,6 +24,7 @@
*/
+#include "bitmap_text.h"
#include "decoder.h"
#include "ffmpeg.h"
#include "util.h"
@@ -72,7 +73,7 @@ private:
void decode_and_process_audio_packet (AVPacket* packet);
void decode_and_process_subtitle_packet (AVPacket* packet);
- void process_bitmap_subtitle (AVSubtitleRect const * rect, dcpomatic::ContentTime from);
+ BitmapText process_bitmap_subtitle (AVSubtitleRect const * rect);
void process_ass_subtitle (std::string ass, dcpomatic::ContentTime from);
void maybe_add_subtitle ();