mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-01 21:52:20 +00:00
Fix build with latest gstreamer-rs
This commit is contained in:
parent
6a7da572f0
commit
dda3b5ff1a
2 changed files with 2 additions and 2 deletions
|
@ -924,7 +924,7 @@ impl FlvDemux {
|
|||
{
|
||||
let buffer = buffer.get_mut().unwrap();
|
||||
if !is_keyframe {
|
||||
buffer.set_flags(gst::BUFFER_FLAG_DELTA_UNIT);
|
||||
buffer.set_flags(gst::BufferFlags::DELTA_UNIT);
|
||||
}
|
||||
buffer.set_dts(
|
||||
(tag_header.timestamp as u64)
|
||||
|
|
|
@ -229,7 +229,7 @@ impl BaseSrcImpl<RsBaseSrc> for Source {
|
|||
|
||||
match query.view_mut() {
|
||||
QueryView::Scheduling(ref mut q) if self.push_only => {
|
||||
q.set(gst::SCHEDULING_FLAG_SEQUENTIAL, 1, -1, 0);
|
||||
q.set(gst::SchedulingFlags::SEQUENTIAL, 1, -1, 0);
|
||||
q.add_scheduling_modes(&[gst::PadMode::Push]);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue