[FFmpeg-trac] #11239(swscale:new): Copy unscaled NV12 -> NV12 broken.

FFmpeg trac at avcodec.org
Fri Oct 11 04:45:44 EEST 2024


#11239: Copy unscaled NV12 -> NV12 broken.
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  Aleksoid1978                       |
               Status:  new          |                 Priority:  normal
            Component:  swscale      |                  Version:
                                     |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 sws_scale NV12 -> NV12 unscaled result picture is broken, UV is not copy.
 I think problem in planarCopyWrapper:
 this line
 https://github.com/FFmpeg/FFmpeg/blob/master/libswscale/swscale_unscaled.c#L1865
 NV12 has only 2 plane and second plane ignored in this function.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11239>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list