Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecated pixel format warnings. #72

Closed
wants to merge 1 commit into from

Conversation

at-wat
Copy link

@at-wat at-wat commented Jun 18, 2017

avcodec uses pixel format of YUVJ* that means YUV pixel format with JPEG color range.
swscaler requires pixel format and color range to be separated.

This commit separates format and color range to suppress the warning from swscaler.

avcodec uses pixel format of YUVJ* that means YUV pixel format with JPEG color range.
swscaler requires pixel format and color range to be separated.

This commit separates format and color range to suppress the warning from swscaler.
@flynneva
Copy link
Collaborator

hey @at-wat!!! great contribution!!! would you be willing to make this PR over on the ros2 branch as well? I have recently taken over maintenance for the ros2 version of this package and would love to get these types of enhancements included going forward.

@twdragon
Copy link
Collaborator

@at-wat @flynneva there is a problem merging this while decoding native H.264 frames, investigating why.

@twdragon twdragon closed this in 3ba87bc Oct 31, 2022
@at-wat
Copy link
Author

at-wat commented Oct 31, 2022

thanks!

@at-wat at-wat deleted the fix-deprecated-pix-fmt branch October 31, 2022 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants