Skip to content

Display and control your Android device

Log texture details in verbose mode

Romain Vimontf78049505adf
diff --git a/app/src/texture.c b/app/src/texture.c
index 13bfed2c..0395f820 100644
--- a/app/src/texture.c
+++ b/app/src/texture.c
@@ -81,6 +81,9 @@ sc_texture_create_frame_texture(struct sc_texture *tex,
struct sc_size size,
enum AVColorSpace color_space,
enum AVColorRange color_range) {
+ LOGV("Creating new texture: size=%" PRIu16 "x%" PRIu16 " color_space=%d "
+ "color_range=%d", size.width, size.height, color_space, color_range);
+
SDL_PropertiesID props = SDL_CreateProperties();
if (!props) {
return NULL;