OSDN Git Service

Defer creating the video renderer until we see the first video frame.
authorAndreas Huber <andih@google.com>
Thu, 4 Feb 2010 00:02:02 +0000 (16:02 -0800)
committerAndreas Huber <andih@google.com>
Thu, 4 Feb 2010 00:02:02 +0000 (16:02 -0800)
commit7085b684c6e1dcd87686fd32d72498ffabd22677
tree2f12d4c9ea5565a3541d71e72e80130c3f050458
parent70d10c0156f5d2d1c639d0ebe62de8ec950d4306
Defer creating the video renderer until we see the first video frame.

This avoids having to instantiate the renderer twice in case the video decoder sends a format change before the first frame.

related-to-bug: 2375037
media/libstagefright/AwesomePlayer.cpp