# HG changeset patch
# User rosfran
# Date 1164380079 0
# Node ID f2b53549deefff719ac175f27f23e0e06b5abe91
# Parent  899326948b257cde76361bacc9f1e2c4b27d8d3d
[svn r109] Function IS_RECORDING moved from FileTransfer to Recorder.

diff -r 899326948b25 -r f2b53549deef gst-plugins-mythtv/src/gstmythtvsrc.c
--- a/gst-plugins-mythtv/src/gstmythtvsrc.c	Fri Nov 24 14:29:09 2006 +0000
+++ b/gst-plugins-mythtv/src/gstmythtvsrc.c	Fri Nov 24 14:54:39 2006 +0000
@@ -674,8 +674,7 @@
     wait_to_transfer = 0;
 
     while ( wait_to_transfer++ < GMYTHTV_TRANSFER_MAX_WAITS &&
-	( gmyth_file_transfer_is_recording( src->file_transfer ) == FALSE 
-	  /*|| ( gmyth_file_transfer_get_file_position( src->file_transfer ) < ( src->content_size + 327680 ) )*/ ) )
+				( gmyth_livetv_is_recording( src->spawn_livetv ) == FALSE ) )
       g_usleep( 100 );
   }
   
@@ -802,7 +801,7 @@
     g_usleep( 200 );
 
     while ( wait_to_transfer++ < GMYTHTV_TRANSFER_MAX_WAITS && 
-				( gmyth_file_transfer_is_recording( src->file_transfer ) == FALSE ) )
+				( gmyth_livetv_is_recording( src->spawn_livetv ) == FALSE ) )
       g_usleep( 1000 );
   }