diff options
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/IStreamSource.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/IStreamSource.h b/include/media/IStreamSource.h index 4b698e6..d310cee 100644 --- a/include/media/IStreamSource.h +++ b/include/media/IStreamSource.h @@ -45,6 +45,12 @@ struct IStreamListener : public IInterface { virtual void queueBuffer(size_t index, size_t size) = 0; + // When signalling a discontinuity you can optionally + // specify an int64_t PTS timestamp in "msg". + // If present, rendering of data following the discontinuity + // will be suppressed until media time reaches this timestamp. + static const char *const kKeyResumeAtPTS; + virtual void issueCommand( Command cmd, bool synchronous, const sp<AMessage> &msg = NULL) = 0; }; |