[vlc-devel] [PATCH] scene: respect the input picture aspect ratio when calculating the output picture size

Adrien Maglo magsoft at videolan.org
Tue Mar 1 10:13:53 CET 2016


Le 29/02/2016 18:40, Rémi Denis-Courmont a écrit :
> Le 2016-02-29 17:49, Adrien Maglo a écrit :
>> ---
>>  modules/video_filter/scene.c | 15 +++++++++++++++
>>  1 file changed, 15 insertions(+)
>
> That does not seem right. The scene filter should retain the sample
> aspect ratio AFAICT.

Hello Rémi,


I am no sure to understand your comment.
Do you mean setting for image_WriteUrl
fmt_out.i_sar_num = fmt_in.i_sar_num;
fmt_out.i_sar_den = fmt_in.i_sar_den;
?

If that is what you mean, this does not save on disk pictures with the 
correct aspect ratio.

Best regards,


-- 
MagSoft



More information about the vlc-devel mailing list