# HG changeset patch # User rosfran # Date 1174921486 -3600 # Node ID 1eff6a1f72633cf4171956b04c21db43ffd0e9c7 # Parent c632a2009beee747be5bd29460f52d9becb5347a [svn r453] API changes, regarding code cleanups in the GMythLiveTV. diff -r c632a2009bee -r 1eff6a1f7263 gst-plugins-mythtv/src/gstmythtvsrc.c --- a/gst-plugins-mythtv/src/gstmythtvsrc.c Fri Mar 23 22:57:05 2007 +0000 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c Mon Mar 26 16:04:46 2007 +0100 @@ -659,21 +659,20 @@ /* testing UPnP... */ /* gmyth_backend_info_set_hostname( src->backend_info, NULL ); */ if ( src->live_tv ) { - src->spawn_livetv = gmyth_livetv_new (); + src->spawn_livetv = gmyth_livetv_new (src->backend_info); gchar* ch = gmyth_uri_get_channel_name( gmyth_uri ); if ( ch != NULL ) src->channel_name = ch; if (src->channel_name != NULL) { - if (gmyth_livetv_channel_name_setup (src->spawn_livetv, src->channel_name, - src->backend_info) == FALSE) { + if (gmyth_livetv_channel_name_setup (src->spawn_livetv, src->channel_name) == FALSE) { GST_INFO_OBJECT (src, "LiveTV setup felt down on error"); ret = FALSE; goto init_failed; } } else { - if (gmyth_livetv_setup (src->spawn_livetv, src->backend_info) == FALSE) { + if (gmyth_livetv_setup (src->spawn_livetv) == FALSE) { GST_INFO_OBJECT (src, "LiveTV setup felt down on error"); ret = FALSE; goto init_failed;