summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* visualizer: reset buffer if playback is idleEric Laurent2011-11-101-3/+25
| | | | | | | | | | Visualizer capture buffer must be reset if audio framework has stopped calling process for a given period of time to get read of residual data from previous captures. Issue 5571920. Change-Id: I6e73f971bb812cdbb2979a3b5e763abab07634eb
* 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
* | Merge "There's no point in trying to continue to decode after an error was ↵Andreas Huber2011-11-102-8/+11
|\ \ | | | | | | | | | signalled." into ics-mr1
| * | 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
* | am 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before" ↵Glenn Kasten2011-11-091-1/+1
|\ \ | |/ |/| | | | | | | | | into ics-mr0 * commit '19998120f53caceb620f138c6eea182f1e693660': Bug 5478024 drop after decode if can't drop before
| * Bug 5478024 drop after decode if can't drop beforeGlenn Kasten2011-11-041-1/+1
| | | | | | | | Change-Id: Iaa64553be1a710da5d42be4e3a1e1d6dc873e371
| * DO NOT MERGE Poll input data with a small timeout and don't consume a full core.Andreas Huber2011-11-031-1/+1
| | | | | | | | | | Change-Id: I3c288698920fe6ead0df24a52330483609821a41 related-to-bug: 5549263
* | Merge "Remove surface legacy APIs and code." into ics-mr1Andreas Huber2011-11-0814-70/+0
|\ \
| * | Remove surface legacy APIs and code.Andreas Huber2011-10-2814-70/+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 "Fix device management in lvm effect bundle wrapper." into ics-mr1Eric Laurent2011-11-041-17/+26
|\ \ \ \
| * | | | Fix device management in lvm effect bundle wrapper.Eric Laurent2011-11-011-17/+26
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The virtualizer and bass boost effects should be disabled when not playing throught headsets or headphones. There is a bug in current wrapper implementation that makes that those effects are not disabled if the effect is enabled by the user after the headset has been removed (current logic only works if the device selection occurs while the effect is enabled). Change-Id: I7c66b15a0339d95fb9ed13c8320d66379725d3b6
* | | | Merge "Fix problem in lvm effect bundle wrapper." into ics-mr1Eric Laurent2011-11-041-9/+19
|\ \ \ \
| * | | | Fix problem in lvm effect bundle wrapper.Eric Laurent2011-11-021-9/+19
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an effect is disabled, the process function should either copy or accumulate the content of the input buffer to the output buffer depending on the behavior requested by the framework. Current implementation is copying the input buffer unconditionally. Related to issue 5433942. Change-Id: Ic488ca97eadcc4c763de570d7e6c6f5b7a979415
* | | | Poll input data with a small timeout and don't consume a full core.Andreas Huber2011-11-031-1/+1
|/ / / | | | | | | | | | | | | Change-Id: I3c288698920fe6ead0df24a52330483609821a41 related-to-bug: 5549263
* | | Merge "Properly report that we're no longer playing after receiving event" ↵Andreas Huber2011-10-283-4/+17
|\ \ \ | | | | | | | | | | | | into ics-mr1
| * | | Properly report that we're no longer playing after receiving eventAndreas Huber2011-10-263-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | MEDIA_PLAYBACK_COMPLETE or MEDIA_ERROR. Change-Id: I03eeba751d3728adb33d9c66de4c7444a91696f3
* | | | am 08479cee: Merge "Stagefright: ANW::connect in MediaPlayerService" into ↵Jamie Gennis2011-10-283-97/+65
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | ics-mr0 * commit '08479ceeba56c460fb52f60a24df27776f1936c3': Stagefright: ANW::connect in MediaPlayerService
| * | | Stagefright: ANW::connect in MediaPlayerServiceJamie Gennis2011-10-263-97/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change moves the ANativeWindow connect and disconnect logic from MediaPlayer to MediaPlayerService::Client. Bug: 5502654 Change-Id: Ifc43b98b01ad8f35d62d7ece43110724ec7fda3d
* | | | 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-196-1/+65
|\ \ | |/ | | | | | | * commit '23d644202a44383bf008ff86f6faa3ea7e447290': Stagefright: idle OMX after ANW errors
| * Merge "Stagefright: idle OMX after ANW errors" into ics-mr0Dave Burke2011-10-196-1/+65
| |\
| | * Stagefright: idle OMX after ANW errorsJamie Gennis2011-10-196-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes an issue in Stagefright where the state of an OMXCodec object can get out of sync with the state of the OMX component. In particular, if one of the ANativeWindow functions failed and put the OMXCodec into the ERROR state, this would cause Stagefright to skip doing the Executing -> Idle transition. Without this transition the freeBuffersOnPort call would never be made, and the MediaBuffers would end up being leaked (which would also leak the Gralloc buffers they reference). Bug: 5333695 Change-Id: I85ea0cf92d18e7ef6d35c7d1e2a7b4e2c9745d34
* | | am b3cdadb6: Merge "Check whether media recorder client exists before ↵James Dong2011-10-191-5/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | dumping." into ics-mr0 * commit 'b3cdadb639027f62c7c1637ca962a70d2d1f3b4d': Check whether media recorder client exists before dumping.
| * | Check whether media recorder client exists before dumping.James Dong2011-10-181-5/+7
| | | | | | | | | | | | | | | Change-Id: I1f3a644a958975e4cf6c02099c53e30cc4d2fd82 related-to-bug: 5477177
* | | am 5264f600: Merge "Bail out after kMaxColorFormatSupported calls to ↵James Dong2011-10-181-7/+16
|\ \ \ | |/ / | | | | | | | | | | | | | | | OMX_GetParameter(). Avoid infinite loop in querying omx component about the supported color format." into ics-mr0 * commit '5264f6003bbcb8ca70df034379154914260cc322': Bail out after kMaxColorFormatSupported calls to OMX_GetParameter(). Avoid infinite loop in querying omx component about the supported color format.
| * | Bail out after kMaxColorFormatSupported calls to OMX_GetParameter().James Dong2011-10-181-7/+16
| |/ | | | | | | | | | | | | Avoid infinite loop in querying omx component about the supported color format. Change-Id: I4997efd36462c792a6d8b5e04c79a80966a559fe related-to-bug: 5466057
* | am 6f13adb2: Merge "Don\'t hold onto the lock while reconnecting to the ↵Dave Burke2011-10-171-10/+18
|\ \ | |/ | | | | | | | | | | server" into ics-mr0 * commit '6f13adb22afcb47a1cd45a90eaa3c154522089d4': Don't hold onto the lock while reconnecting to the server
| * Merge "Don't hold onto the lock while reconnecting to the server" into ics-mr0Dave Burke2011-10-171-10/+18
| |\
| | * Don't hold onto the lock while reconnecting to the serverAndreas Huber2011-10-171-10/+18
| | | | | | | | | | | | | | | | | | to avoid stalling the readers. Change-Id: I73b646587c8a654a73ff7d800c0f17bd78001855
* | | NuPlayer is now taking on the task of streaming over RTSP.Andreas Huber2011-10-1318-664/+603
| | | | | | | | | | | | Change-Id: Ie204db8810807f1e7981959e34dc0149e5d9563a
* | | Merge "Support for an MPEG2 Program Stream extractor."Andreas Huber2011-10-1313-10/+863
|\ \ \ | |/ / |/| |
| * | Support for an MPEG2 Program Stream extractor.Andreas Huber2011-09-3013-10/+863
| | | | | | | | | | | | Change-Id: I606d87c278f72b22a5b6d7ee57bce6b02e280d41
* | | MtpServer: Pass 0xFFFFFFFF for file size when receiving files >= 4GB in sizeMike Lockwood2011-10-131-1/+6
| | | | | | | | | | | | | | | | | | | | | Bug: 5432487 Change-Id: Ie86e72d9d85476941eab6a9d271948b8fdde6926 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Assume a PTS of 0 if absent, don't bail on fragmented PES packets not having PTSAndreas Huber2011-10-122-2/+8
| |/ |/| | | | | | | Change-Id: I3b31f08428fb7195b98f145ae0675006c8756de1 related-to-bug: 5450187
* | YouTube can now request custom cache/prefetch parameters and ↵Andreas Huber2011-10-103-4/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disconnect-at-highwater through the use of pseudo http headers specified in the setDataSource call. x-cache-config: -1/-1/0 x-disconnect-at-highwatermark: 1 turns off keep-alives and disconnects every time the cache is full (will attempt to reconnect once it run below lowwater mark) related-to-bug: 5433309 Change-Id: Id2f942fc956e0e156834cfcd6bb08dae6a29fae1
* | Specifying -1 for both low and highwater marks would not actually do the ↵Andreas Huber2011-10-071-5/+15
| | | | | | | | | | | | | | | | | | right thing before this change. Also make it more consistent in that specifying -1 for the keepalive settings specifies the default. Change-Id: I086f530fbf42abce66d1c8e61157215cb474e044
* | Merge "Allow a system property "media.stagefright.cache-params" to override ↵Andreas Huber2011-10-072-9/+65
|\ \ | | | | | | | | | cache/prefetcher"
| * | Allow a system property "media.stagefright.cache-params" to override ↵Andreas Huber2011-10-062-9/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cache/prefetcher default parameters. To override specify a property adb shell setprop media.stagefright.cache-params "4096/20480/15" to set the low water threshold to 4096 KB, the high water threshold to 20 MB and the keepalive interval to 15 secs. if high and/or lowwater mark are negative, the default values are used for the respective value. if keep-alive interval is 0, keep-alives are disabled. Change-Id: I89a4a06836e4a2f473d7a92b567ab07818c2f87d
* | | Merge "Fix an issue where we should allow negative values but did not"James Dong2011-10-062-8/+8
|\ \ \
| * | | Fix an issue where we should allow negative values but did notJames Dong2011-10-052-8/+8
| |/ / | | | | | | | | | | | | Change-Id: Ia8d718b4e6aec4c17db86e30134132f767fd72c5 related-to-bug: 5419527