summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/interleave/deinterleave.c3
-rw-r--r--gst/vmnc/vmncdec.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/gst/interleave/deinterleave.c b/gst/interleave/deinterleave.c
index 81bf9387..71c6a413 100644
--- a/gst/interleave/deinterleave.c
+++ b/gst/interleave/deinterleave.c
@@ -251,7 +251,8 @@ gst_deinterleave_process (GstDeinterleave * self, GstBuffer * buf)
goto alloc_buffer_bad_size;
if (buffers_out[i])
- gst_buffer_stamp (buffers_out[i], buf);
+ gst_buffer_copy_metadata (buffers_out[i], buf,
+ GST_BUFFER_COPY_TIMESTAMPS);
}
/* do the thing */
diff --git a/gst/vmnc/vmncdec.c b/gst/vmnc/vmncdec.c
index 2a9a7a67..701b18e9 100644
--- a/gst/vmnc/vmncdec.c
+++ b/gst/vmnc/vmncdec.c
@@ -488,7 +488,7 @@ vmnc_make_buffer (GstVMncDec * dec, GstBuffer * inbuf)
}
if (inbuf) {
- gst_buffer_stamp (buf, inbuf);
+ gst_buffer_copy_metadata (buf, inbuf, GST_BUFFER_COPY_TIMESTAMPS);
}
gst_buffer_set_caps (buf, dec->caps);