Changeset 251772 in webkit
- Timestamp:
- Oct 30, 2019 7:14:58 AM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r251771 r251772 1 2019-10-30 Philippe Normand <philn@igalia.com> 2 3 REGRESSION(r249428): [GStreamer] VP9 video rendered green 4 https://bugs.webkit.org/show_bug.cgi?id=201422 5 <rdar://problem/55945741> 6 7 Reviewed by Carlos Garcia Campos. 8 9 Enable the texture upload GStreamer meta code path. Until 10 GStreamer 1.16.2 this workaround is needed to fix VP9 (vp9dec) 11 rendering. 12 13 Original patch by: Chris Lord <clord@igalia.com> 14 15 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: 16 (WebCore::MediaPlayerPrivateGStreamerBase::createVideoSinkGL): 17 1 18 2019-10-30 Carlos Garcia Campos <cgarcia@igalia.com> 2 19 -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
r251365 r251772 1202 1202 1203 1203 GRefPtr<GstCaps> caps = adoptGRef(gst_caps_from_string("video/x-raw, format = (string) " GST_GL_CAPS_FORMAT)); 1204 gst_caps_set_features(caps.get(), 0, gst_caps_features_new(GST_CAPS_FEATURE_MEMORY_GL_MEMORY, nullptr)); 1204 GstCapsFeatures* features = gst_caps_features_new(GST_CAPS_FEATURE_MEMORY_GL_MEMORY, nullptr); 1205 1206 // Workaround until we can depend on GStreamer 1.16.2. 1207 // https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/commit/8d32de090554cf29fe359f83aa46000ba658a693 1208 // Adding the texture upload meta here allows glupload to add video meta to 1209 // the buffers, without needing the patch above. However this specific caps 1210 // feature is going to be removed from GStreamer so it is considered a 1211 // short-term workaround. 1212 // See also https://bugs.webkit.org/show_bug.cgi?id=201422 1213 if (!webkitGstCheckVersion(1, 16, 2)) 1214 gst_caps_features_add(features, GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META); 1215 1216 gst_caps_set_features(caps.get(), 0, features); 1205 1217 g_object_set(appsink, "caps", caps.get(), nullptr); 1206 1218
Note: See TracChangeset
for help on using the changeset viewer.