[svn r753] Uncommented seek function. Now it is working trunk
authormelunko
Tue Jun 12 16:04:52 2007 +0100 (2007-06-12)
branchtrunk
changeset 7477eeaef26704c
parent 746 dc652fe5634d
child 748 bf9dac4bdc5d
[svn r753] Uncommented seek function. Now it is working
libgnomevfs2-mythtv/modules/mythtv-method.c
     1.1 --- a/libgnomevfs2-mythtv/modules/mythtv-method.c	Fri Jun 08 23:05:00 2007 +0100
     1.2 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c	Tue Jun 12 16:04:52 2007 +0100
     1.3 @@ -446,19 +446,18 @@
     1.4  	 GnomeVFSFileOffset    offset,
     1.5  	 GnomeVFSContext      *context)
     1.6  {
     1.7 -	MythtvHandle *myth_handle;
     1.8 -    //guint64 whence_p = 0;
     1.9 -    //gint64 new_offset =0;
    1.10 +    MythtvHandle *myth_handle;
    1.11 +    guint64 whence_p  = 0;
    1.12 +    gint64 new_offset = 0;
    1.13  
    1.14       _GNOME_VFS_METHOD_PARAM_CHECK (method_handle != NULL);
    1.15  
    1.16       myth_handle = (MythtvHandle *) method_handle;    
    1.17      
    1.18 -    g_debug ("seek offset%"G_GINT64_FORMAT" whence %d", offset, whence);
    1.19 +    g_debug ("seek offset %"G_GINT64_FORMAT" whence %d", offset, whence);
    1.20  
    1.21 -    return GNOME_VFS_ERROR_NOT_SUPPORTED;
    1.22 -    /*
    1.23      if (gmyth_uri_is_livetv (myth_handle->gmyth_uri))
    1.24 +        return GNOME_VFS_ERROR_NOT_SUPPORTED;
    1.25      
    1.26      switch (whence)
    1.27      {
    1.28 @@ -479,7 +478,6 @@
    1.29      }
    1.30  
    1.31      return GNOME_VFS_ERROR_NOT_SUPPORTED;
    1.32 -    */
    1.33  }
    1.34  
    1.35  static GnomeVFSResult