summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-12 01:53:14 +0100
committerwm4 <wm4@nowhere>2013-12-12 01:53:37 +0100
commit49f92911649612887c918759c6e0f2f1657e24f2 (patch)
treef076a9aff66452c8b00a6e731c94923ec17ee330
parent053044741713eddc4aea024fb0c175aa01fc092d (diff)
downloadmpv-49f92911649612887c918759c6e0f2f1657e24f2.tar.bz2
mpv-49f92911649612887c918759c6e0f2f1657e24f2.tar.xz
demux: revert accidentally included change from previous commit
Oops.
-rw-r--r--demux/demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c
index f1a468272d..1e395a94d1 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -523,6 +523,7 @@ static struct demuxer *open_given_type(struct MPOpts *opts,
.metadata = talloc_zero(demuxer, struct mp_tags),
};
demuxer->params = params; // temporary during open()
+ stream_seek(stream, stream->start_pos);
mp_msg(MSGT_DEMUXER, MSGL_V, "Trying demuxer: %s (force-level: %s)\n",
desc->name, d_level(check));
@@ -557,7 +558,6 @@ static struct demuxer *open_given_type(struct MPOpts *opts,
}
free_demuxer(demuxer);
- stream_seek(stream, stream->start_pos);
return NULL;
}