androidmedia: Do not warn we do not support COLOR_FormatSurface

This commit is contained in:
Matthieu Bouron 2015-03-31 17:48:59 +02:00 committed by Matthew Waters
parent 80c5e60f9a
commit a038478f1b

View file

@ -2004,8 +2004,10 @@ accepted_color_formats (GstAmcCodecType * type, gboolean is_encoder)
for (i = 0; i < type->n_color_formats; i++) {
gboolean found = FALSE;
/* We ignore this one */
if (type->color_formats[i] == COLOR_FormatAndroidOpaque)
if (type->color_formats[i] == COLOR_FormatAndroidOpaque) {
all--;
continue;
}
for (j = 0; j < G_N_ELEMENTS (color_format_mapping_table); j++) {
if (color_format_mapping_table[j].color_format == type->color_formats[i]) {