[FFmpeg-devel] [PATCH] fix riff subtitle timebase

Aurelien Jacobs aurel
Sat Aug 8 02:02:06 CEST 2009


On Fri, Aug 07, 2009 at 11:21:45PM +0200, Michael Niedermayer wrote:
> On Fri, Aug 07, 2009 at 10:44:53PM +0200, Aurelien Jacobs wrote:
> > Hi,
> > 
> > Currently ff_parse_specific_params() is taking the audio code path
> > to compute au_scale and au_rate. Computations are based on block_align
> > and bit_rate, which tends to be 0 for subtitles track.
> > This patch uses stream time_base instead, for subtitles.
> > This fixes muxing subtitles in nut.
> 
> ok if tested which i assume it is ...

Yes sure, tested, thus applied.

Aurel



More information about the ffmpeg-devel mailing list