[svn r453] API changes, regarding code cleanups in the GMythLiveTV. trunk
authorrosfran
Mon Mar 26 16:04:46 2007 +0100 (2007-03-26)
branchtrunk
changeset 4481eff6a1f7263
parent 447 c632a2009bee
child 449 916bec80b82c
[svn r453] API changes, regarding code cleanups in the GMythLiveTV.
gst-plugins-mythtv/src/gstmythtvsrc.c
     1.1 --- a/gst-plugins-mythtv/src/gstmythtvsrc.c	Fri Mar 23 22:57:05 2007 +0000
     1.2 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c	Mon Mar 26 16:04:46 2007 +0100
     1.3 @@ -659,21 +659,20 @@
     1.4    /* testing UPnP... */
     1.5    /* gmyth_backend_info_set_hostname( src->backend_info, NULL ); */
     1.6    if ( src->live_tv ) {
     1.7 -    src->spawn_livetv = gmyth_livetv_new ();
     1.8 +    src->spawn_livetv = gmyth_livetv_new (src->backend_info);
     1.9      
    1.10      gchar* ch = gmyth_uri_get_channel_name( gmyth_uri );
    1.11      if ( ch != NULL )
    1.12      	src->channel_name = ch;
    1.13      	
    1.14      if (src->channel_name != NULL) {
    1.15 -      if (gmyth_livetv_channel_name_setup (src->spawn_livetv, src->channel_name,
    1.16 -              src->backend_info) == FALSE) {
    1.17 +      if (gmyth_livetv_channel_name_setup (src->spawn_livetv, src->channel_name) == FALSE) {
    1.18          GST_INFO_OBJECT (src, "LiveTV setup felt down on error");
    1.19          ret = FALSE;
    1.20          goto init_failed;
    1.21        }
    1.22      } else {
    1.23 -      if (gmyth_livetv_setup (src->spawn_livetv, src->backend_info) == FALSE) {
    1.24 +      if (gmyth_livetv_setup (src->spawn_livetv) == FALSE) {
    1.25          GST_INFO_OBJECT (src, "LiveTV setup felt down on error");
    1.26          ret = FALSE;
    1.27          goto init_failed;