[Gstreamer-openmax] About "codec_data" field

Felipe Contreras felipe.contreras at gmail.com
Wed May 19 08:51:46 PDT 2010


Hi Ivan,

On Wed, May 19, 2010 at 6:22 PM, Maldonado Zambrano, Ivan
<ivan.maldonado at ti.com> wrote:
> I have a few days working on gstreamer and I have a doubt.
>
> I’m checking a defect in a decoder. In my code there is a function that
> looks for a “codec_data” field:
>
> gst_structure_has_field (structure, "codec_data")
>
> My question is. Where does “codec_data” field is defined? I mean, I looked
> for it in all my code and I didn’t find it.

The field comes from the demuxer, and it's any kind of data that the
codec might need outside of the normal stream. For example in the case
of H.264 it would be the SPS and PPS when the bytestream mode is not
used.

-- 
Felipe Contreras




More information about the Gstreamer-openmax mailing list