summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorZaheer Merali <zaheerabbas@merali.org>2009-05-01 14:28:23 +0100
committerZaheer Merali <zaheerabbas@merali.org>2009-05-01 14:28:23 +0100
commitfab334001884d57fcba3142b3920c9966060ae97 (patch)
tree261b2e3cc3517d53e8a12964caf3b011cb30a187 /sys
parent76aa98549a841d8939859c5a869e66805cdbaa5e (diff)
downloadgst-plugins-bad-fab334001884d57fcba3142b3920c9966060ae97.tar.gz
gst-plugins-bad-fab334001884d57fcba3142b3920c9966060ae97.tar.bz2
gst-plugins-bad-fab334001884d57fcba3142b3920c9966060ae97.zip
dvbsrc: unset pid filters correctly
Diffstat (limited to 'sys')
-rw-r--r--sys/dvb/gstdvbsrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c
index becef6b1..a3b6ded7 100644
--- a/sys/dvb/gstdvbsrc.c
+++ b/sys/dvb/gstdvbsrc.c
@@ -1347,6 +1347,7 @@ gst_dvbsrc_unset_pes_filters (GstDvbSrc * object)
GST_INFO_OBJECT (object, "clearing PES filter");
for (i = 0; i < MAX_FILTERS; i++) {
+ object->pids[i] = G_MAXUINT16;
if (object->fd_filters[i] == -1)
continue;
close (object->fd_filters[i]);