gst-plugins-mythtv/src/gstmythtvsrc.c
branchtrunk
changeset 336 3e34d1a2e403
parent 312 8587b24643e8
child 359 c7d4b123ac31
     1.1 --- a/gst-plugins-mythtv/src/gstmythtvsrc.c	Tue Jan 30 19:17:41 2007 +0000
     1.2 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c	Thu Feb 08 14:32:29 2007 +0000
     1.3 @@ -681,6 +681,16 @@
     1.4        ret = FALSE;
     1.5        goto init_failed;
     1.6      }
     1.7 +    
     1.8 +		if ( !gmyth_file_transfer_open( src->file_transfer, src->spawn_livetv->uri != NULL ? 
     1.9 +							gmyth_uri_get_path(src->spawn_livetv->uri) : 
    1.10 +							src->spawn_livetv->proginfo->pathname->str ) )
    1.11 +		{
    1.12 +			GST_INFO_OBJECT (src, "Error: couldn't open the FileTransfer from LiveTV source!" );
    1.13 +			g_object_unref( src->file_transfer );
    1.14 +			src->file_transfer = NULL;
    1.15 +			goto init_failed;
    1.16 +		}
    1.17    } else {
    1.18  
    1.19      src->file_transfer = gmyth_file_transfer_new (src->backend_info);