From 4b7f0d99f02731793116e35c3b37ff722c949848 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 27 Apr 2013 11:56:48 -0700 Subject: [PATCH] y4mdec: set timestamps when restriding buffer --- gst/y4m/gsty4mdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/y4m/gsty4mdec.c b/gst/y4m/gsty4mdec.c index 93c5c437aa..435122648a 100644 --- a/gst/y4m/gsty4mdec.c +++ b/gst/y4m/gsty4mdec.c @@ -719,6 +719,7 @@ gst_y4m_dec_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer) gst_video_frame_unmap (&iframe); gst_video_frame_unmap (&oframe); + gst_buffer_copy_into (outbuf, buffer, GST_BUFFER_COPY_TIMESTAMPS, 0, -1); gst_buffer_unref (buffer); buffer = outbuf; } -- 2.34.1