Unable to change state GST_STATE_PLAYING

Sebastian Dröge sebastian at centricular.com
Mon Jun 6 07:13:06 UTC 2016


On So, 2016-06-05 at 20:58 -0700, amitchawla wrote:
> Hi Arun, Sebastian
> 
> I have tried async=false and also using separate queues. From the
> GST_PADS
> debug messages, for now it seems that, after I restart the pipeline
> (GST_STATE_READY->GST_STATE_PAUSE) decodebin is trying to send events
> through source pads src_2 and src_3, which were not connected, as the
> GST_PADS logs show that initially src_0 and src_1 were used.
> 
> I am using fixed pipeline as a string description to pass to
> gst_parse_launch, and when I restart the pipeline I see messages that
> decodebin pads are not linked ... such as decodebin is unable to send
> caps
> as it says "src_2 not linked" , "src_3 not linked".
> 
> Could you please provide some guidance?

Please provide a runnable, as simple as possible testcase for your
problem.

If the problem is that pads are not linked, check the code where you
expect them to be linked. Check if linking actually succeeds or if it
fails for some reason (which?).

If all is linked and the pipeline just does not preroll, check up to
which point in the pipeline data is flowing. Which sinks do not receive
data, where does it get stuck?

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- 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: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160606/2c300ed7/attachment.sig>


More information about the gstreamer-devel mailing list