[Sumover-dev] [svn commit] r4768 - vic/branches/mpeg4/tcl

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Thu Apr 8 11:52:18 BST 2010


Author: douglask
Date: Thu Apr  8 11:52:18 2010
New Revision: 4768

Modified:
   vic/branches/mpeg4/tcl/ui-windows.tcl

Log:
Use fit_window procedure with Original size context menu entry as it work correctly if the size of a video stream has changed since it was first received.

Modified: vic/branches/mpeg4/tcl/ui-windows.tcl
==============================================================================
--- vic/branches/mpeg4/tcl/ui-windows.tcl	(original)
+++ vic/branches/mpeg4/tcl/ui-windows.tcl	Thu Apr  8 11:52:18 2010
@@ -295,7 +295,7 @@
 	$m add radiobutton -label "Half size" \
 		-command "resize $v [expr $iw / 2] [expr $ih / 2]" \
 		-font $f -value "half" -variable size$w
-	$m add radiobutton -label "Original size" -command "resize $v $iw $ih" \
+	$m add radiobutton -label "Original size" -command "fit_window $v" \
 		-font $f -value "original" -variable size$w -accelerator "O"
 	$m add radiobutton -label "Double size" \
 		-command "resize $v [expr $iw * 2] [expr $ih * 2]" \



More information about the Sumover-dev mailing list