<div dir="ltr"><div>Hi,</div><div><br></div><div>With respect to the following: <a href="https://lists.freedesktop.org/archives/gstreamer-devel/2021-September/079038.html">https://lists.freedesktop.org/archives/gstreamer-devel/2021-September/079038.html</a></div><div><br></div><div>The current caps of `mytypedemux` are as follows:</div><div><br></div><div>```<br>Pad Templates:<br>  SRC template: 'src'<br>    Availability: Always<br>    Capabilities:<br>      video/x-h264<br>          stream-format: byte-stream<br>              alignment: au<br>  <br>  SINK template: 'sink'<br>    Availability: Always<br>    Capabilities:<br>      video/x-mytype<br>```</div><div><br></div><div>When `mytypedemux` receives the CAPS event, I set the src caps statically to h264 regardless of the input caps.</div><div><br></div><div>Now, what if I want to support more codecs? Can I instruct the auto-plugger (uridecodebin) to re-run typefinding again after `mytypedemux` because at this point I want this metadata tagging system to work across all codecs and that I need not care about what `mytypemux` has prepending its metadata to.</div><div><br></div><div>One silly idea is to have a type for every codec that we want to support (e.g. video/x-mytype-h264 video/x-mytype-h265 etc.) and use that at the `mytypemux` to infer a proper output caps and use it again to infer the proper output caps at `mytypedemux`.</div><div><br></div><div>Any ideas would be appreciated!</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div></div>