mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
tv: initialize frequencies to 0
This commit is contained in:
parent
9780ff9642
commit
2a44e2d1b2
@ -637,7 +637,7 @@ int open_tv(tvi_handle_t *tvh)
|
|||||||
|
|
||||||
/* grep frequency in chanlist */
|
/* grep frequency in chanlist */
|
||||||
{
|
{
|
||||||
unsigned long i2;
|
unsigned long i2 = 0;
|
||||||
int freq;
|
int freq;
|
||||||
|
|
||||||
tv_get_freq(tvh, &i2);
|
tv_get_freq(tvh, &i2);
|
||||||
@ -797,7 +797,7 @@ int tv_get_signal(tvi_handle_t *tvh)
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
int tv_step_freq(tvi_handle_t* tvh, float step_interval){
|
int tv_step_freq(tvi_handle_t* tvh, float step_interval){
|
||||||
unsigned long frequency;
|
unsigned long frequency = 0;
|
||||||
|
|
||||||
tvh->tv_param->scan=0;
|
tvh->tv_param->scan=0;
|
||||||
tv_get_freq(tvh,&frequency);
|
tv_get_freq(tvh,&frequency);
|
||||||
|
Loading…
Reference in New Issue
Block a user