From baaa32621e95897c8b1823d21ace3f2189094a3d Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 27 May 2014 22:05:22 +0200 Subject: stream: unbreak writeable streams So, basically this worked only with streams that were not local files, because stream_dvd.c "intercepts" local files to check whether they point to DVD images. This means if a stream is not writeable, we have to try the next stream implementation. Unbreaks 2-pass encoding. --- stream/stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stream') diff --git a/stream/stream.c b/stream/stream.c index baee62221f..e2d49564be 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -292,9 +292,9 @@ static int open_internal(const stream_info_t *sinfo, struct stream *underlying, s->mode = flags & (STREAM_READ | STREAM_WRITE); if ((s->mode & STREAM_WRITE) && !sinfo->can_write) { - MP_ERR(s, "No write access implemented.\n"); + MP_VERBOSE(s, "No write access implemented.\n"); talloc_free(s); - return STREAM_ERROR; + return STREAM_NO_MATCH; } // Parse options -- cgit v1.2.3