[Bug 711829] New: matroskademux: assert on division by zero
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Nov 11 02:13:50 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=711829
GStreamer | gst-plugins-good | git
Summary: matroskademux: assert on division by zero
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: davidsf at axis.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=259544)
View: https://bugzilla.gnome.org/attachment.cgi?id=259544
Review: https://bugzilla.gnome.org/review?bug=711829&attachment=259544
Avoid division by zero assert in gst_matroska_demux_search_pos
When doing a seek to position 0 when already positioned on 0 in a mkv with no
index (still being recorded), there is an assert in _gst_util_uint64_scale for
denom being 0.
This is caused by a call from gst_matroska_demux_search_pos where otime –
demux->stream_start_time == 0.
I have attached the patch that we are using as workaround.
This condition occurs very often but not always. Sometimes it looks like the
position has moved from 0 and the problem does not happen even though the
pipeline was paused directly.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list