Playing next file after another

Ralph ralph.gucwa at racelogic.co.uk
Tue Jan 17 06:55:21 PST 2012


Sakurazuka wrote
> 
> Hi.
> 
> In my pipeline mixing music with input from microphone. I have queue of
> file paths. I want to open next file after first is finished. How should I
> do that?
> 
> I'm using filesrc. Even when I set pipeline to Ready or Null after first
> track I got the same warning:
> 
> ** (<unknown>:5232): WARNING **: Changing the `location' property on
> filesrc when a file is open is not supported.
> 
> How should I close file then?
> 

You should intercept the "about-to-finish" signal and change the URI in the
event handler.  I don't have any working example at hand, but I'm pretty
sure you should be able to find one after a few minutes of googling.

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Playing-next-file-after-another-tp4303264p4303538.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list