]> git.sesse.net Git - vlc/commit
avi demux: don't disable tracks when they end.
authorDerk-Jan Hartman <hartman@videolan.org>
Tue, 9 Jun 2009 14:34:14 +0000 (16:34 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Tue, 9 Jun 2009 14:37:18 +0000 (16:37 +0200)
commita0d2358734e81e5928a5edb4e0ff47e38d7ed28f
tree6bcfb3e48985259b4918c48baf5fbe778bee2097
parent7393f3b36c177cd87aed250cc3ed1d1d924f360e
avi demux: don't disable tracks when they end.

Disabling the tracks like this is an immediate action that messes up --file-caching for instance. There may be some cases where it is appropriate, and some cases where a track should be removed, but not when a track ends. In that case the core is responsible for cleanup.

Tested in bugfix for normal avi, broken avi and repaired avi, but not with "streamed" avi.

Should close #2853
modules/demux/avi/avi.c