# HG changeset patch # User melunko # Date 1187905515 -3600 # Node ID e0152712fd4f1af0b27f6806537a10604f69b238 # Parent 32ec09590cf2767f1582b31f350899e9fe81cc95 [svn r832] fixed output handle bug diff -r 32ec09590cf2 -r e0152712fd4f gmyth-stream/gmemcoder/src/gmencoder.c --- a/gmyth-stream/gmemcoder/src/gmencoder.c Thu Aug 23 22:30:57 2007 +0100 +++ b/gmyth-stream/gmemcoder/src/gmencoder.c Thu Aug 23 22:45:15 2007 +0100 @@ -526,7 +526,7 @@ } _close_output(self); - if (_open_output(self, out_uri) == FALSE) { + if (_open_output(self, out_uri) == FALSE) { return FALSE; } @@ -882,7 +882,6 @@ src = _create_v4l_source (self, uri); } else { - g_debug ("SRC"); src = gst_element_make_from_uri(GST_URI_SRC, uri, "src"); } @@ -957,7 +956,7 @@ result = gnome_vfs_open_fd (&priv->handle, atoi(i[1])); } else { if (g_file_test (i[1], G_FILE_TEST_EXISTS) == FALSE) { - result = gnome_vfs_create (&priv->handle, uri, GNOME_VFS_OPEN_WRITE, TRUE, + result = gnome_vfs_create (&priv->handle, uri, GNOME_VFS_OPEN_WRITE, FALSE, GNOME_VFS_PERM_USER_WRITE | GNOME_VFS_PERM_USER_READ | GNOME_VFS_PERM_GROUP_READ); } else { result = gnome_vfs_open (&priv->handle, uri,