mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
templatematch: add a framerate to test caps
The pad template requires a framerate, so use it to prevent caps negotiation failures. Fixes the unit test
This commit is contained in:
parent
fcf1845e39
commit
8def19decb
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue