[MPlayer-dev-eng] [PATCH] make demuxer_get_percent_pos() recheck file length
Scott W. Larson
scowl at pacifier.com
Sun Oct 2 01:16:58 CEST 2005
Rich Felker wrote:
>I have a feeling this could break horribly with non-file streams...
>
>
I tested it while playing directly from /dev/dtv. Seeking forward causes
it to pause for however many seconds it would have forwarded if it were
reading from a file. Seeking backwards returns the message it did before:
Cannot seek backward in linear streams!
Seek failed
Other formats might not handle it as well so I'll add some code to skip
the seeking when it's not reading from a file.
More information about the MPlayer-dev-eng
mailing list