[FFmpeg-devel] [Fwd: Re: [PATCH] libavcodec/mmaldec.c: add interlaced_frame and format struct to AVFrame for deinterlacing]

Hendrik Leppkes h.leppkes at gmail.com
Sat Jul 16 19:05:50 EEST 2016


On Sat, Jul 16, 2016 at 5:27 PM, Jens Ziller <zillevdr at gmx.de> wrote:
> Hello Rodger and wm4,
>
> for interlaced frames I need AVFrame->interlaced_frame. For invoke MMAL
> components like deinterlacer and renderer added a pointer data[2] to
> existing MMAL_ES_FORMAT_T. I don't have find a better solution to give
> a pointer to user app. I have added a patch as suggestion. Please help
> me that I can release my code.
>

I still think you should just re-create MMAL_ES_FORMAT_T from
AVCodecContext, it contains the same information.
Passing it around  just because its convenient and worrying about its
liftime etc seems like the wrong approach.

- Hendrik


More information about the ffmpeg-devel mailing list