From 60584e13787af008063469fba29334090d56d8d4 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Tue, 17 Sep 2013 00:36:05 +0100 Subject: Imported Upstream version 1.1.1+rev1500 --- test/test_av_play.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'test/test_av_play.c') 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': -- cgit v1.2.3