diff options
Diffstat (limited to 'src/lib/decoder.cc')
| -rw-r--r-- | src/lib/decoder.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc index 5860f339e..17e26905e 100644 --- a/src/lib/decoder.cc +++ b/src/lib/decoder.cc @@ -320,6 +320,8 @@ Decoder::process_video (AVFrame* frame) emit_video (*i, sub); } + + ++_video_frames_in; } void @@ -337,7 +339,7 @@ void Decoder::emit_video (shared_ptr<Image> image, shared_ptr<Subtitle> sub) { TIMING ("Decoder emits %1", _video_frames_out); - Video (image, _video_frames_out, sub); + Video (image, _video_frames_in, sub); ++_video_frames_out; _last_image = image; _last_subtitle = sub; |
