- void maybe_add_subtitle ();
- boost::shared_ptr<AudioBuffers> deinterleave_audio (boost::shared_ptr<FFmpegAudioStream> stream) const;
+ bool decode_and_process_video_packet (AVPacket* packet);
+ 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);
+ void process_ass_subtitle (std::string ass, dcpomatic::ContentTime from);