[Bug 679504] New: Multiple events received by demuxers when they are sent to the pipeline

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 6 03:16:26 PDT 2012


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

           Summary: Multiple events received by demuxers when they are
                    sent to the pipeline
    Classification: Platform
           Product: GStreamer
           Version: 0.10.36
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: xartigas.bugzilla at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=218166)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=218166)
Basic tutorial 13 from the GStreamer SDK tutorials

The attached code allows to pause the pipeline and then performs frame stepping
by sending Step events to the pipeline (playbin2).
You can see in the debug output of basesink, and on the video window (if you
have a sharp eye) that two steps are actually being performed. This is caused
by playbin2 sending the event to both sinks, and the demuxer receiving
duplicated events. The demuxer could maybe detect the duplicity and execute
only one event.
If you change line 77 to send the Step event to data->video_sink instead of
data->pipeline, the Step is only performed once.

-- 
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