summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Add missing secure stop methods" into lmp-mr1-devJeff Tinker2014-11-062-0/+30
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Add missing secure stop methodsJeff Tinker2014-10-312-0/+30
| | | | | | | | | | | | | | | | | | | | | b/18053197 b/18076411 Change-Id: I923dc893d48c70bf17980007b32f0ac5dfd22896
* | | Merge "NuPlayer: reduce offload pause teardown timeout." into lmp-mr1-devEric Laurent2014-10-291-1/+1
|\ \ \
| * | | NuPlayer: reduce offload pause teardown timeout.Eric Laurent2014-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Waiting 60 seconds to teardown an offloaded path when paused is not needed and causes unecessary battery drain. 10 seconds is enough to avaoid teardown when it would be problematic (seek, pause for notifications, buffering...). Bug: 13505340. Change-Id: Ibcaa609b59e86ba2bc49539620bd77504d534c0c
* | | | Merge "NuPlayer: merge start() and resume()." into lmp-mr1-devWei Jia2014-10-293-105/+103
|\ \ \ \ | |_|/ / |/| | |
| * | | NuPlayer: merge start() and resume().Wei Jia2014-10-283-105/+103
| |/ / | | | | | | | | | | | | | | | | | | NuPlayerDriver: allow seekTo called in STOPPED_AND_PREPARED state. Bug: 18127606 Change-Id: I92ff9f7e0a176c434202762d30966d8c4643d1ef
* | | fix deep buffer logic in NuPlayer.Eric Laurent2014-10-282-7/+8
|/ / | | | | | | | | | | | | | | | | | | | | Deep buffer output should be requested when there is no video track, not when there is one. Also make sure that the deep buffer flag is restored after a failure to offload audio decoding. Bug: 18114624. Change-Id: If3c04c784bc20d77926993ee475fbf961aeba7ae
* | do not hold mNotifyLock when calling MediaPlayer::notifyChong Zhang2014-10-271-1/+3
|/ | | | | Bug:18120688 Change-Id: Ia66dcfc3fd2d67d1ceba9808d21e0120cc8691d6
* [FM] Fix FM App record fail Buganizer ID: 17975676Hochi Huang2014-10-241-2/+2
| | | | | | | | Review: https://partner-android-review.git.corp.google.com/#/c/185234 Signed-off-by: Hochi Huang <hochi.huang@mediatek.com> Change-Id: I872ce744d23049e251a46aebc4019be5b25e3612
* mediaplayer: don't report position past last queued positionLajos Molnar2014-10-212-8/+46
| | | | | | | also reanchor offloaded audio track correctly Bug: 17653702 Change-Id: If05394d3b119be8d80b7764847496246d34a2133
* mediaplayer: limit scheduling video frames into the futureLajos Molnar2014-10-202-1/+43
| | | | | | | | | | | | This addresses when video timestamps jumps before an audio timestamp, but still works on slideshow video clips (<=1fps). This, however, will not skip time-changes on video-only live video streams, as we cannot distinguish live slideshow video clips from non-slideshow ones. Bug: 18032127 Change-Id: I959a714edfe1c8cf3b84704c693dcd1b3e5b7855
* NuPlayer: set anchor time for each audio buffer.Ronghua Wu2014-10-202-36/+48
| | | | | | | | | And use anchor time to compute current position Bug: 17999949 Bug: 18008307 Bug: 18032127 Change-Id: Ie493c9a1d45d7b788aef65d863f710da6326fcc1
* move audio sink open/close to NuPlayerRendererChong Zhang2014-10-164-123/+223
| | | | | Bug: 17675112 Change-Id: I7eb3d02380658f848baedafe2aea287586ccf016
* Merge "NuPlayer: query current position from NuPlayerRenderer." into lmp-devLajos Molnar2014-10-146-225/+194
|\
| * NuPlayer: query current position from NuPlayerRenderer.Ronghua Wu2014-10-136-225/+194
| | | | | | | | | | Bug: 17653702 Change-Id: Ie0b1f92420b071a0cfcd389f5e7917a54d332541
* | Merge "NuPlayerDriver: request seek notification when prepare*() is called ↵Wei Jia2014-10-131-2/+2
|\ \ | |/ |/| | | in STOPPED state." into lmp-dev
| * NuPlayerDriver: request seek notification when prepare*() is called in ↵Wei Jia2014-10-131-2/+2
| | | | | | | | | | | | STOPPED state. Bug: 17596535 Change-Id: Ib43f91f9b0d0a52112aa1fa8352adac15aaf80f8
* | Merge "NuPlayerRenderer: adjust anchor time correctly for video only case." ↵Wei Jia2014-10-102-1/+19
|\ \ | | | | | | | | | into lmp-dev
| * | NuPlayerRenderer: adjust anchor time correctly for video only case.Wei Jia2014-10-092-1/+19
| |/ | | | | | | | | Bug: 17922171 Change-Id: I4c7e9e7f5ab96d3675d012ae30f78ef945394103
* | Merge "NuPlayer: wait for renderer flush before decoder shutdown" into lmp-devAndy Hung2014-10-073-52/+64
|\ \
| * | NuPlayer: wait for renderer flush before decoder shutdownAndy Hung2014-10-063-52/+64
| |/ | | | | | | | | Bug: 17679341 Change-Id: Ie3883686891e7ee6fb45ceb01af1eb60b559d3a0
* | Merge "StageFrightRecorder: Enable meta-data mode for VP8 hardware encoder." ↵Chong Zhang2014-10-061-0/+1
|\ \ | |/ |/| | | into lmp-dev
| * StageFrightRecorder: Enable meta-data mode for VP8 hardware encoder.Praveen Chavan2014-10-061-0/+1
| | | | | | | | | | | | | | | | | | | | Meta-data mode for input is preferred (rather required) for recording with camera v1. This capability is queried and enabled per codec; enable it for VP8 hardware encoder. Bug: 17664960 Change-Id: I4735c61670ebe0a555002cc25ef3ed823ab02f1f
* | NuPlayer: add audioDecoderStillNeeded.Ronghua Wu2014-10-032-3/+10
| | | | | | | | | | Bug: 17752358 Change-Id: Ia3b3ee4df65e5564afd0723943d2d747f3a604af
* | Merge "NuPlayer: don't restart AudioSink when torn down due to pause ↵Ronghua Wu2014-10-033-5/+21
|\ \ | |/ |/| | | timeout." into lmp-dev
| * NuPlayer: don't restart AudioSink when torn down due to pause timeout.Ronghua Wu2014-10-033-5/+21
| | | | | | | | | | Bug: 17752358 Change-Id: I232d105480139bfc0b991bcd8e001930e577cf30
* | Merge "send available codec buffer count with codec notification" into lmp-devChong Zhang2014-10-031-4/+12
|\ \
| * | send available codec buffer count with codec notificationChong Zhang2014-10-021-4/+12
| | | | | | | | | | | | | | | Bug: 14679336 Change-Id: Id927c96a9a14dd6ecd72540f0037d5841aa32154
* | | Merge "mediarecorder: set level if setting default profile" into lmp-devLajos Molnar2014-10-021-0/+5
|\ \ \
| * | | mediarecorder: set level if setting default profileLajos Molnar2014-10-021-0/+5
| | | | | | | | | | | | | | | | | | | | Bug: 17676461 Change-Id: If01ccd09935945d330de0842be95c3544951b6b9
* | | | Merge "NuPlayerDecoder: postpone input message processing when it's not ↵Wei Jia2014-10-022-8/+31
|\ \ \ \ | | | | | | | | | | | | | | | dequeued." into lmp-dev
| * | | | NuPlayerDecoder: postpone input message processing when it's not dequeued.Wei Jia2014-10-022-8/+31
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17622642 Change-Id: I67608121bf70d6acb152e4aa64892b11bf167e8c
* | | | | Merge "stagefright: move math templates into AUtils.h" into lmp-devLajos Molnar2014-10-021-30/+1
|\ \ \ \ \ | | |/ / / | |/| / / | |_|/ / |/| | |
| * | | stagefright: move math templates into AUtils.hLajos Molnar2014-10-011-30/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | add unit test for math templates Bug: 17676461 Change-Id: Ie964c5fcfcca1ec53b4538f8e577392e8fbb4319
* | | | Merge "NuPlayer: Fix flush mode decoder error handling" into lmp-devAndy Hung2014-10-026-28/+103
|\ \ \ \ | |/ / / |/| | |
| * | | NuPlayer: Fix flush mode decoder error handlingAndy Hung2014-10-016-28/+103
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly handle each flush mode upon decoder error. Do not clear out affected decoder immediately. Alter logcat messages for better diagnostics. Bug: 17638878 Bug: 17679341 Change-Id: I219796c04d65d7c4dd61c0d4f99f9f580241a68b
* | | Merge "GenericSource: support disconnect before NuCachedSource2 is created" ↵Robert Shih2014-10-012-2/+21
|\ \ \ | |_|/ |/| | | | | into lmp-dev
| * | GenericSource: support disconnect before NuCachedSource2 is createdRobert Shih2014-10-012-2/+21
| |/ | | | | | | | | Bug: 17672488 Change-Id: I96776c9679fdcfbe9a442c86447c59802b1465ac
* | mediaplayer: make frame-accurate avsync configurableLajos Molnar2014-09-291-0/+20
|/ | | | | | | disable by default Bug: 17686015 Change-Id: I3961b1bc9c6d48afc8c5f7f5270528ea6341bc60
* NuPlayer: use format obtained from source to tell if video exists.Wei Jia2014-09-251-1/+1
| | | | | Bug: 17374216 Change-Id: I2d5f90d72b70684475d67ff8f41b803c2880840b
* Merge "NuPlayer: Fix decoder error handling" into lmp-devAndy Hung2014-09-252-14/+39
|\
| * NuPlayer: Fix decoder error handlingAndy Hung2014-09-242-14/+39
| | | | | | | | | | | | | | | | | | | | Upon error, release MediaCodec after flushing data. Report errors when they occur with ALOGE. Fix onInputBufferFilled mInputBufferIsDequeued check. Bug: 17423087 Bug: 17622642 Change-Id: I316601a19d5ec95cf8e14f5bc0418a05ec423041
* | Merge "Fix Widevine classic playback errors with NuPlayer" into lmp-devLajos Molnar2014-09-251-1/+8
|\ \
| * | Fix Widevine classic playback errors with NuPlayerJeff Tinker2014-09-241-1/+8
| | | | | | | | | | | | | | | bug: 17589961 Change-Id: If16c61b90cf92caa89eecd66aabef5813fd7619b
* | | mediaplayer: handle bad input in VideoFrameSchedulerLajos Molnar2014-09-242-4/+17
| | | | | | | | | | | | | | | Bug: 17626098 Change-Id: I2ae22ed43b35ff532a47818b118dd328ce2abf63
* | | NuPlayerDecoder: release MediaBuffers when decoder is deleted.Wei Jia2014-09-241-0/+4
| |/ |/| | | | | | | Bug: 17454455 Change-Id: Ic984c74826f87f5f3c27756a7e7d52295a529bed
* | Merge "NuPlayer will notify SeekComplete only when requested so." into lmp-devWei Jia2014-09-243-19/+29
|\ \
| * | NuPlayer will notify SeekComplete only when requested so.Wei Jia2014-09-233-19/+29
| |/ | | | | | | | | Bug: 17596535 Change-Id: I6b744fdcf80f11d521d26c7c8b45f7de70aa0dc3
* | NuPlayer: change assert to conditional check.Wei Jia2014-09-231-6/+20
| | | | | | | | | | Bug: 17491050 Change-Id: I657866c5342c227d57617eb89955897171eb5976
* | Merge "NuPlayer: add pause timeout event for offload audio." into lmp-devRonghua Wu2014-09-232-1/+46
|\ \