[Bug 727949] New: basesink: Make sure to post EOS message instead of going to PLAYING when pre-rolling because of EOS

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Apr 10 02:49:07 PDT 2014


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

           Summary: basesink: Make sure to post EOS message instead of
                    going to PLAYING when pre-rolling because of EOS
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: slomo at coaxion.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


See attached patch.

Without this it can happen that we pre-roll into PAUSED state, the application
sets the pipeline to PLAYING based on the state-changed message, then we
immediately go to PLAYING. And only then the code in the EOS event handler
causes the EOS message to be posted.

After this change we won't get into PLAYING and will instead post the EOS
message from basesink's change_state function.

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