mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
dvbsrc: explicitly disable stream filter for invalid ids
This commit is contained in:
parent
e32a058fcf
commit
39c50e7b85
1 changed files with 1 additions and 0 deletions
|
@ -2508,6 +2508,7 @@ gst_dvbsrc_set_fe_params (GstDvbSrc * object, struct dtv_properties *props)
|
||||||
if (object->stream_id > 255) {
|
if (object->stream_id > 255) {
|
||||||
GST_WARNING_OBJECT (object, "Wrong DVB-T2 stream ID '%d'. Value "
|
GST_WARNING_OBJECT (object, "Wrong DVB-T2 stream ID '%d'. Value "
|
||||||
"can't be greater than 255", object->stream_id);
|
"can't be greater than 255", object->stream_id);
|
||||||
|
object->stream_id = NO_STREAM_ID_FILTER;
|
||||||
}
|
}
|
||||||
if (object->bandwidth != 6000000 && object->bandwidth != 7000000 &&
|
if (object->bandwidth != 6000000 && object->bandwidth != 7000000 &&
|
||||||
object->bandwidth != 8000000 && object->bandwidth != 1172000 &&
|
object->bandwidth != 8000000 && object->bandwidth != 1172000 &&
|
||||||
|
|
Loading…
Reference in a new issue