diff -r bf9dac4bdc5d -r 312d6bc514f3 gmyth-stream/gmemcoder/src/gmencoder.c --- a/gmyth-stream/gmemcoder/src/gmencoder.c Tue Jun 12 22:13:46 2007 +0100 +++ b/gmyth-stream/gmemcoder/src/gmencoder.c Thu Jun 14 18:19:52 2007 +0100 @@ -626,9 +626,9 @@ if (priv->pipe != NULL) { //TODO: fixe pipeline dispose - g_debug ("SETING STATE TO NULL"); //gst_element_set_state (priv->pipe, GST_STATE_NULL); - g_debug ("SETING STATE TO NULL: OK"); + //g_debug ("SETING STATE TO NULL: OK"); + //gst_element_set_state (priv->pipe, GST_STATE_NULL); //gst_object_unref (priv->pipe); gst_object_unref (priv->src); priv->src = NULL; @@ -884,7 +884,8 @@ if (strcmp (i[0], "fd") == 0) { priv->fd = atoi (i[1]); } else if (strcmp (i[0], "file") == 0) { - priv->fd = open (i[1], O_WRONLY | O_CREAT | O_TRUNC); + priv->fd = open (i[1], O_WRONLY | O_CREAT | O_TRUNC, + S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); } else { g_warning ("Output uri not supported"); }