On Mon, Sep 17, 2018 at 1:22 PM Jun Zhao <mypopy...@gmail.com> wrote: > > From: Jun Zhao <jun.z...@intel.com> > > For interlaced frame, it has to call slice_end() for both fields. And > VASliceParameterBufferMPEG2::slice_vertical_position is supposed to be > the position in the picture but not field in this case. >
How does this impact other hwaccels or software decoding? Because those cases seem to be working just fine the way it is now, from what I can tell. Also, in the VA-API calling code, are you setting avctx->slice_flags to SLICE_FLAG_ALLOW_FIELD? Because that forces an end_frame call for every field, which may be all that is needed here. - Hendrik _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel