Skip to content

Commit

Permalink
don't include gstreamer gl libs if not using gstreamer_gl
Browse files Browse the repository at this point in the history
  • Loading branch information
mnutt committed Jul 5, 2023
1 parent 1468f8c commit 8009dcd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include "config.h"
#include "PlatformDisplay.h"

#if USE(GSTREAMER_GL)

This comment has been minimized.

Copy link
@annulen

annulen Jul 5, 2023

This change is likely to introduce conflicts in future. Why not just remove this file on PlatformQt.cmake side?


#include "GLContext.h"
#include "GStreamerCommon.h"
#define GST_USE_UNSTABLE_API
Expand All @@ -35,8 +37,6 @@ GST_DEBUG_CATEGORY_EXTERN(webkit_media_player_debug);

namespace WebCore {

#if USE(GSTREAMER_GL)

GstGLDisplay* PlatformDisplay::gstGLDisplay() const
{
#if USE(EGL)
Expand Down Expand Up @@ -74,6 +74,6 @@ GstGLContext* PlatformDisplay::gstGLContext() const
return m_gstGLContext.get();
}

#endif // USE(GSTREAMER_GL)

} // namespace WebCore

#endif // USE(GSTREAMER_GL)

0 comments on commit 8009dcd

Please sign in to comment.