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

Unified Diff: media/tools/player_x11/player_x11.cc

Issue 23072043: Change NeedKeyCB to use std::vector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix seek_tester, demuxer_bench, and player_x11 Created 7 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
« no previous file with comments | « media/tools/demuxer_bench/demuxer_bench.cc ('k') | media/tools/seek_tester/seek_tester.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/tools/player_x11/player_x11.cc
diff --git a/media/tools/player_x11/player_x11.cc b/media/tools/player_x11/player_x11.cc
index cef891247a60fee448ce5c4aef7e3d342295acd2..c154e6937e25fba06a00b3825a2edf03ca77c696 100644
--- a/media/tools/player_x11/player_x11.cc
+++ b/media/tools/player_x11/player_x11.cc
@@ -95,8 +95,8 @@ void Paint(base::MessageLoop* message_loop, const PaintCB& paint_cb,
static void OnBufferingState(media::Pipeline::BufferingState buffering_state) {}
-static void NeedKey(const std::string& type, scoped_ptr<uint8[]> init_data,
- int init_data_size) {
+static void NeedKey(const std::string& type,
+ const std::vector<uint8>& init_data) {
std::cout << "File is encrypted." << std::endl;
}
« no previous file with comments | « media/tools/demuxer_bench/demuxer_bench.cc ('k') | media/tools/seek_tester/seek_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698