Unreviewed, rolling out r182947.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2017 09:08:11 +0000 (09:08 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2017 09:08:11 +0000 (09:08 +0000)
https://bugs.webkit.org/show_bug.cgi?id=166922

Caused huge memory leak see https://webkit.org/b/166884
(Requested by KaL on #webkit).

Reverted changeset:

"[GStreamer] Silent WebAudio buffers support"
https://bugs.webkit.org/show_bug.cgi?id=143869
http://trac.webkit.org/changeset/182947

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

Source/WebCore/ChangeLog
Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp

index 81f06b5..ba648ca 100644 (file)
@@ -1,3 +1,17 @@
+2017-01-11  Commit Queue  <commit-queue@webkit.org>
+
+        Unreviewed, rolling out r182947.
+        https://bugs.webkit.org/show_bug.cgi?id=166922
+
+        Caused huge memory leak see https://webkit.org/b/166884
+        (Requested by KaL on #webkit).
+
+        Reverted changeset:
+
+        "[GStreamer] Silent WebAudio buffers support"
+        https://bugs.webkit.org/show_bug.cgi?id=143869
+        http://trac.webkit.org/changeset/182947
+
 2017-01-11  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         Unreviewed, rolling out r210579.
index 1fde05d..aca6b5c 100644 (file)
@@ -372,9 +372,6 @@ static void webKitWebAudioSrcLoop(WebKitWebAudioSrc* src)
         gst_buffer_unmap(channelBuffer, &buffer->info);
         g_free(buffer);
 
-        if (priv->bus->channel(i)->isSilent())
-            GST_BUFFER_FLAG_SET(channelBuffer, GST_BUFFER_FLAG_GAP);
-
         if (ret == GST_FLOW_OK) {
             ret = gst_app_src_push_buffer(GST_APP_SRC(appsrc), channelBuffer);
             if (ret != GST_FLOW_OK) {