3628 Commits

Author SHA1 Message Date
Andreas Huber
d916339e2f Revert "Make AwesomePlayer's reset process more verbose to track down ANRs (again)"
This reverts commit aac2e9e1566a3bb0ef811ebd3a56b538324c95c1.

Change-Id: Ic84dfa829981fdc1a1330ccfe6b9dccf64a80719
related-to-bug: 3392386
2011-01-28 10:30:56 -08:00
Andreas Huber
a2edd7d8d1 More robust parsing of NPT time ranges in RTSP.
Change-Id: I3674501d2fd66aaface805c0a8678c74671a6dd3
related-to-bug: 3217210
2011-01-28 09:36:38 -08:00
Jean-Michel Trivi
834662d422 Fix bug 3395289 Use MODE_IN_COMMUNICATION to evaluate stream vol changes
When the user is in a phone or VoIP call, the volume keys should
 control the STREAM_VOICE_CALL volume. Before MODE_IN_COMMUNICATION
 was introduced to cover VoIP use cases, having an active VoIP call
 was determined by checking whether there was any track used the
 output stream STREAM_VOICE_CALL, which can give false positives.
This CL checks instead against the audio mode to see if
 MODE_IN_COMMUNICATION is selected to determine if a VoIP call
 is in progress.

This implies that applications that play on STREAM_VOICE_CALL
 shouldn't rely on that fact alone to expect the volume keys
 to control the STREAM_VOICE_CALL volume, and should instead,
 rely on the official mechanism for that:
   android.app.Activity.setVolumeControlStream(int)

Change-Id: Ia487951ea1684477aa3d522c9031fad484d8a40d
2011-01-27 17:54:13 -08:00
Santosh Madhava
270cbcc16a Merge "Fix for issue 3370007 Overlay transparency in Java" into honeycomb 2011-01-27 16:00:15 -08:00
Santosh Madhava
73f376cf64 Fix for issue 3370007 Overlay transparency in Java
Change-Id: I68be6f56ad58672a771485a028fc0cd8a0514e8a
2011-01-27 14:03:34 -08:00
Basavapatna Dattaguru
64a2c359ae Merge "Fix Issue: 3373525: reduces app. 100mS in create" into honeycomb 2011-01-27 13:54:52 -08:00
Basavapatna Dattaguru
737bd08db0 Fix Issue: 3373525: reduces app. 100mS in create
Updated by removing code duplication

Updated with review comments

Change-Id: I57a596ed09d4d543964059e18a86e143108305ec
2011-01-27 12:24:19 -08:00
Gil Dobjanschi
eea200a96a Bug fix: 3398192 NPE at android.media.videoeditor.VideoEditorImpl.clearSurface
Change-Id: Ib7cb994e995d934cf896b856da462c9240fcb5f0
2011-01-27 09:51:46 -08:00
Basavapatna Dattaguru
89378fd166 Merge "Revert "Video editor CTS: Framework modifications"" into honeycomb 2011-01-26 22:50:59 -08:00
Basavapatna Dattaguru
3b728ca70a Merge "Revert "Fixes Issue ID: 3396697"" into honeycomb 2011-01-26 22:50:50 -08:00
Basavapatna Dattaguru
d36b1f0739 Revert "Video editor CTS: Framework modifications"
This reverts commit eb6d6ecf4ba7a3965ce6ab178dce48eb9416bfc7.
2011-01-26 22:38:47 -08:00
Basavapatna Dattaguru
4b9969af57 Revert "Fixes Issue ID: 3396697"
This reverts commit 8b9ba616444a265df6cd2b4f4a0a39d808c65ade.
2011-01-26 22:36:10 -08:00
Basavapatna Dattaguru
9af5da5258 Merge "Video editor CTS: Framework modifications" into honeycomb 2011-01-26 21:48:02 -08:00
Basavapatna Dattaguru
643e8476e1 Merge "Fixes Issue ID: 3396697" into honeycomb 2011-01-26 21:47:40 -08:00
Basavapatna Dattaguru
eb6d6ecf4b Video editor CTS: Framework modifications
Fixes Issue ID: 3396697

Copyright changed to 2011

Change-Id: I1b69c6903bb6b0434eb93337783f93c92fd20899
2011-01-26 20:58:56 -08:00
Basavapatna Dattaguru
8b9ba61644 Fixes Issue ID: 3396697
Updated with annotation LargeTest

Copyright changed to 2011

Review reworked and with new test contents

Video Editor CTS Test code

Change-Id: Ia37956ef39fafcc5d969996c1791fce8663aa0fe
2011-01-26 20:31:11 -08:00
James Dong
20586a128c Eliminate duplicated code in export method
bug - 3385135

Change-Id: I26b8113b457bf08bf8a89cef25cf45cdba79c08d
2011-01-26 20:15:49 -08:00
Andreas Huber
63b38e31aa Merge "This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes." into honeycomb 2011-01-26 15:50:04 -08:00
Andreas Huber
0f535afd7e This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes.
And now we're just ignoring them. Yay standards.

Change-Id: I76529ad8d585f143d6f99621ff671d179caf7b35
related-to-bug: 3353752
2011-01-26 15:40:56 -08:00
Mike Lockwood
a13732e17a Merge "MTP: Fix month off by one error in date parsing and formatting code" into honeycomb 2011-01-26 15:30:07 -08:00
Mike Lockwood
2107d23fc9 MTP: Fix month off by one error in date parsing and formatting code
BUG: 3379100

Change-Id: Ib386f0def9d611529ce0528b8159cef48df9cd85
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-26 15:11:48 -08:00
James Dong
7fb232c40c Merge "Make sure that key frame is generated for timelapse video recording if there are at least two input video frames from camera source." into honeycomb 2011-01-26 14:43:59 -08:00
Dharmaray Kundargi
45e3d123bc Merge "Overlay java files Issue 3370836" into honeycomb 2011-01-26 12:46:23 -08:00
Dharmaray Kundargi
ecebf173de Merge "Fix for Issue 3370836 : JNI files for Overlay optmization." into honeycomb 2011-01-26 12:46:20 -08:00
James Dong
5f3ab06e90 Make sure that key frame is generated for timelapse video recording if there are at least two input video frames from camera source.
This will fix the stop failure issue where we have to wait n * time_interval before a key frame can be received by the file writer, where
 o n is the actual number of buffers advertised by the video encoder
 o time_interval is the interval settings for timelapse video recording
   specifying the time distance between neighboring input video frames

The fix includes two parts:
o OMXCodec will not submit all n buffers at one time, but instead submit one input
  frame at one time if it become available.

o Timelapse camera source made available the first two input frames and do not skip
  them so that the first compressed output frame data can be received regardless
  the specified time_interval

bug - 3367659

Change-Id: Ia68cc2cb0d71aa7dc54540e9ad82fae911ad530b
2011-01-26 12:11:22 -08:00
Andreas Huber
373d357a8b Merge "More instrumentation to track down the hardware decoder not shutting down bug." into honeycomb 2011-01-26 12:08:09 -08:00
Andreas Huber
06be3b14c9 More instrumentation to track down the hardware decoder not shutting down bug.
Change-Id: I3f31b6fdf5c90b436567bbce578dcbc4666ed7c2
related-to-bug: 3362836
2011-01-26 12:04:06 -08:00
Andreas Huber
00d6c725ec Ignore errors returned from native_window_set_crop.
If the surface is already invalid, we'll know soon enough.

Change-Id: If360ffb8293817afb47df8c1a75722aea74bb335
related-to-bug: 3394601
2011-01-26 12:02:35 -08:00
Dharmaray Kundargi
9c077e44c0 Overlay java files Issue 3370836
Change-Id: If062ad12dc2f5faf58936436527234ce80dffad9
2011-01-26 11:35:29 -08:00
Andreas Huber
7765c65dbe Merge "Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls." into honeycomb 2011-01-26 11:24:13 -08:00
Andreas Huber
4aeec2da39 Instead of not feeding the AudioTrack any data after EOS, play silence instead.
Change-Id: I9aa797cf5bb58eefed51d732f4e5d09450551158
related-to-bug: 3347428
2011-01-26 10:41:38 -08:00
Andreas Huber
231640950e Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls.
Change-Id: Id53e7831761619f72ddc61f63571230011c93f16
related-to-bug: 3362836
2011-01-26 10:14:38 -08:00
Dharmaray Kundargi
c16ccc1c5a Fix for Issue 3370836 : JNI files for Overlay optmization.
Change-Id: I3d7a0248bfd75bbd7c23321e22c3c331eb33ddd2
2011-01-26 00:27:58 -08:00
Santosh Madhava
4991a00b28 Merge "Review rework for issue 3385068 : Play gets out of sync" into honeycomb 2011-01-25 22:44:07 -08:00
Santosh Madhava
1abe0050fa Fix for issue 3366265 : Native crash exporting movie
Change-Id: I04195198031eeb7d34d4249b49a1092321a2eb0a
2011-01-25 20:41:55 -08:00
Dheeraj Sharma
2aaa776429 Merge "VideoEditor:Fix for 3369908" into honeycomb 2011-01-25 20:34:15 -08:00
Santosh Madhava
de412d277c Review rework for issue 3385068 : Play gets out of sync
Change-Id: I7f7435bd898a72302500cdc15874e469922cbebe
2011-01-25 20:22:41 -08:00
Mike Lockwood
f10d940413 Merge "StagefrightMediaScanner: Close metadata retriever after we are done scanning" into honeycomb 2011-01-25 15:46:25 -08:00
Mike Lockwood
2b3da7ab61 Merge "MTP: Fix race conditions in MtpServer JNI code" into honeycomb 2011-01-25 15:44:28 -08:00
James Dong
d7ef5b6feb Report errors to applications if AudioRecord->start() fails
bug - 3385198

Change-Id: I86ac8071eb28a538b333e102192193d1b9eda5eb
2011-01-25 15:30:34 -08:00
Mike Lockwood
8151dc3229 StagefrightMediaScanner: Close metadata retriever after we are done scanning
This prevents the mediaserver from leaking a file descriptor after
the media scanner runs

BUG: 3373546

Change-Id: I82a8bae82306de3da56a5c7da5b03ecf106a4efc
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-25 15:20:04 -08:00
Mike Lockwood
071b2b6739 MTP: Fix race conditions in MtpServer JNI code
Make sure previous MtpThread has exited before starting another to avoid
EBUSY opening MTP kernel driver.

BUG: 3317803

Change-Id: I81dcbac42bcf5f680ed1b1469839bc0b0e49d53d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-25 15:10:31 -08:00
Santosh Madhava
1c9ac91634 Merge "Fix for issue 3385068 : Play gets out of sync" into honeycomb 2011-01-25 14:46:15 -08:00
Jaikumar Ganesh
5cbb162262 Merge "Rename virtual call API to ScoUsingVirtualCall." into honeycomb 2011-01-25 13:56:02 -08:00
Jaikumar Ganesh
dde68c64fd Rename virtual call API to ScoUsingVirtualCall.
This API makes more sense with regard to headset profile.
Bug: 3381532

Change-Id: Ife07d101a3b04bcddb31e7ae86712e1d97a660c5
2011-01-25 13:49:35 -08:00
Santosh Madhava
a6714ce2bb Fix for issue 3385068 : Play gets out of sync
Change-Id: Iaf5e2f246b9cbfc5c8093d34ed085fe255ae500b
2011-01-25 13:15:43 -08:00
Dheeraj Sharma
b894210882 Merge "Video Editor:Fix for 3375632" into honeycomb 2011-01-25 12:50:34 -08:00
Dheeraj Sharma
1ac760afab Issue no : 3370622
VideoEditor: Fix for Clear Surface API

Change-Id: I8d4ad90dd2a0d37bd5363c36582a16f08b161bee
2011-01-24 22:52:40 -08:00
Santosh Madhava
9c0bd864a3 Merge "Review rework on Patch Set 2 for issue 3372849" into honeycomb 2011-01-24 22:33:44 -08:00
Santosh Madhava
6bcbb3bd09 Review rework on Patch Set 2 for issue 3372849
Change-Id: I3c077f3318e44035e8ea6eb160d0024e77aaa710
2011-01-24 22:10:19 -08:00