[MPlayer-dev-eng] Re: [PATCH] don't skip first mp3 frame

Michael Behrisch behrisch at informatik.hu-berlin.de
Tue Dec 14 11:35:50 CET 2004


On Wed, Dec 01, 2004 at 11:02:06AM -0500, D Richard Felker III wrote:
> On Wed, Dec 01, 2004 at 12:46:19PM +0100, Michael Behrisch wrote:
> > On Thu, Oct 21, 2004 at 01:05:08PM -0400, D Richard Felker III wrote:
> > > On Thu, Oct 21, 2004 at 06:36:08PM +0200, Reimar Döffinger wrote:
> > > > > > See libmpcodecs/ad_mp3lib.c, line 49. I think there were/are some broken
> > > > > > MP3 encoders that create only trash for the first frame or something
> > > > > > like that...
> > > > > 
> > > > > no, the idiotic demuxer was starting at the wrong place in the file
> > > > > making the decoder see the wrong data as the "first frame"... there's
> > > > > no other decoder that has to discard the first frame when playing
> > > > > mp3s, so mplayer shouldn't have to do it either...
> > > > 
> > > > So the questions is: Does the demuxer now work correctly? Should this be
> > > > removed?
> > > 
> > > afaik, yes, the patch was committed. i'm not positive though..
> > 
> > The demuxer works (at least for me). I also vote for removing
> > the code which kills the first frame (patch attached).
> 
> i support this change! (btw skipping this frame could cause slight a/v
> desync when reencoding, or nonsense video framedropping)

Please apply then (or maybe Reimar should because he also
did the demuxer fix?). No one objected so far.

Michael




More information about the MPlayer-dev-eng mailing list