From 55747906492fae008a7b605dcf880d011fdf2dbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 21 Apr 2006 17:27:40 +0000 Subject: [PATCH] ext/dv/gstdv.c: Fix build. Original commit message from CVS: * ext/dv/gstdv.c: (plugin_init): Fix build. --- ChangeLog | 5 +++++ ext/dv/gstdv.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d37363b638..cbc0bab39f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-21 Tim-Philipp Müller + + * ext/dv/gstdv.c: (plugin_init): + Fix build. + 2006-04-21 Tim-Philipp Müller * gst/debug/progressreport.c: (gst_progress_report_finalize), diff --git a/ext/dv/gstdv.c b/ext/dv/gstdv.c index 90947f461f..0402ab5108 100644 --- a/ext/dv/gstdv.c +++ b/ext/dv/gstdv.c @@ -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