androidmedia: Do not warn we do not support COLOR_FormatSurface
This commit is contained in:
parent
80c5e60f9a
commit
a038478f1b
@ -2004,8 +2004,10 @@ accepted_color_formats (GstAmcCodecType * type, gboolean is_encoder)
|
|||||||
for (i = 0; i < type->n_color_formats; i++) {
|
for (i = 0; i < type->n_color_formats; i++) {
|
||||||
gboolean found = FALSE;
|
gboolean found = FALSE;
|
||||||
/* We ignore this one */
|
/* We ignore this one */
|
||||||
if (type->color_formats[i] == COLOR_FormatAndroidOpaque)
|
if (type->color_formats[i] == COLOR_FormatAndroidOpaque) {
|
||||||
all--;
|
all--;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
for (j = 0; j < G_N_ELEMENTS (color_format_mapping_table); j++) {
|
for (j = 0; j < G_N_ELEMENTS (color_format_mapping_table); j++) {
|
||||||
if (color_format_mapping_table[j].color_format == type->color_formats[i]) {
|
if (color_format_mapping_table[j].color_format == type->color_formats[i]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user