mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
dvbsrc: unset pid filters correctly
This commit is contained in:
parent
76aa98549a
commit
fab3340018
1 changed files with 1 additions and 0 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue