From 49733c4c44dabddad2f24168a74a4d87c5fca9f2 Mon Sep 17 00:00:00 2001 From: "scherkus@chromium.org" Date: Fri, 4 Sep 2009 01:58:02 +0000 Subject: 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 --- media/bench/file_protocol.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 media/bench/file_protocol.h (limited to 'media/bench/file_protocol.h') 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_ -- cgit v1.1