[FFmpeg-devel] [PATCH]Remove call to vdpau_h264_set_reference_frames from add_data_chunk

Carl Eugen Hoyos cehoyos
Fri Jan 9 23:35:09 CET 2009


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > +    if (render->bitstream_buffers_used)
> > +        return;
> > +
> >      rf = &render->info.h264.referenceFrames[0];
> >  #define H264_RF_COUNT FF_ARRAY_ELEMS(render->info.h264.referenceFrames)
> 
> this is ugly, the call should not happen for each slice
> cant it be called from ff_vdpau_h264_picture_complete() ?

I knew you'd say that but OTOH, the number of checks is reduced wrt current svn
- and I could add a FIXME;-)

Carl Eugen






More information about the ffmpeg-devel mailing list