commit | 7f475c34ffc8e35345f2cceee2ef56a50bb5fea6 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Feb 05 14:47:13 2013 -0800 |
committer | Andreas Huber <andih@google.com> | Tue Feb 05 15:27:16 2013 -0800 |
tree | d27f2ad0bb24ae1d97d4cf21fb692c3f2748f8c2 | |
parent | b81b557d6e89cc2960b74ab343a08b5b44bff1f2 [diff] [blame] |
RTSP now properly publishes its "seekable" flags after connection has successfully completed and only then signals that preparation is complete. Change-Id: I1a60f718e673fe1462c69369c40eafbed6a14326
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayerSource.h b/media/libmediaplayerservice/nuplayer/NuPlayerSource.h index 53c7c12..f5d4c38 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayerSource.h +++ b/media/libmediaplayerservice/nuplayer/NuPlayerSource.h
@@ -81,7 +81,7 @@ void notifyFlagsChanged(uint32_t flags); void notifyVideoSizeChanged(int32_t width, int32_t height); - void notifyPrepared(); + void notifyPrepared(status_t err = OK); private: sp<AMessage> mNotify;