OSDN Git Service

stagefright: Fix issue with tracking media format in packet source
authorLajos Molnar <lajos@google.com>
Tue, 17 Dec 2013 22:10:46 +0000 (14:10 -0800)
committerLajos Molnar <lajos@google.com>
Tue, 17 Dec 2013 22:27:17 +0000 (14:27 -0800)
commitfd9b01b92a95f94d2d3a8b0ee5973756784fe05f
tree5f50d11e73f6264bab28bfea76afc3973bf13e8d
parent98147613fd3b1dc2938e3f658641c9f2139eb9ec
stagefright: Fix issue with tracking media format in packet source

Media format in AnotherPacketSource is now tracked across discontinuities.
This fixes a bug where format was set on queueAccessUnit and cleared on
dequeueAccessUnit, thereby allowing it to remain cleared.

Change-Id: I20975a630443f4a223a2b4344e8244f34b9560b9
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 12060952
media/libstagefright/httplive/PlaylistFetcher.cpp
media/libstagefright/mpeg2ts/AnotherPacketSource.cpp