mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-11 00:25:36 +01:00
Previously if only -y was used then nothing happened, if only -x then zero window height was set which is undefined in SDL and caused a black window. From now on if only one dimension is set we calculate the other based on size/aspect of the shown content. Signed-off-by: Marton Balint <cus@passwd.hu>