diff DOCS/tech/slave.txt @ 36295:0bd0297b073a

Handle special argument -1 to switch_ratio as intended. Reset to the original aspect ratio that would have been used for the very first rescaling rather than to the display size ratio. This will now handle anamorphic videos correctly as well.
author ib
date Thu, 01 Aug 2013 21:18:14 +0000
parents bdf9478e9374
children 0406e7c6f772
line wrap: on
line diff
--- a/DOCS/tech/slave.txt	Thu Aug 01 17:45:31 2013 +0000
+++ b/DOCS/tech/slave.txt	Thu Aug 01 21:18:14 2013 +0000
@@ -409,7 +409,8 @@
 
 switch_ratio [value]
     Change aspect ratio at runtime. [value] is the new aspect ratio expressed
-    as a float (e.g. 1.77778 for 16/9).
+    as a float (e.g. 1.77778 for 16/9), or special value -1 to reset to
+    original aspect ratio.
     There might be problems with some video filters.
 
 switch_title [value] (DVDNAV only)