summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
...
* | | If we encounter an error during buffer allocation change state backAndreas Huber2012-05-211-0/+2
|/ / | | | | | | | | | | | | | | to LOADED instead of remaining in the transitional state LOADED->IDLE that won't properly handle flush or shutdown requests. Change-Id: Ica1bf22eb884b220f18ed2a4f7a9c56eec228796 related-to-bug: 6516512
* | Instead of asserting on malformed ADTS headers or insufficient data,Andreas Huber2012-05-181-18/+43
|/ | | | | | | stop decoding and signal a runtime error. Change-Id: Ib66a17a2908273f65a92999951439cc6f0752164 related-to-bug: 6519161
* Don't reconfigure stream after outputing data.Dave Burke2012-05-181-17/+40
| | | | | | | Handle invalid configuration. Bug: 6519161 Change-Id: Ib2d38bee769e63e627c93d7f3839c3a55de694e9
* Robustness - use defaults if we see bogus sample rate / channels from decoder.Dave Burke2012-05-171-5/+6
| | | | | Bug: 6498711 Change-Id: I6950d316a292cfd0cb516ee6d95b6af071b08fdc
* Handle stream changes at any point in the stream.Dave Burke2012-05-172-34/+15
| | | | | | | Also, handle discontinuity properly (was using wrong flag before). Bug: 6498711 Change-Id: I18a6684f7dc96aa04b1e8113b54ec1053895ca98
* Merge "Clear the decoder input buffer after it signalled an error to be able ↵Dave Burke2012-05-171-1/+3
|\ | | | | | | to continue." into jb-dev
| * Clear the decoder input buffer after it signalled an error to be able to ↵Andreas Huber2012-05-171-1/+3
| | | | | | | | | | | | | | continue. Change-Id: I06d43723dea7688d63cfb05e7fc7754672788562 related-to-bug: 6419102
* | Fixes parsing of PSI sections in MPEG2 transport streamsAndreas Huber2012-05-172-13/+160
|/ | | | | | | | They can span multiple transport stream packets, something the parser previously did not support. Change-Id: I78da6ffd2d422cceedb87aad61cba2062419e635 related-to-bug: 6166596
* Merge "Buffer at least 2 secs worth of data at startup of after a seek ↵Andreas Huber2012-05-174-0/+80
|\ | | | | | | before" into jb-dev
| * Buffer at least 2 secs worth of data at startup of after a seek beforeAndreas Huber2012-05-174-0/+80
| | | | | | | | | | | | | | resuming starting RTSP playback. Change-Id: I060c6c7fd627ab7ebd5c095ddcfdb4cc0f637aad related-to-bug: 6364126
* | Merge "Prefix MPEG4-generic audio data with ADTS headers" into jb-devAndreas Huber2012-05-176-35/+128
|\ \
| * | Prefix MPEG4-generic audio data with ADTS headersAndreas Huber2012-05-176-35/+128
| |/ | | | | | | | | | | | | to work around limitations of the new AAC decoder. Change-Id: I4988c7c39fedb7d04eb1ae2ba2d618aa6cb14e77 related-to-bug: 6488547
* | Merge "Add informational logging to track 0 channel issue." into jb-devDave Burke2012-05-171-3/+3
|\ \
| * | Add informational logging to track 0 channel issue.Dave Burke2012-05-171-3/+3
| | | | | | | | | | | | | | | | | | Bug #: 6498711 Change-Id: I952777923569511a171fe8b79eab579625eda073
* | | Stop audio source if AudioPlayer could not be startedJames Dong2012-05-171-6/+7
|/ / | | | | | | | | | | related-to-bug: 6500580 Change-Id: If47e442db2f1ea400e9b598502bb48513f28cd6d
* | Merge "Stop extrapolating audio time from the anchor if we're paused or ↵Andreas Huber2012-05-171-2/+19
|\ \ | |/ |/| | | reached eos." into jb-dev
| * Stop extrapolating audio time from the anchor if we're paused or reached eos.Andreas Huber2012-05-151-2/+19
| | | | | | | | | | Change-Id: I55903ba625d9c075a9a6e7bcd5ff95d450b915b2 related-to-bug: 6479613
* | Merge "Stereo downmixer supports generic configurations. Fix 7.1 downmix" ↵Jean-Michel Trivi2012-05-162-11/+282
|\ \ | | | | | | | | | into jb-dev
| * | Stereo downmixer supports generic configurations. Fix 7.1 downmixJean-Michel Trivi2012-05-162-11/+282
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a generic downmixer to stereo function to handle the multichannel configurations not supported by the dedicated downmix functions. It first verifies the mask is supported, and then derives channel indices for the downmix. Added support for forcing the generic downmixer to be always used instead of the format-specific functions (define DOWNMIX_ALWAYS_USE_GENERIC_DOWNMIXER to force it). Fixed 7.1 downmix function where handling of accumulate vs overwrite was inversed. Bug 4280902 Change-Id: I8259b32c4e90f76ef4dcd803592fc71df4ae90c5
* | Merge "Add logging for invalid channel count or sample rate." into jb-devDave Burke2012-05-151-0/+3
|\ \
| * | Add logging for invalid channel count or sample rate.Dave Burke2012-05-151-0/+3
| | | | | | | | | | | | Change-Id: I2e2145e4b258923cf6c2907106345b7172c12280
* | | Merge "Speed up stsz box write in MPEG4Writer" into jb-devJames Dong2012-05-151-10/+38
|\ \ \
| * | | Speed up stsz box write in MPEG4WriterJames Dong2012-05-151-10/+38
| | |/ | |/| | | | | | | | | | | | | | | | | | | With this patch, the write time for 30+ minutes recording session is reduced from 10+ seconds down to around 2-3 seconds. related-to-bug: 6435176 Change-Id: I83b705cea42d8de798e7032c770c5c7b033e267e
* | | Log which OMX component is not returning all buffers to us on executing->idle.Andreas Huber2012-05-151-6/+16
|/ / | | | | | | | | Change-Id: I8cd102cc5b1f3c9c36e3c5832ae4bee75c471efd related-to-bug: 6498711
* | Merge "Ignore sideband parsing errors and spit out a frame of silence." into ↵Andreas Huber2012-05-151-6/+6
|\ \ | | | | | | | | | jb-dev
| * | Ignore sideband parsing errors and spit out a frame of silence.Andreas Huber2012-05-151-6/+6
| |/ | | | | | | | | Change-Id: I274d8e9018e02eb42121a2440b42caefeca94fb0 related-to-bug: 6498193
* | Merge "Explicitly set the video scaling mode to "stretch"." into jb-devAndreas Huber2012-05-151-0/+4
|\ \
| * | Explicitly set the video scaling mode to "stretch".Andreas Huber2012-05-151-0/+4
| |/ | | | | | | | | Change-Id: I23b8848cfef51bc8ea72deb22783e21d093dbd98 related-to-bug: 6498150
* | Instead of asserting, turn an unsupported colorspace conversion into aAndreas Huber2012-05-151-10/+17
|/ | | | | | | runtime error. Change-Id: I0a1754ecaa2a6aac8b0b1bcc829aa873cf238b9b related-to-bug: 6499326
* Fix issues with synchronous record start.Eric Laurent2012-05-142-1/+7
| | | | | | | | | | | | | | | | - Added a timeout in case the trigger event is never fired. - Extend AudioRecord obtainBuffer() timeout in case of synchronous start to avoid spurious warning. - Make sure that the event is triggered if the track is destroyed. - Reject event if the triggering track is in an incompatible state. Also fix a problem when restoring a static AudioTrack after a mediaserver crash. Bug 6449468. Change-Id: Ib36e11111fb88f73caa31dcb0622792737d57a4b
* Merge "Smoothen audio "real" time by compensating with system_time()" into ↵Andreas Huber2012-05-141-1/+14
|\ | | | | | | jb-dev
| * Smoothen audio "real" time by compensating with system_time()Andreas Huber2012-05-141-1/+14
| | | | | | | | | | | | | | for the delay since the last buffer submission to the audio sink. Change-Id: Ib1a8672f96ba8bbef07d23372f1076fbb1f0bdcc related-to-bug: 6479613
* | Merge "Switch audio tracks at runtime" into jb-devJames Dong2012-05-142-10/+100
|\ \ | |/ |/|
| * Switch audio tracks at runtimeJames Dong2012-05-142-10/+100
| | | | | | | | | | | | | | | | o The switching is not allowed if there is an audio seek operation ongoing. o related-to-bug: 6110705 Change-Id: Ib92a165f3984aa033d97800184d3d17319522db5
* | ACodec mustn't override the video scaling mod.Andreas Huber2012-05-141-7/+0
|/ | | | | Change-Id: Id9b569446d73dcfe44ab4a3488812203758c9c42 related-to-bug: 6490687
* Remove ASC workaround (now fixed in Franhofer library).Dave Burke2012-05-121-9/+0
| | | | Change-Id: Ia0ce8155def9f6dea85da7f88942ac1b11c16823
* Merge "stagefright: add tracing to AwesomePlayer." into jb-devJamie Gennis2012-05-111-1/+30
|\
| * stagefright: add tracing to AwesomePlayer.Jamie Gennis2012-05-111-1/+30
| | | | | | | | Change-Id: Id84419a1c54e41e158b24477f0676071e90f6922
* | Merge "Remove unused VideoSourceDownSampler class" into jb-devJames Dong2012-05-112-143/+0
|\ \
| * | Remove unused VideoSourceDownSampler classJames Dong2012-05-112-143/+0
| |/ | | | | | | | | Change-Id: I2faf5962ff4cc366c688ef5bb27f53596f08fe0a related-to-bug: 6484217
* | Merge "Increase AAC software decoder's buffer count. Refactor how clients" ↵Andreas Huber2012-05-116-19/+46
|\ \ | | | | | | | | | into jb-dev
| * | Increase AAC software decoder's buffer count. Refactor how clientsAndreas Huber2012-05-116-19/+46
| |/ | | | | | | | | | | | | of ACodec get notified about codec buffers and buffer ids. Change-Id: I962f873262dae7aa7b43f5f68a6d60268282f91e related-to-bug: 6478823
* | Merge "Fix a bug on sending a message to retry in TimedText." into jb-devJames Dong2012-05-111-1/+1
|\ \ | |/ |/|
| * Fix a bug on sending a message to retry in TimedText.Insun Kang2012-05-111-1/+1
| | | | | | | | | | | | related-to-bug: 6480861 Change-Id: I86f24f1304dea42a7501c578cff0c590b048ccc2
* | Merge "Add "support" for AMR WB comfort noise, no data and speech lost frame ↵Andreas Huber2012-05-101-21/+42
|\ \ | | | | | | | | | types" into jb-dev
| * | Add "support" for AMR WB comfort noise, no data and speech lost frame typesAndreas Huber2012-05-101-21/+42
| | | | | | | | | | | | | | | | | | | | | by emitting silence. Change-Id: I27b7f31051f0c9a14adde866305bbc91a827a00c related-to-bug: 6478154
* | | Merge "Make decoder more robust to inaccurate ASCs." into jb-devDave Burke2012-05-101-0/+9
|\ \ \
| * | | Make decoder more robust to inaccurate ASCs.Dave Burke2012-05-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 6408518 Bug: 6463794 Change-Id: Ice4ae327bc53e9d826adce572a2706e045eacd62
* | | | Merge "Properly connect/disconnect to/from the native window in MediaCodec." ↵Andreas Huber2012-05-101-10/+49
|\ \ \ \ | |_|/ / |/| | | | | | | into jb-dev
| * | | Properly connect/disconnect to/from the native window in MediaCodec.Andreas Huber2012-05-101-10/+49
| | |/ | |/| | | | | | | | | | Change-Id: Ib5bf90a3b81fca8ff2346235bc28a2bd0bc7bfb1 related-to-bug: 6472161