|
From: <me...@us...> - 2007-08-23 21:45:18
|
Revision: 832
http://gmyth.svn.sourceforge.net/gmyth/?rev=832&view=rev
Author: melunko
Date: 2007-08-23 14:45:15 -0700 (Thu, 23 Aug 2007)
Log Message:
-----------
fixed output handle bug
Modified Paths:
--------------
trunk/gmyth-stream/gmemcoder/src/gmencoder.c
Modified: trunk/gmyth-stream/gmemcoder/src/gmencoder.c
===================================================================
--- trunk/gmyth-stream/gmemcoder/src/gmencoder.c 2007-08-23 21:30:57 UTC (rev 831)
+++ trunk/gmyth-stream/gmemcoder/src/gmencoder.c 2007-08-23 21:45:15 UTC (rev 832)
@@ -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,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|