mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
y4mdec: set timestamps when restriding buffer
This commit is contained in:
parent
4a88eebe0e
commit
4b7f0d99f0
1 changed files with 1 additions and 0 deletions
|
@ -719,6 +719,7 @@ gst_y4m_dec_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
||||||
|
|
||||||
gst_video_frame_unmap (&iframe);
|
gst_video_frame_unmap (&iframe);
|
||||||
gst_video_frame_unmap (&oframe);
|
gst_video_frame_unmap (&oframe);
|
||||||
|
gst_buffer_copy_into (outbuf, buffer, GST_BUFFER_COPY_TIMESTAMPS, 0, -1);
|
||||||
gst_buffer_unref (buffer);
|
gst_buffer_unref (buffer);
|
||||||
buffer = outbuf;
|
buffer = outbuf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue