diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-04-21 17:27:40 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-04-21 17:27:40 +0000 |
commit | 55747906492fae008a7b605dcf880d011fdf2dbb (patch) | |
tree | f18f475540b544a4314e0bdac0d7018414f1839a /ext/dv/gstdv.c | |
parent | b3debb82fd3308f0f362ced6130a319d681e0f48 (diff) |
ext/dv/gstdv.c: Fix build.
Original commit message from CVS:
* ext/dv/gstdv.c: (plugin_init):
Fix build.
Diffstat (limited to 'ext/dv/gstdv.c')
-rw-r--r-- | ext/dv/gstdv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/dv/gstdv.c b/ext/dv/gstdv.c index 90947f46..0402ab51 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 |