Andreas Huber
ba1b16790a
Turn another assertion into a runtime error. Damn you surfaces.
...
Change-Id: Ib62957180949293a6fb84bb5a40af058798337ab
related-to-bug: 3335220
2011-01-19 09:20:58 -08:00
James Dong
5fb60c7af2
Use metadata in video buffers for timelapse video recording by default to eliminate memcpy
...
bug - 3361771
Change-Id: Ib37ffe4be8edc8708baa76b3507b6f11372536d9
2011-01-18 21:33:58 -08:00
Mike Lockwood
2bc6971dd8
Merge changes I7df1ff78,Ibc2e8adf into honeycomb
...
* changes:
MediaScanner: Make sure name field is set for file based playlists
MTP: Fix problem with MTP starting up on the first try.
2011-01-18 20:30:13 -08:00
Mike Lockwood
242d0cdc1a
MediaScanner: Make sure name field is set for file based playlists
...
Change-Id: I7df1ff783d815d6021ec2432467ba56cb3f3ad1b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-18 20:29:08 -08:00
Mike Lockwood
a1c9180461
MTP: Fix problem with MTP starting up on the first try.
...
BUG: 3361230
Change-Id: Ibc2e8adf24a14ea18385b306e786a77983ff8f5b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-18 20:11:29 -08:00
Andreas Huber
3956050721
Merge "Apparently our native TCP sockets do not return an error from blocking "connect"" into honeycomb
2011-01-18 15:35:35 -08:00
Andreas Huber
eee580a495
Apparently our native TCP sockets do not return an error from blocking "connect"
...
if the network interface is shutdown while connecting.
Change-Id: I1bd7e43475edf20f35e15dd4eae547126289f5f0
related-to-bug: 3362836
2011-01-18 15:26:40 -08:00
James Dong
183fa14b47
Fix the sluggish preview during timelapse video recording because software encoder is used.
...
bug - 3361771
Change-Id: Ic5344e9eabe7f1b82910b65b4260e4ad8dc51c32
2011-01-18 14:28:37 -08:00
Eric Laurent
74ff70d2f2
Merge "Fix typo" into honeycomb
2011-01-18 14:25:17 -08:00
Glenn Kasten
ed6eae420f
Fix typo
...
Change-Id: I73e7c5cf13c5ed82398006af61308665eb1d3ad0
2011-01-18 14:13:28 -08:00
Mike Lockwood
5f31aa30cd
Merge "MTP: Set modification date for abstract playlists" into honeycomb
2011-01-18 13:29:55 -08:00
Mike Lockwood
8ed67acf38
MTP: Set modification date for abstract playlists
...
BUG: 3224269
Change-Id: I96ae8e6d2f7e28860e9217ceb911331b333e1391
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-18 13:27:25 -08:00
James Dong
0a3dbf6f69
Merge "Fix the build break in git_master-without-vendor" into honeycomb
2011-01-18 13:26:14 -08:00
Mike Lockwood
26c1ab2e58
Merge "MTP: Strip ".pla" file extension from name field for WMP playlists" into honeycomb
2011-01-18 13:14:58 -08:00
Mike Lockwood
8cc6eb1e4c
MTP: Strip ".pla" file extension from name field for WMP playlists
...
BUG: 3309324
Change-Id: Ia136f94406496f971819f4f805f742f2a6829007
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-18 13:13:05 -08:00
Dharmaray Kundargi
a1a55bbe94
Fix the build break in git_master-without-vendor
...
Change-Id: I8fff5ee69958212a80711e0d86fb86514c8797f4
2011-01-18 12:40:56 -08:00
Andreas Huber
529fc53d3f
Merge "Implement parsing of vbv buffering info in RTSP." into honeycomb
2011-01-18 11:52:02 -08:00
Bryan Mawhinney
3a4d547c58
Merge "Don't report 100% buffered when the stream ends prematurely." into honeycomb
2011-01-18 11:30:30 -08:00
Andreas Huber
77034e6393
Implement parsing of vbv buffering info in RTSP.
...
Change-Id: I7d871cafda2c4c65670a40ad9ab4f24317f8568a
related-to-bug: 3351915
2011-01-18 11:19:13 -08:00
Bryan Mawhinney
e26275bdac
Don't report 100% buffered when the stream ends prematurely.
...
Change-Id: Ia4e80d02f28104427a3309e3d5b155faa5702757
2011-01-18 19:12:21 +00:00
Mike Lockwood
7a0bd17bce
MTP: Fix problems with modification dates for folders and non-media files
...
Also removed an unnecessary parameter to MtpDatabase.endSendobject()
BUG: 3352142
Change-Id: I6fd812dcba4814956bc8bc1cbd6bd5c868197790
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-18 11:07:11 -08:00
Dharmaray Kundargi
9ed99405ae
Merge "Video editor API update - rework for Patch Set 3" into honeycomb
2011-01-17 10:52:29 -08:00
Dharmaray Kundargi
307003a844
Merge "integrate videoeditor preview player." into honeycomb
2011-01-17 10:52:23 -08:00
Dharmaray Kundargi
4e4f3d1df4
Merge "videoeditor JNI files on honeycomb" into honeycomb
2011-01-17 10:52:13 -08:00
Eric Laurent
117b7bb5b5
Fix issue 3354692.
...
The problem is that SoundPool never calls the onLoadComplete() callback
when load() method fails because the file cannot be opened.
AudioService loadSoundEffects() was blocked waiting for a callback
that never came.
In this particular case, this happened on a specific build where sound
effects assets were not included.
The fix consists in waiting for the callback only if at least one sample is
accepted by SoundPool load().
Also moved the initial loading of sound effect samples from the boot completed
broadcast receiver to the audio service message handler to avoid waiting in the
main system server thread.
Change-Id: I902e5988f8b644a81d8e585c52eed1df4ca0ec05
2011-01-17 10:36:12 -08:00
Dharmaray Kundargi
cd196d3727
videoeditor JNI files on honeycomb
...
Change-Id: I2e6a23ae918fda4fb1bc4c2c938efd546991b58c
2011-01-16 19:19:07 -08:00
Santosh Madhava
9bcedf7cf3
Video editor API update - rework for Patch Set 3
...
Change-Id: I75bfa17fe98bec13f672ff9a4edf623bb85020c8
2011-01-16 16:56:12 -08:00
Dharmaray Kundargi
3b3cddccc1
integrate videoeditor preview player.
...
Change-Id: I83084f494605c8e6f4d198afa8c36f9e29579667
2011-01-16 16:43:20 -08:00
James Dong
ac0e4bdf05
Fixed thrashing in the cached buffer during 720p YT video streaming
...
bug - 3340194
Change-Id: Ic59bb18ab1731d7dd7cae7cc8aeb393900bce7f6
2011-01-14 15:15:12 -08:00
James Dong
c14b10c306
Merge "Add audio encoding parameters check" into honeycomb
2011-01-13 10:21:28 -08:00
Marco Nelissen
f679ba7d94
Cherrypick from GB. Do Not Merge.
...
Send "compilation" tag when inserting into the database.
It's not actually inserted into the database, but the media provider uses it
for disambiguating albums.
b/3311831
Change-Id: I67deb044800a6cb626c69bf3d54d51df4bf830f2
2011-01-13 07:17:20 -08:00
James Dong
54815a78af
Add audio encoding parameters check
...
bug - 3345296
Change-Id: If3f33955f5473b0c5ad9c9b85f8b5cb21ddd7e65
2011-01-12 20:45:16 -08:00
James Dong
4507cef05e
Remove legacy code that should not be used
...
Change-Id: I9209e3a32b64a30627848d2a425f32ed6b73e8a2
2011-01-12 16:38:45 -08:00
Marco Nelissen
a8a656b0c5
Fix scanning of modified files.
...
When a media file, particularly a music file, is updated, the media
scanner should use the correct Uri to update it, and not the generic
files Uri. Otherwise, things like artist and album name will not
be properly updated.
Change-Id: I576629c51282bfbeb61c23f1e43b072700084a6c
2011-01-12 14:46:49 -08:00
Andreas Huber
7928ca6f87
Merge "Fail to parse duration instead of asserting, if the server response cannot be parsed." into honeycomb
2011-01-12 14:33:51 -08:00
James Dong
068b41d5d4
Merge "Publish MediaMetadataRetriever.java as public API" into honeycomb
2011-01-12 14:31:34 -08:00
Mike Lockwood
0dd9f4de3e
MediaScanner: Do not update the file path when updating records already in the database
...
The path should never change (media scanner treats renames as a delete and an insert)
and we want to preserve the mixed case paths in the database to avoid exposing the
lowercase squashing to MTP.
Change-Id: I79ef37e143c607242d438a4a0643d40191965b6a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-12 17:27:37 -05:00
Mike Lockwood
a29464335a
Merge "Media Provider and MTP now use emulated /mnt/sdcard instead of /data/media" into honeycomb
2011-01-12 14:25:13 -08:00
James Dong
11eab056dd
Publish MediaMetadataRetriever.java as public API
...
o Removed setMode() methods and related mode constants
o Removed some of the unused the metadata keys
o Updated the javadoc
o part of a multi-project change.
bug - 2433195
Change-Id: I5ed167f1fd6a53cb143b7dc385b149431d434438
2011-01-12 14:14:11 -08:00
James Dong
cb0f6d0b42
Merge "Speed up MP3Extractor using cached reads" into honeycomb
2011-01-12 11:54:32 -08:00
Andreas Huber
4bca5e19d5
Fail to parse duration instead of asserting, if the server response cannot be parsed.
...
Change-Id: I42324468edca5ccce29486059091da8e64f36326
related-to-bug: 3338518
2011-01-12 10:31:04 -08:00
James Dong
31d8a03e44
Speed up MP3Extractor using cached reads
...
Change-Id: I53a5ed76bc2f76f0c184f3800b5448f677117ae3
2011-01-12 09:49:15 -08:00
Mike Lockwood
1c4e88d0b0
Media Provider and MTP now use emulated /mnt/sdcard instead of /data/media
...
This rips out some complicated code that was added since gingerbread
that is no longer necessary.
Change-Id: Iab5ecb7314c06221475ce01ef483f34f17003b06
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-12 12:48:13 -05:00
Glenn Kasten
4e26bc686b
Fix race in buffer ref counting.
...
Change-Id: Id47c30469c3e3ec293ed2ef574a191275b5044d6
2011-01-12 09:22:07 -08:00
Andreas Huber
0827e697a9
Merge "Increase cache size and low-watermark threshold, also" into honeycomb
2011-01-11 15:20:39 -08:00
Andreas Huber
7f92be88e0
Merge "Properly parse Matroska lacing flags and extract all frames contained in a block." into honeycomb
2011-01-11 15:16:04 -08:00
Andreas Huber
52c7832e35
Increase cache size and low-watermark threshold, also
...
MediaPlayer now sends out MEDIA_INFO,MEDIA_INFO_VIDEO_TRACK_LAGGING messages
to the JAVA client informing it how much (if at all) the video lags behind
audio (arg2 is the media delay in ms).
Change-Id: I6933f573d8597a35112e4b5ee0fcb826a7f6ddd1
related-to-bug: 3335220
2011-01-11 15:05:28 -08:00
Andreas Huber
6fe6b4c6f3
Properly parse Matroska lacing flags and extract all frames contained in a block.
...
Change-Id: I1aca46b2e28b9cad88bf4a296f675e81e66ee095
related-to-bug: 3331623
2011-01-11 13:05:36 -08:00
James Dong
530069031e
Merge "Fix uninitialized rect structure for retrieving rect cropping information from decoder" into honeycomb
2011-01-11 11:23:47 -08:00
James Dong
545c22ffd2
Don't release the video recording frame after recording is stopped in CameraSourceTimeLapse.cpp
...
bug - 3334999
Change-Id: I1c83080713696221048da9b1a9f8c2ee48849ade
2011-01-10 20:43:33 -08:00