[vlc-commits] dbus: Use vlc_pipe
Mirsal Ennaime
git at videolan.org
Sat Feb 19 16:53:34 CET 2011
vlc | branch: master | Mirsal Ennaime <mirsal at mirsal.fr> | Sat Feb 19 15:03:43 2011 +0100| [c445424de9f44a6dd4d5f202a566e91f6ac305f1] | committer: Mirsal Ennaime
dbus: Use vlc_pipe
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c445424de9f44a6dd4d5f202a566e91f6ac305f1
---
modules/control/dbus/dbus.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/control/dbus/dbus.c b/modules/control/dbus/dbus.c
index 90a77ac..4594f2b 100644
--- a/modules/control/dbus/dbus.c
+++ b/modules/control/dbus/dbus.c
@@ -58,6 +58,7 @@
#include <vlc_playlist.h>
#include <vlc_meta.h>
#include <vlc_mtime.h>
+#include <vlc_fs.h>
#include <assert.h>
#include <string.h>
@@ -171,7 +172,7 @@ static int Open( vlc_object_t *p_this )
p_sys->p_input = NULL;
p_sys->i_playing_state = -1;
- if( pipe( p_sys->p_pipe_fds ) )
+ if( vlc_pipe( p_sys->p_pipe_fds ) )
{
free( p_sys );
msg_Err( p_intf, "Could not create pipe" );
More information about the vlc-commits
mailing list