diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-21 02:45:30 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-21 02:45:30 +0000 |
| commit | 84012cdd64f451891febd36154b7226ea21a899b (patch) | |
| tree | 096fb898aa14d936dfc8f8598a6908337508233c /src/lib/ffmpeg_decoder.h | |
| parent | 254b3044d72de6b033d7c584f5abd2b9aa70aad5 (diff) | |
Put Film pointer into Decoder.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
| -rw-r--r-- | src/lib/ffmpeg_decoder.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index 408ce30a7..640229f23 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -47,19 +47,19 @@ class FFmpegDecoder : public FFmpeg, public Decoder public: FFmpegDecoder (boost::shared_ptr<const Film> film, boost::shared_ptr<const FFmpegContent>, bool fast); - bool pass (boost::shared_ptr<const Film> film); - void seek (boost::shared_ptr<const Film> film, ContentTime time, bool); + bool pass (); + void seek (ContentTime time, bool); private: friend struct ::ffmpeg_pts_offset_test; - void flush (boost::shared_ptr<const Film> film); + void flush (); AVSampleFormat audio_sample_format (boost::shared_ptr<FFmpegAudioStream> stream) const; int bytes_per_audio_sample (boost::shared_ptr<FFmpegAudioStream> stream) const; - bool decode_video_packet (boost::shared_ptr<const Film> film); - void decode_audio_packet (boost::shared_ptr<const Film> film); + bool decode_video_packet (); + void decode_audio_packet (); void decode_subtitle_packet (); void decode_bitmap_subtitle (AVSubtitleRect const * rect, ContentTime from); |
