Title: [258199] trunk/Source/WebCore
- Revision
- 258199
- Author
- [email protected]
- Date
- 2020-03-10 05:33:23 -0700 (Tue, 10 Mar 2020)
Log Message
Unreviewed, !USE(GSTREAMER_GL) build fix after r258197.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::GstVideoFrameHolder::platformLayerBuffer):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (258198 => 258199)
--- trunk/Source/WebCore/ChangeLog 2020-03-10 12:27:17 UTC (rev 258198)
+++ trunk/Source/WebCore/ChangeLog 2020-03-10 12:33:23 UTC (rev 258199)
@@ -1,3 +1,10 @@
+2020-03-10 Philippe Normand <[email protected]>
+
+ Unreviewed, !USE(GSTREAMER_GL) build fix after r258197.
+
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::GstVideoFrameHolder::platformLayerBuffer):
+
2020-03-10 Philippe Normand <[email protected]>
[GStreamer][GL] External OES textures rendering support
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp (258198 => 258199)
--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp 2020-03-10 12:27:17 UTC (rev 258198)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp 2020-03-10 12:33:23 UTC (rev 258199)
@@ -324,8 +324,10 @@
using Buffer = TextureMapperPlatformLayerBuffer;
+#if USE(GSTREAMER_GL)
if (m_textureTarget == GST_GL_TEXTURE_TARGET_EXTERNAL_OES)
return makeUnique<Buffer>(Buffer::TextureVariant { Buffer::ExternalOESTexture { m_textureID } }, m_size, m_flags, GL_DONT_CARE);
+#endif
if ((GST_VIDEO_INFO_IS_RGB(&m_videoFrame.info) && GST_VIDEO_INFO_N_PLANES(&m_videoFrame.info) == 1))
return makeUnique<Buffer>(Buffer::TextureVariant { Buffer::RGBTexture { m_textureID } }, m_size, m_flags, GL_RGBA);
@@ -391,7 +393,9 @@
Optional<GstVideoDecoderPlatform> m_videoDecoderPlatform;
TextureMapperGL::Flags m_flags { };
GLuint m_textureID { 0 };
+#if USE(GSTREAMER_GL)
GstGLTextureTarget m_textureTarget { GST_GL_TEXTURE_TARGET_NONE };
+#endif
bool m_isMapped { false };
bool m_hasMappedTextures { false };
#if USE(WPE_VIDEO_PLANE_DISPLAY_DMABUF)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes