gsreal: bring down the rank of the real decoders to MARGINAL.
authorEdward Hervey <bilboed@bilboed.com>
Wed, 4 Mar 2009 18:50:10 +0000 (19:50 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 4 Mar 2009 19:02:04 +0000 (20:02 +0100)
Basically, at this point, the ffmpeg equivalent decoders perform way
better, so we'll make the ffmpeg equivalents PRIMARY and these
MARGINAL.

gst/real/gstreal.c

index 80595a9..33ea4c5 100644 (file)
 static gboolean
 plugin_init (GstPlugin * p)
 {
-  if (!gst_element_register (p, "realvideodec", GST_RANK_PRIMARY,
+  if (!gst_element_register (p, "realvideodec", GST_RANK_MARGINAL,
           GST_TYPE_REAL_VIDEO_DEC))
     return FALSE;
-  if (!gst_element_register (p, "realaudiodec", GST_RANK_SECONDARY,
+  if (!gst_element_register (p, "realaudiodec", GST_RANK_MARGINAL,
           GST_TYPE_REAL_AUDIO_DEC))
     return FALSE;