demuxer.c: clean up stream-seek code
commit19907b8fbc0c958750c51d2d39739f37a8565ea4
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 23 Apr 2010 18:01:21 +0000 (23 21:01 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 23 Apr 2010 18:01:21 +0000 (23 21:01 +0300)
tree62d1f7f8fa00322f7ce101ee730cedb9a0f38d84
parentf9d224b1ad2f5488fe0fd1f581c4506a6067aa5a
demuxer.c: clean up stream-seek code

Only try to use the dvd/dvdnav stream seek hack with those stream
types. Generally demuxers can not be expected to cope with the stream
suddenly seeking under them. In principle it would be more correct to
make the test demuxer-based (instead of assuming that using stream
seeks in this manner is OK with whatever demuxer that will be used
with these streams), but that'd be more work.
libmpdemux/demuxer.c