Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.

Commit fb1452e

Browse files
committed
Changed default video standard
1 parent 6c6e797 commit fb1452e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deploy/hyperion.tar.gz

57 Bytes
Binary file not shown.

src/hyperion-v4l2/hyperion-v4l2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ int main(int argc, char** argv)
3737
ParameterSet & parameters = optionParser.getParameters();
3838

3939
StringParameter & argDevice = parameters.add<StringParameter> ('d', "device", "The device to use [default=/dev/video0]");
40-
VideoStandardParameter & argVideoStandard = parameters.add<VideoStandardParameter>('v', "video-standard", "The used video standard. Valid values are PAL. NYSC, or NO-CHANGE [default=PAL]");
40+
VideoStandardParameter & argVideoStandard = parameters.add<VideoStandardParameter>('v', "video-standard", "The used video standard. Valid values are PAL or NTSC (optional)");
4141
IntParameter & argInput = parameters.add<IntParameter> (0x0, "input", "Input channel (optional)");
4242
IntParameter & argWidth = parameters.add<IntParameter> (0x0, "width", "Try to set the width of the video input (optional)");
4343
IntParameter & argHeight = parameters.add<IntParameter> (0x0, "height", "Try to set the height of the video input (optional)");
@@ -54,7 +54,7 @@ int main(int argc, char** argv)
5454

5555
// set defaults
5656
argDevice.setDefault("/dev/video0");
57-
argVideoStandard.setDefault(V4L2Grabber::PAL);
57+
argVideoStandard.setDefault(V4L2Grabber::NO_CHANGE);
5858
argInput.setDefault(-1);
5959
argWidth.setDefault(-1);
6060
argHeight.setDefault(-1);

0 commit comments

Comments
 (0)