Changing source location on souphttpsrc

Bill Hofmann bill at
Fri Nov 11 21:49:16 UTC 2022


I've got a manifest that I've set as the location to souphttpsrc in a graph
like this:

souphttpsrc location="http://localhost/foo.m3u8" ! parsebin !
queue ! vaapih265dec ! video/x-raw,format=P010_10LE !
queue max-size-bytes=100663300 ! kmssink connector-id=308 plane-id=31

I would like to dynamically change the location to another manifest. Just
setting the location property does nothing. Setting the playing state to
READY or NULL and then later setting it to PLAYING also doesn't help. I get
this error:

Error from element hlsdemux2-1: gst-stream-error-quark: Internal data
stream error. (1)
gst_adaptive_demux_output_loop ():
stopped, reason not-linked (-1) 2022-11-11T13:41:52.347851-08:00

Setting it to PAUSED and then PLAYING later leaves the same content playing.

Obviously something dumb here - what's the best approach?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list