summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-06 22:55:11 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-06 22:55:11 +0000
commitb0802a7644c12bc039c070367440439f7afe133a (patch)
tree2fa4a2c322304f48bab0994bb37aa803fa3b344c /src/lib/ffmpeg_decoder.cc
parent085d9d4966c32aa1f3661c597b4bc2b47eaefa40 (diff)
Hopefully fix up still-image generation.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
-rw-r--r--src/lib/ffmpeg_decoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc
index e1834d7f6..2d7092789 100644
--- a/src/lib/ffmpeg_decoder.cc
+++ b/src/lib/ffmpeg_decoder.cc
@@ -520,7 +520,7 @@ FFmpegDecoder::filter_and_emit_video ()
for (list<shared_ptr<Image> >::iterator i = images.begin(); i != images.end(); ++i) {
int64_t const bet = av_frame_get_best_effort_timestamp (_frame);
if (bet != AV_NOPTS_VALUE) {
- emit_video (*i, bet * av_q2d (_format_context->streams[_video_stream]->time_base));
+ emit_video (*i, false, bet * av_q2d (_format_context->streams[_video_stream]->time_base));
} else {
_film->log()->log ("Dropping frame without PTS");
}