Title: [264226] trunk/Source/WebCore
Revision
264226
Author
[email protected]
Date
2020-07-10 09:59:05 -0700 (Fri, 10 Jul 2020)

Log Message

[GStreamer] Unreviewed, prospective API test bot fix...

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::setVolume): I suppose changing the audio volume to 0 wasn't intended :)

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (264225 => 264226)


--- trunk/Source/WebCore/ChangeLog	2020-07-10 16:38:16 UTC (rev 264225)
+++ trunk/Source/WebCore/ChangeLog	2020-07-10 16:59:05 UTC (rev 264226)
@@ -1,5 +1,12 @@
 2020-07-10  Philippe Normand  <[email protected]>
 
+        [GStreamer] Unreviewed, prospective API test bot fix...
+
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+        (WebCore::MediaPlayerPrivateGStreamer::setVolume): I suppose changing the audio volume to 0 wasn't intended :)
+
+2020-07-10  Philippe Normand  <[email protected]>
+
         Unreviewed, remove debug printf after r264219.
 
         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp (264225 => 264226)


--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2020-07-10 16:38:16 UTC (rev 264225)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2020-07-10 16:59:05 UTC (rev 264226)
@@ -1772,7 +1772,7 @@
         return;
 
     GST_DEBUG_OBJECT(pipeline(), "Setting volume: %f", volume);
-    gst_stream_volume_set_volume(m_volumeElement.get(), GST_STREAM_VOLUME_FORMAT_LINEAR, static_cast<double>(0));
+    gst_stream_volume_set_volume(m_volumeElement.get(), GST_STREAM_VOLUME_FORMAT_LINEAR, static_cast<double>(volume));
 }
 
 float MediaPlayerPrivateGStreamer::volume() const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to