After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794906 - qtdemux: edit list segment bound check is buggy
qtdemux: edit list segment bound check is buggy
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-02 18:52 UTC by Alicia Boya García
Modified: 2018-11-03 15:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alicia Boya García 2018-04-02 18:52:39 UTC
In pull mode (the only mode where complex edit lists are supported), the condition to check if a frame is outside the current edit is:

   QTSAMPLE_DTS (stream, sample) >= segment->media_stop

That is wrong because it's comparing DTS with PTS (`segment->media_stop`). In consequence, often one or two extra frames that are out-of-segment are sent before the new GstSegment.

See the tests introduced in https://bugzilla.gnome.org/show_bug.cgi?id=794902 to see this bug in action.
Comment 1 GStreamer system administrator 2018-11-03 15:28:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/458.