mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-09 17:44:14 +00:00
videoparsers: Use complete and valid caps in the tests
This commit is contained in:
parent
f337777eb5
commit
1025274bdf
3 changed files with 6 additions and 6 deletions
tests/check/elements
|
@ -26,8 +26,8 @@
|
|||
#include <gst/check/gstcheck.h>
|
||||
#include "parser.h"
|
||||
|
||||
#define SRC_CAPS_TMPL "video/x-h263, framed=(boolean)false"
|
||||
#define SINK_CAPS_TMPL "video/x-h263, framed=(boolean)true"
|
||||
#define SRC_CAPS_TMPL "video/x-h263, variant=(string)itu, parsed=(boolean)false"
|
||||
#define SINK_CAPS_TMPL "video/x-h263, parsed=(boolean)true"
|
||||
|
||||
GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
#include <gst/check/gstcheck.h>
|
||||
#include "parser.h"
|
||||
|
||||
#define SRC_CAPS_TMPL "video/mpeg, framed=(boolean)false"
|
||||
#define SINK_CAPS_TMPL "video/mpeg, framed=(boolean)true"
|
||||
#define SRC_CAPS_TMPL "video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, parsed=(boolean)false"
|
||||
#define SINK_CAPS_TMPL "video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, parsed=(boolean)true"
|
||||
|
||||
GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
#include <gst/check/gstcheck.h>
|
||||
#include "parser.h"
|
||||
|
||||
#define SRC_CAPS_TMPL "video/mpeg, framed=(boolean)false"
|
||||
#define SINK_CAPS_TMPL "video/mpeg, framed=(boolean)true"
|
||||
#define SRC_CAPS_TMPL "video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)false"
|
||||
#define SINK_CAPS_TMPL "video/mpeg, mpegversion=(int){1, 2}, systemstream=(boolean)false, parsed=(boolean)true"
|
||||
|
||||
GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
|
|
Loading…
Reference in a new issue