diff options
author | Zaheer Merali <zaheerabbas@merali.org> | 2009-05-01 14:28:23 +0100 |
---|---|---|
committer | Dave Robillard <dave@drobilla.net> | 2009-05-03 12:03:20 -0400 |
commit | d810923e137edfe353285fa5b64e7e241d339b9f (patch) | |
tree | 2dc035b9ce3b77da22a08e7833b654c6e2be2c34 /sys/dvb/gstdvbsrc.c | |
parent | 52910ed7c8c0542dbe68932aae0f34d0e2f68a89 (diff) | |
download | gst-plugins-bad-d810923e137edfe353285fa5b64e7e241d339b9f.tar.gz gst-plugins-bad-d810923e137edfe353285fa5b64e7e241d339b9f.tar.bz2 gst-plugins-bad-d810923e137edfe353285fa5b64e7e241d339b9f.zip |
dvbsrc: unset pid filters correctly
Diffstat (limited to 'sys/dvb/gstdvbsrc.c')
-rw-r--r-- | sys/dvb/gstdvbsrc.c | 1 |
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]); |