[Bug 758212] New: playbin adds the template caps on autoplug-query
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Nov 16 22:04:49 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=758212
Bug ID: 758212
Summary: playbin adds the template caps on autoplug-query
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: ystreet00 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Right, so attempting to select some caps feature vs not with a capsfilter
doesn't seem to work correctly as playbin adds the template caps to the result
of the caps query when going through the autoplug-query mechanism.
e.g. a pipeline on android like
playbin uri=uri video-sink='video/x-raw ! glimagesink'
Will fail to negotiate as amcvideodec will see that GLMemory is supported (from
amcvideodec's template caps) and attempt to output GL which sends a caps event
with GLMemory features which the caps filter outright refuses (understandably).
git blame points to the following commit however there isn't any justification
as to why.
commit 45dfceacdb6506a001d435c94ba160389264f3dd
Author: Matthieu Bouron <matthieu.bouron at collabora.com>
Date: Thu Feb 20 20:01:30 2014 +0000
playbin: improve autoplug_query_caps return
Makes autoplug_query_caps return
downstream_caps + intersect_first(filter_caps, element_caps)
https://bugzilla.gnome.org/show_bug.cgi?id=724828
--
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