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

Michael Niedermayer michaelni
Fri Aug 7 23:21:45 CEST 2009


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 ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090807/f489d6d2/attachment.pgp>



More information about the ffmpeg-devel mailing list