[gstreamer-bugs] [Bug 317043] New: basesink preroll_queued loses buffer sometimes when bufferprobes are used

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Sep 23 08:33:29 PDT 2005


Do not reply to this email.  You can add comments to this bug at
 http://bugzilla.gnome.org/show_bug.cgi?id=317043
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: basesink preroll_queued loses buffer sometimes when
                    bufferprobes are used
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thomas at apestaart.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


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.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list