v4l: add a fixme for broken code, that someone who has a v4l tuner device should fix

This commit is contained in:
Stefan Kost 2009-03-05 10:51:25 +02:00
parent 388fa77c11
commit c673c09e4f

View file

@ -330,6 +330,11 @@ gst_v4l_get_chan_names (GstV4lElement * v4lelement)
continue; /* not this one */
}
}
/* FIXME: in the case of n >= vchan.tuners the code below accesses
* uninitialised fields in vtun
* Not sure if the codeblock below should go into the else above, but
* then setting vtun.tuner=0 is a bit pointless.
*/
v4lchannel->tuner = n;
channel->flags |= GST_TUNER_CHANNEL_FREQUENCY;
channel->freq_multiplicator =