diff options
author | Ronghua Wu <ronghuawu@google.com> | 2015-05-27 11:02:54 -0700 |
---|---|---|
committer | Ronghua Wu <ronghuawu@google.com> | 2015-05-27 11:02:54 -0700 |
commit | 02cb98d726b97d8e6dbb9c6c60d32a3cedc7f82d (patch) | |
tree | 20eeb0b56c675dba4aef74860a4669da14dad4e7 /media/libmediaplayerservice/nuplayer/NuPlayerSource.h | |
parent | 6374077319a2d060eefe5f4bf425aed37f90c5d0 (diff) | |
download | frameworks_av-02cb98d726b97d8e6dbb9c6c60d32a3cedc7f82d.zip frameworks_av-02cb98d726b97d8e6dbb9c6c60d32a3cedc7f82d.tar.gz frameworks_av-02cb98d726b97d8e6dbb9c6c60d32a3cedc7f82d.tar.bz2 |
libmediaplayerservice: get isStreaming info from source.
Bug: 19061436
Change-Id: I0fc0d6207b0d3297d64aadab3e81448e3f3fa1de
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/NuPlayerSource.h')
-rw-r--r-- | media/libmediaplayerservice/nuplayer/NuPlayerSource.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayerSource.h b/media/libmediaplayerservice/nuplayer/NuPlayerSource.h index ef1ba13..11a6a9f 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayerSource.h +++ b/media/libmediaplayerservice/nuplayer/NuPlayerSource.h @@ -118,6 +118,10 @@ struct NuPlayer::Source : public AHandler { return false; } + virtual bool isStreaming() const { + return true; + } + protected: virtual ~Source() {} |