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

Aurelien Jacobs aurel
Fri Aug 7 22:44:53 CEST 2009


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.

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: riff_subtitle_timebase.diff
Type: text/x-diff
Size: 641 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090807/930700b9/attachment.diff>



More information about the ffmpeg-devel mailing list