From eddf4a61ffffb0e40b528fbc9cafcfdd91ccfddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 14 Aug 2019 20:22:55 +0300 Subject: [PATCH] videoencoder/decoder: Add constants for the NEED_DATA custom flow returns --- gstreamer-video/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gstreamer-video/src/lib.rs b/gstreamer-video/src/lib.rs index 2e6bda43b..b9d55732e 100644 --- a/gstreamer-video/src/lib.rs +++ b/gstreamer-video/src/lib.rs @@ -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 {