Ticket #1326: mplayer-nonorm.patch
| File mplayer-nonorm.patch, 1.8 KB (added by , 18 years ago) |
|---|
-
stream/tv.c
old new 957 957 else 958 958 tv_channel_current = tv_channel_list; 959 959 960 tv_set_norm_i(tvh, tv_channel_current->norm);960 // tac tv_set_norm_i(tvh, tv_channel_current->norm); 961 961 tv_set_freq(tvh, (unsigned long)(((float)tv_channel_current->freq/1000)*16)); 962 962 mp_msg(MSGT_TV, MSGL_INFO, MSGTR_TV_SelectedChannel3, 963 963 tv_channel_current->number, tv_channel_current->name, (float)tv_channel_current->freq/1000); … … 969 969 else 970 970 while (tv_channel_current->next) 971 971 tv_channel_current = tv_channel_current->next; 972 tv_set_norm_i(tvh, tv_channel_current->norm);972 // tac tv_set_norm_i(tvh, tv_channel_current->norm); 973 973 tv_set_freq(tvh, (unsigned long)(((float)tv_channel_current->freq/1000)*16)); 974 974 mp_msg(MSGT_TV, MSGL_INFO, MSGTR_TV_SelectedChannel3, 975 975 tv_channel_current->number, tv_channel_current->name, (float)tv_channel_current->freq/1000); … … 1014 1014 tv_channel_current = tv_channel_current->next; 1015 1015 mp_msg(MSGT_TV, MSGL_INFO, MSGTR_TV_SelectedChannel3, tv_channel_current->number, 1016 1016 tv_channel_current->name, (float)tv_channel_current->freq/1000); 1017 tv_set_norm_i(tvh, tv_channel_current->norm);1017 // tv_set_norm_i(tvh, tv_channel_current->norm); 1018 1018 tv_set_freq(tvh, (unsigned long)(((float)tv_channel_current->freq/1000)*16)); 1019 1019 } else tv_set_channel_real(tvh, channel); 1020 1020 return 1; … … 1032 1032 1033 1033 mp_msg(MSGT_TV, MSGL_INFO, MSGTR_TV_SelectedChannel3, tv_channel_current->number, 1034 1034 tv_channel_current->name, (float)tv_channel_current->freq/1000); 1035 tv_set_norm_i(tvh, tv_channel_current->norm);1035 // tv_set_norm_i(tvh, tv_channel_current->norm); 1036 1036 tv_set_freq(tvh, (unsigned long)(((float)tv_channel_current->freq/1000)*16)); 1037 1037 } else { 1038 1038 int i;
