# HG changeset patch # User melunko # Date 1181660692 -3600 # Node ID 7eeaef26704c54193c486e643b229b08e0b1fc5c # Parent dc652fe5634d0ce56d9394403f870c07db2d95be [svn r753] Uncommented seek function. Now it is working diff -r dc652fe5634d -r 7eeaef26704c libgnomevfs2-mythtv/modules/mythtv-method.c --- a/libgnomevfs2-mythtv/modules/mythtv-method.c Fri Jun 08 23:05:00 2007 +0100 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c Tue Jun 12 16:04:52 2007 +0100 @@ -446,19 +446,18 @@ GnomeVFSFileOffset offset, GnomeVFSContext *context) { - MythtvHandle *myth_handle; - //guint64 whence_p = 0; - //gint64 new_offset =0; + MythtvHandle *myth_handle; + guint64 whence_p = 0; + gint64 new_offset = 0; _GNOME_VFS_METHOD_PARAM_CHECK (method_handle != NULL); myth_handle = (MythtvHandle *) method_handle; - g_debug ("seek offset%"G_GINT64_FORMAT" whence %d", offset, whence); + g_debug ("seek offset %"G_GINT64_FORMAT" whence %d", offset, whence); - return GNOME_VFS_ERROR_NOT_SUPPORTED; - /* if (gmyth_uri_is_livetv (myth_handle->gmyth_uri)) + return GNOME_VFS_ERROR_NOT_SUPPORTED; switch (whence) { @@ -479,7 +478,6 @@ } return GNOME_VFS_ERROR_NOT_SUPPORTED; - */ } static GnomeVFSResult