Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: webkit/media/android/webmediaplayer_android.h

Issue 11412251: Fix a bug that hasVideo() always returns true even after we have the size info (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/media/android/webmediaplayer_android.h
diff --git a/webkit/media/android/webmediaplayer_android.h b/webkit/media/android/webmediaplayer_android.h
index 8118f780393259fec63321ad330ac6d79fe8b296..007e62b3b8169a341ff8e26c12ee22385d42aa89 100644
--- a/webkit/media/android/webmediaplayer_android.h
+++ b/webkit/media/android/webmediaplayer_android.h
@@ -225,6 +225,9 @@ class WebMediaPlayerAndroid
// Whether media player needs to re-establish the surface texture peer.
bool needs_establish_peer_;
+ // Whether the video size info is available.
+ bool has_size_info_;
Miguel Garcia 2012/11/29 20:28:02 can you call it is_video_available_ or has video_s
qinmin 2012/11/29 20:39:33 using is_video_available_ does not reflect the cor
Miguel Garcia 2012/11/29 20:43:36 ok On 2012/11/29 20:39:33, qinmin wrote:
+
// Object for allocating stream textures.
scoped_ptr<StreamTextureFactory> stream_texture_factory_;
« no previous file with comments | « no previous file | webkit/media/android/webmediaplayer_android.cc » ('j') | webkit/media/android/webmediaplayer_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698