ext/dv/gstdv.c: Fix build.

Original commit message from CVS:
* ext/dv/gstdv.c: (plugin_init):
Fix build.
This commit is contained in:
Tim-Philipp Müller 2006-04-21 17:27:40 +00:00
parent b3debb82fd
commit 5574790649
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-04-21 Tim-Philipp Müller <tim at centricular dot net>
* ext/dv/gstdv.c: (plugin_init):
Fix build.
2006-04-21 Tim-Philipp Müller <tim at centricular dot net>
* gst/debug/progressreport.c: (gst_progress_report_finalize),

View file

@ -28,7 +28,7 @@
static gboolean
plugin_init (GstPlugin * plugin)
{
GstRank dvdec_rank;
GstRank rank;
if (!gst_element_register (plugin, "dvdemux", GST_RANK_PRIMARY,
gst_dvdemux_get_type ()))
@ -36,6 +36,7 @@ plugin_init (GstPlugin * plugin)
/* 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