[MPlayer-cvslog] r24779 - trunk/stream/tv.c

voroshil subversion at mplayerhq.hu
Sun Oct 14 07:45:21 CEST 2007


Author: voroshil
Date: Sun Oct 14 07:45:20 2007
New Revision: 24779

Log:
10l: routine sets norm from parameter, but prints value of  tv norm option
(which can be not equal to parameter).



Modified:
   trunk/stream/tv.c

Modified: trunk/stream/tv.c
==============================================================================
--- trunk/stream/tv.c	(original)
+++ trunk/stream/tv.c	Sun Oct 14 07:45:20 2007
@@ -1045,7 +1045,7 @@ int tv_set_norm(tvi_handle_t *tvh, char*
 {
     tvh->norm = norm_from_string(tvh, norm);
 
-    mp_msg(MSGT_TV, MSGL_V, MSGTR_TV_SelectedNorm, tvh->tv_param->norm);
+    mp_msg(MSGT_TV, MSGL_V, MSGTR_TV_SelectedNorm, norm);
     if (tvh->functions->control(tvh->priv, TVI_CONTROL_TUN_SET_NORM, &tvh->norm) != TVI_CONTROL_TRUE) {
 	mp_msg(MSGT_TV, MSGL_ERR, MSGTR_TV_CannotSetNorm);
 	return 0;



More information about the MPlayer-cvslog mailing list