How to avoid locking during changing state of element?

박성호 pncc at pixtree.com
Tue Dec 6 00:52:01 PST 2011


Please never mind my question.
It is just my mistake.
Thanks.


Best regards.
 
Seongho, Park.
> -----Original Message-----
> From: gstreamer-devel-bounces+pncc=pixtree.com at lists.freedesktop.org
> [mailto:gstreamer-devel-bounces+pncc=pixtree.com at lists.freedesktop.org] On
> Behalf Of 박성호
> Sent: Tuesday, December 06, 2011 4:40 PM
> To: gstreamer-devel at lists.freedesktop.org
> Subject: How to avoid locking during changing state of element?
> 
> Hi Experts,
> 
> I made a demuxing element for test.
> But it is very similar with ffmpeg's.
> It works nice in pull mode.
> However in push mode (i.e. streaming like dlna), it hangs at changing
state
> PAUSED to READY.
> Hanging occurs only at middle of contents.
> After end of content, normally changed.
> 
> This is the last log with --gst-debug=GST_STATES:5
> ============================================================
> ==
> LOG               GST_STATES
> gstelement.c:2942:gst_element_change_state_func:<seonghotsdemuxer0>
> default
> handler tries setting state from PAUSED to READY (001a)
> ============================================================
> ==
> 
> Because of my poor googling ability, I didn't find solution to avoid this.
> I just heard "Use new progress message api" "Use asynchronous state
> changing" and "Improve your element".
> 
> I need more information with regard to changing state.
> Anything, thanks.
> 
> Best regards.
> Seongho.
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list