diff options
author | Stefan Kost <ensonic@users.sf.net> | 2009-03-05 10:51:25 +0200 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-03-05 10:51:25 +0200 |
commit | c673c09e4f57148c976599438ef95778a851b96c (patch) | |
tree | 0306718a68e373fbd98eb039ce27add50e6ec54b /sys | |
parent | 388fa77c1138a169a2b7a83635be0b6a53a8f5d1 (diff) |
v4l: add a fixme for broken code, that someone who has a v4l tuner device should fix
Diffstat (limited to 'sys')
-rw-r--r-- | sys/v4l/v4l_calls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/v4l/v4l_calls.c b/sys/v4l/v4l_calls.c index 0baf5ade..0a012659 100644 --- a/sys/v4l/v4l_calls.c +++ b/sys/v4l/v4l_calls.c @@ -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 = |