- bool decode_video_packet ();
- void decode_audio_packet ();
- void decode_subtitle_packet ();
+ std::shared_ptr<FFmpegAudioStream> audio_stream_from_index (int index) const;
+ void process_audio_frame (std::shared_ptr<FFmpegAudioStream> stream);
+
+ 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);