summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2008-06-26 09:37:23 +0000
committerEdward Hervey <bilboed@bilboed.com>2008-06-26 09:37:23 +0000
commit268b93fd1e24f9b2d94b37500234bba0525642e6 (patch)
tree2eff38de3d225e65a23bf0dea1a1db41cee08f30
parent8ca7dbfae5eecf4469beebf0944dfa89bdcff879 (diff)
ext/dv/gstdv.c: Marking rank of dvdec as GST_RANK_MARGINAL since it's the slowest
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
-rw-r--r--ChangeLog7
-rw-r--r--ext/dv/gstdv.c12
2 files changed, 9 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 021ed750..241f9ddb 100644
--- 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):
diff --git a/ext/dv/gstdv.c b/ext/dv/gstdv.c
index 0402ab51..3de309fa 100644
--- a/ext/dv/gstdv.c
+++ b/ext/dv/gstdv.c
@@ -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;