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:
fcf1845
)
templatematch: add a framerate to test caps
author
Thiago Santos
<thiagoss@osg.samsung.com>
Fri, 6 Nov 2015 20:24:52 +0000
(17:24 -0300)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Fri, 6 Nov 2015 20:46:03 +0000
(17:46 -0300)
The pad template requires a framerate, so use it to prevent
caps negotiation failures.
Fixes the unit test
tests/check/elements/templatematch.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/templatematch.c
b/tests/check/elements/templatematch.c
index 5b567183c1bfdd70df79662fa0224bbda80fd9bb..99fc79440cab7e85add289a4a469ebf3c46e3340 100644
(file)
--- a/
tests/check/elements/templatematch.c
+++ b/
tests/check/elements/templatematch.c
@@
-92,7
+92,8
@@
GST_START_TEST (test_match_blue_square)
GstElement *element;
GstPad *sinkpad, *srcpad;
GstCaps *caps =
- gst_caps_from_string (CAPS_TMPL ", width=(int)16, height=(int)16");
+ gst_caps_from_string (CAPS_TMPL
+ ", width=(int)16, height=(int)16, framerate=1/1");
GstBus *bus;
GstMessage *msg;
const GstStructure *structure;