X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilepng.C;h=4b7f74f80b915563cd0c36a71fb28becd108bef9;hb=b9acb7cd4ecb313fe68ab385ae7a248a29671040;hp=3b28e0eac5fa145ee8c99b7adc21cf4c9b688d6f;hpb=1671ba56125f316b8557edea8771e6732981c047;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/filepng.C b/cinelerra-5.1/cinelerra/filepng.C index 3b28e0ea..4b7f74f8 100644 --- a/cinelerra-5.1/cinelerra/filepng.C +++ b/cinelerra-5.1/cinelerra/filepng.C @@ -229,6 +229,7 @@ int FilePNG::write_frame(VFrame *frame, VFrame *data, FrameWriterUnit *unit) asset->png_use_alpha ? PNG_COLOR_TYPE_RGB_ALPHA : PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT); png_write_info(png_ptr, info_ptr); + if( BC_Resources::little_endian ) png_set_swap(png_ptr); png_write_image(png_ptr, output_frame->get_rows()); png_write_end(png_ptr, info_ptr); result = 0; @@ -352,6 +353,8 @@ PNGConfigVideo::PNGConfigVideo(BC_WindowBase *parent_window, Asset *asset) compression = 0; depth8 = 0; depth16 = 0; +// *** CONTEXT_HELP *** + context_help_set_keyword("Single File Rendering"); } PNGConfigVideo::~PNGConfigVideo()