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

Unified Diff: chrome/browser/chromeos/media/media_player.cc

Issue 7529048: Fixed playing multiple files in the mediaplayer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months 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: chrome/browser/chromeos/media/media_player.cc
diff --git a/chrome/browser/chromeos/media/media_player.cc b/chrome/browser/chromeos/media/media_player.cc
index 4ecf52c76dc86635720aa1ad30857ef92a88144e..b78cb14d20e0ab4ac090fb08a0b9e296eea0a9cd 100644
--- a/chrome/browser/chromeos/media/media_player.cc
+++ b/chrome/browser/chromeos/media/media_player.cc
@@ -118,6 +118,7 @@ void MediaPlayer::ForcePlayMediaURL(const GURL& url, Browser* creator) {
if (mediaplayer_browser_ == NULL) {
PopupMediaPlayer(creator);
}
+ current_playlist_.clear();
Vladislav Kaznacheev 2011/08/10 13:34:58 This seriously changes the behavior. Does the bug
SeRya 2011/08/10 15:51:00 This change solves a separate problems and I filed
current_playlist_.push_back(MediaUrl(url));
current_position_ = current_playlist_.size() - 1;
pending_playback_request_ = true;

Powered by Google App Engine
This is Rietveld 408576698