summaryrefslogtreecommitdiffstats
path: root/media/bench/file_protocol.h
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 01:58:02 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 01:58:02 +0000
commit49733c4c44dabddad2f24168a74a4d87c5fca9f2 (patch)
treeac69cb305b7e79df095c9cc9da66962e8a0aba7a /media/bench/file_protocol.h
parenta1878ad0988f156768a8b1b852055b39dcd3e0e5 (diff)
downloadchromium_src-49733c4c44dabddad2f24168a74a4d87c5fca9f2.zip
chromium_src-49733c4c44dabddad2f24168a74a4d87c5fca9f2.tar.gz
chromium_src-49733c4c44dabddad2f24168a74a4d87c5fca9f2.tar.bz2
Implemented file URLProtocol for media_bench.
BUG=none TEST=media_bench should work out of the box with chromium's ffmpeg binaries Review URL: http://codereview.chromium.org/196018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25420 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/bench/file_protocol.h')
-rw-r--r--media/bench/file_protocol.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/media/bench/file_protocol.h b/media/bench/file_protocol.h
new file mode 100644
index 0000000..3cfddad
--- /dev/null
+++ b/media/bench/file_protocol.h
@@ -0,0 +1,14 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Implements a basic file I/O URLProtocol for FFmpeg. Since we don't build
+// FFmpeg binaries with protocols, we have to write our own.
+
+#ifndef MEDIA_BENCH_FILE_PROTOCOL_H_
+#define MEDIA_BENCH_FILE_PROTOCOL_H_
+
+struct URLProtocol;
+extern URLProtocol kFFmpegFileProtocol;
+
+#endif // MEDIA_BENCH_FILE_PROTOCOL_H_