diff options
author | Xabier Rodriguez Calvar <calvaris@igalia.com> | 2013-03-04 11:25:18 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-04 14:11:07 +0100 |
commit | c3934e3270b74e95b3d15657c0b34e0ff3aa6a13 (patch) | |
tree | 703e1fa12b4fe93b13ec151da1928c2f18b2babe /Source/JavaScriptCore/assembler/ARMAssembler.cpp | |
parent | e0debe138cb59c140ebbc69755d36028d2b89459 (diff) | |
download | qtwebkit-c3934e3270b74e95b3d15657c0b34e0ff3aa6a13.tar.gz |
[GStreamer] Buffering ranges are reported incorrectly with GStreamer 1.0
https://bugs.webkit.org/show_bug.cgi?id=105319
Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2012-12-21
Reviewed by Philippe Normand.
We add the gPercentMax constant to select between 100 and
GST_FORMAT_PERCENT_MAX depending if we are compiling against
GStreamer 0.10 or 1.0 and we use that in the corresponding method.
Current tests should suffice.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::buffered): Added the use of
gPercentMax constant instead of 100 to have the different code
paths for GStreamer 0.10 and 1.0.
Change-Id: I04d57303e683353b8734c62ef5016fa965a9627b
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138364 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/assembler/ARMAssembler.cpp')
0 files changed, 0 insertions, 0 deletions