gst-plugins-mythtv/src/gstmythtvsrc.c
branchtrunk
changeset 495 970cbd5f0ba6
parent 429 0ba50b995f75
child 503 b0e8a532e882
     1.1 --- a/gst-plugins-mythtv/src/gstmythtvsrc.c	Thu Mar 22 18:13:13 2007 +0000
     1.2 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c	Wed Apr 04 16:45:30 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;