GNOME Bugzilla – Bug 444514
[PATCH] dvdsubdec miscalculates (long) subtitle durations
Last modified: 2007-06-05 21:47:48 UTC
At some point, dvdsubdec uses a guint to store subtitle duration. This is not quite by the book, and typically, this can but hold up to (very roughly) 4 sec, so subtitles with longer duration are overflowed/cut short.
Created attachment 89438 [details] [review] Simple possible patch * Use GstClockTime for a time/duration variable, not guint
Thanks for the patch, fixed in CVS: 2007-06-05 Sebastian Dröge <slomo@circular-chaos.org> Patch by by: Mark Nauwelaerts <manauw at skynet dot be> * gst/dvdsub/gstdvdsubdec.c: (gst_dvd_sub_dec_parse_subpic): Use GstClockTime instead of guint for a time variable to prevent overflows on too large subtitle durations. Fixes #444514.