mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-23 12:01:01 +00:00
closedcaption: Fix compilation after buffer copy flags were changed to a constant
This commit is contained in:
parent
d1cc8eaec8
commit
92941d7f92
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue