add dvd chroma 420pi colormodel, misc fixes
[goodguy/history.git] / cinelerra-5.1 / cinelerra / filepng.C
index f1ee1c06fd283cce8f10dd4dc515197157511ca6..6ccbf28819f51343957018d075574d54f45cbbbb 100644 (file)
@@ -191,6 +191,7 @@ int FilePNG::read_frame_header(char *path)
            native_cmodel = BC_RGB888;
        }
 
+       asset->png_use_alpha = BC_CModels::has_alpha(native_cmodel) ? 1 : 0;
 
        png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
        fclose(stream);
@@ -403,7 +404,7 @@ PNGUnit::~PNGUnit()
 
 
 PNGConfigVideo::PNGConfigVideo(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),
        200,