/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
+ *
*/
#include "flash.h"
{
}
-const char* FlashMain::plugin_title() { return _("Flash"); }
+const char* FlashMain::plugin_title() { return N_("Flash"); }
int FlashMain::is_video() { return 1; }
int FlashMain::is_transition() { return 1; }
int FlashMain::uses_gui() { return 0; }
{
#ifdef HAVE_GL
-// printf("FlashMain::handle_opengl %d %d %d %d\n",
+// printf("FlashMain::handle_opengl %d %d %d %d\n",
// get_input()->get_opengl_state(),
// get_input()->get_opengl_state(),
// get_output()->get_w(),
// Draw flash overlay
glDisable(GL_TEXTURE_2D);
-
+
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
- if(BC_CModels::is_yuv(get_output()->get_color_model()))
+ if(BC_CModels::is_yuv(get_output()->get_color_model()))
glColor4f(1.0, 0.5, 0.5, fraction);
else
glColor4f(1.0, 1.0, 1.0, fraction);