projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add dvd chroma 420pi colormodel, misc fixes
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
filepng.C
diff --git
a/cinelerra-5.1/cinelerra/filepng.C
b/cinelerra-5.1/cinelerra/filepng.C
index d84fcda92d8a6a2d41a66ad106d229feda689dcb..6ccbf28819f51343957018d075574d54f45cbbbb 100644
(file)
--- a/
cinelerra-5.1/cinelerra/filepng.C
+++ b/
cinelerra-5.1/cinelerra/filepng.C
@@
-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);