gst/cdxaparse/gstcdxaparse.c: Add mpegversion to CAPS to make it link
authorStéphane Loeuillet <gstreamer@leroutier.net>
Tue, 11 May 2004 16:59:44 +0000 (16:59 +0000)
committerStéphane Loeuillet <gstreamer@leroutier.net>
Tue, 11 May 2004 16:59:44 +0000 (16:59 +0000)
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

ChangeLog
gst/cdxaparse/gstcdxaparse.c

index ef22008..6e07087 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,12 @@
        * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_audio_caps):
          Use codec_data property instead of flag1 and flag2 for wma
 
+2004-05-11  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
+
+       * gst/cdxaparse/gstcdxaparse.c :
+         Add mpegversion to CAPS to make it link
+         Rank is as GST_RANK_SECONDARY instead of NONE
+
 2004-05-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
 
        * ext/libvisual/visual.c: (gst_visual_getcaps):
index 36ebc33..d0029df 100644 (file)
@@ -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;