X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.0%2Fcinelerra%2Ffileexr.C;h=2059c474278184ffece59491790aa8d21bc00cd3;hb=74084f4d67651fac69f5e5484d57921cb6aa6e1d;hp=be4b3e9fed1df97382c8b2826bea035b63d83b5b;hpb=2d99bb8ce591f05a31464b517d85dc2bc35b2abe;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/fileexr.C b/cinelerra-5.0/cinelerra/fileexr.C index be4b3e9f..2059c474 100644 --- a/cinelerra-5.0/cinelerra/fileexr.C +++ b/cinelerra-5.0/cinelerra/fileexr.C @@ -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();