projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e92837b
)
androidmedia: Silently skip COLOR_FormatAndroidOpaque when converting to caps
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 5 Jan 2017 13:00:21 +0000
(15:00 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 5 Jan 2017 13:05:42 +0000
(15:05 +0200)
This is special and handled in the decoder when doing rendering to a
surface. Printing a warning for this is just unnecessary noise
sys/androidmedia/gstamc.c
patch
|
blob
|
history
diff --git
a/sys/androidmedia/gstamc.c
b/sys/androidmedia/gstamc.c
index
7c0f347
..
10ce310
100644
(file)
--- a/
sys/androidmedia/gstamc.c
+++ b/
sys/androidmedia/gstamc.c
@@
-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]);