<html><head>

<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<style>pre,code,address {
  margin: 0px;
}
h1,h2,h3,h4,h5,h6 {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}
ol,ul {
  margin-top: 0em;
  margin-bottom: 0em;
}
blockquote {
  margin-top: 0em;
  margin-bottom: 0em;
}
</style></head>
<body dir="ltr"><div>Le mardi 09 mai 2023 à 20:20 +0000, Miguel Leão via gstreamer-devel a écrit :</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">Hello everyone, I am trying to build a dynamic pipeline and depending on the chroma format present on the parser caps I want to select different decoders. For h265 and h264 I have no problem, but apparently this information is not in the caps of the mpegvideoparse element. </div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">Is this supposed to be or is it a bug? I saw in the source code that this information is being collected but nothing is done with it...</div></blockquote><div><br></div><div>This isn't a bug, it have not been requested as a feature. Xilinx gst-omx backend utilize that information to enable accurate pre-allocation. Feel free to add something similar in mpegvideoparse for older MPEG codecs.</div><div><br></div><div>regards,</div><div>Nicolas</div><div><span></span></div></body></html>