[gstreamer-bugs] [Bug 629410] New: GstBaseTransform: position query refers to sink pad, not source pad

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Sep 12 03:42:18 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=629410
  GStreamer | gstreamer (core) | 0.10.30

           Summary: GstBaseTransform: position query refers to sink pad,
                    not source pad
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.30
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: lsinger at caltech.edu
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=170072)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=170072)
Proposed patch

In order to answer position queries, GstBaseTransform stores the (timestamp +
duration) of the last received buffer on the sink pad.  For elements that have
a fixed delay or history -- for instance, an FIR or IIR filter -- this is not
necessarily the same as the (timestamp + duration) of the buffers that get
pushed on the source pad.

One consequence of this is confusing output from the progressreport element.

The attached patch takes the position from the buffers that are pushed on the
source pad, instead of the buffers that are received on the sink pad.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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