[Bug 747190] videodecoder: Sends GAP events before CAPS

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 8 20:47:46 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747190

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.5.1

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Let's try this for now... and see what breaks. Better than no caps at least!

commit f268f2be92b2f983e0f45af257afd4fbbc0e5e40
Author: Sebastian Dröge <sebastian at centricular.com>
Date:   Wed Apr 8 20:45:58 2015 -0700

    videodecoder: Try to invent default caps instead of setting none at all
when getting a GAP event before CAPS

    Otherwise we would forward the GAP event without ever providing any caps,
    which then would make decodebin expose a srcpad without any caps set.
That's
    confusing for applications and can lead to all kinds of interesting bugs.

    Instead do the same as already is done in GstAudioDecoder, and try to
invent
    caps based on the sinkpad caps and the caps allowed by downstream and the
    srcpad template caps.

    https://bugzilla.gnome.org/show_bug.cgi?id=747190

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