mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
ffdec: Fix calculating frame duration from last timestamp and frame count.
Fixes bug #651714.
This commit is contained in:
parent
4a66ecdf25
commit
8e2404b8df
1 changed files with 1 additions and 1 deletions
|
@ -2538,8 +2538,8 @@ gst_ffmpegdec_chain (GstPad * pad, GstBuffer * inbuf)
|
|||
}
|
||||
}
|
||||
ffmpegdec->last_in = in_timestamp;
|
||||
ffmpegdec->last_frames = 0;
|
||||
}
|
||||
ffmpegdec->last_frames = 0;
|
||||
|
||||
GST_LOG_OBJECT (ffmpegdec,
|
||||
"Received new data of size %u, offset:%" G_GUINT64_FORMAT ", ts:%"
|
||||
|
|
Loading…
Reference in a new issue