# HG changeset patch # User rosfran # Date 1170456373 0 # Node ID b6b5f2dc831d36b2711ca85a594ec5b7bc665533 # Parent a14a9709330616df170bcaf0b0db66ef5eabf752 [svn r327] Changes due the API change on LiveTV. diff -r a14a97093306 -r b6b5f2dc831d gst-plugins-mythtv/src/gstmythtvsrc.c --- a/gst-plugins-mythtv/src/gstmythtvsrc.c Fri Feb 02 22:45:47 2007 +0000 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c Fri Feb 02 22:46:13 2007 +0000 @@ -681,6 +681,16 @@ ret = FALSE; goto init_failed; } + + if ( !gmyth_file_transfer_open( src->file_transfer, src->spawn_livetv->uri != NULL ? + gmyth_uri_get_path(src->spawn_livetv->uri) : + src->spawn_livetv->proginfo->pathname->str ) ) + { + GST_INFO_OBJECT (src, "Error: couldn't open the FileTransfer from LiveTV source!" ); + g_object_unref( src->file_transfer ); + src->file_transfer = NULL; + goto init_failed; + } } else { src->file_transfer = gmyth_file_transfer_new (src->backend_info);