[Bug 796384] New: qtdemux: fix computation of first_duration for fragmented files in push mode
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu May 24 11:08:47 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796384
Bug ID: 796384
Summary: qtdemux: fix computation of first_duration for
fragmented files in push mode
Classification: Platform
Product: GStreamer
Version: unspecified
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: aboya at igalia.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Since ca068865c391e87932b1268d0c675be233dd2ffe the duration of the first
frame is not used for estimating the frame rate.
For this purpose, stream->first_duration was initialized with the
duration of the first frame. In fragmented files, this was previously
done by peeking the first moof, but that can only be done in pull mode.
Fortunately, we don't really need to do that, at least with the current
design: When we are estimating the frame rate we already have the
sample table, regardless of the scheduling mode and whether the file is
fragmented or not, so we can obtain first_duration there much more
reliably.
This fixes frame rate estimation for fragmented files in push mode.
--
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