]> git.sesse.net Git - vlc/commitdiff
qtcapture: Clarify help text for qtcapture args
authorJed Smith <jed@jedsmith.org>
Sun, 8 Mar 2015 02:02:03 +0000 (18:02 -0800)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 8 Mar 2015 14:18:33 +0000 (15:18 +0100)
The maximum resolution encouraged in the help text for the qtcapture
arguments is 1280x480, which doesn't make sense. The patch author
intended to imply 720p but appears to have forgotten the height
dimension. In addition, clean up the help text a bit.

--qtcapture-height works with 720, anyway, so it's just a doc issue.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/access/qtcapture.m

index 611b89f05975367dc65c8e978001790443a2f330..d24f7fd38743cfc7f4f7a16809dfc3b16ef802dd 100644 (file)
 #import <QTKit/QTKit.h>
 #import <CoreAudio/CoreAudio.h>
 
-#define QTKIT_WIDTH_TEXT N_("Video Capture width")
-#define QTKIT_WIDTH_LONGTEXT N_("Video Capture width in pixel")
-#define QTKIT_HEIGHT_TEXT N_("Video Capture height")
-#define QTKIT_HEIGHT_LONGTEXT N_("Video Capture height in pixel")
+#define QTKIT_WIDTH_TEXT N_("Video capture width")
+#define QTKIT_WIDTH_LONGTEXT N_("Video capture width in pixels")
+#define QTKIT_HEIGHT_TEXT N_("Video capture height")
+#define QTKIT_HEIGHT_LONGTEXT N_("Video capture height in pixels")
 
 /*****************************************************************************
 * Local prototypes
@@ -69,7 +69,7 @@ vlc_module_begin ()
    add_integer("qtcapture-width", 640, QTKIT_WIDTH_TEXT, QTKIT_WIDTH_LONGTEXT, true)
       change_integer_range (80, 1280)
    add_integer("qtcapture-height", 480, QTKIT_HEIGHT_TEXT, QTKIT_HEIGHT_LONGTEXT, true)
-      change_integer_range (60, 480)
+      change_integer_range (60, 720)
 vlc_module_end ()