1.1 --- a/gmyth-stream/gmemcoder/src/gmencoder.c Tue Jun 12 22:13:46 2007 +0100
1.2 +++ b/gmyth-stream/gmemcoder/src/gmencoder.c Thu Jun 14 18:19:52 2007 +0100
1.3 @@ -626,9 +626,9 @@
1.4
1.5 if (priv->pipe != NULL) {
1.6 //TODO: fixe pipeline dispose
1.7 - g_debug ("SETING STATE TO NULL");
1.8 //gst_element_set_state (priv->pipe, GST_STATE_NULL);
1.9 - g_debug ("SETING STATE TO NULL: OK");
1.10 + //g_debug ("SETING STATE TO NULL: OK");
1.11 + //gst_element_set_state (priv->pipe, GST_STATE_NULL);
1.12 //gst_object_unref (priv->pipe);
1.13 gst_object_unref (priv->src);
1.14 priv->src = NULL;
1.15 @@ -884,7 +884,8 @@
1.16 if (strcmp (i[0], "fd") == 0) {
1.17 priv->fd = atoi (i[1]);
1.18 } else if (strcmp (i[0], "file") == 0) {
1.19 - priv->fd = open (i[1], O_WRONLY | O_CREAT | O_TRUNC);
1.20 + priv->fd = open (i[1], O_WRONLY | O_CREAT | O_TRUNC,
1.21 + S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
1.22 } else {
1.23 g_warning ("Output uri not supported");
1.24 }