closedcaption: Fix compilation after buffer copy flags were changed to a constant

This commit is contained in:
Sebastian Dröge 2020-01-23 08:21:32 +02:00
parent d1cc8eaec8
commit 92941d7f92
2 changed files with 2 additions and 2 deletions

View file

@ -411,7 +411,7 @@ impl MccEnc {
let mut buf = gst::Buffer::from_mut_slice(outbuf);
buffer
.copy_into(buf.get_mut().unwrap(), *gst::BUFFER_COPY_METADATA, 0, None)
.copy_into(buf.get_mut().unwrap(), gst::BUFFER_COPY_METADATA, 0, None)
.expect("Failed to copy buffer metadata");
drop(state);

View file

@ -207,7 +207,7 @@ impl State {
// Copy the metadata of the first buffer
first_buf
.copy_into(buf_mut, *gst::BUFFER_COPY_METADATA, 0, None)
.copy_into(buf_mut, gst::BUFFER_COPY_METADATA, 0, None)
.expect("Failed to copy buffer metadata");
buf_mut.set_pts(first_buf.get_pts());
buffer