diff -r 4a604de8eaf5 -r ba3564c925f3 gst-plugins-mythtv/src/gstmythtvsrc.c --- a/gst-plugins-mythtv/src/gstmythtvsrc.c Thu Apr 12 00:01:16 2007 +0100 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c Thu Apr 12 15:05:48 2007 +0100 @@ -346,10 +346,10 @@ * Retry whilst authentication fails and we supply it. */ while (sizetoread == size && --max_iters > 0) { - if ( gmyth_backend_info_is_local_file(src->backend_info) ) + /*if ( gmyth_backend_info_is_local_file(src->backend_info) ) result = gmyth_file_local_read ( GMYTH_FILE_LOCAL(src->file_transfer), data_ptr, sizetoread, src->live_tv); - else + else*/ result = gmyth_file_transfer_read ( GMYTH_FILE_TRANSFER(src->file_transfer), data_ptr, sizetoread, src->live_tv); @@ -611,10 +611,10 @@ /* verify if it needs to seek */ if (src->read_offset != actual_seek) { - if ( gmyth_backend_info_is_local_file(src->backend_info) ) + /*if ( gmyth_backend_info_is_local_file(src->backend_info) ) new_offset = gmyth_file_local_seek (src->file_transfer, segment->start, G_SEEK_SET); - else + else*/ new_offset = gmyth_file_transfer_seek (src->file_transfer, segment->start, SEEK_SET); @@ -712,14 +712,14 @@ } } else { - if ( gmyth_uri_is_local_file(gmyth_uri) ) + /*if ( gmyth_uri_is_local_file(gmyth_uri) ) { src->file_transfer = gmyth_file_local_new(src->backend_info); ret = gmyth_file_local_open (src->file_transfer); - } else { + } else {*/ src->file_transfer = gmyth_file_transfer_new(src->backend_info); ret = gmyth_file_transfer_open (src->file_transfer, src->uri_name); - } + //} } /* if (else) - recorded FileTransfer */