This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GStreamer] Buffering ranges are reported incorrectly with GStreamer 1.0
https://bugs.webkit.org/show_bug.cgi?id=105319 Patch by Xabier Rodriguez Calvar <email@example.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. Canonical link: https://commits.webkit.org/123849@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@138364 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 28 additions and 3 deletions.