forked from mirrors/gstreamer-rs
baseparse/transform/aggregator: Add constants for custom flow returns
This commit is contained in:
parent
eddf4a61ff
commit
85d01e853e
1 changed files with 4 additions and 0 deletions
|
@ -61,6 +61,10 @@ mod base_transform;
|
||||||
pub mod base_parse_frame;
|
pub mod base_parse_frame;
|
||||||
pub use base_parse_frame::BaseParseFrame;
|
pub use base_parse_frame::BaseParseFrame;
|
||||||
|
|
||||||
|
pub const BASE_TRANSFORM_FLOW_DROPPED: gst::FlowSuccess = gst::FlowSuccess::CustomSuccess;
|
||||||
|
pub const BASE_PARSE_FLOW_DROPPED: gst::FlowSuccess = gst::FlowSuccess::CustomSuccess;
|
||||||
|
pub const AGGREGATOR_FLOW_NEED_DATA: gst::FlowError = gst::FlowError::CustomError;
|
||||||
|
|
||||||
// Re-export all the traits in a prelude module, so that applications
|
// Re-export all the traits in a prelude module, so that applications
|
||||||
// can always "use gst::prelude::*" without getting conflicts
|
// can always "use gst::prelude::*" without getting conflicts
|
||||||
pub mod prelude {
|
pub mod prelude {
|
||||||
|
|
Loading…
Reference in a new issue