summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2003-02-26 12:27:17 +0000
committerJohannes Stezenbach <devnull@localhost>2003-02-26 12:27:17 +0000
commit18c27e42e56e7582801b7d693732fa88fb4d16a0 (patch)
tree934740d9e8632bd6d063ecfd64a3b9af5c02054d /linux/drivers/media
parent47be772e5cd2e5c15e1bd3a89ec29ced10cab9c3 (diff)
downloadmediapointer-dvb-s2-18c27e42e56e7582801b7d693732fa88fb4d16a0.tar.gz
mediapointer-dvb-s2-18c27e42e56e7582801b7d693732fa88fb4d16a0.tar.bz2
small fix to audio playback poll() ringbuffer
(untested, please review)
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index 5839830d3..6149a8121 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -2646,7 +2646,7 @@ unsigned int dvb_audio_poll(struct file *file, poll_table *wait)
poll_wait(file, &av7110->aout.queue, wait);
if (av7110->playing) {
- if (dvb_ringbuffer_free(&av7110->aout)>20*1024)
+ if (dvb_ringbuffer_free(&av7110->aout)>=20*1024)
mask |= (POLLOUT | POLLWRNORM);
} else /* if not playing: may play if asked for */
mask = (POLLOUT | POLLWRNORM);