#11239: Copy unscaled NV12 -> NV12 (and other format with 2 planes) broken.
--------------------------------------+-----------------------------------
Reporter: Aleksoid1978 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: swscale
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+-----------------------------------
Changes (by Aleksoid1978):
* summary: Copy unscaled NV12 -> NV12 broken. => Copy unscaled NV12 ->
NV12 (and other format with 2 planes) broken.
Old description:
> 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.
New description:
Summary of the bug:
sws_scale NV12 -> NV12 (and other format with 2 planes) 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#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".