|
Hi All,
I need a help in resolving issue in live stream decoding (udpsrc), where i need to avoid audio rendering until video key frame gets detected for valid video decode to start.
Scenario is as per below diagram,
So is it possible to block 'sink' pad of decoder1 in below pipeline? Keeping all rest of the data flowing in pipeline.
Ultimately discarding data going to decoder1, utill decoder2 receives valid data.
.---------. .---------. .----------.
| livesrc | | demuxer | .------. | decoder1 |
| src -> sink src1 ->|queue1|-> sink src
'---------' | | '------' '----------' X
| | .----------.
| | .------. | decoder2 |
| src2 ->|queue2|-> sink src-> sink
'---------' '------' '----------'
Thanks a lot in advance,
|