mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
androidmedia: Silently skip COLOR_FormatAndroidOpaque when converting to caps
This is special and handled in the decoder when doing rendering to a surface. Printing a warning for this is just unnecessary noise
This commit is contained in:
parent
e92837b6e4
commit
8b46e1b95a
1 changed files with 5 additions and 0 deletions
|
@ -3561,6 +3561,11 @@ gst_amc_codec_info_to_caps (const GstAmcCodecInfo * codec_info,
|
|||
for (j = 0; j < type->n_color_formats; j++) {
|
||||
GstVideoFormat format;
|
||||
|
||||
/* Skip here without a warning, this is special and handled
|
||||
* in the decoder when doing rendering to a surface */
|
||||
if (type->color_formats[j] == COLOR_FormatAndroidOpaque)
|
||||
continue;
|
||||
|
||||
format =
|
||||
gst_amc_color_format_to_video_format (codec_info,
|
||||
type->mime, type->color_formats[j]);
|
||||
|
|
Loading…
Reference in a new issue