Changeset 142391 in webkit
- Timestamp:
- Feb 10, 2013 2:00:29 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r142385 r142391 1 2013-02-10 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] audio is muted when playback rate is between 0.8 and 2.0 4 https://bugs.webkit.org/show_bug.cgi?id=109362 5 6 Reviewed by Martin Robinson. 7 8 Don't mute sound if the audio pitch is preserved. If this is not 9 the case mute it if it's too extreme, as the HTML5 spec recommends. 10 11 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: 12 (WebCore::MediaPlayerPrivateGStreamer::setRate): 13 1 14 2013-02-09 Dominic Mazzoni <dmazzoni@google.com> 2 15 -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
r142251 r142391 542 542 LOG_MEDIA_MESSAGE("Set Rate to %f", rate); 543 543 if (rate > 0) { 544 // Mute the sound if the playback rate is too extreme .545 // TODO: in other cases we should perform pitch adjustments.546 mute = ( bool) (rate < 0.8 || rate > 2);544 // Mute the sound if the playback rate is too extreme and 545 // audio pitch is not adjusted. 546 mute = (!m_preservesPitch && (rate < 0.8 || rate > 2)); 547 547 start = currentPosition; 548 548 end = GST_CLOCK_TIME_NONE;
Note: See TracChangeset
for help on using the changeset viewer.