update ffmpeg (2.8.4->3.0) giflib,openjpeg,x264,x265
[goodguy/history.git] / cinelerra-5.0 / cinelerra / fileexr.C
index be4b3e9fed1df97382c8b2826bea035b63d83b5b..2059c474278184ffece59491790aa8d21bc00cd3 100644 (file)
@@ -194,7 +194,7 @@ const char* FileEXR::compression_to_str(int compression)
                case FileEXR::RLE: return "RLE"; break;
                case FileEXR::PXR24: return "PXR24"; break;
        }
-       return "None";
+       return _("None");
 }
 
 int FileEXR::compression_to_exr(int compression)
@@ -332,7 +332,7 @@ int FileEXR::read_frame(VFrame *frame, VFrame *data)
     int dy = dw.min.y;
        Imf::FrameBuffer framebuffer;
        float **rows = (float**)frame->get_rows();
-       int components = cmodel_components(frame->get_color_model());
+       int components = BC_CModels::components(frame->get_color_model());
 
        if(is_yuv)
        {
@@ -459,7 +459,7 @@ int FileEXR::write_frame(VFrame *frame, VFrame *data, FrameWriterUnit *unit)
 
 
        int native_cmodel = asset->exr_use_alpha ? BC_RGBA_FLOAT : BC_RGB_FLOAT;
-       int components = cmodel_components(native_cmodel);
+       int components = BC_CModels::components(native_cmodel);
 
        if(frame->get_color_model() != native_cmodel)
        {
@@ -572,7 +572,7 @@ EXRUnit::~EXRUnit()
 
 
 EXRConfigVideo::EXRConfigVideo(BC_WindowBase *parent_window, Asset *asset)
- : BC_Window(PROGRAM_NAME ": Video Compression",
+ : BC_Window(_(PROGRAM_NAME ": Video Compression"),
        parent_window->get_abs_cursor_x(1),
        parent_window->get_abs_cursor_y(1),
        300,
@@ -593,7 +593,7 @@ void EXRConfigVideo::create_objects()
        add_subwindow(new EXRUseAlpha(this, x, y));
        y += 30;
        EXRCompression *menu;
-       add_subwindow(new BC_Title(x, y, "Compression:"));
+       add_subwindow(new BC_Title(x, y, _("Compression:")));
        x += 110;
        add_subwindow(menu = new EXRCompression(this, x, y, 100));
        menu->create_objects();