[vlc-commits] qtcapture: improved variable handling

Felix Paul Kühne git at videolan.org
Thu May 19 14:42:41 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu May 19 14:42:25 2011 +0200| [12ff3c04a2eb7312be5eeb475e7d391adf41a420] | committer: Felix Paul Kühne

qtcapture: improved variable handling

Thanks to j-b and ivoire

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=12ff3c04a2eb7312be5eeb475e7d391adf41a420
---

 modules/access/qtcapture.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/qtcapture.m b/modules/access/qtcapture.m
index c271647..1a2ce64 100644
--- a/modules/access/qtcapture.m
+++ b/modules/access/qtcapture.m
@@ -324,9 +324,9 @@ static int Open( vlc_object_t *p_this )
     NSSize par_size = [[camera_format attributeForKey:QTFormatDescriptionVideoProductionApertureDisplaySizeAttribute] sizeValue];
 
     par_size.width = display_size.width = encoded_size.width
-        = var_CreateGetInteger (p_this, "qtcapture-width");
+        = var_InheritInteger (p_this, "qtcapture-width");
     par_size.height = display_size.height = encoded_size.height
-        = var_CreateGetInteger (p_this, "qtcapture-height");
+        = var_InheritInteger (p_this, "qtcapture-height");
 
     fmt.video.i_width = p_sys->width = encoded_size.width;
     fmt.video.i_height = p_sys->height = encoded_size.height;



More information about the vlc-commits mailing list