Hi all,<br><br>I have been working on a h264 decoder plugin using third party proprietary H264 Decoder.<br><br>I came across a problem regarding codec_data in setcaps function of my decoder plugin. &quot;codec_data&quot; was not found in caps structure.<br>
<br>I found out that &quot;qtdemux&quot; adds &quot;codec_data&quot; in caps along with &quot;stream-format = avc&quot; but in my decoder plugin&#39;s setcaps function, i am getting caps with <br>&quot;stream-format = byte-stream&quot; and no &quot;codec_data&quot; available.<br>
<br>Below given are my caps, please help me out in this issue. I shall be very thankful.<br><br clear="all"><b>qtdemux caps</b> = video/x-h264, stream-format=(string)avc, alignment=(string)au, <br>level=(string)3, profile=(string)constrained-baseline, <br>
codec_data=(buffer)0142c01effe100176742c01edb02d0f6c04400000301f400005daa3c58bb8001000468ca8cb2, <br>width=(int)720, height=(int)480, framerate=(fraction)2997/125, pixel-aspect-ratio=(fraction)1/1<br><br><br><b>my decoder plugin caps </b>= video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, <br>
level=(string)3, profile=(string)constrained-baseline, width=(int)720, height=(int)480, <br>framerate=(fraction)2997/125, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true<br><br><br>Please have a look. <br><br>-- <br>
<br>--------------------------------------<br>Vikas<br>Bachelor of Engineering<br>Computer Science and Engineering<br><a href="http://www.vikaspec.co.cc" target="_blank"></a><br>