issue with 2 pipelines in parallel

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

issue with 2 pipelines in parallel

Ash-25
Hello all,
I am having an issue where having two pipelines seems to cause issues. I have an isPlayable function that takes in a URI and determines if the file is playable using gstreamer. (basically i create a temporary pipeline and GMainLoop, change the state to PAUSED, and listen on the bus for  the change state message). If it gets to paused I clean up the pipeline and return TRUE. However, let's say I am actually playing this file with another main player pipeline. Once the stream ends, I decide to play it again (meaning my isPlayalbe function is called again, creating another temporary pipeline and seeing if it can get to PAUSED state). However the second time, the isPlayable temporary pipeline does not get to PAUSED state, it just sits indefinitely in the READY state. Is there an issue with 2 separate pipelines? I actually even tried cleaning up the Player pipeline and then calling isPlayable but it doesn't seem to work (still gest stuck in the READY state). I have no data shared between the two pipelines. Any reason for this?
 
Thanks!


Time for vacation? WIN what you need. Enter Now!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel