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

Commit f45b842

Browse files
committed
Added creation of symbolic link /usr/bin/hyperion-v4l2 in install script
1 parent 2e867b5 commit f45b842

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

bin/install_hyperion.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if [ $IS_OPENELEC -eq 1 ]; then
3636
# OpenELEC has a readonly file system. Use alternative location
3737
curl --get https://raw.github.com/tvdzwan/hyperion/master/deploy/hyperion.tar.gz | tar -C /storage -xz
3838
curl --get https://raw.github.com/tvdzwan/hyperion/master/deploy/hyperion.deps.openelec-rpi.tar.gz | tar -C /storage/hyperion/bin -xz
39-
39+
4040
# modify the default config to have a correct effect path
4141
sed -i 's:/opt:/storage:g' /storage/hyperion/config/hyperion.config.json
4242
else
@@ -47,6 +47,7 @@ fi
4747
if [ $IS_OPENELEC -ne 1 ]; then
4848
ln -fs /opt/hyperion/bin/hyperiond /usr/bin/hyperiond
4949
ln -fs /opt/hyperion/bin/hyperion-remote /usr/bin/hyperion-remote
50+
ln -fs /opt/hyperion/bin/hyperion-v4l2 /usr/bin/hyperion-v4l2
5051
fi
5152

5253
# create link to the gpio changer (gpio->spi)
@@ -62,7 +63,6 @@ if [ $IS_OPENELEC -eq 1 ]; then
6263
else
6364
ln -s /opt/hyperion/config/hyperion.config.json /etc/hyperion.config.json
6465
fi
65-
6666

6767
# Copy the service control configuration to /etc/int
6868
if [ $USE_INITCTL -eq 1 ]; then

deploy/hyperion.tar.gz

2 Bytes
Binary file not shown.

src/hyperion-v4l2/V4L2Grabber.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ void V4L2Grabber::init_device(VideoStandard videoStandard, int input)
369369
}
370370

371371
// check pixel format
372-
373372
switch (fmt.fmt.pix.pixelformat)
374373
{
375374
case V4L2_PIX_FMT_UYVY:

0 commit comments

Comments
 (0)