diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-11-21 15:10:39 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-11-21 15:10:39 +0000 |
commit | 880e06de387646fa3f0efde940d731e71afbbb93 (patch) | |
tree | 890e4333544c124848eb3e7564b200f5c94974e5 /src/post/goom/plugin_info.c | |
parent | 312b775d0a22284a60d36420cf8798c0fd1bfa3a (diff) | |
download | xine-lib-880e06de387646fa3f0efde940d731e71afbbb93.tar.gz xine-lib-880e06de387646fa3f0efde940d731e71afbbb93.tar.bz2 |
updated goom to 2k4-dev21
* tweaked somewhat to avoid the bright circle for the first seconds of playback
* no idea whether this fixes the AMD64 problems, I have not found anything
suspicious
CVS patchset: 7143
CVS date: 2004/11/21 15:10:39
Diffstat (limited to 'src/post/goom/plugin_info.c')
-rw-r--r-- | src/post/goom/plugin_info.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/post/goom/plugin_info.c b/src/post/goom/plugin_info.c index c6d57dc5e..856dd8aa5 100644 --- a/src/post/goom/plugin_info.c +++ b/src/post/goom/plugin_info.c @@ -53,11 +53,11 @@ static void setOptimizedMethods(PluginInfo *p) { #ifdef CPU_POWERPC - if (cpuFlavour & CPU_OPTION_64_BITS) { + if ((cpuFlavour & CPU_OPTION_64_BITS) != 0) { p->methods.create_output_with_brightness = ppc_brightness_G5; p->methods.zoom_filter = ppc_zoom_generic; } - else if (cpuFlavour & CPU_OPTION_ALTIVEC) { + else if ((cpuFlavour & CPU_OPTION_ALTIVEC) != 0) { p->methods.create_output_with_brightness = ppc_brightness_G4; p->methods.zoom_filter = ppc_zoom_G4; } @@ -171,8 +171,8 @@ void plugin_info_init(PluginInfo *pp, int nbVisuals) { setOptimizedMethods(pp); - pp->scanner = goom_script_scanner_new(); - pp->main_scanner = goom_script_scanner_new(); + pp->scanner = gsl_new(); + pp->main_scanner = gsl_new(); pp->main_script_str = GOOM_MAIN_SCRIPT; for (i = 0; i < 0xffff; i++) { |