gst_pad_push API is flushing
Tim Müller
tim at centricular.com
Tue Dec 17 02:19:44 PST 2013
On Tue, 2013-12-17 at 01:45 -0800, vindi503 wrote:
Hi Vinay,
> In my current (GStreamer)project I have an application for source end and
> destination end where it transmit video data.
>
> Source End:
> I have integrated source end application to qtmux plugin and I have the
> below pipeline
>
> gst-launch-1.0 filesrc location=input.mp4 ! qtdemux name=demux demux.video_0
> ! queue ! h264parse ! qtmux name=mux mux.video_0
>
> Destination End:
> I have integrated Destination end application to qtdemuxer plugin(renamed to
> avbdemuxer) and I have the below pipeline
>
> gst-launch-1.0 avbdemuxer ! qtdemux name=demux demux.video_0 ! queue !
> avdec_h264 ! autovideosink
>
> In avbdemuxer plugin I have used gst_pad_push API to push the video buffer
> to downstream elements, But I constantly receive the error saying that Pad
> is Flushing, i.e it returns -2
First, check the GST_DEBUG log to see which pad exactly is flushing. I
am going to assume it's one of your avbdemuxer pads.
Are you adding the pads dynamically after starting up? If yes, you need
to do gst_pad_set_active() to activate them before pushing events or
data.
Hard to say more without seeing some code or debug logs.
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list