GNOME Bugzilla – Bug 763310
ahcsrc: replace with new imageformat
Last modified: 2016-03-08 13:00:35 UTC
android.graphics.ImageFormat class just provides only static fields and function. But I think it is easier if it is handled as GObject/GstObject like other classes.
Created attachment 323386 [details] [review] imageformat
Comment on attachment 323386 [details] [review] imageformat Please don't make this a GObject, that's just a useless amount of extra code.
> Please don't make this a GObject, that's just a useless amount of extra code. Actually, I started this to get rid of global variables such as ImageFormat_xxx and init/deninit functions from gstamc.c. Do you think it is good as it is? If yes, I'll abandon it.
Yes, global variables are not really a problem for "constants" here.