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 317043 - basesink preroll_queued loses buffer sometimes when bufferprobes are used
basesink preroll_queued loses buffer sometimes when bufferprobes are used
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-23 15:33 UTC by Thomas Vander Stichele
Modified: 2005-11-27 14:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Vander Stichele 2005-09-23 15:33:28 UTC
about 1 out of every 10 runs of gst-python-s testsuite/test_pad.py, the
preroll_queued drops from 1 to 0 during the state commit.

I changed the g_assert to give an ERROR:

    /* FIXME: a pad probe could have made us lose the buffer, according
     * to one of the python tests */
    if (length == 0) {
      GST_ERROR_OBJECT (basesink,
          "preroll_queued dropped from 1 to 0 while committing state change");
    }
    g_assert (length <= 1);
  }


but this probably needs a better fix.