[FFmpeg-devel] [PATCH 1/3] lavc/mjpegdec: add function ff_mjpeg_decode_header
Carl Eugen Hoyos
ceffmpeg at gmail.com
Thu Jun 27 21:55:49 EEST 2019
Am Do., 27. Juni 2019 um 14:59 Uhr schrieb Zhong Li <zhong.li at intel.com>:
> - if (s->avctx->pix_fmt == s->hwaccel_sw_pix_fmt && !size_change) {
> + if (!(s->got_picture && s->interlaced && (s->bottom_field == !s->interlace_polarity))) {
> + if (s->avctx->pix_fmt == s->hwaccel_sw_pix_fmt && !s->size_change) {
Is this an (unrelated) bug fix or only vaapi-related?
I wonder if it should be in this patch for both cases.
> s->avctx->pix_fmt = s->hwaccel_pix_fmt;
> + s->size_change = 0;
Thank you, Carl Eugen
More information about the ffmpeg-devel
mailing list