[MPlayer-dev-eng] [PATCH] fix realaudio in mkv

Diego Biurrun diego at biurrun.de
Fri Mar 24 08:56:23 CET 2006


On Fri, Mar 24, 2006 at 12:46:07AM +0100, Roberto Togni wrote:
> 
> There is one problem created by this patch: in the old version the
> codec filled sh->i_bps (nAvgBytesPerSec) based on the flavor value,
> while now the codecs don't do it anymore (and that would not be possible
> anyway with the lavc codecs). In real demuxer i solved the problem by
> taking i_bps from the MDPR header, is there some field in matroska that
> can be used to fill that value? Else the only option is to create a
> table with bitrates like it's done for sipr codec (sipr is the only
> codec where flavor or bitrate is used to select the codec subtype).

I suppose this is why I get

  A:   inf

on the status line?  Other than that the patch appears to work.

Diego

P.S.: Roberto, please create patches from the root of the src tree so
that they can be conveniently applied from the root of the src tree as
well, thanks.




More information about the MPlayer-dev-eng mailing list