edl plugin names eng, fix segv for opengl brender, renderfarm rework strategy, perf...
[goodguy/history.git] / cinelerra-5.1 / plugins / invertvideo / invert.C
index 078f48f86a4eb30d25af6735c78b4a5b690a249f..66fd88bb88849174acbb589a78064d5439deaec3 100644 (file)
@@ -201,7 +201,7 @@ InvertVideoEffect::~InvertVideoEffect()
 
 }
 
-const char* InvertVideoEffect::plugin_title() { return _("Invert Video"); }
+const char* InvertVideoEffect::plugin_title() { return N_("Invert Video"); }
 int InvertVideoEffect::is_realtime() { return 1; }
 
 NEW_WINDOW_MACRO(InvertVideoEffect, InvertVideoWindow)
@@ -349,10 +349,7 @@ int InvertVideoEffect::handle_opengl()
        get_output()->to_texture();
        get_output()->enable_opengl();
 
-       unsigned int frag_shader = 0;
-       frag_shader = VFrame::make_shader(0,
-               invert_frag,
-               0);
+       unsigned int frag_shader = VFrame::make_shader(0, invert_frag, 0);
        glUseProgram(frag_shader);
        glUniform1i(glGetUniformLocation(frag_shader, "tex"), 0);
        glUniform1i(glGetUniformLocation(frag_shader, "do_r"), config.r);