Continuos playbak in 1.6
Sebastian Dröge
sebastian at centricular.com
Tue Feb 16 17:09:28 UTC 2016
On Di, 2016-02-16 at 16:29 +0000, Jesus wrote:
> Hi
>
> Thats the program I use for my tests the only thing missing is the
> attached makefile, I don't change the uri because it doesn't change
> the next file is played in the same stream and because I don't know
> where to change it, I tried to change when the status was
> void_pending but the only diference is that the uri is not null but
> it doesn't play, I tried to use the about to finish signal but I'm
> not sure if I did it right, the signal never fired maybe because is a
> live stream, the uri is passed to the program only once at program
> start.
In your code it just plays the file from beginning to end and then does
nothing anymore. If you want to restart playback at the end (i.e. when
receiving the EOS message), you could either do a flushing seek to the
beginning again and set the pipeline back to PLAYING, or just set the
pipeline to READY and then PLAYING again, or alternatively do something
with segment seeks.
--
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/20160216/d52ad524/attachment.sig>
More information about the gstreamer-devel
mailing list