[Bug 740693] decodebin: Analyze source pad before setting to PAUSED for 'tag demuxers'

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 25 09:21:33 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740693
  GStreamer | gst-plugins-base | unspecified

Thibault Saunier <tsaunier> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #291472|0                           |1
        is obsolete|                            |

--- Comment #3 from Thibault Saunier <tsaunier at gnome.org> 2014-11-25 17:21:28 UTC ---
Created an attachment (id=291481)
 View: https://bugzilla.gnome.org/attachment.cgi?id=291481
 Review: https://bugzilla.gnome.org/review?bug=740693&attachment=291481

decodebin: Analyze source pad before setting to PAUSED for 'simple demuxers'

Before we were setting them to PAUSED and (much) later connecting to
their source pad caps notify signal.

There was a race where that demuxer was pushing a caps and later a buffer
on its source pad when we were not even connected to its source pad caps notify
signal leading to decodebin missing the information and not keeping on
building the pipeline on CAPS event thus the demuxer was posting an ERROR
(not linked) message on the bus. This need to be done for 'simple
demuxers' because those have one ALWAYS source pad, not like usual demuxers
that have several dynamic source pads.

A "simple demuxer" is a demuxer that has one and only one ALWAYS source
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