[Ffmpeg-devel] [PATCH] Auto-resize ffplay video output
Thu Dec 21 23:52:09 CET 2006
This patch resizes the ffplay window frame to match the dimensions of the video
being outputted. Previously the frame would be fixed at 640x480 regardless of
the video's resolution unless the user requested a different size with the -x
and -y arguments. In my opinion, this is not desired behavior since it is much
more difficult to attempt to resize a video to match its native resolution than
it is to resize it to some random resolution.
The patch also fixes the bug where returning from full screen would always
return to the default dimensions, ignoring any resizing the user did before that
point before entering full screen.
The auto_resize var is to ensure the previous behavior if the user does supply
those -x and -y arguments.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1775 bytes
Desc: not available
More information about the ffmpeg-devel