aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_av_play.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2013-09-17 00:36:06 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2013-09-17 00:36:06 +0100
commit1516b6d1f29a58a818c1bea4ea255a8b782b7360 (patch)
treeb6b72a56db2eb9bf1fba96634ea69222cb1d321f /test/test_av_play.c
parentba777477e09e25a9e106d843440b84c420254d05 (diff)
parent60584e13787af008063469fba29334090d56d8d4 (diff)
downloadlinux-dvb-apps-1516b6d1f29a58a818c1bea4ea255a8b782b7360.tar.gz
Merge tag 'upstream/1.1.1+rev1500'
Upstream version 1.1.1+rev1500
Diffstat (limited to 'test/test_av_play.c')
-rw-r--r--test/test_av_play.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/test_av_play.c b/test/test_av_play.c
index b7ad867..2b342db 100644
--- a/test/test_av_play.c
+++ b/test/test_av_play.c
@@ -245,7 +245,7 @@ static void copy_to_dvb(int vfd, int afd, int cfd, const uint8_t* ptr, const uns
{
struct pollfd pfd[NFD];
unsigned short pos = 0;
- int stopped = 0;
+// int stopped = 0;
pfd[0].fd = STDIN_FILENO;
pfd[0].events = POLLIN;
@@ -284,7 +284,7 @@ static void copy_to_dvb(int vfd, int afd, int cfd, const uint8_t* ptr, const uns
}
deviceClear(afd, -1);
printf("playback frozen\n");
- stopped = 1;
+// stopped = 1;
break;
case 's':
@@ -296,7 +296,7 @@ static void copy_to_dvb(int vfd, int afd, int cfd, const uint8_t* ptr, const uns
deviceClear(afd, vfd);
}
printf("playback stopped\n");
- stopped = 1;
+// stopped = 1;
break;
case 'c':
@@ -310,7 +310,7 @@ static void copy_to_dvb(int vfd, int afd, int cfd, const uint8_t* ptr, const uns
videoContinue(vfd);
}
printf("playback continued\n");
- stopped = 0;
+// stopped = 0;
break;
case 'p':
@@ -326,7 +326,7 @@ static void copy_to_dvb(int vfd, int afd, int cfd, const uint8_t* ptr, const uns
}
audioSetMute(afd, 0);
printf("playback started\n");
- stopped = 0;
+// stopped = 0;
break;
case 'f':
@@ -336,21 +336,21 @@ static void copy_to_dvb(int vfd, int afd, int cfd, const uint8_t* ptr, const uns
videoFastForward(vfd,0);
}
printf("fastforward\n");
- stopped = 0;
+// stopped = 0;
break;
case 'm':
audioSetAVSync(afd, 0);
audioSetMute(afd, 1);
printf("mute\n");
- stopped = 0;
+// stopped = 0;
break;
case 'u':
audioSetAVSync(afd, 1);
audioSetMute(afd, 0);
printf("unmute\n");
- stopped = 0;
+// stopped = 0;
break;
case 'd':
@@ -367,7 +367,7 @@ static void copy_to_dvb(int vfd, int afd, int cfd, const uint8_t* ptr, const uns
videoSlowMotion(vfd,2);
}
printf("slowmotion\n");
- stopped = 0;
+// stopped = 0;
break;
case 'q':