Hi
My problem with the code I attached is that when hardware for decoding is
available, I get exception on line 136, the return value of sws_scale is
not as expected. If I don't check it, I get a black image. I also get the
ffmpeg error message bad src image pointers. This is while when hxva2
decoding is not available the sws_scale function operates properly and I
get a correct image.
I don't know what is wrong with the code.

Attachment: Program.7z
Description: application/7z-compressed

_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
libav-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to