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

Side by Side Diff: media/base/pipeline.h

Issue 113611: Handle end of stream for media... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The pipeline is the public API clients use for playing back media. Clients 5 // The pipeline is the public API clients use for playing back media. Clients
6 // provide a filter factory containing the filters they want the pipeline to 6 // provide a filter factory containing the filters they want the pipeline to
7 // use to render media. 7 // use to render media.
8 8
9 #ifndef MEDIA_BASE_PIPELINE_H_ 9 #ifndef MEDIA_BASE_PIPELINE_H_
10 #define MEDIA_BASE_PIPELINE_H_ 10 #define MEDIA_BASE_PIPELINE_H_
(...skipping 18 matching lines...) Expand all
29 PIPELINE_ERROR_URL_NOT_FOUND, 29 PIPELINE_ERROR_URL_NOT_FOUND,
30 PIPELINE_ERROR_NETWORK, 30 PIPELINE_ERROR_NETWORK,
31 PIPELINE_ERROR_DECODE, 31 PIPELINE_ERROR_DECODE,
32 PIPELINE_ERROR_ABORT, 32 PIPELINE_ERROR_ABORT,
33 PIPELINE_ERROR_INITIALIZATION_FAILED, 33 PIPELINE_ERROR_INITIALIZATION_FAILED,
34 PIPELINE_ERROR_REQUIRED_FILTER_MISSING, 34 PIPELINE_ERROR_REQUIRED_FILTER_MISSING,
35 PIPELINE_ERROR_OUT_OF_MEMORY, 35 PIPELINE_ERROR_OUT_OF_MEMORY,
36 PIPELINE_ERROR_COULD_NOT_RENDER, 36 PIPELINE_ERROR_COULD_NOT_RENDER,
37 PIPELINE_ERROR_READ, 37 PIPELINE_ERROR_READ,
38 PIPELINE_ERROR_AUDIO_HARDWARE, 38 PIPELINE_ERROR_AUDIO_HARDWARE,
39 PIPELINE_ERROR_NO_DATA,
39 // Demuxer related errors. 40 // Demuxer related errors.
40 DEMUXER_ERROR_COULD_NOT_OPEN, 41 DEMUXER_ERROR_COULD_NOT_OPEN,
41 DEMUXER_ERROR_COULD_NOT_PARSE, 42 DEMUXER_ERROR_COULD_NOT_PARSE,
42 DEMUXER_ERROR_NO_SUPPORTED_STREAMS, 43 DEMUXER_ERROR_NO_SUPPORTED_STREAMS,
43 DEMUXER_ERROR_COULD_NOT_CREATE_THREAD, 44 DEMUXER_ERROR_COULD_NOT_CREATE_THREAD,
44 }; 45 };
45 46
46 // Base class for Pipeline class which allows for read-only access to members. 47 // Base class for Pipeline class which allows for read-only access to members.
47 // Filters are allowed to access the PipelineStatus interface but are not given 48 // Filters are allowed to access the PipelineStatus interface but are not given
48 // access to the client Pipeline methods. 49 // access to the client Pipeline methods.
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // This method must be called only after initialization has completed. 185 // This method must be called only after initialization has completed.
185 virtual void SetVolume(float volume) = 0; 186 virtual void SetVolume(float volume) = 0;
186 187
187 protected: 188 protected:
188 virtual ~Pipeline() {} 189 virtual ~Pipeline() {}
189 }; 190 };
190 191
191 } // namespace media 192 } // namespace media
192 193
193 #endif // MEDIA_BASE_PIPELINE_H_ 194 #endif // MEDIA_BASE_PIPELINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698