diff --git a/src/pipe.c b/src/pipe.c index e3c605e9..86274da8 100644 --- a/src/pipe.c +++ b/src/pipe.c @@ -65,6 +65,8 @@ pipe_setup(struct media_file_info *mfi) return -1; } + pipe_cleanup(); + g_fd = open(mfi->path, O_RDONLY); if (g_fd < 0) {