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 677838 - matroskademux: flushing seek(0, stop) after preroll does not always work as expected
matroskademux: flushing seek(0, stop) after preroll does not always work as e...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.31
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-11 07:59 UTC by Ognyan Tonchev (redstar_)
Modified: 2012-06-11 11:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ognyan Tonchev (redstar_) 2012-06-11 07:59:43 UTC
When last stop is 0 the demuxer will skip the seeking part, the pipeline will be flushed and demuxing will continue with the next frame in the file which can be a delta-unit:

gst_matroska_demux_handle_seek_event () {
...
  if (!update) {
    /* only have to update some segment,
     * but also still have to honour flush and so on */
    GST_DEBUG_OBJECT (demux, "... no update");
    /* bad goto, bad ... */
    goto next;
  }
...
}
Comment 1 Mark Nauwelaerts 2012-06-11 11:18:20 UTC
Side-effect of some optimization for bug #661049, following commit should fix this:

[0.10]
commit 28f287ed05cc9b69c1403d16450dc3d7988ba7a0
Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Date:   Mon Jun 11 12:54:27 2012 +0200

    matroskademux: always perform full seek if seek is flushing
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=677838

[0.11]
commit 8b1da8adb27b2e9d704ca9ada0141cdbabc3dc3d
Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Date:   Mon Jun 11 12:54:27 2012 +0200

    matroskademux: always perform full seek if seek is flushing
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=677838