mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-09 08:45:27 +00:00
videoencoder/decoder: Add constants for the NEED_DATA custom flow returns
This commit is contained in:
parent
2ead2e60eb
commit
163030e984
1 changed files with 3 additions and 0 deletions
|
@ -86,6 +86,9 @@ pub mod video_codec_state;
|
||||||
pub use video_codec_state::VideoCodecState;
|
pub use video_codec_state::VideoCodecState;
|
||||||
mod utils;
|
mod utils;
|
||||||
|
|
||||||
|
pub const VIDEO_ENCODER_FLOW_NEED_DATA: gst::FlowSuccess = gst::FlowSuccess::CustomSuccess;
|
||||||
|
pub const VIDEO_DECODER_FLOW_NEED_DATA: gst::FlowSuccess = gst::FlowSuccess::CustomSuccess;
|
||||||
|
|
||||||
// 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