Changing the audio parser and decoder dynamically

DeepakRohan deepak027rohan077 at gmail.com
Thu Sep 1 14:55:15 UTC 2016


Hi,

I am trying to switch audio tracks in the dynamic pipeline.
In my probe callback, I unlink the elements and remove the parser and
decoder elements. Then i set the active pad on my input-selector element
with the target track to activated/switched to.

>From the logs it seems that i am able to successfully switch between audio
tracks, but immediately after switching audio stops coming. After some time
say 36 seconds, the playback hangs.

I have also put a buffer probe on alsasink's sinkpad. I get the prints from
the buffer probe callback for playback. But the print stops after i have
switched the tracks.

Even the pad activate function which gets called after the changing the
active-pad of the input-selector element, I have handled things correctly
(seems from logs). Required links have happened with required elements being
added and linked in the pipeline.

Can anyone let me know what to debug in such case.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Changing-the-audio-parser-and-decoder-dynamically-tp4679353.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list