Skip to content

Commit

Permalink
[WPE][GTK] Fix VideoFrameGStreamer include for build with WebCodecs a…
Browse files Browse the repository at this point in the history
…nd without MediaStream

https://bugs.webkit.org/show_bug.cgi?id=265034

Reviewed by Michael Catanzaro.

VideoFrameGStreamer.h was not included if WebCodecs was enabled but not MediaStream.

* Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp:
* Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp:

Canonical link: https://commits.webkit.org/270901@main
  • Loading branch information
blino committed Nov 17, 2023
1 parent f939a7a commit eb12f06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@
#include "Logging.h"
#include "PixelBuffer.h"

#if ENABLE(MEDIA_STREAM)
#if ENABLE(MEDIA_STREAM) || ENABLE(WEB_CODECS)
#include "VideoFrame.h"
#endif

#if USE(GSTREAMER) && ENABLE(MEDIA_STREAM)
#if USE(GSTREAMER)
#include "VideoFrameGStreamer.h"
#endif
#endif

namespace WebCore {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@

#if ENABLE(MEDIA_STREAM) || ENABLE(WEB_CODECS)
#include "VideoFrame.h"
#if USE(GSTREAMER)
#include "VideoFrameGStreamer.h"
#endif
#endif

#if USE(NICOSIA)
Expand All @@ -47,10 +50,6 @@
#include "TextureMapperGCGLPlatformLayer.h"
#endif

#if USE(GSTREAMER) && ENABLE(MEDIA_STREAM)
#include "VideoFrameGStreamer.h"
#endif

#if USE(ANGLE_GBM)
#include "GraphicsContextGLGBMTextureMapper.h"
#endif
Expand Down

0 comments on commit eb12f06

Please sign in to comment.