mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
androidmedia: Do not warn we do not support COLOR_FormatSurface
This commit is contained in:
parent
80c5e60f9a
commit
a038478f1b
1 changed files with 3 additions and 1 deletions
|
@ -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]) {
|
||||
|
|
Loading…
Reference in a new issue