Hi,

I am using sws_scale() API to scale my decoded YUV(any format) to YUV420P
with 'new' width and height.
Instead of hardcoding destination width and height, I want to preserve the
original aspect ratio. My idea was to provide destination height and let
API decide on width using aspect ratio.
Is there a way to achieve this?
Thanks in advance for the help!

Regards,
Rohit Khali
_______________________________________________
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