mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
sys/v4l/v4l_calls.c: minrange and maxrange are scaled according to the frequency multiplier.
Original commit message from CVS: * sys/v4l/v4l_calls.c: (gst_v4l_get_chan_names): minrange and maxrange are scaled according to the frequency multiplier.
This commit is contained in:
parent
d868077048
commit
d5b8246724
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-06-02 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* sys/v4l/v4l_calls.c: (gst_v4l_get_chan_names):
|
||||
minrange and maxrange are scaled according to the frequency
|
||||
multiplier.
|
||||
|
||||
2008-06-02 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* ext/pango/Makefile.am:
|
||||
|
|
|
@ -334,8 +334,8 @@ gst_v4l_get_chan_names (GstV4lElement * v4lelement)
|
|||
channel->flags |= GST_TUNER_CHANNEL_FREQUENCY;
|
||||
channel->freq_multiplicator =
|
||||
62.5 * ((vtun.flags & VIDEO_TUNER_LOW) ? 1 : 1000);
|
||||
channel->min_frequency = vtun.rangelow;
|
||||
channel->max_frequency = vtun.rangehigh;
|
||||
channel->min_frequency = vtun.rangelow * channel->freq_multiplicator;
|
||||
channel->max_frequency = vtun.rangehigh * channel->freq_multiplicator;
|
||||
channel->min_signal = 0;
|
||||
channel->max_signal = 0xffff;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue