[vlc-commits] qtcapture: Clarify help text for qtcapture args

Jed Smith git at videolan.org
Sun Mar 8 15:18:50 CET 2015


vlc | branch: master | Jed Smith <jed at jedsmith.org> | Sat Mar  7 18:02:03 2015 -0800| [54de0c4a3a9c3cf39fcd18cb3a52d1094272f5be] | committer: Jean-Baptiste Kempf

qtcapture: Clarify help text for qtcapture args

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 at videolan.org>

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

 modules/access/qtcapture.m |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/access/qtcapture.m b/modules/access/qtcapture.m
index 611b89f..d24f7fd 100644
--- a/modules/access/qtcapture.m
+++ b/modules/access/qtcapture.m
@@ -42,10 +42,10 @@
 #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 ()
 
 



More information about the vlc-commits mailing list