[svn r410] Added boolean flag to allow that a recorded MythTV video can stop. trunk
authorrosfran
Thu Mar 08 23:41:10 2007 +0000 (2007-03-08)
branchtrunk
changeset 405aff8c0341462
parent 404 c057ae06c14b
child 406 131040a49e9f
[svn r410] Added boolean flag to allow that a recorded MythTV video can stop.
libgnomevfs2-mythtv/modules/mythtv-method.c
     1.1 --- a/libgnomevfs2-mythtv/modules/mythtv-method.c	Thu Mar 08 19:32:21 2007 +0000
     1.2 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c	Thu Mar 08 23:41:10 2007 +0000
     1.3 @@ -307,7 +307,7 @@
     1.4  						      tmp_buffer,
     1.5  						      buffer_size, TRUE);
     1.6  
     1.7 -			if (!myth_handle->is_livetv && len < 0) {
     1.8 +			if (!myth_handle->is_livetv && len <= 0) {
     1.9  				g_byte_array_free (tmp_buffer, TRUE);
    1.10  				g_debug ("Fail to read bytes");
    1.11  				return GNOME_VFS_ERROR_IO;