diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-03-01 21:12:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-03-02 15:40:18 +0100 |
| commit | b9cee5bab06b073cff91b8ca618a6452a354a45e (patch) | |
| tree | 9e323aa08fd0a79ea741e09827f6381bd92f1b9e /src/lib/ffmpeg_decoder.h | |
| parent | 2091311fde159ec39126608327eb93b28898bd6c (diff) | |
Key _next_time with the audio stream pointer.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
| -rw-r--r-- | src/lib/ffmpeg_decoder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index 58120da33..a0a93c9a0 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -58,7 +58,7 @@ private: int bytes_per_audio_sample (std::shared_ptr<FFmpegAudioStream> stream) const; std::shared_ptr<FFmpegAudioStream> audio_stream_from_index (int index) const; - void process_audio_frame (std::shared_ptr<FFmpegAudioStream> stream, int stream_index, int64_t packet_pts); + void process_audio_frame (std::shared_ptr<FFmpegAudioStream> stream, int64_t packet_pts); bool decode_video_packet (AVPacket* packet); void decode_audio_packet (AVPacket* packet); @@ -80,5 +80,5 @@ private: std::shared_ptr<Image> _black_image; - std::vector<boost::optional<dcpomatic::ContentTime> > _next_time; + std::map<std::shared_ptr<FFmpegAudioStream>, boost::optional<dcpomatic::ContentTime>> _next_time; }; |
