Mohamed Naufal
f51b7e52a6
libstagefright: avoid memory leak
13 years ago
Mohamed Naufal
2343a99cf2
libstagefright: support more output pixel formats
13 years ago
Mohamed Naufal
1d48e88d41
libstagefright: avoid potential deadlock on output MediaBuffer
...
Maintain an output queue of AVFrames instead of MediaBuffers
so that the latter can be released early. This avoids a potential deadlock
between the stagefright decoder::read() and Stagefright_decode_frame()
13 years ago
Mohamed Naufal
7b915a4045
libstagefright: explicitly set positive timestamps as stagefright expects them so
13 years ago
Carl Eugen Hoyos
ea4037162f
Fix libstagefright compilation
...
Comment-by-michael: iam commiting this as the code cannot work without it and likely works with it.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mohamed Naufal
0ef2e660c1
libstagefright: reindent after previous commit
13 years ago
Mohamed Naufal
a85996d834
libstagefright: start decode_thread() only after decode_frame() is called at least once.
...
This prevents the situation where EOS is passed as the first frame to the
h/w decoder and thus avoids a potential crash.
13 years ago
Mohamed Naufal
fedbf9177c
libstagefright: mark the dummy frame as keyframe.
...
This makes sure decoder->read() returns if it is the first frame fed.
13 years ago
Mohamed Naufal
295f13953d
libstagefright: limit the output queue size
13 years ago
Mohamed Naufal
23ea48f2f7
libstagefright: return EOS if CustomSource::read() is called after decode_thread() returns
13 years ago
Mohamed Naufal
09a49e8919
libstagefright: set the correct frame size
13 years ago
Michael Niedermayer
9cff6d9eff
libstagefright: change Libav to FFmpeg in copyright header with permission of author.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mohamed Naufal
e7f9aa6ff5
libstagefright: Explicitly free smart pointer objects
13 years ago
Mohamed Naufal
84f26f5288
Support (H/W accelerated) H.264 decoding on Android via Stagefright
13 years ago