summaryrefslogtreecommitdiffstats
path: root/gst/debug/gstnavigationtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/debug/gstnavigationtest.c')
-rw-r--r--gst/debug/gstnavigationtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/debug/gstnavigationtest.c b/gst/debug/gstnavigationtest.c
index 0b3e549c..c81f8aaa 100644
--- a/gst/debug/gstnavigationtest.c
+++ b/gst/debug/gstnavigationtest.c
@@ -214,7 +214,7 @@ gst_navigationtest_transform (GstBaseTransform * trans, GstBuffer * in,
/* do something interesting here. This simply copies the source
* to the destination. */
- gst_buffer_stamp (out, in);
+ gst_buffer_copy_metadata (out, in, GST_BUFFER_COPY_TIMESTAMPS);
memcpy (GST_BUFFER_DATA (out), GST_BUFFER_DATA (in),
MIN (GST_BUFFER_SIZE (in), GST_BUFFER_SIZE (out)));