OSDN Git Service
(root)
/
android-x86
/
external-webkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow HTML5 video to seek.
[android-x86/external-webkit.git]
/
WebKit
/
android
/
WebCoreSupport
/
MediaPlayerPrivateAndroid.cpp
diff --git
a/WebKit/android/WebCoreSupport/MediaPlayerPrivateAndroid.cpp
b/WebKit/android/WebCoreSupport/MediaPlayerPrivateAndroid.cpp
index
3a39730
..
ea560cb
100644
(file)
--- a/
WebKit/android/WebCoreSupport/MediaPlayerPrivateAndroid.cpp
+++ b/
WebKit/android/WebCoreSupport/MediaPlayerPrivateAndroid.cpp
@@
-308,6
+308,10
@@
public:
env->DeleteLocalRef(clazz);
checkException(env);
}
+
+ float maxTimeSeekable() const {
+ return m_duration;
+ }
};
class MediaPlayerAudioPrivate : public MediaPlayerPrivate {