[FFmpeg-trac] #6707(avcodec:new): v4l2_m2m: fix full reinit

FFmpeg trac at avcodec.org
Sun Oct 1 04:04:33 EEST 2017


#6707: v4l2_m2m: fix full reinit
----------------------------------+--------------------------------------
             Reporter:  ldts      |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  git-master
             Keywords:  v4l2_m2m  |               Blocked By:
             Blocking:            |  Reproduced by developer:  1
Analyzed by developer:  1         |
----------------------------------+--------------------------------------
 Summary of the bug:
 How to reproduce:

 Decode a video stream which increases the video resolution at runtime.

 The current implementation is buggy -works depending on stream and codec
 being used- since full-reinit closes the v4l2 file descriptor and
 therefore loses important header information used by the hardware.

 Initially I assumed it to be a hardware/driver issue - the platforms used
 to test[1] had a common bug in its driver that hid the issue- but further
 analysis revealed it is just a simple bug (2 man/day to fix)

 [1] dragon board 820c: works correctly
 [2] dragon board 410c: only h263 works


 I will submit a fix in the coming weeks.


 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6707>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list