mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
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
This commit is contained in:
parent
8ca7dbfae5
commit
268b93fd1e
2 changed files with 9 additions and 10 deletions
|
@ -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>
|
2008-06-25 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
* gst/udp/gstudpsrc.c: (gst_udpsrc_start):
|
* gst/udp/gstudpsrc.c: (gst_udpsrc_start):
|
||||||
|
|
|
@ -34,16 +34,8 @@ plugin_init (GstPlugin * plugin)
|
||||||
gst_dvdemux_get_type ()))
|
gst_dvdemux_get_type ()))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* libdv does not correctly play back videos on big-endian machines. also it's
|
if (!gst_element_register (plugin, "dvdec", GST_RANK_MARGINAL,
|
||||||
only optimized properly on x86-32 and x86-64. */
|
gst_dvdec_get_type ()))
|
||||||
|
|
||||||
#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 ()))
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue