OSDN Git Service

Discontinuities are only signalled on streams that have been identified, i.e.
authorAndreas Huber <andih@google.com>
Wed, 31 Aug 2011 22:04:25 +0000 (15:04 -0700)
committerAndreas Huber <andih@google.com>
Wed, 31 Aug 2011 22:35:49 +0000 (15:35 -0700)
commitea8c9b1bd9cd416b51b0040763af501004110fe7
tree4c755eb97392366bc93bb1598dfeea6238bb7a2e
parent49fb943db85c748fc7dd4f5ee4a461d7489fb1b0
Discontinuities are only signalled on streams that have been identified, i.e.

those that have a queue. This ensures that the player doesn't observe discontinuities
that don't match up across streams.

Also, make sure output buffers arriving from the decoder to be rendered are sent
back to the decoder if we started flushing.

Finally, don't parse TS packets for streams we don't support. And don't allocate
memory for them.

Change-Id: I708e0de4cba8110a62e4c8ceb1e5702430d5d2bb
media/libmediaplayerservice/nuplayer/NuPlayer.cpp
media/libstagefright/mpeg2ts/ATSParser.cpp