[svn r327] Changes due the API change on LiveTV. trunk
authorrosfran
Fri Feb 02 22:46:13 2007 +0000 (2007-02-02)
branchtrunk
changeset 325b6b5f2dc831d
parent 324 a14a97093306
child 326 81b1f3006eb2
[svn r327] Changes due the API change on LiveTV.
gst-plugins-mythtv/src/gstmythtvsrc.c
     1.1 --- a/gst-plugins-mythtv/src/gstmythtvsrc.c	Fri Feb 02 22:45:47 2007 +0000
     1.2 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c	Fri Feb 02 22:46:13 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);