# HG changeset patch # User rosfran # Date 1176841981 -3600 # Node ID ff0d0ede90de38974474d704f2f501b22a4b6801 # Parent c4169fee6878ce9b61c6216cffc2151fdbbe5aa4 [svn r567] Removed unecessary ifdef's calls to print the gmyth_debug messages. diff -r c4169fee6878 -r ff0d0ede90de gmyth/src/gmyth_livetv.c --- a/gmyth/src/gmyth_livetv.c Tue Apr 17 21:13:22 2007 +0100 +++ b/gmyth/src/gmyth_livetv.c Tue Apr 17 21:33:01 2007 +0100 @@ -401,10 +401,7 @@ } if ( gmyth_remote_util_get_free_recorder_count (livetv->socket) <= 0 ) { - -#ifdef GMYTH_USE_DEBUG gmyth_debug ("No free remote encoder available."); -#endif res = FALSE; goto error; } @@ -507,17 +504,13 @@ } /* if - Program Info */ /* prints program info data text */ -#ifdef GMYTH_USE_DEBUG gmyth_debug( "New ProgramInfo...\n" ); gmyth_program_info_print( prog_info ); -#endif /* check if the program chain could be obtained from the MythTV protocol message */ if ( prog_info != NULL ) { -#ifdef GMYTH_USE_DEBUG gmyth_debug( "Program Info: %s\n", gmyth_program_info_to_string( prog_info ) ); -#endif livetv->proginfo = prog_info; /* testing change channel */ //gmyth_recorder_spawntv_no_tvchain( livetv->recorder ); @@ -696,9 +689,7 @@ livetv->proginfo = prog_info; } /* prints program info data text */ -#ifdef GMYTH_USE_DEBUG gmyth_program_info_print( prog_info ); -#endif if ( prog_info != NULL ) { res = TRUE; @@ -761,12 +752,10 @@ goto done; } -#ifdef GMYTH_USE_DEBUG if ( livetv->proginfo != NULL ) gmyth_debug( "URI path (from program info) = %s.\n", livetv->proginfo->pathname->str ); else gmyth_debug( "URI path (from URI) = %s.\n", livetv->uri->uri->str ); -#endif g_mutex_lock( livetv->mutex ); @@ -779,16 +768,11 @@ if ( livetv->uri != NULL ) { - - #ifdef GMYTH_USE_DEBUG gmyth_debug( "URI is not NULL, creating from the ProgramInfo pathname... (%s)", livetv->proginfo->pathname->str ); - #endif livetv->uri->path = g_string_erase(livetv->uri->path, 0, -1); livetv->uri->path = g_string_new( g_strrstr( livetv->proginfo->pathname->str, "/" ) ); } else { - #ifdef GMYTH_USE_DEBUG gmyth_debug( "URI is NULL, creating from the ProgramInfo pathname... (%s)", livetv->proginfo->pathname->str ); - #endif livetv->uri = gmyth_uri_new_with_value( livetv->proginfo->pathname->str ); }