History log of /frameworks/av/media/libstagefright/NuMediaExtractor.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
322db26b76f7511c6d73f34a92a4e54840fcb876 28-Apr-2017 Wei Jia <wjia@google.com> IMediaExtractor: ensure users to check returned value by getTrack.

Test: fix the crash from the stream in the bug.
Bug: 37777357
Change-Id: Ia99907c396a2074a9419db9b8103a9325b290169
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
f14c49bff37ae3b703f9b0b164e39df56c9dc4ae 14-Mar-2017 Marco Nelissen <marcone@google.com> Merge "Fix integer overflow and divide-by-zero" into klp-dev am: b264ece2c0 am: bbca2719c6 am: c2e69851ea am: 3285770d37 am: d935c7f16e am: 98ee832c7e am: 1db2ee3dbd am: 946a690f5c am: 5fef11c61a am: 3a3cc883c1 am: d218b51912 am: 9305cf71d1 am: 7422dafea0 am: 731527f43f am: 4e083b91ae
am: a5091c84c3

Change-Id: I36e38ee2a6b74422bbb28c5368f5518bc69f71df
7422dafea057df94a1bb3b49e6a81e9e9c8379af 14-Mar-2017 Marco Nelissen <marcone@google.com> Merge "Fix integer overflow and divide-by-zero" into klp-dev am: b264ece2c0 am: bbca2719c6 am: c2e69851ea am: 3285770d37 am: d935c7f16e am: 98ee832c7e am: 1db2ee3dbd am: 946a690f5c am: 5fef11c61a am: 3a3cc883c1 am: d218b51912
am: 9305cf71d1

Change-Id: Ica4e4d677aa87358d6d90fc4e230a62f6ef518e3
d218b5191238a7a5955ed79c99bec90703dff842 14-Mar-2017 Marco Nelissen <marcone@google.com> Merge "Fix integer overflow and divide-by-zero" into klp-dev am: b264ece2c0 am: bbca2719c6 am: c2e69851ea am: 3285770d37 am: d935c7f16e am: 98ee832c7e am: 1db2ee3dbd am: 946a690f5c am: 5fef11c61a
am: 3a3cc883c1

Change-Id: Iefe473341e64546c69ee98a8a4e47b17903ca02d
3285770d374e61518df561d1fd269f7bc4516ccd 13-Mar-2017 Marco Nelissen <marcone@google.com> Merge "Fix integer overflow and divide-by-zero" into klp-dev am: b264ece2c0 am: bbca2719c6
am: c2e69851ea

Change-Id: I2720c4439848f9aab8d7fa4f93b548793d129a4f
8538a603ef992e75f29336499cb783f3ec19f18c 10-Mar-2017 Marco Nelissen <marcone@google.com> Fix integer overflow and divide-by-zero

Bug: 35763994
Test: ran CTS with and without fix
Change-Id: If835e97ce578d4fa567e33e349e48fb7b2559e0e
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
9dbe9a57bf0ae2494ec312d6c1b06feec20e9ec9 03-Jan-2017 Chong Zhang <chz@google.com> MediaCas: add MediaCasService

This CL adds API only without implementation.

bug: 22804304
Change-Id: Ibb5a29cc616ec0af81957b2bfe1419c482591753
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
ba13b7bc3d46d958bc4a395f2c162cb112ec1f3a 07-Feb-2017 Ray Essick <essick@google.com> connect APIs to mediaextractor getMetrics()

plumbing so that user level android.media.MediaExtractor.getMetrics()
will get down to where we keep the metrics and then haul them back
to the application. Includes the right hooks so that per-container-type
metrics will also be managed.

Bug: 35094936
Test: monitor dumpsys output, augmented CTS examination
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
5249a5583df9a17dc3899100ea642f29eb86a23e 05-Dec-2016 Marco Nelissen <marcone@google.com> Clean up DRM handling

Avoid calling SniffDrm twice, and remove [gs]etDrmFlag methods
since they serve no purpose anymore.

Test: ran forward lock CTS test, and played protected content in Play Movies

Change-Id: I8313d2dae459151bf965a76ac1125d36ce8176e6
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
29b7dcf6d3cdb97103467dc8106151c6260c239a 24-Oct-2016 Jeff Tinker <jtinker@google.com> Removing widevine classic

bug:30505334
Change-Id: I40ac8020b5442857936037a15847b0271359e624
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
6b8937f4a81447968b22b75a6f1e450bbda1a18f 01-Nov-2016 Marco Nelissen <marcone@google.com> Don't abort on nonsensical seek requests

and don't abort client when remote process died.

Bug: 30865267
Test: manual
Change-Id: I6239aa60a5f581dcbbe94bd187ba981141ecd976
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
828f6254e3ff1b97fa8a4e5cca781d8dc5c2176e 15-Sep-2016 Ray Essick <essick@google.com> NULL pointer dereference in NuMediaExtractor

add a missing null pointer check; found through fuzzing.

Bug: 31114457
Change-Id: I650d6eadf5199c342583acbaae491e7132d03f57
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
6db5763b0cc771278d3ee8ef1bcad945d6d2c430 01-Sep-2016 Marco Nelissen <marcone@google.com> Don't CHECK if the source can't be started

Bug: 19779574
Bug: 31156921
Change-Id: I770619949ed211dab301ee3da10069d319279715
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
768a2537a86ac2f3513e42aafb5f3b8ee967ef6c 21-May-2016 Lajos Molnar <lajos@google.com> stagefright: add flags to NuMediaExtractor::getTrackFormat

This is to allow passing mpeg-2 stream headers.

Bug: 28671284
Change-Id: I63abecad58ae346fa12d33896bbd8c970194d7e3
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
4a631e84df76e97fa3424970a1a625dc9f1f5b9d 08-Apr-2016 Robert Shih <robertshih@google.com> NuMediaExtractor: NULL check before closing data source

Bug: 28063322
Change-Id: Id62952110c3f2736780bc2fd9f9111affa3bb04d
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
fbe7fcfe818b6f68e352c7c450d4fe15a543b801 05-Apr-2016 Marco Nelissen <marcone@google.com> Close MediaDataSource on extractor/retriever release

instead of waiting for garbage collection.

Bug: 26911216
bug: 26741307
Change-Id: I79010066962a1bdb9cb8bf74ba9a7997abb82fd4
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
faf35c0c279114b11a36615dc6630c126e767da0 26-Feb-2016 Lajos Molnar <lajos@google.com> stagefright: expose track ID-s in track format

Bug: 25684127
Change-Id: I334c493ea4317ffc6a26b9a370f751705cd1e200
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
e4d40ad91f3516bde106658673b2cb076b5dfcb7 13-Jan-2016 Lajos Molnar <lajos@google.com> stagefright: Remove deprecated AwesomePlayer

Bug: 17108024
Change-Id: Ia721bdfa87b07612ad8e76cbdcda6de2b8ce2a74
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
793c9fb11114c7be4636b8cae5477995aadeb71d 07-Jan-2016 Robert Shih <robertshih@google.com> stagefright: encrypted webm support

Bug: 26070802
Change-Id: I82cc3d4cfbe82c971a10074ba60498149df6ba10
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
b2487f03f12dcafdb801fc0007c8df8412397f44 01-Sep-2015 Marco Nelissen <marcone@google.com> Extractor service

Run extractors in a separate process. Currently all data is copied through a
binder transaction, and WVMExtractor is still run in the mediaserver process.

Change-Id: Ic5dbce87126dd321ad792f4dd540c2ff6b068d13
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
83b0fd9997b558f6c2ebf5e6e4db20570cb233b8 16-Sep-2015 Marco Nelissen <marcone@google.com> Optionally print name for fd

Add utility function to get the file name for a file descriptor,
and use it in various places.

Change-Id: I196b557a56d5ef0ef89e2020aab2699eafae61b0
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
59e469e0b0d95bba2aee3bbda003b7042fd1cdd9 11-Sep-2015 Marco Nelissen <marcone@google.com> Fix a few potential crashes

Change-Id: Icb71cb07495406be756e195f2578b6e3aa8b1163
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
a5750e0dad9e90f2195ce36f2c4457fa04b2b83e 19-Jun-2014 Mark Salyzyn <salyzyn@google.com> libstagefright: 64-bit compile warnings

Change-Id: I3d1146714fa23be3d4e696599b6f70cac1f9d28b
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
1b86fe063badb5f28c467ade39be0f4008688947 29-Jan-2014 Andreas Huber <andih@google.com> FINAL ATTEMPT: HTTP services are now provided from JAVA and made available to media code

Change-Id: I9f74a86e70422187c9cf0ca1318a29019700192d
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
ec77122351b4e78c1fe5b60a208f76baf8c67591 08-Apr-2013 Marco Nelissen <marcone@google.com> Add support for common encryption

b/7465749

Change-Id: I5403b74a5ae428ad28b382863a09daafc400b137
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
fd7ec80f3d0e30c8df61b86951d926ab9c8c6d25 25-Aug-2012 Marco Nelissen <marcone@google.com> Fix deadlock

I wanted to save some space, and ended up with a deadlock.
This change basically restores setDataSource(fd, offset, size) to the
way it was before I added the new setDataSource(DataSource) method,
instead of calling through to it.

Change-Id: Iacf4627c8745369fa84b467530189a9f64f8726b
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
dbcb4c17f16230dfc6af908f176681c49f61b13e 24-Aug-2012 Marco Nelissen <marcone@google.com> Allow directly setting a DataSource for NuMediaExtractor

This adds NuMediaExtractor::setDataSource(const sp<DataSource> &source),
which some new code under frameworks/av will use to let applications
provide a custom data source for extractors.

Change-Id: I8fb743441d04b4eadbda3c2d76858c3d60e2a3b2
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
3499e2d178960ca3392855716c963eec7403a089 23-Jul-2012 James Dong <jdong@google.com> Don't make the decrypted content available to Java applications via MediaExtractor.java API

Change-Id: I38df6a6be30a34ce3f2640f79784dc94c8ca1158
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
bc098410be55f9d96f394b3981a0c482b83859b6 22-May-2012 Andreas Huber <andih@google.com> Tell surface flinger that we want to protect output buffers from being

sent to HDMI (without HDCP) and push a few black frames on IDLE->LOADED
similar to OMXCodec's behaviour.

Change-Id: Iea6055a115151ca881220a70a31af6ade2c58cb3
related-to-bug: 6537187
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
9806555d3930be43e11106281dee354820ac1c88 03-May-2012 Andreas Huber <andih@google.com> Respect channel mask in ACodec and NuPlayer.

Refactor conversion from MetaData into AMessage while we're at it.

Change-Id: I5479129836ea4316e8de28cf1b472bf19e3ac4ab
related-to-bug: 6439076
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
8b71241ce7353731ab75322c46e090ee35014a33 27-Apr-2012 Marco Nelissen <marcone@google.com> Fix mono gapless playback for decoders that output stereo

The old AAC decoder always outputs stereo, even for mono source material, so we
need to use the number of channels of the output when calculating the number of
bytes to skip, not the number of channels in the source.
This makes OMXCodec skip the right amount of data, and prevents NuPlayer from
writing half a frame and then asserting when the AudioSink doesn't accept it.
Also move use of the SkipCutBuffer from NuPlayer to ACodec, so that it also
works when using the new Java APIs, and make SkipCutBuffer derive from RefBase.
b/774846

Change-Id: I34df9fea3e6730617eae559afaa556f4085ef0a0
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
94c1c8c99b70f2fdab87e131812eb253271e5500 27-Apr-2012 Andreas Huber <andih@google.com> Opt in to the WVM extractor's secondary (cryptoPlugin) mode.

Change-Id: If0abec6e34b20b59ee2fc5bd97573a73d68465f0
related-to-bug: 6276111
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
9d07855aaff8a6b502a3ab058002cdd4a278b965 26-Apr-2012 Andreas Huber <andih@google.com> NuMediaExtractor API to unselect tracks and finer control over seeking.

Change-Id: I44d5a2b01d34b771bb0ff48b12829e33314c2374
related-to-bug: 6276111
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
e370bb62b89d2f2980f519392010ea08a24c558e 25-Apr-2012 Andreas Huber <andih@google.com> Bump up the max number of items in an AMessage, remove overly stringent

CHECK() limiting us to just audio/* or video/* tracks.

related-to-bug: 6399405
Change-Id: I9bdaf7e709665ecc22da8839c8b16c081dbf4535
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
dc7431e70b4b030b5f42d0dfc3ef244d4f583dd2 23-Apr-2012 Andreas Huber <andih@google.com> Make sure NuMediaExtractor is thread safe.

Change-Id: If261c4d87d5569a0d7cfd75afe311803a6ce0109
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
a53d87c7b1428fe02f535c31dafd64cb1362fde9 20-Apr-2012 Andreas Huber <andih@google.com> Add the ability to query the amount of cached data to NuMediaExtractor.

Change-Id: I0966270a2bd36698330beaa03f47d02fc6a40c44
related-to-bug: 6364341
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
f69e53033f23f9f70fcdb28a3c2e650de0147459 18-Apr-2012 Andreas Huber <andih@google.com> Some refactoring and cleanup of now obsolete crypto fields.

codec commandline tool no longer supports decryption.

Change-Id: I7b10be6524631b20ac5d361d47949b00addf4a93
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
4835705370584f6904c80afebcc6e8b9fdb110a5 18-Apr-2012 Andreas Huber <andih@google.com> NuMediaExtractor accidentally returned what looked like errors to the caller...

Change-Id: Iec0c62ba98c8a8afc5cb423a76b8f53778aeb867
related-to-bug: 6276111
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
1608735ef488ecd8c3c012a3b0d4b1d4ef3d93c7 13-Apr-2012 Andreas Huber <andih@google.com> Support widevine:// URLs in NuMediaExtractor / java MediaExtractor.

Allow anyone to talk to drm services.

Change-Id: I5c2f3c419d01de30c3d6e2bc85b1fe5c9c37b392
related-to-bug: 6276111
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
918c7652b9a38c02e26c0c46541cea82070c0e43 13-Apr-2012 Andreas Huber <andih@google.com> Change NuMediaExtractor's API to support different kinds of data sources.

Change-Id: I080aa2ce28300a72a85751509334dbdc491936c6
related-to-bug: 6276111
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
ed3e3e046840d5bf1ca84a8c0cc097425e89d6d6 26-Mar-2012 Andreas Huber <andih@google.com> Provisional support for secure decryption of media streams.

Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
2d8bedd05437b6fccdbc6bf70f673ffd86744d59 21-Feb-2012 Andreas Huber <andih@google.com> Add new APIs AMessage::(set|find)Buffer to make it safer to pass

ABuffer objects through messages.

Change-Id: I9f8b4e4c4767d0d70a0105e0c0813b754379b49d
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp
5778822d86b0337407514b9372562b86edfa91cd 21-Feb-2012 Andreas Huber <andih@google.com> Implementation of a java media codec interface and associated tools.

Change-Id: I13e54062d4de584355c5d82bb027a68aeaf2923b
/frameworks/av/media/libstagefright/NuMediaExtractor.cpp