OSDN Git Service
Eric Laurent [Fri, 27 Mar 2015 00:34:54 +0000 (00:34 +0000)]
am
c42c4b52: am
424324b3: am
2fdd16b3: DO NOT MERGE - audio policy service: fix possible memory overflow
* commit '
c42c4b526422fada02f3522a08143f738e9e60af':
DO NOT MERGE - audio policy service: fix possible memory overflow
Eric Laurent [Wed, 25 Mar 2015 20:25:03 +0000 (20:25 +0000)]
am
424324b3: am
2fdd16b3: DO NOT MERGE - audio policy service: fix possible memory overflow
* commit '
424324b327cc0b022ff8d10e03158b4594489ee7':
DO NOT MERGE - audio policy service: fix possible memory overflow
Eric Laurent [Wed, 25 Mar 2015 20:19:07 +0000 (20:19 +0000)]
am
2fdd16b3: DO NOT MERGE - audio policy service: fix possible memory overflow
* commit '
2fdd16b3cbe1c1e53d1c4b305f4c0174b995ad1a':
DO NOT MERGE - audio policy service: fix possible memory overflow
Eric Laurent [Fri, 6 Feb 2015 18:44:24 +0000 (10:44 -0800)]
DO NOT MERGE - audio policy service: fix possible memory overflow
Add limit on number of audio ports and patches requested by
listaudioPorts() and listAudioPatches().
Bug:
19261727.
Change-Id: I21dfdf11cf805734cc3b7b2a85762c5598f60580
(cherry picked from commit
1d670b11313250442455a22f1056ad649d607fb2)
Lajos Molnar [Wed, 11 Feb 2015 19:48:34 +0000 (19:48 +0000)]
am
faefd08b: Revert "DO NOT MERGE: stagefright: add support for Intel\'s YUV420SP format in SoftwareRenderer"
* commit '
faefd08b11d1f4955b5da6c10e1a9be1a5cbefad':
Revert "DO NOT MERGE: stagefright: add support for Intel's YUV420SP format in SoftwareRenderer"
Lajos Molnar [Wed, 11 Feb 2015 00:06:38 +0000 (16:06 -0800)]
Revert "DO NOT MERGE: stagefright: add support for Intel's YUV420SP format in SoftwareRenderer"
This reverts commit
7a9510dcf637cc1e5c953d77c7bd4409c80a820f.
Bug:
19317169
Change-Id: I881ce6b1592b7250f423a561dadd40d379e16104
Lajos Molnar [Tue, 10 Feb 2015 04:19:01 +0000 (04:19 +0000)]
am
0c11f31b: Merge "nuplayer: acquire wakelock during offload pause timeout" into lmp-mr1-dev
* commit '
0c11f31b610534754f48b40d0a6ccdd311d43fcf':
nuplayer: acquire wakelock during offload pause timeout
Lajos Molnar [Tue, 10 Feb 2015 04:13:46 +0000 (04:13 +0000)]
Merge "nuplayer: acquire wakelock during offload pause timeout" into lmp-mr1-dev
Lajos Molnar [Sat, 7 Feb 2015 02:49:56 +0000 (02:49 +0000)]
am
0c11001c: Merge "stagefright: change licensing headers on h264dec omxdl sources" into lmp-mr1-dev
* commit '
0c11001c58526cddc7f6135982f456fff6e34aeb':
stagefright: change licensing headers on h264dec omxdl sources
Lajos Molnar [Sat, 7 Feb 2015 02:44:03 +0000 (02:44 +0000)]
Merge "stagefright: change licensing headers on h264dec omxdl sources" into lmp-mr1-dev
Weiyin Jiang [Wed, 28 Jan 2015 08:14:02 +0000 (16:14 +0800)]
nuplayer: acquire wakelock during offload pause timeout
Hold a wakelock while paused in audio offload mode, until audio
teardown event is received, or pause is canceled.
Since ARM cores are sleeping, the delayed AMessage will not be
received, and the audio output driver will not be closed.
This blocks XO shutdown.
Bug:
19297092
Change-Id: I3d11fef633e3f2783f4aa31e71285e2fa09d234c
Lajos Molnar [Sat, 7 Feb 2015 00:21:18 +0000 (00:21 +0000)]
am
17e95f40: stagefright: add media_codecs_google_video_le.xml
* commit '
17e95f40a534101e2df48f077a8029430adef6c3':
stagefright: add media_codecs_google_video_le.xml
Lajos Molnar [Fri, 6 Feb 2015 23:54:44 +0000 (15:54 -0800)]
stagefright: add media_codecs_google_video_le.xml
This can be used by low-end devices
Bug:
19027495
Change-Id: I2cf90bf5a9a95b3f38c32eef2a950c9e33c70a7a
Marco Nelissen [Fri, 6 Feb 2015 23:03:18 +0000 (23:03 +0000)]
am
41d3f579: Fix GSM WAV playback
* commit '
41d3f579d2c166984958263533284209b90c87d5':
Fix GSM WAV playback
Marco Nelissen [Fri, 6 Feb 2015 20:21:32 +0000 (12:21 -0800)]
Fix GSM WAV playback
Bug:
19289381
Change-Id: If7bbf1ecf1cb8796188e61bc2c42f8a099510424
Lajos Molnar [Fri, 6 Feb 2015 20:51:38 +0000 (12:51 -0800)]
stagefright: change licensing headers on h264dec omxdl sources
Bug:
19030684
Change-Id: I6d4674fad126c26d3b6819fde91277a92dfd8862
Lajos Molnar [Fri, 6 Feb 2015 20:14:27 +0000 (20:14 +0000)]
am
35395ea6: DO NOT MERGE: stagefright: add support for Intel\'s YUV420SP format in SoftwareRenderer
* commit '
35395ea6ad11824a4a89cc1ab9ee84f936188296':
DO NOT MERGE: stagefright: add support for Intel's YUV420SP format in SoftwareRenderer
Lajos Molnar [Fri, 6 Feb 2015 02:17:39 +0000 (18:17 -0800)]
DO NOT MERGE: stagefright: add support for Intel's YUV420SP format in SoftwareRenderer
This seems to have the same layout as OMX_COLOR_FormatYUV420SemiPlanar
Bug:
19246722
Change-Id: Ief41bfaf997426a6900c3632dadaf8f4a6a38baf
Chong Zhang [Fri, 6 Feb 2015 02:03:22 +0000 (02:03 +0000)]
am
99cef1ef: allow HLS streams with CLOSED-CAPTIONS tag to play
* commit '
99cef1ef1cf1232966fabf3793ce7964c01474d7':
allow HLS streams with CLOSED-CAPTIONS tag to play
Chong Zhang [Fri, 6 Feb 2015 01:25:32 +0000 (17:25 -0800)]
allow HLS streams with CLOSED-CAPTIONS tag to play
bug:
19284568
Change-Id: I2ccf1c5952c13d1332b6a91f967af0bd3ee67451
Lajos Molnar [Thu, 5 Feb 2015 21:26:01 +0000 (21:26 +0000)]
am
9578a90c: stagefright: add software renderer support to OMX_COLOR_YUV420SemiPlanar
* commit '
9578a90c214e430334b8696999f921290c35d067':
stagefright: add software renderer support to OMX_COLOR_YUV420SemiPlanar
Lajos Molnar [Thu, 5 Feb 2015 20:46:32 +0000 (12:46 -0800)]
stagefright: add software renderer support to OMX_COLOR_YUV420SemiPlanar
Bug:
19179927
Change-Id: I3accaa655e9bad2b0efcac98c5dd95a23f8d6671
Lajos Molnar [Thu, 5 Feb 2015 20:28:47 +0000 (20:28 +0000)]
am
5a52a060: stagefright: set consumer usage flags and desribe YV12 HAL format
* commit '
5a52a060fcbe4804bcf4f61b8a457fe0e18a9014':
stagefright: set consumer usage flags and desribe YV12 HAL format
Lajos Molnar [Sat, 31 Jan 2015 04:02:12 +0000 (20:02 -0800)]
stagefright: set consumer usage flags and desribe YV12 HAL format
Bug:
17906609
Bug:
19179288
Bug:
19179927
Change-Id: I3713d4e894d3350d46e25dc0206b21c0ff3b9009
Chong Zhang [Thu, 5 Feb 2015 02:17:17 +0000 (02:17 +0000)]
am
13cfe85a: Merge "reuse CCDecoder on video discontinuity" into lmp-mr1-dev
* commit '
13cfe85ae9f4daab1d0bfcd248fc2576585e259a':
reuse CCDecoder on video discontinuity
Lajos Molnar [Thu, 5 Feb 2015 02:17:13 +0000 (02:17 +0000)]
am
0662f5b0: Merge "stagefright: add fallback for native flex-YUV support" into lmp-mr1-dev
* commit '
0662f5b0c43fcfdf055704d02ea41202c9b6094a':
stagefright: add fallback for native flex-YUV support
Chong Zhang [Wed, 4 Feb 2015 23:24:38 +0000 (23:24 +0000)]
Merge "reuse CCDecoder on video discontinuity" into lmp-mr1-dev
Lajos Molnar [Wed, 4 Feb 2015 22:48:58 +0000 (22:48 +0000)]
Merge "stagefright: add fallback for native flex-YUV support" into lmp-mr1-dev
Chong Zhang [Wed, 4 Feb 2015 21:37:18 +0000 (13:37 -0800)]
reuse CCDecoder on video discontinuity
bug:
19266084
Change-Id: I06ef57b09b048a85f77be4dee27599c4f60aacc9
Robert Shih [Wed, 4 Feb 2015 21:24:24 +0000 (21:24 +0000)]
am
6fbcf633: Merge "httplive: Set start time and segment start time in conjunction." into lmp-mr1-dev
* commit '
6fbcf6331abfbbc935bf89332f84303733e578b2':
httplive: Set start time and segment start time in conjunction.
Robert Shih [Wed, 4 Feb 2015 21:18:33 +0000 (21:18 +0000)]
Merge "httplive: Set start time and segment start time in conjunction." into lmp-mr1-dev
Lajos Molnar [Sat, 31 Jan 2015 03:30:05 +0000 (19:30 -0800)]
stagefright: add fallback for native flex-YUV support
Use software renderer if codec cannot support flex-YUV on a surface
Bug:
17906609
Change-Id: I3d0e3ff5fee7d7b3e2416892968fa18f6139598a
Lajos Molnar [Wed, 4 Feb 2015 20:54:00 +0000 (20:54 +0000)]
am
57f75272: Merge "stagefright: add support for native flex-YUV formats" into lmp-mr1-dev
* commit '
57f75272fcd16b205ed60cdd0b33ffc19991fd10':
stagefright: add support for native flex-YUV formats
Lajos Molnar [Wed, 4 Feb 2015 20:49:36 +0000 (20:49 +0000)]
Merge "stagefright: add support for native flex-YUV formats" into lmp-mr1-dev
Robert Shih [Wed, 4 Feb 2015 19:32:50 +0000 (11:32 -0800)]
httplive: Set start time and segment start time in conjunction.
Also add comments describing how start time and segment start time are
used.
Based on AOSP CL https://android-review.googlesource.com/127653
by Joakim Johansson <joakim.c.johansson@sonymobile.com> but uses the
lowest segment start time instead of highest.
Bug:
18821145
Change-Id: I14cf1186d0daf517a24e8423c3a708b4c9ba06c4
Eric Laurent [Wed, 4 Feb 2015 17:18:59 +0000 (17:18 +0000)]
am
3ae5f313: audiopolicy: send device connect notification to HALs
* commit '
3ae5f31393609b7fa92f24132c66e9a8c9244a45':
audiopolicy: send device connect notification to HALs
Eric Laurent [Wed, 4 Feb 2015 01:12:08 +0000 (17:12 -0800)]
audiopolicy: send device connect notification to HALs
Device disconnect notifications are sent from audiopolicy to
the HALs. Send connect notifications as well.
Bug:
19249796.
Bug:
17785277.
Change-Id: Ia823ed154d6a0c7ceb84b0a94f0c3b78392faaf6
Lajos Molnar [Fri, 30 Jan 2015 22:07:25 +0000 (14:07 -0800)]
stagefright: add support for native flex-YUV formats
Bug:
17906609
Change-Id: I14116796eaa94aa8ae62dcc29f67cb7d2c060d34
Chong Zhang [Wed, 4 Feb 2015 01:56:39 +0000 (01:56 +0000)]
am
efbb6195: NuPlayer: pause playback when buffering is low
* commit '
efbb61950db36a5eb789be83f077246172507c67':
NuPlayer: pause playback when buffering is low
Chong Zhang [Sat, 31 Jan 2015 01:13:27 +0000 (17:13 -0800)]
NuPlayer: pause playback when buffering is low
also fix buffering percentage report (should be the buffered position)
bug:
18730095
Change-Id: I11e7ca4ba9e772a1ae76861ca1ff1725b62f65ae
Rachad [Sat, 31 Jan 2015 21:54:31 +0000 (21:54 +0000)]
am
77f877f8: Merge "Acodec: reset sideband handle for all non tunneled mode video playback" into lmp-mr1-dev
* commit '
77f877f82733263bca825b92a3f4537caafabf74':
Acodec: reset sideband handle for all non tunneled mode video playback
Rachad [Sat, 31 Jan 2015 21:54:30 +0000 (21:54 +0000)]
am
36dca156: Merge "Acodec: Send framerate information to OMX decoder if available" into lmp-mr1-dev
* commit '
36dca156e0b5bf1865d1f6a1c692c71e10583481':
Acodec: Send framerate information to OMX decoder if available
Rachad [Sat, 31 Jan 2015 21:05:48 +0000 (21:05 +0000)]
Merge "Acodec: reset sideband handle for all non tunneled mode video playback" into lmp-mr1-dev
Rachad [Sat, 31 Jan 2015 21:05:33 +0000 (21:05 +0000)]
Merge "Acodec: Send framerate information to OMX decoder if available" into lmp-mr1-dev
Robert Shih [Sat, 31 Jan 2015 08:02:44 +0000 (08:02 +0000)]
am
7a434265: Merge "Wrong format used in seamless check" into lmp-mr1-dev
* commit '
7a4342651cc6539fc9a8775ce1e322a47adeda78':
Wrong format used in seamless check
Robert Shih [Sat, 31 Jan 2015 08:02:43 +0000 (08:02 +0000)]
am
296a0d03: Merge "PlaylistFetcher: clear packet sources when adjusting starting sequence number" into lmp-mr1-dev
* commit '
296a0d038e9e485d7a10b54057f24a562a2e76e3':
PlaylistFetcher: clear packet sources when adjusting starting sequence number
Apurupa Pattapu [Sat, 31 Jan 2015 08:02:42 +0000 (08:02 +0000)]
am
678bcdc8: httplive: Defer switch down if a switch is in progress
* commit '
678bcdc852dd8f801f5c46fdc85db587b721d83d':
httplive: Defer switch down if a switch is in progress
Robert Shih [Sat, 31 Jan 2015 03:49:13 +0000 (03:49 +0000)]
Merge "Wrong format used in seamless check" into lmp-mr1-dev
Robert Shih [Sat, 31 Jan 2015 03:49:03 +0000 (03:49 +0000)]
Merge "PlaylistFetcher: clear packet sources when adjusting starting sequence number" into lmp-mr1-dev
Rachad [Fri, 30 Jan 2015 03:50:46 +0000 (19:50 -0800)]
Acodec: reset sideband handle for all non tunneled mode video playback
Bug:
19202023
Change-Id: I414847d72a3c9fd79f858c4ee457270ec65470b6
Apurupa Pattapu [Fri, 5 Dec 2014 17:45:43 +0000 (09:45 -0800)]
httplive: Defer switch down if a switch is in progress
Bandwidth switch down is triggered if the buffered duration in
any of the current packet sources is below a threshold. When a
switch is in progress, all the packet sources are drained until
they are empty or until stop time is dequeued. Hence buffered
duration keeps going down during switch. Defering check switch
down will avoid unnecessary switches.
Do not switch down if estimated bandwidth index is more than
the current one.
Bug:
18821145
Change-Id: I655a308462503cf9df10672ecd904a51b2cba691
Robert Shih [Fri, 30 Jan 2015 19:57:24 +0000 (11:57 -0800)]
PlaylistFetcher: clear packet sources when adjusting starting sequence number
Bug:
19215971
Change-Id: I4ad29cf0ac24dea330017a1b0159b06922d768ae
joakim johansson [Fri, 30 Jan 2015 13:16:03 +0000 (14:16 +0100)]
Wrong format used in seamless check
The targetFormat that is sent to supportsSeamlessFormatChange
function corresponds to the data in mInputFormat but the format
provided is the output format, so the check will always return
false.
Use the input format instead.
Bug:
18821145
Change-Id: Iea3cbd59e423da5f2f813e98505b40dc341061b8
Eric Laurent [Fri, 30 Jan 2015 21:16:19 +0000 (21:16 +0000)]
am
1bf8a210: Merge "audio policy: add fallback for output selection" into lmp-mr1-dev
* commit '
1bf8a21018cc1d95dc3c28b5044aeda327c7b54e':
audio policy: add fallback for output selection
Eric Laurent [Fri, 30 Jan 2015 20:27:43 +0000 (20:27 +0000)]
Merge "audio policy: add fallback for output selection" into lmp-mr1-dev
Eric Laurent [Fri, 30 Jan 2015 19:49:43 +0000 (11:49 -0800)]
audio policy: add fallback for output selection
When getOutputForDevice() finds a matching direct output profile
but fails to open it, try to fallback to downmix on mixer output
when format is PCM and sampling rate allows it.
Bug:
19197137.
Change-Id: I197b9b202504265b6928e69740875cb7aba5c2c5
Eric Laurent [Fri, 30 Jan 2015 19:34:21 +0000 (19:34 +0000)]
am
d99c6855: Merge "audio policy: match attached device to declared devices" into lmp-mr1-dev
* commit '
d99c6855901e4b2625aaad3fc24cff5ecf675fa3':
audio policy: match attached device to declared devices
Eric Laurent [Fri, 30 Jan 2015 16:33:20 +0000 (16:33 +0000)]
Merge "audio policy: match attached device to declared devices" into lmp-mr1-dev
Rachad [Fri, 30 Jan 2015 03:24:08 +0000 (19:24 -0800)]
Acodec: Send framerate information to OMX decoder if available
Bug:
19110889
Change-Id: Ia8dbe1b77aaac421ec9415884e1248b9b68168dc
Eric Laurent [Thu, 29 Jan 2015 21:36:45 +0000 (13:36 -0800)]
audio policy: match attached device to declared devices
Make sure that when a new audio device is connected,
and a specific profile for this device is listed in
audio_policy.conf, this particular profile is used instead
of a default generic profile.
Bug:
19188567.
Change-Id: I5f576fcd697adc041b2cfbd2bac7a51bcc2143b9
Jean-Michel Trivi [Thu, 29 Jan 2015 20:29:40 +0000 (20:29 +0000)]
am
0d84ba3f: Merge "Fix FLAG_BEACON regression" into lmp-mr1-dev
* commit '
0d84ba3fd82038cb721ffae234a99e6751ed7fbe':
Fix FLAG_BEACON regression
Jean-Michel Trivi [Thu, 29 Jan 2015 20:22:58 +0000 (20:22 +0000)]
Merge "Fix FLAG_BEACON regression" into lmp-mr1-dev
Jean-Michel Trivi [Thu, 29 Jan 2015 18:49:39 +0000 (10:49 -0800)]
Fix FLAG_BEACON regression
Fix regression where FLAG_BEACON is not honored anymore in terms
of routing and muting behavior
When converting from AudioAttributes to stream types, also look
at FLAG_BEACON for mapping to STREAM_TTS
Bug
19185342
Change-Id: I5871c1b94480ae3da544aef99ea9ab4dff97443d
Leena Winterrowd [Thu, 29 Jan 2015 07:40:03 +0000 (07:40 +0000)]
am
a93fd2be: stagefright: httplive: Decouple block size from bandwidth estimate
* commit '
a93fd2be99d21629bed504b9b7df035fc2f54562':
stagefright: httplive: Decouple block size from bandwidth estimate
Leena Winterrowd [Thu, 29 Jan 2015 07:40:02 +0000 (07:40 +0000)]
am
9aff25fb: stagefright: httplive: Reduce memcpy calls for chunked content
* commit '
9aff25fb41f516ac26f9d1983a25402909f1e77a':
stagefright: httplive: Reduce memcpy calls for chunked content
Apurupa Pattapu [Thu, 29 Jan 2015 07:40:01 +0000 (07:40 +0000)]
am
79971c74: httplive: Dont resume if we have almost fetched till stop time
* commit '
79971c747e62cad50359286f18dee0c4de5829da':
httplive: Dont resume if we have almost fetched till stop time
Leena Winterrowd [Thu, 29 Jan 2015 07:40:00 +0000 (07:40 +0000)]
am
9dee2e59: stagefright: httplive: Propagate target duration to LiveSession
* commit '
9dee2e592e89e90097cbb3b5065cffa768917b56':
stagefright: httplive: Propagate target duration to LiveSession
Apurupa Pattapu [Thu, 29 Jan 2015 07:39:59 +0000 (07:39 +0000)]
am
2a66207f: httplive: Create a copy of last enqueued metadata
* commit '
2a66207f1136d60857759bccbaa5b7612f7070cf':
httplive: Create a copy of last enqueued metadata
Leena Winterrowd [Thu, 29 Jan 2015 07:39:58 +0000 (07:39 +0000)]
am
17460976: stagefright: httplive: Fix deadlock for low duration clips
* commit '
174609765fb9c8cbd6aeb61f489746c3570bfee2':
stagefright: httplive: Fix deadlock for low duration clips
Leena Winterrowd [Thu, 29 Jan 2015 07:39:58 +0000 (07:39 +0000)]
am
5cf91c50: libstagefright: httplive: Add NULL check for empty playlist
* commit '
5cf91c5067a9c7ed3c138d4e56fb176b28f5dc3a':
libstagefright: httplive: Add NULL check for empty playlist
Lajos Molnar [Thu, 29 Jan 2015 07:39:57 +0000 (07:39 +0000)]
am
f0d68993: Revert "HLS: QCom enhancements"
* commit '
f0d689934e70d3e5b3784265e890377db04c7c1d':
Revert "HLS: QCom enhancements"
Leena Winterrowd [Thu, 4 Dec 2014 22:03:03 +0000 (14:03 -0800)]
stagefright: httplive: Decouple block size from bandwidth estimate
A very small block size in PlaylistFetcher can lead to framework
overhead and difficulty streaming high bitrate content, but since
HTTPBase keeps a constant history of the past 100 HTTP reads, the
block size directly affects bandwidth estimation and in turn,
switching latency.
Add setBandwidthHistorySize() to HTTPBase to allow setting the
history size for bandwidth estimation. Call this within LiveSession
based on the current block size to ensure that the number of bytes
used for estimating bandwidth does not change if the block size is
changed in PlaylistFetcher.
Since a single TCP/IP packet can contain up to 64k of data, increase
the block size in PlaylistFetcher from 2k to lcm(188, 1024) or 47k to
avoid inaccuracies in read timings due to up to a comparable 47 reads
from the same locally-cached packet instead of from the network.
Also make HTTPBase::addBandwidthMeasurement() virtual to allow
bandwidth estimation extensions that do not rely on a history list.
Bug:
18821145
Change-Id: I5f957be01f5346e74cfb7eeb150ca4b397ad5798
Leena Winterrowd [Wed, 5 Nov 2014 05:27:34 +0000 (21:27 -0800)]
stagefright: httplive: Reduce memcpy calls for chunked content
Streams using http chunking will not report the segment's total
content-length. In this case, a 64k buffer is allocated and is
increased by 32k each time the buffer is filled again. For high
bitrate content, this can lead to a large number of copies that
affect the HLS framework delay. Increase fetchFile buffer size
exponentially by 50% or at least 32k instead of by 32k each time
to reduce the number of memcpy calls.
Example for a chunked 6 MB 1080p segment (ie ~3s):
Adding 32k:
190 copies with 572.97 MB copied
Increasing by 50%:
12 copies with 16.09 MB copied
Bug:
18821145
Change-Id: Iedf0e4437e96026a58d50bce2660f85ac90d0ada
Apurupa Pattapu [Tue, 14 Oct 2014 22:05:50 +0000 (15:05 -0700)]
httplive: Dont resume if we have almost fetched till stop time
- Use the last enqueued instead of last dequeued time in
ResumeUntil.
- Set duration in access unit meta as timestamp difference
between the last two queued access units.
Bug:
18821145
Change-Id: If53ddee1d87775905a6d4f11a6219fe66f498450
Leena Winterrowd [Tue, 18 Nov 2014 02:33:12 +0000 (18:33 -0800)]
stagefright: httplive: Propagate target duration to LiveSession
LiveSession's switch-down monitor requires the 'targetDuration'
key to evaluate the switching threshold. Ensure that this key is
set in the access unit metadata.
Bug:
18821145
Change-Id: Ib30f3b4bd8185a77a06abd755822f96644968a21
Apurupa Pattapu [Fri, 5 Dec 2014 00:33:55 +0000 (16:33 -0800)]
httplive: Create a copy of last enqueued metadata
Create duplicate of metadata in queueAccessUnit so that it is
available even after all the buffers are erased from packet source.
During a bandwidth switch httplive streaming Source uses last
enqueued timestamp as the start time for the new streams, and this
switch can occur at a time when all the packets are dequeued from
the current packet source. This is one of the scenarios when the
last enqueued time was showing a invalid timestamp. Creating a
copy will retain the timestamp value until the packet source is
active.
Bug:
18821145
Change-Id: I4d4ee700705cee58773da4660f8769f56018f9e4
Leena Winterrowd [Tue, 18 Nov 2014 01:29:20 +0000 (17:29 -0800)]
stagefright: httplive: Fix deadlock for low duration clips
PlaylistFetcher buffers up to 3 * target-duration bytes of data,
but if a stream is slow (ie due to bad network conditions), a
buffer threshold of 10s is used to resume playback. This results
in an indefinite freeze as PlaylistFetcher has stopped buffering
before this threshold. Reduce the 10s threshold to be more in-sync
with PlaylistFetcher's buffering size.
Bug:
18821145
Change-Id: Ife846e7c5b4f9645895873d08250c4bee0164972
Leena Winterrowd [Tue, 4 Nov 2014 02:56:39 +0000 (18:56 -0800)]
libstagefright: httplive: Add NULL check for empty playlist
If the source playlist is empty, the playlist meta will be NULL.
Check for this case to avoid an invalid dereference. Also flag
playlists without the required EXT-X-TARGETDURATION tag as malformed.
Bug:
18821145
Change-Id: Idf74d890a89bbc6483a6d4060eb092dc7461be24
Lajos Molnar [Thu, 29 Jan 2015 05:38:38 +0000 (21:38 -0800)]
Revert "HLS: QCom enhancements"
This is to restore patch attributions
This reverts commit
f580806d893c4631f5324ff0af5c2db68a40ef42.
Bug:
18821145
Change-Id: Idc49385fffccfde2a3915388fe3fe4e2b740d787
Eric Laurent [Thu, 29 Jan 2015 02:46:48 +0000 (02:46 +0000)]
am
c84bc78d: Merge "Audio policy: fix device gain initialization" into lmp-mr1-dev
* commit '
c84bc78d4244987268cbe621cecdfb72cbd48dc7':
Audio policy: fix device gain initialization
Eric Laurent [Thu, 29 Jan 2015 02:38:26 +0000 (02:38 +0000)]
Merge "Audio policy: fix device gain initialization" into lmp-mr1-dev
Ronghua Wu [Wed, 28 Jan 2015 23:20:26 +0000 (23:20 +0000)]
am
628d4ea1: Merge "stagefright: do not reject SPL5 files outright in SoftMpeg4 decoder" into lmp-mr1-dev
* commit '
628d4ea1622337de273ea0da3f89ab2bf2bb2faf':
stagefright: do not reject SPL5 files outright in SoftMpeg4 decoder
Ronghua Wu [Wed, 28 Jan 2015 23:15:54 +0000 (23:15 +0000)]
Merge "stagefright: do not reject SPL5 files outright in SoftMpeg4 decoder" into lmp-mr1-dev
Ronghua Wu [Wed, 28 Jan 2015 23:04:28 +0000 (15:04 -0800)]
stagefright: do not reject SPL5 files outright in SoftMpeg4 decoder
Bug:
19013118
Change-Id: I58f63ae13559c93ea5e627b658c9919e86769076
Wei Jia [Wed, 28 Jan 2015 03:17:10 +0000 (03:17 +0000)]
am
231406d5: NuPlayerRenderer: return current real time as render time for video frame when paused.
* commit '
231406d597cca1c9c009f870fbb62e46b8475186':
NuPlayerRenderer: return current real time as render time for video frame when paused.
Eric Laurent [Wed, 28 Jan 2015 02:21:09 +0000 (18:21 -0800)]
Audio policy: fix device gain initialization
Fix initilization of default gain configuration for
audio devices loaded from audio_policy.conf.
Initialization cannot be done in constructor as the possible
gain configurations are not loaded yet.
Bug:
19120566.
Change-Id: I78f057ecfa1a121365ac3d8f317912a6f1647627
Wei Jia [Tue, 27 Jan 2015 19:42:42 +0000 (11:42 -0800)]
NuPlayerRenderer: return current real time as render time for video frame when paused.
This allows video to display immediately during seeking in paused state.
Also fix some racing condition.
Bug:
19153026
Change-Id: I0d7a8981ca3c121f5dbc430c2c6d8b7522edc24a
Marco Nelissen [Fri, 23 Jan 2015 19:58:36 +0000 (19:58 +0000)]
am
64c496c8: Merge "Fix MTP delete" into lmp-mr1-dev
* commit '
64c496c8d51c71605cd34a510da2ecd8180656ec':
Fix MTP delete
Marco Nelissen [Fri, 23 Jan 2015 19:54:44 +0000 (19:54 +0000)]
Merge "Fix MTP delete" into lmp-mr1-dev
Robert Shih [Fri, 23 Jan 2015 19:47:11 +0000 (19:47 +0000)]
am
ddc1216d: Merge "MPEG4Extractor: more NULL derefernce fixes in parseChunk" into lmp-mr1-dev
* commit '
ddc1216dcf8f9dc1a1340ed4bc6c6f28f29b1076':
MPEG4Extractor: more NULL derefernce fixes in parseChunk
do not use paused postition if it's not available
Use aligned width and height to compute size.
Marco Nelissen [Fri, 23 Jan 2015 18:55:25 +0000 (10:55 -0800)]
Fix MTP delete
Bug:
18836972
Change-Id: Ia1caa9bfb0f2084af774745b5c01b260ab1f1b20
Robert Shih [Fri, 23 Jan 2015 19:42:13 +0000 (19:42 +0000)]
Merge "MPEG4Extractor: more NULL derefernce fixes in parseChunk" into lmp-mr1-dev
Ronghua Wu [Fri, 23 Jan 2015 17:37:50 +0000 (17:37 +0000)]
am
c0c2366c: Merge "stagefright: do not reject SPL4 files outright in SoftMpeg4 decoder" into lmp-mr1-dev
* commit '
c0c2366c180e06f03cbd1c1a4020bdc26f1002f7':
stagefright: do not reject SPL4 files outright in SoftMpeg4 decoder
Ronghua Wu [Fri, 23 Jan 2015 17:33:51 +0000 (17:33 +0000)]
Merge "stagefright: do not reject SPL4 files outright in SoftMpeg4 decoder" into lmp-mr1-dev
Ronghua Wu [Fri, 23 Jan 2015 13:41:07 +0000 (13:41 +0000)]
am
841d22b0: libstagefright: Use aligned width and height.
* commit '
841d22b0645ff48a03e7f500f95458f3d70a0a61':
libstagefright: Use aligned width and height.
Ronghua Wu [Fri, 23 Jan 2015 00:36:31 +0000 (16:36 -0800)]
libstagefright: Use aligned width and height.
Bug:
19014147
Change-Id: I33314b02448e436c43fcfad086b5edfa650dcf83
Ronghua Wu [Wed, 21 Jan 2015 17:53:53 +0000 (09:53 -0800)]
stagefright: do not reject SPL4 files outright in SoftMpeg4 decoder
Bug:
19014147
Change-Id: Ie90e8fc69e9ac2cb34d6362e67ad289d002a2c14
Robert Shih [Wed, 21 Jan 2015 17:52:08 +0000 (09:52 -0800)]
MPEG4Extractor: more NULL derefernce fixes in parseChunk
Bug:
18771789
Change-Id: Ie0511ed3a885dbf64a7472e8fa74d15b0e87778d
Yin-Chia Yeh [Tue, 20 Jan 2015 22:14:02 +0000 (22:14 +0000)]
am
0c4e56d0: Camera: make sure jpeg buffer size isn\'t too small
* commit '
0c4e56d0baaa19fcf17234b38d634b7281e2ae37':
Camera: make sure jpeg buffer size isn't too small
Yin-Chia Yeh [Fri, 9 Jan 2015 23:21:27 +0000 (15:21 -0800)]
Camera: make sure jpeg buffer size isn't too small
Assuming the jpeg header can take up to 256KB, make sure we always
allocate enough size for the image data.
Bug:
18962703
Change-Id: I08eb3d198d12f71f3ab7266324e80fe7410bdc89