[MPlayer-dev-eng] [PATCH] uninit_audio in mencoder

Oded Shimon ods15 at ods15.dyndns.org
Fri Aug 5 20:18:46 CEST 2005


On Sat, Jul 30, 2005 at 09:51:18AM +0400, Vladislav Naumov wrote:
> When I was writing volnorm2 I discovered that mencoder
> (unlike mplayer)
> doesn't uninit audio filters after encoding.
> So volnorm2 was unable to report peak values after
> processing.
> 
> This patch fixes this.
> I don't know if it is the best place for uniniting,
> I just put uninit_audio where everything else is
> uninitialised.
> It works.

Almost. You're right, uninit audio is necessary - you forgot to add it also 
before switching to a new file - look about 100 lines up, there's some 
uninit stuff there too.
Make a new patch, I'll apply. (I'm too lazy to do it myself)

- ods15




More information about the MPlayer-dev-eng mailing list