aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_video.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2013-09-17 00:36:05 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2013-09-17 00:36:05 +0100
commit60584e13787af008063469fba29334090d56d8d4 (patch)
tree0cc62ecfe2e6b91d5b758f8813b0374c098b0541 /test/test_video.c
parent5501530a778ad588a8ccd3f1584ea58f74c0cec9 (diff)
downloadlinux-dvb-apps-60584e13787af008063469fba29334090d56d8d4.tar.gz
Imported Upstream version 1.1.1+rev1500upstream/1.1.1+rev1500upstream
Diffstat (limited to '')
-rw-r--r--test/test_video.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/test_video.c b/test/test_video.c
index fe2f440..286b1d1 100644
--- a/test/test_video.c
+++ b/test/test_video.c
@@ -229,7 +229,7 @@ void play_file_video(int filefd, int fd)
int count;
int written;
struct pollfd pfd[NFD];
- int stopped = 0;
+// int stopped = 0;
pfd[0].fd = STDIN_FILENO;
pfd[0].events = POLLIN;
@@ -258,37 +258,37 @@ void play_file_video(int filefd, int fd)
case 'z':
videoFreeze(fd);
printf("playback frozen\n");
- stopped = 1;
+// stopped = 1;
break;
case 's':
videoStop(fd);
printf("playback stopped\n");
- stopped = 1;
+// stopped = 1;
break;
case 'c':
videoContinue(fd);
printf("playback continued\n");
- stopped = 0;
+// stopped = 0;
break;
case 'p':
videoPlay(fd);
printf("playback started\n");
- stopped = 0;
+// stopped = 0;
break;
case 'f':
videoFastForward(fd,0);
printf("fastforward\n");
- stopped = 0;
+// stopped = 0;
break;
case 'm':
videoSlowMotion(fd,2);
printf("slowmotion\n");
- stopped = 0;
+// stopped = 0;
break;
case 'q':