I am using an appsink on a playbin2 element to get raw decoded frames for a video. Whenever the first file in my playlist is done playing (hits EOS signal), I try to set the state to NULL (then change the playbin "uri" property to go to the next video) and then back to PLAYING from my main thread, but setting the state to playing always returns ASYNC and no amount of timeout to get_state() after that seems to be enough for it to go to playing state, it just blocks forever. When I don't use an appsink and just send the video directly to a normal video sink (e.g. glimagesink), it works as expected. Any idea what could be causing this?
Thanks
------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Am 29.07.2010 16:47, schrieb bparker:
> I am using an appsink on a playbin2 element to get raw decoded frames > for a video. Whenever the first file in my playlist is done playing > (hits EOS signal), I try to set the state to NULL (then change the > playbin "uri" property to go to the next video) and then back to PLAYING > from my main thread, but setting the state to playing always returns > ASYNC and no amount of timeout to get_state() after that seems to be > enough for it to go to playing state, it just blocks forever. When I > don't use an appsink and just send the video directly to a normal video > sink (e.g. glimagesink), it works as expected. Any idea what could be > causing this? You are setting appsink as the videosink? As a workaround you might be able to use uri-decodebin and add appsinks for the streams you want to grab. Please also file a bug. Stefan > > Thanks > > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |