dvbsrc: unset pid filters correctly
authorZaheer Merali <zaheerabbas@merali.org>
Fri, 1 May 2009 13:28:23 +0000 (14:28 +0100)
committerZaheer Merali <zaheerabbas@merali.org>
Fri, 1 May 2009 13:28:23 +0000 (14:28 +0100)
sys/dvb/gstdvbsrc.c

index becef6b..a3b6ded 100644 (file)
@@ -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]);