# HG changeset patch
# User rosfran
# Date 1173397270 0
# Node ID aff8c034146219ded6a705f8eeececbd5d8d43d9
# Parent  c057ae06c14b801a1695140718f96dc5568f4c5a
[svn r410] Added boolean flag to allow that a recorded MythTV video can stop.

diff -r c057ae06c14b -r aff8c0341462 libgnomevfs2-mythtv/modules/mythtv-method.c
--- a/libgnomevfs2-mythtv/modules/mythtv-method.c	Thu Mar 08 19:32:21 2007 +0000
+++ b/libgnomevfs2-mythtv/modules/mythtv-method.c	Thu Mar 08 23:41:10 2007 +0000
@@ -307,7 +307,7 @@
 						      tmp_buffer,
 						      buffer_size, TRUE);
 
-			if (!myth_handle->is_livetv && len < 0) {
+			if (!myth_handle->is_livetv && len <= 0) {
 				g_byte_array_free (tmp_buffer, TRUE);
 				g_debug ("Fail to read bytes");
 				return GNOME_VFS_ERROR_IO;