summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_examiner.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-03-01 11:50:25 +0100
committerCarl Hetherington <cth@carlh.net>2021-03-01 11:50:25 +0100
commitcc40b6ea6d882c07c05602d6f3dd1c185481585b (patch)
treeb23a4fc5798d9a53282697ac284d171fab0ec0fc /src/lib/ffmpeg_examiner.h
parent33ffe32721cf7789f4b3a768a581d65b69779af7 (diff)
With multi-threaded decoding we need to be careful to flush
after the main examination loop otherwise we can miss things.
Diffstat (limited to 'src/lib/ffmpeg_examiner.h')
-rw-r--r--src/lib/ffmpeg_examiner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h
index 394e51409..41f517724 100644
--- a/src/lib/ffmpeg_examiner.h
+++ b/src/lib/ffmpeg_examiner.h
@@ -82,7 +82,7 @@ public:
}
private:
- void video_packet (AVCodecContext *, std::string& temporal_reference);
+ bool video_packet (AVCodecContext *, std::string& temporal_reference);
void audio_packet (AVCodecContext *, std::shared_ptr<FFmpegAudioStream>);
std::string stream_name (AVStream* s) const;