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

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

Issue 159476: Merge 21611 - Implemented proper pausethenseek behaviour for the media pipeli... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/base/filters.h ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/media/base/pipeline.h:r69-2775
Merged /trunk/src/media/base/pipeline.h:r21611
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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,
40 // Demuxer related errors. 39 // Demuxer related errors.
41 DEMUXER_ERROR_COULD_NOT_OPEN, 40 DEMUXER_ERROR_COULD_NOT_OPEN,
42 DEMUXER_ERROR_COULD_NOT_PARSE, 41 DEMUXER_ERROR_COULD_NOT_PARSE,
43 DEMUXER_ERROR_NO_SUPPORTED_STREAMS, 42 DEMUXER_ERROR_NO_SUPPORTED_STREAMS,
44 DEMUXER_ERROR_COULD_NOT_CREATE_THREAD, 43 DEMUXER_ERROR_COULD_NOT_CREATE_THREAD,
45 }; 44 };
46 45
47 // Client-provided callbacks for various pipeline operations. Clients should 46 // Client-provided callbacks for various pipeline operations. Clients should
48 // inspect the Pipeline for errors. 47 // inspect the Pipeline for errors.
49 typedef Callback0::Type PipelineCallback; 48 typedef Callback0::Type PipelineCallback;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 153
155 protected: 154 protected:
156 // Only allow ourselves to be deleted by reference counting. 155 // Only allow ourselves to be deleted by reference counting.
157 friend class base::RefCountedThreadSafe<Pipeline>; 156 friend class base::RefCountedThreadSafe<Pipeline>;
158 virtual ~Pipeline() {} 157 virtual ~Pipeline() {}
159 }; 158 };
160 159
161 } // namespace media 160 } // namespace media
162 161
163 #endif // MEDIA_BASE_PIPELINE_H_ 162 #endif // MEDIA_BASE_PIPELINE_H_
OLDNEW
« no previous file with comments | « media/base/filters.h ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698