[vlc-devel] [PATCH] This fixes incorrectly timed subtitles during transcodes

Blake Livingston blake.a.livingston at gmail.com
Tue Jul 20 07:09:24 CEST 2010

Hi, I've been seeing a problem during transcodes where the subtitle timing
is very far off (this has turned up in the forums a few times too). It turns
out that during transcodes the subpictures aren't being marked as subtitles,
so they are being treated as OSD subpictures, and are being timed off of
mdate() rather than the correct time for the frame. This patch fixes it,
though I'm not sure if this is the exactly the proper point to set
b_subtitle = true.

Happy to make changes if anyone has a suggestion on a better patch.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100719/1c3b1422/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Setting-b_subtitle-on-subpictures-during-transcode-a.patch
Type: application/octet-stream
Size: 1769 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100719/1c3b1422/attachment.obj>

More information about the vlc-devel mailing list