[GStreamer] audio is muted when playback rate is between 0.8 and 2.0
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 10 Feb 2013 10:00:29 +0000 (10:00 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 10 Feb 2013 10:00:29 +0000 (10:00 +0000)
commit311d3d3bb93795755388a1e9b831f5bcdbe04750
tree3e364f91612b7d8b9cdd2de1a21227c3868000f3
parent844c312a277aa680c39d71d47704656492a6f788
[GStreamer] audio is muted when playback rate is between 0.8 and 2.0
https://bugs.webkit.org/show_bug.cgi?id=109362

Reviewed by Martin Robinson.

Don't mute sound if the audio pitch is preserved. If this is not
the case mute it if it's too extreme, as the HTML5 spec recommends.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::setRate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp