projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4cd1ce
)
pngparse: enable accept-intersect and accept-template flags on sinkpad
author
Thiago Santos
<thiagoss@osg.samsung.com>
Fri, 14 Aug 2015 14:43:57 +0000
(11:43 -0300)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Fri, 14 Aug 2015 16:42:59 +0000
(13:42 -0300)
Do a quick check with the pad template caps as it is enough. Users
should have figured the appropriate full caps on a previous caps query
https://bugzilla.gnome.org/show_bug.cgi?id=753623
gst/videoparsers/gstpngparse.c
patch
|
blob
|
history
diff --git
a/gst/videoparsers/gstpngparse.c
b/gst/videoparsers/gstpngparse.c
index c50efb57876e9be497abe1408aa12be8ed362f2e..154f81561b0649a94e166c52de562d09970d0307 100644
(file)
--- a/
gst/videoparsers/gstpngparse.c
+++ b/
gst/videoparsers/gstpngparse.c
@@
-82,6
+82,8
@@
gst_png_parse_class_init (GstPngParseClass * klass)
static void
gst_png_parse_init (GstPngParse * pngparse)
{
+ GST_PAD_SET_ACCEPT_INTERSECT (GST_BASE_PARSE_SINK_PAD (pngparse));
+ GST_PAD_SET_ACCEPT_TEMPLATE (GST_BASE_PARSE_SINK_PAD (pngparse));
}
static gboolean