Unreviewed, Non-GStreamer-GL build fix after r242701.
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Mar 2019 15:26:04 +0000 (15:26 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Mar 2019 15:26:04 +0000 (15:26 +0000)
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
(WebCore::MediaPlayerPrivateGStreamerBase::~MediaPlayerPrivateGStreamerBase):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242703 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp

index aacaf73..043c9d6 100644 (file)
@@ -1,5 +1,12 @@
 2019-03-11  Philippe Normand  <pnormand@igalia.com>
 
 2019-03-11  Philippe Normand  <pnormand@igalia.com>
 
+        Unreviewed, Non-GStreamer-GL build fix after r242701.
+
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+        (WebCore::MediaPlayerPrivateGStreamerBase::~MediaPlayerPrivateGStreamerBase):
+
+2019-03-11  Philippe Normand  <pnormand@igalia.com>
+
         [GStreamer][v4l2] Synchronous video texture flushing support
         https://bugs.webkit.org/show_bug.cgi?id=195453
 
         [GStreamer][v4l2] Synchronous video texture flushing support
         https://bugs.webkit.org/show_bug.cgi?id=195453
 
index 95a0bc0..e065d1c 100644 (file)
@@ -269,7 +269,9 @@ MediaPlayerPrivateGStreamerBase::MediaPlayerPrivateGStreamerBase(MediaPlayer* pl
 
 MediaPlayerPrivateGStreamerBase::~MediaPlayerPrivateGStreamerBase()
 {
 
 MediaPlayerPrivateGStreamerBase::~MediaPlayerPrivateGStreamerBase()
 {
+#if USE(GSTREAMER_GL)
     flushCurrentBuffer();
     flushCurrentBuffer();
+#endif
 #if USE(TEXTURE_MAPPER_GL) && USE(NICOSIA)
     downcast<Nicosia::ContentLayerTextureMapperImpl>(m_nicosiaLayer->impl()).invalidateClient();
 #endif
 #if USE(TEXTURE_MAPPER_GL) && USE(NICOSIA)
     downcast<Nicosia::ContentLayerTextureMapperImpl>(m_nicosiaLayer->impl()).invalidateClient();
 #endif