[MPlayer-dev-eng] [PATCH] ASF: Use play_duration instead of send_duration

Zuxy Meng zuxy.meng at gmail.com
Wed May 30 10:37:02 CEST 2007


Hi,

2007/5/27, Zuxy Meng <zuxy.meng at gmail.com>:
> Hi,
>
> 2007/5/23, Zuxy Meng <zuxy.meng at gmail.com>:
> > Hi,
> >
> > Currently the asf's movielength is obtained thru the send time field
> > in asf file header, while the correct one to use is play time
> > substracted by preroll. Send time should be ignored by a demuxer
> > although most encoders will set it to the same value as play time. I
> > happened to encounter a clip whose send time isn't properly set,
> > leading to incorrect OSD display.
> >
> > Libavformat demuxed the clip correctly, because although it uses send
> > time, libavformat reads the two fields in a reversed order (play time
> > appears first in the file header, but libavformat reads it as send
> > time).
>
> Will apply on Wednesday (CCT+8) if nobody disagrees.

Applied.
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list