# HG changeset patch # User rosfran # Date 1169591101 0 # Node ID 7bf252d4d39fe83236de2dc0857be63c4dcb18ef # Parent c56122d88430dd6b29af2bb18bb113d583ad73a5 [svn r294] Some fixes, moved _is_recording to recorder. diff -r c56122d88430 -r 7bf252d4d39f gst-plugins-mythtv/src/gstmythtvsrc.c --- a/gst-plugins-mythtv/src/gstmythtvsrc.c Tue Jan 23 22:20:21 2007 +0000 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c Tue Jan 23 22:25:01 2007 +0000 @@ -629,8 +629,8 @@ { GstMythtvSrc *src = GST_MYTHTV_SRC (bsrc); - GString *chain_id_local = NULL; - + GString *chain_id_local = NULL; + GMythURI *gmyth_uri = NULL; gboolean ret = TRUE; if (G_UNLIKELY (src->update_prog_chain)) @@ -642,7 +642,7 @@ goto done; } - GMythURI *gmyth_uri = gmyth_uri_new_with_value( src->uri_name ); + gmyth_uri = gmyth_uri_new_with_value( src->uri_name ); src->backend_info = gmyth_backend_info_new_with_uri (src->uri_name); /* testing UPnP... */ @@ -716,11 +716,11 @@ src->content_size, 0)); done: - if ( gmyth_uri != NULL ) + /*if ( gmyth_uri != NULL ) { g_object_unref( gmyth_uri ); gmyth_uri = NULL; - } + }*/ if (chain_id_local != NULL) { g_string_free (chain_id_local, TRUE); @@ -832,7 +832,7 @@ g_usleep (200); while (src->wait_to_transfer++ < GMYTHTV_TRANSFER_MAX_WAITS && - (gmyth_livetv_is_recording (src->spawn_livetv) == FALSE)) + (gmyth_recorder_is_recording (src->spawn_livetv->recorder) == FALSE)) g_usleep (1000); }