Audio decoding delay when changing the audio language

Posted by mahendiran.b on Stack Overflow See other posts from Stack Overflow or by mahendiran.b
Published on 2014-08-03T05:35:35Z Indexed on 2014/08/21 10:20 UTC
Read the original article Hit count: 219

Filed under:
|
|

My gstreamer Pipeline is like this

Approach1

                        --------------input-selector->Queue->AduioParser->AudioSink
                       |
Souphttpsrc->tsdemux-->|
                       |
                       --------------- Queue->videoParser->videoSink

In this approach 1, there is a delay in audio decoding when I toggle between various audio language.

Approach2

                                  ------ input-selector-> Queue->AduioParser->AudioSink
                                  |
Souphttpsrc->tsdemux---multiqueue>|
                                  |
                                  ------- Queue->videoParser->VideoSink

But there is no delay is observed in approach2.

Can anyone please explain the reason behind this ? what is the specialty of multiqueue here?

© Stack Overflow or respective owner

Related posts about audio

Related posts about gstreamer