[Bug 758212] playbin adds the template caps on autoplug-query

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Dec 18 02:57:19 PST 2015


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

--- Comment #7 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
commit 023af2d3b192f8ebf1bd4fe75a22a4adaedc1e05
Author: Matthew Waters <matthew at centricular.com>
Date:   Mon Nov 30 10:28:55 2015 +1100

    playbin: only add the template caps when the result is empty

    Unconditionally adding the template caps when proxying the caps query will
play
    havoc with decoders that attempt to choose an output format based on some
caps
    features.  Creating a sink that does not include those caps features and a
    decoder/parser/etc that preferentially chooses some specific caps feature
when
    available, will always return the decoder/parser/etc template caps and
choose a
    feature that downstream will be unable to support.

    Fix by limiting the addition of the template caps to when the result is
actually
    empty.

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

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