mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
Fix compilation after flags cleanup
This commit is contained in:
parent
11d17b8de9
commit
48c20471d5
5 changed files with 4 additions and 6 deletions
|
@ -8,10 +8,9 @@
|
|||
|
||||
use super::super::gst_base_sys;
|
||||
|
||||
use glib::subclass::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
use glib::subclass::prelude::*;
|
||||
use gst::prelude::*;
|
||||
use gst::subclass::prelude::*;
|
||||
|
||||
use std::ptr;
|
||||
|
|
|
@ -2258,7 +2258,7 @@ mod custom_source {
|
|||
source_pad: pad.clone(),
|
||||
ghost_pad: ghost_pad.clone().upcast(),
|
||||
// TODO: We only add the stream type right now
|
||||
stream: gst::Stream::new(None, None, stream_type, gst::StreamFlags::NONE),
|
||||
stream: gst::Stream::new(None, None, stream_type, gst::StreamFlags::empty()),
|
||||
};
|
||||
state.pads.push(stream);
|
||||
drop(state);
|
||||
|
|
|
@ -162,7 +162,7 @@ impl Cea608Overlay {
|
|||
|
||||
gst_video::VideoMeta::add(
|
||||
buffer.get_mut().unwrap(),
|
||||
gst_video::VideoFrameFlags::NONE,
|
||||
gst_video::VideoFrameFlags::empty(),
|
||||
#[cfg(target_endian = "little")]
|
||||
gst_video::VideoFormat::Bgra,
|
||||
#[cfg(target_endian = "big")]
|
||||
|
|
|
@ -229,7 +229,7 @@ impl Dav1dDec {
|
|||
if video_meta_supported {
|
||||
gst_video::VideoMeta::add_full(
|
||||
out_buffer.get_mut().unwrap(),
|
||||
gst_video::VideoFrameFlags::NONE,
|
||||
gst_video::VideoFrameFlags::empty(),
|
||||
info.format(),
|
||||
info.width(),
|
||||
info.height(),
|
||||
|
|
|
@ -408,7 +408,6 @@ impl GifEnc {
|
|||
{
|
||||
let trailer_buffer = trailer_buffer.get_mut().unwrap();
|
||||
trailer_buffer.set_pts(state.last_actual_pts);
|
||||
trailer_buffer.set_flags(gst::BufferFlags::LAST);
|
||||
trailer_buffer.set_flags(gst::BufferFlags::NON_DROPPABLE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue