summaryrefslogtreecommitdiffstats
path: root/gst/videocrop/gstvideocrop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/videocrop/gstvideocrop.c')
-rw-r--r--gst/videocrop/gstvideocrop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c
index 81ca4a62..47a2def8 100644
--- a/gst/videocrop/gstvideocrop.c
+++ b/gst/videocrop/gstvideocrop.c
@@ -523,7 +523,8 @@ gst_video_crop_chain (GstPad * pad, GstData * _data)
outbuf = gst_pad_alloc_buffer (video_crop->srcpad, GST_BUFFER_OFFSET (buffer),
GST_VIDEO_I420_SIZE (new_width, new_height));
- GST_BUFFER_TIMESTAMP (outbuf) = GST_BUFFER_TIMESTAMP (buffer);
+
+ gst_buffer_stamp (outbuf, buffer);
gst_video_crop_i420 (video_crop, buffer, outbuf);
gst_buffer_unref (buffer);