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

Side by Side Diff: webkit/media/webmediaplayer_impl.h

Issue 10803019: Chrome-side implementation of media source timestamp offset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase ToT Created 8 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/webm/webm_stream_parser.cc ('k') | webkit/media/webmediaplayer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player. 5 // Delegate calls from WebCore::MediaPlayerPrivate to Chrome's video player.
6 // It contains Pipeline which is the actual media player pipeline, it glues 6 // It contains Pipeline which is the actual media player pipeline, it glues
7 // the media player pipeline, data source, audio renderer and renderer. 7 // the media player pipeline, data source, audio renderer and renderer.
8 // Pipeline would creates multiple threads and access some public methods 8 // Pipeline would creates multiple threads and access some public methods
9 // of this class, so we need to be extra careful about concurrent access of 9 // of this class, so we need to be extra careful about concurrent access of
10 // methods and members. 10 // methods and members.
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 const WebKit::WebVector<WebKit::WebString>& codecs); 201 const WebKit::WebVector<WebKit::WebString>& codecs);
202 virtual bool sourceRemoveId(const WebKit::WebString& id); 202 virtual bool sourceRemoveId(const WebKit::WebString& id);
203 virtual WebKit::WebTimeRanges sourceBuffered(const WebKit::WebString& id); 203 virtual WebKit::WebTimeRanges sourceBuffered(const WebKit::WebString& id);
204 // TODO(acolwell): Remove non-id version when http://webk.it/83788 fix lands. 204 // TODO(acolwell): Remove non-id version when http://webk.it/83788 fix lands.
205 virtual bool sourceAppend(const unsigned char* data, unsigned length); 205 virtual bool sourceAppend(const unsigned char* data, unsigned length);
206 virtual bool sourceAppend(const WebKit::WebString& id, 206 virtual bool sourceAppend(const WebKit::WebString& id,
207 const unsigned char* data, 207 const unsigned char* data,
208 unsigned length); 208 unsigned length);
209 virtual bool sourceAbort(const WebKit::WebString& id); 209 virtual bool sourceAbort(const WebKit::WebString& id);
210 virtual void sourceEndOfStream(EndOfStreamStatus status); 210 virtual void sourceEndOfStream(EndOfStreamStatus status);
211 virtual bool sourceTimestampOffset(
212 const WebKit::WebString& id, double offset);
211 213
212 virtual MediaKeyException generateKeyRequest( 214 virtual MediaKeyException generateKeyRequest(
213 const WebKit::WebString& key_system, 215 const WebKit::WebString& key_system,
214 const unsigned char* init_data, 216 const unsigned char* init_data,
215 unsigned init_data_length); 217 unsigned init_data_length);
216 218
217 virtual MediaKeyException addKey(const WebKit::WebString& key_system, 219 virtual MediaKeyException addKey(const WebKit::WebString& key_system,
218 const unsigned char* key, 220 const unsigned char* key,
219 unsigned key_length, 221 unsigned key_length,
220 const unsigned char* init_data, 222 const unsigned char* init_data,
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 356
355 // The decryptor that manages decryption keys and decrypts encrypted frames. 357 // The decryptor that manages decryption keys and decrypts encrypted frames.
356 ProxyDecryptor decryptor_; 358 ProxyDecryptor decryptor_;
357 359
358 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 360 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
359 }; 361 };
360 362
361 } // namespace webkit_media 363 } // namespace webkit_media
362 364
363 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_IMPL_H_ 365 #endif // WEBKIT_MEDIA_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « media/webm/webm_stream_parser.cc ('k') | webkit/media/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698