[svn r186] Come back passing URI strings to file transfer openings.
1.1 --- a/gst-plugins-mythtv/src/gstmythtvsrc.c Mon Dec 04 19:57:37 2006 +0000
1.2 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c Mon Dec 04 19:58:40 2006 +0000
1.3 @@ -687,8 +687,6 @@
1.4 src->live_chain_id = g_strdup( chain_id_local->str );
1.5 GST_INFO_OBJECT( src, "\t[%s]\tLocal chain ID = %s.\n", __FUNCTION__, src->live_chain_id );
1.6 }
1.7 - //if ( src->uri_name == NULL || strlen( src->uri_name ) <= 0 )
1.8 - // gmyth_context_initialize();
1.9
1.10 src->live_tv_id = src->spawn_livetv->recorder->recorder_num;
1.11 GST_LOG_OBJECT( src, "[%s] LiveTV id = %d, URI path = %s.\n", __FUNCTION__, src->live_tv_id, src->uri_name );
1.12 @@ -703,7 +701,7 @@
1.13 }
1.14 GST_INFO_OBJECT( src, "[%s] uri = %s.\n", __FUNCTION__, src->uri_name );
1.15
1.16 - ret = gmyth_file_transfer_open( src->file_transfer );
1.17 + ret = gmyth_file_transfer_open( src->file_transfer, src->uri_name );
1.18
1.19 /* sets the Playback monitor connection */
1.20 //ret = gmyth_file_transfer_playback_setup( &(src->file_transfer), src->live_tv );
1.21 @@ -836,7 +834,7 @@
1.22 goto init_failed;
1.23 }
1.24
1.25 - ret = gmyth_file_transfer_open( src->file_transfer );
1.26 + ret = gmyth_file_transfer_open( src->file_transfer, src->uri_name );
1.27
1.28 /* sets the Playback monitor connection */
1.29 //ret = gmyth_file_transfer_playback_setup( &(src->file_transfer), src->live_tv );