Buffer stuck in pipeline

Sebastian Dröge sebastian at centricular.com
Tue Feb 4 06:54:51 PST 2014

On Fr, 2014-01-31 at 06:08 -0800, slayer69 wrote:
> Hi,
> I'm decoding H264 video frames and when I seek video on paused state i must
> decode previous one Iframe and other Pframes to my decoding position. Some
> buffers come to Sinkpad but not all and other stuck somwhere in pipeline. 
> How to force to push all buffers from pipeline to Sinkpad? I found one
> "dirty" solution when i send EOS signal but after that my pipeline is in EOS
> state and I can't use it again. (When i drop EOS event message on Sink and I
> want to push another buffer to appsrc Ill get GST_FLOW_EOS).
> By the way my pipeline is:
> appsrc ! avdec_h264 ! videoconvert ! videoflip ! appsink

Check from the debug logs where exactly the buffers are getting stuck
and why. Also putting h264parse between appsrc and avdec_h264 might help
a lot here.

Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140204/39baac6a/attachment-0001.pgp>

More information about the gstreamer-devel mailing list