Best strategy to deal with src change / bin

Frederic Turmel fturmel at netflix.com
Wed Mar 25 17:19:44 UTC 2020


Hi, I have a source audio element that can send PCM or iec60958/61937. The
src element update its output caps so the downstream will know.

An example case:
When src is PCM:     PCM -> sink
When src is iec60958/:    iec60958 -> parser -> audio decoder -> PCM

Ideally would like this to be totally transparent to my top level
application that creates the pipeline. In other words I don't want my top
level app updating the pipeline.

Note the IEC60958/61937 I need to build also.

What would be the best options?
1-If I create the parser with proper pads/caps can decodebin leverage it
automatically?
2-Should I create a specific bin for my needs?

Any suggestions?

Thanks
FredT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200325/44005b17/attachment.htm>


More information about the gstreamer-devel mailing list