diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-09-30 10:51:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-09-30 10:51:31 +0100 |
| commit | 992a640cb1ceff2a57867f3167fec71ee67bf8a4 (patch) | |
| tree | 3dab081db3d279306e19b3b2b2713f4dfe465820 /src/lib/ffmpeg_decoder.cc | |
| parent | cc9bfc4b9974b81e7a653e84c8a894bbaae726ec (diff) | |
Allow loading of multiple films from the batch converter command line.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index a0965dcfb..f0500a629 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -421,6 +421,10 @@ FFmpegDecoder::decode_audio_packet () ct += ContentTime::from_frames (remove, (*stream)->frame_rate ()); } + if (ct < ContentTime()) { + LOG_WARNING ("Crazy timestamp %s", to_string (ct)); + } + /* Give this data provided there is some, and its time is sane */ if (ct >= ContentTime() && data->frames() > 0) { audio->give (*stream, data, ct); |
