OSDN Git Service

Added paused state to NuPlayerDecoder
authorWei Jia <wjia@google.com>
Wed, 4 Jun 2014 23:21:56 +0000 (16:21 -0700)
committerWei Jia <wjia@google.com>
Tue, 10 Jun 2014 18:50:52 +0000 (18:50 +0000)
commit6d96582e2310212381489da68bee74c44a0a5926
tree754e010efb55cd5cbb07d331870cccc259b734d4
parentd8754e07e23eecb68068c0c392aeb0428c529e4e
Added paused state to NuPlayerDecoder

This prevents decoder from requesting new buffer until the decoder
is resumed, and prevents processing a potential DISCONTINUITY while
the player is still flushing.

Bug: 13133027

Change-Id: I2f9fa9f00c8583aa6908809cb7c31ddde07cfaf0
(cherry picked from commit 704e72658b1082264a26a83c50046da34f07d1a1)
media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
media/libmediaplayerservice/nuplayer/NuPlayerDecoder.h