# HG changeset patch # User rosfran # Date 1165262320 0 # Node ID 1b4e66e09d433555313b6a7e9408b85e681c4c97 # Parent 2dedc1bb30ba747011b65b832bce768a5a84e4a1 [svn r186] Come back passing URI strings to file transfer openings. diff -r 2dedc1bb30ba -r 1b4e66e09d43 gst-plugins-mythtv/src/gstmythtvsrc.c --- a/gst-plugins-mythtv/src/gstmythtvsrc.c Mon Dec 04 19:57:37 2006 +0000 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c Mon Dec 04 19:58:40 2006 +0000 @@ -687,8 +687,6 @@ src->live_chain_id = g_strdup( chain_id_local->str ); GST_INFO_OBJECT( src, "\t[%s]\tLocal chain ID = %s.\n", __FUNCTION__, src->live_chain_id ); } - //if ( src->uri_name == NULL || strlen( src->uri_name ) <= 0 ) - // gmyth_context_initialize(); src->live_tv_id = src->spawn_livetv->recorder->recorder_num; GST_LOG_OBJECT( src, "[%s] LiveTV id = %d, URI path = %s.\n", __FUNCTION__, src->live_tv_id, src->uri_name ); @@ -703,7 +701,7 @@ } GST_INFO_OBJECT( src, "[%s] uri = %s.\n", __FUNCTION__, src->uri_name ); - ret = gmyth_file_transfer_open( src->file_transfer ); + ret = gmyth_file_transfer_open( src->file_transfer, src->uri_name ); /* sets the Playback monitor connection */ //ret = gmyth_file_transfer_playback_setup( &(src->file_transfer), src->live_tv ); @@ -836,7 +834,7 @@ goto init_failed; } - ret = gmyth_file_transfer_open( src->file_transfer ); + ret = gmyth_file_transfer_open( src->file_transfer, src->uri_name ); /* sets the Playback monitor connection */ //ret = gmyth_file_transfer_playback_setup( &(src->file_transfer), src->live_tv );