[MPlayer-dev-eng] get_percent_pos and get_time_length problem

Ben Nemec cybertron at flashmail.com
Fri Oct 24 20:19:52 CEST 2003


I'm having some trouble with get_percent_pos and get_time_length in slave
mode.  I'll start with get_time_length.  Is there a reason that I would
continue to get 0 for the answer when I'm playing an mp3?  It has worked
with the wma and avi files that I have tried, but the plain mp3 keeps
saying the length is 0.  This has happened with at least two different
mp3s.  Get_percent_pos works fine as long as I don't seek to any other
location in the file.  As soon as I seek to a different location (by using
seek xx 1) get_percent_pos returns 100 all the time.  Are these bugs in
mplayer, or am I doing something wrong?  Thanks, you guys are great.

-Ben

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031024/42483475/attachment.htm>


More information about the MPlayer-dev-eng mailing list