[FFmpeg-trac] #7593(avcodec:new): QSV: [M]JPEG encode "Uninitialized pict_type" regression

FFmpeg trac at avcodec.org
Wed Dec 5 07:01:36 EET 2018

#7593: QSV: [M]JPEG encode "Uninitialized pict_type" regression
             Reporter:  uartie       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  crash abort  |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |

Comment (by fulinjie):

 Tracing into this regression:

 In mjpeg_qsv:
 pict_type was decided by Frame Type of bs and it equals

 In native mjpeg encode:
 pict_type was set to AV_PICTURE_TYPE_I in avcodec_encode_video2() after
 calling ff_mpv_encode_picture();

 So, I think it may be better to set bs Frame Type to MFX_FRAMETYPE_I in
 MSDK than setting pict_type to AV_PICTURE_TYPE_NONE in ff_qsv_encode()?

Ticket URL: <https://trac.ffmpeg.org/ticket/7593#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list