forked from Intel-Media-SDK/MediaSDK
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix passthru copy when input X2RGB10 with a2rgb10 pointer
If input use only a2rgb10 pointer and we get min pointer, this leads to nullptr error. Since a2rgb10(x2rgb10) packed 10 bit format, no need to check all pointers before copy, we only need to copy B pointer (that is in union with a2rgb10 pointer). cmd to check: ./ffmpeg -hwaccel qsv -v verbose -c:v hevc_qsv -i \ ../p010.h265 -vf scale_qsv=format=x2rgb10,hwdownload,format=x2rgb10 \ -vframes 1 out.yuv -y fixes: Intel-Media-SDK#1654
- Loading branch information
Anton Grishin
committed
Aug 6, 2020
1 parent
a7e69f8
commit ee260cf
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters