summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
Commit message (Collapse)AuthorAgeFilesLines
* SurfaceMediaSource: use the HW_TEXTURE usage bitJamie Gennis2011-12-151-1/+3
| | | | | | | | | This change makes SurfaceMediaSource request Gralloc buffers with the HW_TEXTURE usage bit rather than the VIDEO_ENCODER bit. It is a temporary workaround for what is likely a Gralloc bug. Bug: 5771063 Change-Id: I9cce615e80fc14a1644fae27ba06970c262dd179
* Revert the following patches because they may lead to power regression ↵James Dong2011-12-146-81/+25
| | | | | | | | | | | | | | | | | | | | because SHA/MD5 module is stuck 1. Revert "Fix drm flag setting missed in false drm recognition fix." This reverts commit 9f704f6c46a171357e49c411c83458b9d4565f3b. 2. Revert "Fixed the false drm recognition." This reverts commit aadbd80b307c817698ce5110ff8e002804d1b230. 3. Revert "Fix drm enumeration order, resolves failure to play forward lock ringtones" This reverts commit a5cbf023e349f2394ba6fc58d73b4375cfec4369. 4. Revert "Fix ANRs due to Widevine DRM plugin sniff taking too long." This reverts commit d0d19db1ca1c289b069db33f4665bcb9386064e9. As a result of the reverting, many ANRs from WV sniffing are back. related-to-bug: 5739618
* DO NOT MERGE: Support for parsing of "folded" RTSP header valuesAndreas Huber2011-12-132-9/+31
| | | | | | | and some tweaks to the AMR assembler contributed by Samsung (untested). Change-Id: I6c3df31fa3a35433bfddfdda82747bb4c6ee86a1 related-to-bug: 5669027
* Fix drm flag setting missed in false drm recognition fix.Jeff Tinker2011-12-091-0/+1
| | | | | Change-Id: Ie38668c8a32969ef7c7df4ca3350e2364291953c related-to-bug: 5732033
* Fixed the false drm recognition.James Dong2011-12-082-10/+17
| | | | | | Change-Id: If0198e52ff7bbd7422f219f55a37aae97f7d74f1 related-to-bug: 5732033
* Fix Bitreader "putBits" implementation, make sure we emulate timestampsAndreas Huber2011-12-082-6/+16
| | | | | | | if we don't receive npt time mapping from the rtsp server (i.e. live stream) Change-Id: I5147d665bd90c9a303ad6ffdafbf770f930f917c related-to-bug: 5660357
* Merge "Fix ANRs due to Widevine DRM plugin sniff taking too long." into ics-mr1Jeff Tinker2011-12-085-15/+63
|\
| * Fix ANRs due to Widevine DRM plugin sniff taking too long.Jeff Tinker2011-12-075-15/+63
| | | | | | | | | | | | | | | | Add a Widevine-specific format sniffer to avoid having to refetch data from the remote server. Change-Id: I5fdb21fe7a0d6e74f2a6f06e6fbf8070b068ac60 related-to-bug: 5725548
* | Fetch at least 192KB to avoid our mp3 sniffer from blocking on data.Andreas Huber2011-12-071-2/+2
| | | | | | | | | | Change-Id: Icb10c129249bb9b69e91f6633a385840c94efa59 related-to-bug: 5666532
* | Merge "DO NOT MERGE - Consider I-Frame at zeroeth position when searching ↵James Dong2011-12-061-0/+8
|\ \ | | | | | | | | | for sync frames" into ics-mr1
| * | DO NOT MERGE - Consider I-Frame at zeroeth position when searching for sync ↵James Dong2011-12-051-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | frames The current logic does not check the I-frame at zeroeth position and therefore for the files with only 1 I-Frame at zeroeth postion does not play. Originally authored by Braganza Sam Robertsh <sam.braganza@samsung.com> Do not merge to master branch since we made some improvement to SampleTable.cpp in the master branch. Change-Id: I068184dec71986f14a586f769c2af1f52b4bcf94 related-to-bug: 5711942
* | | DO NOT MERGE: Remove the AVI extractor.Andreas Huber2011-12-063-6/+0
|/ / | | | | | | Change-Id: Ifce6c0d3d87aad2f5cc7f40ad6304936cbfa795e
* | Properly identify how much metadata we need to cache in order to instantiateAndreas Huber2011-12-053-41/+136
|/ | | | | | | the extractor without blocking (and therefore be able to abort). Change-Id: Id2acdde897e02baaeabadae70b7c95b66c9041b3 related-to-bug: 5666532
* Fixes a typo in AVIExtractor that would advertise the wrong video dimensionsAndreas Huber2011-12-011-1/+1
| | | | | Change-Id: I587a5ce259b04c973ed2d7614e874cb74c521aab related-to-bug: 5696324
* Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1Jamie Gennis2011-11-291-1/+1
|\
| * SurfaceMediaSource: use the vid enc usage bitJamie Gennis2011-11-211-1/+1
| | | | | | | | | | | | | | This change makes SurfaceMediaSource add the VIDEO_ENC usage bit when allocating its GraphicBuffers rather than the HW_TEXTURE bit. Change-Id: Ie20e225c894fdbc31cad6bb82b3b64c7e98074eb
* | Merge "If an error occurs that prevents us from reallocating buffers during ↵Andreas Huber2011-11-291-0/+32
|\ \ | | | | | | | | | a format change" into ics-mr1
| * | If an error occurs that prevents us from reallocating buffers during a ↵Andreas Huber2011-11-281-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | format change we need to transition to executing state anyway to be able to properly flush/shutdown in the future. Change-Id: Ie48bc09ea31942009ae3a5a45aabc9ffad9fb91f related-to-bug: 5655016
* | | Finer granularity discontinuity support.Andreas Huber2011-11-285-40/+92
|/ / | | | | | | | | | | | | | | No clients can signal a format change on either audio or video track (or both) and a time discontinuity (timestamps changed) independantly. Change-Id: I3e6cf4e7c260e85759879d61a9b517f68431c22f related-to-bug: 5553055
* | Merge "Report a runtime error instead of asserting on malformed avc ↵Andreas Huber2011-11-221-57/+87
|\ \ | | | | | | | | | configuration data." into ics-mr1
| * | Report a runtime error instead of asserting on malformed avc configuration data.Andreas Huber2011-11-181-57/+87
| | | | | | | | | | | | | | | Change-Id: Ibcd9c3fb5b6532eba843ed80ecdcdacaf50d8845 related-to-bug: 5641069
* | | Fix log spamming during time lapse video recordingJames Dong2011-11-212-10/+15
| |/ |/| | | | | | | | | Change-Id: I4fc0809203684ebb02eaf217d7abad00aefc898f related-to-bug: 5626569
* | am d4b22ab4: status_t != boolMarco Nelissen2011-11-181-2/+2
|\ \ | |/ |/| | | | | * commit 'd4b22ab4889f9b1885bfc0dc45667c846a171a98': status_t != bool
| * status_t != boolMarco Nelissen2011-11-181-2/+2
| | | | | | | | | | | | b/5567433 Change-Id: I255ab8c3b0b5e0ea6a5cc7c05df757c667f3855e
* | Make sure not to cancel pending seek/EOS notifications on a cache underrun...Andreas Huber2011-11-162-8/+9
| | | | | | | | | | | | | | or they are lost for good. Change-Id: I2f9f53efb05db4077961137c9dc8c27edac4ec62 related-to-bug: 5544907
* | Didn't mean to check this in...Andreas Huber2011-11-111-1/+1
| | | | | | | | Change-Id: Ie5a1902ff2613cd349ca5724f63a3fe3306640c7
* | Merge "Instead of asserting, signal a runtime error if the session doesn't ↵Andreas Huber2011-11-111-2/+15
|\ \ | | | | | | | | | contain" into ics-mr1
| * | Instead of asserting, signal a runtime error if the session doesn't containAndreas Huber2011-11-101-2/+15
| | | | | | | | | | | | | | | | | | any playable tracks at all. Change-Id: Ibbbe2fdcd53b7e020da80c84c8229856107a87e6
* | | Merge "DO NOT MERGE: Instead of asserting, remove active streams if their ↵Andreas Huber2011-11-111-15/+47
|\ \ \ | | | | | | | | | | | | sockets" into ics-mr1
| * | | DO NOT MERGE: Instead of asserting, remove active streams if their socketsAndreas Huber2011-11-101-15/+47
| |/ / | | | | | | | | | | | | | | | | | | return failure Change-Id: Icb47adfd2fbe0398c473ba66e068186311c9cc79 related-to-bug: 5593654
* | | Merge "Disconnect on socket error on the RTSP control connection." into ics-mr1Andreas Huber2011-11-112-64/+72
|\ \ \
| * | | Disconnect on socket error on the RTSP control connection.Andreas Huber2011-11-102-64/+72
| |/ / | | | | | | | | | Change-Id: Ib52a69f9b0830b481c6f5c9b1991d1f4cb36ec7b
* | | Add support for retrieving location information in mp4/3gpp filesJames Dong2011-11-102-0/+36
|/ / | | | | | | | | Change-Id: Ib8427704ef9ee5a4fa8fe1818c8a62d77b4ea687 related-to-bug: 5560253
* | Merge "Send RTSP control connection keep-alive requests" into ics-mr1Andreas Huber2011-11-101-2/+92
|\ \
| * | Send RTSP control connection keep-alive requestsAndreas Huber2011-11-081-2/+92
| | | | | | | | | | | | | | | | | | | | | default to 60 secs unless overridden by server's session-id response. Change-Id: I7c3aff5b787dbb57cc0dccf9db3c75e5cf7e778c related-to-bug: 5562303
* | | Merge "Don't believe the PV decoder's lies..." into ics-mr1Andreas Huber2011-11-101-1/+6
|\ \ \
| * | | Don't believe the PV decoder's lies...Andreas Huber2011-11-091-1/+6
| |/ / | | | | | | | | | Change-Id: I97391235255afb8a4890a4ff52d4e8e9ca954f27
* | | There's no point in trying to continue to decode after an error was signalled.Andreas Huber2011-11-092-8/+11
|/ / | | | | | | | | Change-Id: I2a2410cac9444eadd85be5d104799703171f1a24 related-to-bug: 5588658
* | Merge "Remove surface legacy APIs and code." into ics-mr1Andreas Huber2011-11-082-11/+0
|\ \
| * | Remove surface legacy APIs and code.Andreas Huber2011-10-282-11/+0
| | | | | | | | | | | | | | | | | | All surfaces are now supported through surface textures. Change-Id: I95dd823e7099c0c32a48a1121624149dcc29d9c6
* | | Merge "Fix a hang issue where the first frame can be dropped for timelapse ↵James Dong2011-11-071-0/+6
|\ \ \ | |/ / |/| | | | | video recording." into ics-mr1
| * | Fix a hang issue where the first frame can be dropped for timelapse video ↵James Dong2011-10-261-0/+6
| | | | | | | | | | | | | | | | | | | | | recording. Change-Id: I04754f1005a983953a80a659ff13f8762d0e120c related-to-bug: 5523502
* | | Merge "Report call status from AudioSource::start() to file writer" into ics-mr1James Dong2011-10-272-2/+10
|\ \ \
| * | | Report call status from AudioSource::start() to file writerJames Dong2011-10-262-2/+10
| |/ / | | | | | | | | | | | | Change-Id: I5109dc87a92170dede4eaa58b039efe6d8b7c330 related-to-bug: 5514288
* | | Merge "Fix a reference to a stale pointer in AwesomePlayer." into ics-mr1Andreas Huber2011-10-271-8/+10
|\ \ \ | |/ / |/| |
| * | Fix a reference to a stale pointer in AwesomePlayer.Andreas Huber2011-10-261-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | The pointer returned by MetaData::findCString may become stale if the metadata object is modified. Make a copy of the returned mime type in order to prevent MediaPlayer::dump log corruption. Change-Id: I9077aee36c4316d83b37fb909bf91e6b3f75d5d2
* | | am b7b4eaaa: Merge "Stagefright: push blank buffers when tearing down" into ↵Jamie Gennis2011-10-261-0/+160
|\ \ \ | |/ / |/| / | |/ | | | | | | ics-mr0 * commit 'b7b4eaaa05284634d50d581d924a250f1194f66d': Stagefright: push blank buffers when tearing down
| * Stagefright: push blank buffers when tearing downJamie Gennis2011-10-251-0/+160
| | | | | | | | | | | | | | | | | | | | | | This change makes OMXCodec push RGB 565 buffers filled with black to an ANativeWindow when tearing down after decoding to protected gralloc buffers. This allows the OMX tear down to zero out any protected buffers that were used without the possibility that the buffer is still being used by SurfaceFlinger or HWComposer. Bug: 5483222 Change-Id: I8acedd81a7bb67dfdc2fd15733e3375b6ce8d560
* | am 23d64420: Merge "Stagefright: idle OMX after ANW errors" into ics-mr0Dave Burke2011-10-195-1/+39
|\ \ | |/ | | | | | | * commit '23d644202a44383bf008ff86f6faa3ea7e447290': Stagefright: idle OMX after ANW errors
| * Merge "Stagefright: idle OMX after ANW errors" into ics-mr0Dave Burke2011-10-195-1/+39
| |\