mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
videorate: Update for segment API changes
This commit is contained in:
parent
549128c2a3
commit
07617d50d3
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@ gst_video_rate_flush_prev (GstVideoRate * videorate, gboolean duplicate)
|
|||
/* We do not need to update time in VFR (variable frame rate) mode */
|
||||
if (!videorate->drop_only) {
|
||||
/* adapt for looping, bring back to time in current segment. */
|
||||
GST_BUFFER_TIMESTAMP (outbuf) = push_ts - videorate->segment.accum;
|
||||
GST_BUFFER_TIMESTAMP (outbuf) = push_ts - videorate->segment.base;
|
||||
}
|
||||
|
||||
GST_LOG_OBJECT (videorate,
|
||||
|
|
Loading…
Reference in a new issue