summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2004-05-11 16:59:44 +0000
committerStéphane Loeuillet <gstreamer@leroutier.net>2004-05-11 16:59:44 +0000
commit1bdc31fc0509045f3a17ca6d7636b11fd14ed1b5 (patch)
treee902d30b187e85b2ecb9213fbbe4b5508779a0d7 /gst
parenta2fe9a31ac9d1ff4b0d346b377bd11677d09bead (diff)
downloadgst-plugins-bad-1bdc31fc0509045f3a17ca6d7636b11fd14ed1b5.tar.gz
gst-plugins-bad-1bdc31fc0509045f3a17ca6d7636b11fd14ed1b5.tar.bz2
gst-plugins-bad-1bdc31fc0509045f3a17ca6d7636b11fd14ed1b5.zip
gst/cdxaparse/gstcdxaparse.c: Add mpegversion to CAPS to make it link
Original commit message from CVS: * gst/cdxaparse/gstcdxaparse.c : Add mpegversion to CAPS to make it link Rank is as GST_RANK_SECONDARY instead of NONE
Diffstat (limited to 'gst')
-rw-r--r--gst/cdxaparse/gstcdxaparse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/cdxaparse/gstcdxaparse.c b/gst/cdxaparse/gstcdxaparse.c
index 36ebc335..d0029dff 100644
--- a/gst/cdxaparse/gstcdxaparse.c
+++ b/gst/cdxaparse/gstcdxaparse.c
@@ -69,7 +69,8 @@ static GstStaticPadTemplate sink_templ = GST_STATIC_PAD_TEMPLATE ("sink",
static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("video/mpeg, " "systemstream = (boolean) TRUE")
+ GST_STATIC_CAPS ("video/mpeg, " "systemstream = (boolean) TRUE, "
+ "mpegversion = (int) 1")
);
static void gst_cdxa_parse_base_init (gpointer g_class);
@@ -316,7 +317,7 @@ plugin_init (GstPlugin * plugin)
if (!gst_library_load ("gstbytestream"))
return FALSE;
- if (!gst_element_register (plugin, "cdxaparse", GST_RANK_NONE,
+ if (!gst_element_register (plugin, "cdxaparse", GST_RANK_SECONDARY,
GST_TYPE_CDXA_PARSE))
return FALSE;