From fab334001884d57fcba3142b3920c9966060ae97 Mon Sep 17 00:00:00 2001 From: Zaheer Merali Date: Fri, 1 May 2009 14:28:23 +0100 Subject: dvbsrc: unset pid filters correctly --- sys/dvb/gstdvbsrc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys') 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]); -- cgit v1.2.1