[svn r294] Some fixes, moved _is_recording to recorder. trunk
authorrosfran
Tue Jan 23 22:25:01 2007 +0000 (2007-01-23)
branchtrunk
changeset 2937bf252d4d39f
parent 292 c56122d88430
child 294 388fc8b452c2
[svn r294] Some fixes, moved _is_recording to recorder.
gst-plugins-mythtv/src/gstmythtvsrc.c
     1.1 --- a/gst-plugins-mythtv/src/gstmythtvsrc.c	Tue Jan 23 22:20:21 2007 +0000
     1.2 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c	Tue Jan 23 22:25:01 2007 +0000
     1.3 @@ -629,8 +629,8 @@
     1.4  {
     1.5    GstMythtvSrc *src = GST_MYTHTV_SRC (bsrc);
     1.6  
     1.7 -  GString *chain_id_local = NULL;
     1.8 -
     1.9 +  GString *chain_id_local = NULL;  
    1.10 +  GMythURI *gmyth_uri = NULL;
    1.11    gboolean ret = TRUE;
    1.12  
    1.13    if (G_UNLIKELY (src->update_prog_chain))
    1.14 @@ -642,7 +642,7 @@
    1.15      goto done;
    1.16    }
    1.17    
    1.18 -  GMythURI *gmyth_uri = gmyth_uri_new_with_value( src->uri_name );
    1.19 +  gmyth_uri = gmyth_uri_new_with_value( src->uri_name );
    1.20  
    1.21    src->backend_info = gmyth_backend_info_new_with_uri (src->uri_name);
    1.22    /* testing UPnP... */
    1.23 @@ -716,11 +716,11 @@
    1.24            src->content_size, 0));
    1.25  
    1.26  done:
    1.27 -	if ( gmyth_uri != NULL )
    1.28 +	/*if ( gmyth_uri != NULL )
    1.29  	{
    1.30    	g_object_unref( gmyth_uri );
    1.31    	gmyth_uri = NULL;
    1.32 -	}
    1.33 +	}*/
    1.34  
    1.35    if (chain_id_local != NULL) {
    1.36      g_string_free (chain_id_local, TRUE);
    1.37 @@ -832,7 +832,7 @@
    1.38      g_usleep (200);
    1.39  
    1.40      while (src->wait_to_transfer++ < GMYTHTV_TRANSFER_MAX_WAITS &&
    1.41 -        (gmyth_livetv_is_recording (src->spawn_livetv) == FALSE))
    1.42 +        (gmyth_recorder_is_recording (src->spawn_livetv->recorder) == FALSE))
    1.43        g_usleep (1000);
    1.44    }
    1.45