mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 00:26:31 +00:00
videoencoder/decoder: Add constants for the NEED_DATA custom flow returns
This commit is contained in:
parent
5c53f10135
commit
eddf4a61ff
1 changed files with 3 additions and 0 deletions
|
@ -86,6 +86,9 @@ pub mod video_codec_state;
|
|||
pub use video_codec_state::VideoCodecState;
|
||||
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
|
||||
// can always "use gst::prelude::*" without getting conflicts
|
||||
pub mod prelude {
|
||||
|
|
Loading…
Reference in a new issue