ext/dv/gstdv.c: Marking rank of dvdec as GST_RANK_MARGINAL since it's the slowest
authorEdward Hervey <bilboed@bilboed.com>
Thu, 26 Jun 2008 09:37:23 +0000 (09:37 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 26 Jun 2008 09:37:23 +0000 (09:37 +0000)
Original commit message from CVS:
* ext/dv/gstdv.c: (plugin_init):
Marking rank of dvdec as GST_RANK_MARGINAL since it's the slowest
DV decoder available.
Fixes #532393

ChangeLog
ext/dv/gstdv.c

index 021ed75..241f9dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-26  Edward Hervey  <edward.hervey@collabora.co.uk>
+
+       * ext/dv/gstdv.c: (plugin_init):
+       Marking rank of dvdec as GST_RANK_MARGINAL since it's the slowest
+       DV decoder available.
+       Fixes #532393
+
 2008-06-25  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
 
        * gst/udp/gstudpsrc.c: (gst_udpsrc_start):
index 0402ab5..3de309f 100644 (file)
@@ -34,16 +34,8 @@ plugin_init (GstPlugin * plugin)
           gst_dvdemux_get_type ()))
     return FALSE;
 
-  /* libdv does not correctly play back videos on big-endian machines. also it's
-     only optimized properly on x86-32 and x86-64. */
-
-#if G_BYTE_ORDER == G_LITTLE_ENDIAN
-  rank = GST_RANK_PRIMARY;
-#else
-  rank = GST_RANK_MARGINAL;
-#endif
-
-  if (!gst_element_register (plugin, "dvdec", rank, gst_dvdec_get_type ()))
+  if (!gst_element_register (plugin, "dvdec", GST_RANK_MARGINAL,
+          gst_dvdec_get_type ()))
     return FALSE;
 
   return TRUE;