summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Improve container detection testing by testing additional containers (new ↵jrummell@chromium.org2013-05-302-11/+66
| | | | | | | | | | containers added https://codereview.chromium.org/16034004/). Also put back original reference URLs in source. BUG=235108 Review URL: https://chromiumcodereview.appspot.com/15966005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203019 0039d316-1c4b-4281-b951-d872f2087c98
* Update VideoFrameStreamTest to use FakeDemuxerStream and FakeVideoDecoder.xhwang@chromium.org2013-05-291-162/+240
| | | | | | | | | | BUG=141788 TEST=Updated media_unittests. R=scherkus@chromium.org Review URL: https://codereview.chromium.org/15660002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202971 0039d316-1c4b-4281-b951-d872f2087c98
* Adding additional containers in the media test directory (all generated from ↵xhwang@chromium.org2013-05-2916-0/+16
| | | | | | | | | | | | | bear.ogv using avconv). BUG=235108 TBR=xhwang@chromium.org Review URL: https://codereview.chromium.org/16034004 Patch from John Rummell <jrummell@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202950 0039d316-1c4b-4281-b951-d872f2087c98
* add error handling if MediaCodec fails to decode dataqinmin@chromium.org2013-05-294-12/+36
| | | | | | | | | | | If MediaCodec fails, we need to report the error to WMPA. BUG=233420 R=acolwell@chromium.org Review URL: https://codereview.chromium.org/15822006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202868 0039d316-1c4b-4281-b951-d872f2087c98
* Add FakeVideoDecoder.xhwang@chromium.org2013-05-299-31/+1060
| | | | | | | | | | | | | | | | The FakeVideoDecoder simulates a typical video decoder that could have some decoding delays (to simulate out-of-order decoding). Since it's fake, it does not care about what the input is. It always generate output frames successfully but with a frame delay (specified in the ctor). All callbacks passed to FakeVideoDecoder can be held if desired. This gives the test class a chance to do some operation during pending callbacks. BUG=141788 Review URL: https://chromiumcodereview.appspot.com/15085011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202789 0039d316-1c4b-4281-b951-d872f2087c98
* Fix audio capture buffer handling on Android.wjia@chromium.org2013-05-281-10/+10
| | | | | | | | | | | | | | | | | | | | The buffer handling in OpenSL is: 1. enqueue the buffers; 2. wait for a callback; 3. inside the callback, read out the PCM data of current buffer and enqueue one buffer (it's the same buffer in this case). 4. go to step 2. Current implementation has several problems: a. When buffer #1 (not buffer #0) is read first time, it doesn't have PCM data recorded by the device. b. There are 2 buffer worth of time delay. c. There are racing condtion since both OpenSL and AudioInputController hold the same buffer. BUG=243506 R=xians@chromium.org Review URL: https://codereview.chromium.org/15941002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202581 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes crash in AudioInputVolumeTest.InputVolumeTest.henrika@chromium.org2013-05-281-1/+4
| | | | | | | | | | | | | | | | | | | | | My CL https://codereview.chromium.org/15563004 broke this test. http://build.chromium.org/p/chromium.memory.fyi/ Failure notification for "memory test: media" on "Chromium Mac (valgrind)(1)". Please see if the failures are related to your commit and take appropriate actions (e.g. revert, update suppressions, notify sheriff, etc.). http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20Mac%20%28valgrind%29%281%29/builds/20942 Revision: 202536, 202537, 202538, 202540, 202541, 202542 Blame list: eseidel@chromium.org,glider@chromium.org,henrika@chromium.org,kinuko@chromium.org,mtomasz@chromium.org,tzik@chromium.org BUG=see details above TEST=media_unittests --gtest_filter=AudioInputVolumeTest.InputVolumeTest* in Debug mode on device with audio hardware R=xians@chromium.org Review URL: https://codereview.chromium.org/15688007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202557 0039d316-1c4b-4281-b951-d872f2087c98
* Improved AGC update scheme for the audio backend in Chrome.henrika@chromium.org2013-05-2814-167/+248
| | | | | | | | | | | | | | | This CL serves two purposes: 1) Improve the existing "mic-volume-checking"-scheme by ensuring that we no longer calls native audio functions from the core capture thread. 2) Prepare for adding AGC to the live-audio backend. TBR=tommi@chromium.org BUG=none TEST=WebRTC loopback tests in Chrome where I monitor the microphone volume while speaking into the mic. Review URL: https://codereview.chromium.org/15563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202538 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove ScopedGenericObj usage in media/.thestig@chromium.org2013-05-281-7/+5
| | | | | | Review URL: https://chromiumcodereview.appspot.com/15659006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202497 0039d316-1c4b-4281-b951-d872f2087c98
* Using native sampling rate and optimal buffer size for audio on Android.leozwang@chromium.org2013-05-273-17/+110
| | | | | | | | | | | We want to use native sampling rate and optimial buffer size which is returned by framework on Android to achieve high audio quality. BUG=https://code.google.com/p/webrtc/issues/detail?id=1669 Review URL: https://chromiumcodereview.appspot.com/15217002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202464 0039d316-1c4b-4281-b951-d872f2087c98
* Add Create() function to AudioCodecBridge and VideoCodecBridge to allow ↵qinmin@chromium.org2013-05-267-61/+83
| | | | | | | | | | | | return of null pointers If codec is not supported, we should allow null pointers to be returned when trying to create a MediaCodecBridge. BUG=233420 Review URL: https://chromiumcodereview.appspot.com/14932020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202323 0039d316-1c4b-4281-b951-d872f2087c98
* Add UMA stats for audio/video containers.jrummell@chromium.org2013-05-258-0/+1972
| | | | | | | | BUG=238108 Review URL: https://chromiumcodereview.appspot.com/14495010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202275 0039d316-1c4b-4281-b951-d872f2087c98
* Remove bad SSE2 intrinsic include.dalecurtis@google.com2013-05-251-1/+0
| | | | | | | | | | BUG=none TEST=compiles TBR=fischman Review URL: https://codereview.chromium.org/15831006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202241 0039d316-1c4b-4281-b951-d872f2087c98
* Add dummy .c file to media_asm target.dalecurtis@google.com2013-05-252-0/+16
| | | | | | | | | | | | Fixes xcode from complaining about an "empty" assembly only target. BUG=157073 TEST=compiles TBR=fischman Review URL: https://codereview.chromium.org/15724007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202239 0039d316-1c4b-4281-b951-d872f2087c98
* Allow sample rate pass through on Linux.dalecurtis@google.com2013-05-242-4/+8
| | | | | | | | | | | | | | | | | | | | | Requiring the native output sample rate to avoid glitching appears to have just been an issue with a poor tlength choice. xians and I resolved this prior to turning PulseAudio on by default, but left the native sample rate requirement in at the time. Since "native sample rate" can change on the fly with PulseAudio our approach of specifying FIX_RATE was incorrect. Allowing Pulse to handle resampling lets us remove the FIX_RATE flag. It also improves CPU usage in cases where Pulse can configure the output device to match the requested sample rate. BUG=229918 TEST=extensive manual checks for glitching. R=xians@chromium.org Review URL: https://codereview.chromium.org/15957002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202233 0039d316-1c4b-4281-b951-d872f2087c98
* Streamline SIMD targets in media.gypdalecurtis@google.com2013-05-2420-575/+615
| | | | | | | | | | | | | | | | | | | | | Prevents duplicates of the media_sse and yuv_convert targets from ending up in both media and media_unittests during shared builds. - Removes the yuv_convert target since everyone who uses it already uses media. - Merges differ_block_sse2 and yuv_convert_simd_x86 into media_sse2. - Moves assembly into media_asm. - Moves incorrect mmx bundling from sse2 to new media_mmx target. - Introduces EXPORT macro to x86inc.asm - Introduces yasm_includes for non-.asm files in yasm_compile.gypi. - Fixes missing const on yuv constants table. BUG=none TEST=compiles, all unittests pass. TBR=fischman@chromium.org, kbr@chromium.org, sergeyu@chromium.org Review URL: https://codereview.chromium.org/15151002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202230 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unit8_t from WebMediaPlayer implementations.xhwang@chromium.org2013-05-242-3/+3
| | | | | | | | | | | | This is the chromium side change of https://codereview.chromium.org/15857006. BUG=243347 TEST=Everything still compiles. R=acolwell@chromium.org Review URL: https://codereview.chromium.org/15784006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202219 0039d316-1c4b-4281-b951-d872f2087c98
* Enable seek in fullscreen mode for MSE impl on androidqinmin@chromium.org2013-05-245-52/+140
| | | | | | | | | | | | | | | | | | | | | | | | Since the actual MediaCodec instances live in browser process, we need to inform the chunk demuxer when a seek happens. To avoid race conditions, all the operations related to seek needs to be performed on the browser thread, instead of MediaDecoderJobs' own threads. Here is the work flow of the fullscreen seek event: 1. User hit the seek bar. 2. MediaSourcePlayer waits for all the decoder tasks to finish on the browser thread. 3. MediaSourcePlayer sends MediaSeekRequest to render process. 4. Render process gets the MediaSeekRequest, sends back the ack, and ask chunk demuxer to do a seek 5. MediaSourcePlayer gets the MediaSeekRequestAck, and starts sending IPC for getting more data For embedded video case, the workflow is: 1. user hit the seek bar 2. WebMediaPlayerAndroid sends a SeekTo message to MediaSourcePlayer. 3. MediaSourcePlayer waits for all the decoder tasks to finish, and then follows step 3-5 as shown in the fullscreen case. This change also allows toggling from embedded mode to fullscreen mode. When that happens, we first wait for the current decoding tasks to finish. Then perform a seek and reestablish the surface. BUG=233420 Review URL: https://chromiumcodereview.appspot.com/15499006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202098 0039d316-1c4b-4281-b951-d872f2087c98
* Fix various MediaSource related crashes on Android.acolwell@chromium.org2013-05-242-5/+8
| | | | | | | | | | | | | | | | | | | | This change fixes several issues that were causing crashes. - MediaPlayerHostMsg_DemuxerReady_Params was not initializing the xxx_codec member variables so audio-only or video-only content would randomly be flagged as A/V content with a random codec ID. - ChunkDemuxer::Stop() was not being called which could cause the delegate to be accessed after it was destroyed. - MediaSourceDelegate was signalling that it had metadata before the ChunkDemuxer was even initialized. This caused the HTMLMediaElement to signal that the load completed way too early and caused play() to be called when the delegate wasn't ready. BUG=233420 TEST=webkitmediasource-play.html LayoutTest reliably runs w/o crashing now. Review URL: https://chromiumcodereview.appspot.com/15898002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202019 0039d316-1c4b-4281-b951-d872f2087c98
* Roll FFmpeg for bug fixes.dalecurtis@google.com2013-05-241-1/+3
| | | | | | | | | | | | Adds a new test case for the bug. BUG=242786 TEST=ffmpeg_regression_tests TBR=acolwell Review URL: https://codereview.chromium.org/15844005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201958 0039d316-1c4b-4281-b951-d872f2087c98
* Keep original orientation of capture frames on Android.wjia@chromium.org2013-05-231-2/+2
| | | | | | | | | | This will be consistent with video capture on desktop platforms. R=qinmin@chromium.org Review URL: https://codereview.chromium.org/15900002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201833 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201791 "Fix various MediaSource related crashes on Android."thestig@chromium.org2013-05-232-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | > Fix various MediaSource related crashes on Android. > > This change fixes several issues that were causing crashes. > - MediaPlayerHostMsg_DemuxerReady_Params was not initializing the xxx_codec > member variables so audio-only or video-only content would randomly be > flagged as A/V content with a random codec ID. > - ChunkDemuxer::Stop() was not being called which could cause the delegate > to be accessed after it was destroyed. > - MediaSourceDelegate was signalling that it had metadata before the > ChunkDemuxer was even initialized. This caused the HTMLMediaElement to > signal that the load completed way too early and caused play() to be > called when the delegate wasn't ready. > > BUG=233420 > TEST=webkitmediasource-play.html LayoutTest reliably runs w/o crashing now. > > Review URL: https://chromiumcodereview.appspot.com/15754004 TBR=acolwell@chromium.org Review URL: https://codereview.chromium.org/15838006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201797 0039d316-1c4b-4281-b951-d872f2087c98
* Fix various MediaSource related crashes on Android.acolwell@chromium.org2013-05-232-5/+8
| | | | | | | | | | | | | | | | | | | | This change fixes several issues that were causing crashes. - MediaPlayerHostMsg_DemuxerReady_Params was not initializing the xxx_codec member variables so audio-only or video-only content would randomly be flagged as A/V content with a random codec ID. - ChunkDemuxer::Stop() was not being called which could cause the delegate to be accessed after it was destroyed. - MediaSourceDelegate was signalling that it had metadata before the ChunkDemuxer was even initialized. This caused the HTMLMediaElement to signal that the load completed way too early and caused play() to be called when the delegate wasn't ready. BUG=233420 TEST=webkitmediasource-play.html LayoutTest reliably runs w/o crashing now. Review URL: https://chromiumcodereview.appspot.com/15754004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201791 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Added ability to inject a custom implementation of ↵avayvod@chromium.org2013-05-233-14/+31
| | | | | | | | | | | | | | | | | | MediaPlayerManager to RenderViewHostImpl. Inlined MediaPlayerManager interface's virtual destructor to remove a single method .cc file. Added a few missing methods to the interface. Fixed includes in the files calling to these methods. Refactoring, thus no new tests. R=bulach@chromium.org, qinmin@chromium.org TBR=scherkus@chromium.org BUG=178307 Review URL: https://chromiumcodereview.appspot.com/15341003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201724 0039d316-1c4b-4281-b951-d872f2087c98
* Media Source dispatches inband text tracksmatthewjheaney@chromium.org2013-05-2317-13/+462
| | | | | | | | | | | | The Media Source (WebM) parser now detects the presence of inband text tracks. As frames of inband text (WebVTT cues) are found in the network stream, they are pushed up the media stack. BUG=230708 Review URL: https://chromiumcodereview.appspot.com/13419002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201716 0039d316-1c4b-4281-b951-d872f2087c98
* Remove extra memcpys from AudioPullFifo.dalecurtis@chromium.org2013-05-234-33/+39
| | | | | | | | | | | | | | | | | | Due to AudioPullFifo always clearing the |fifo_| before reading another block from |read_cb_| we can actually remove the AudioFifo object in favor of a plain AudioBus. Speedup is ~17% over the old version per AudioConverter benchmark using --audio-converter-iterations=500000: Old: 430.04ms New: 355.44ms BUG=none TEST=media_unittests Review URL: https://chromiumcodereview.appspot.com/15394003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201662 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Android component build.newt@chromium.org2013-05-221-2/+3
| | | | | | | | R=acolwell@chromium.org, asvitkine@chromium.org Review URL: https://codereview.chromium.org/15613003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201562 0039d316-1c4b-4281-b951-d872f2087c98
* Improves capture delay estimates on Mac.henrika@chromium.org2013-05-221-1/+4
| | | | | | | | | | | | This CL ensures that we take the browser-side FIFO into account when we derive the capture delay. Before, a typical delay estimate given to the renderer was about 3ms, now with the new patch, this value is 10-12 ms which is more inline with the 10ms buffer size used by e.g. WebRTC. BUG=none TEST=Internal logging using different WebRTC clients on Mac. R=xians@chromium.org Review URL: https://codereview.chromium.org/15724002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201535 0039d316-1c4b-4281-b951-d872f2087c98
* Adding VP8 Alpha support in Media Sourcevigneshv@chromium.org2013-05-2211-54/+133
| | | | | | | | | | | | Adding support for playback of VP8 videos with Alpha Channel through the Media Source API. BUG=242357 TEST=VP8 Alpha Streams play properly via Media Source Review URL: https://chromiumcodereview.appspot.com/15342004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201496 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: base: Support setting thread priorities generically.epenner@chromium.org2013-05-223-16/+18
| | | | | | | | | | | | | | | | | | | This patch supports setting priorities across platforms at the PlatformThread level, by stashing thread id into the thread handle on linux/android. Since this adds more platform specific code, and #ifdefs were starting to get unwieldy, all platform specific code is moved into _platform.cc files, with the exception of the 'default' implementation, which stay in _posix. BUG=170549 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201202 Review URL: https://chromiumcodereview.appspot.com/12741012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201389 0039d316-1c4b-4281-b951-d872f2087c98
* Replacing VP8 Alpha test filetomfinegan@chromium.org2013-05-211-0/+0
| | | | | | | | | | | | | | | Existing VP8 Alpha test file (bear-vp8a.webm) had a wrong timestamp for the first frame. Updating it with a correct file. Though it didn't break any tests now, this is the correct behavior. BUG=242357 R=acolwell@chromium.org Review URL: https://codereview.chromium.org/15577002 Patch from Vignesh Venkatasubramanian <vigneshv@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201364 0039d316-1c4b-4281-b951-d872f2087c98
* Make shader_bench depend on allocator.gyp:allocator when necessaryakalin@chromium.org2013-05-211-0/+6
| | | | | | | | | | | This fixes the heapchecker+components release build. BUG=241938 R=dalecurtis@chromium.org Review URL: https://codereview.chromium.org/15370004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201357 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Fix Component build for Android."aurimas@chromium.org2013-05-211-4/+3
| | | | | | | | | | | | This reverts commit f4d67e80c8908301eaf8bc2c578c36b46883c2b7. Reverting https://codereview.chromium.org/15292012/ TBR=acolwell,asvitkine NOTRY=true Review URL: https://chromiumcodereview.appspot.com/15590002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201334 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Move MediaPlayerBridge::Initialize() call out of the constructor.avayvod@chromium.org2013-05-212-11/+11
| | | | | | | | | R=qinmin@chromium.org BUG=178307 Review URL: https://chromiumcodereview.appspot.com/15354002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201333 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Component build for Android.aurimas@chromium.org2013-05-211-3/+4
| | | | | | | | | | Added missing EXPORT macros to fix Android' component build. NOTRY=true Review URL: https://chromiumcodereview.appspot.com/15292012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201331 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup dependencies on src/base from screen capturers.sergeyu@chromium.org2013-05-213-136/+161
| | | | | | | | | | | Screen capturers will be moved to webrtc where they can't depend on chromium base. This change removes base dependices on base the capturers can live without. There are some remaining dependencies - I will replace them with webrtc base libraries when moving this code. Review URL: https://chromiumcodereview.appspot.com/15020018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201226 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201202 "base: Support setting thread priorities generically."scottmg@chromium.org2013-05-213-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | Broke "sizes" by adding may static initializers. > base: Support setting thread priorities generically. > > This patch supports setting priorities across platforms > at the PlatformThread level, by stashing thread id into the > thread handle on linux/android. > > Since this adds more platform specific code, and #ifdefs > were starting to get unwieldy, all platform specific code > is moved into _platform.cc files, with the exception of the > 'default' implementation, which stay in _posix. > > BUG=170549 > > Review URL: https://chromiumcodereview.appspot.com/12741012 TBR=epenner@chromium.org Review URL: https://codereview.chromium.org/15311004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201215 0039d316-1c4b-4281-b951-d872f2087c98
* base: Support setting thread priorities generically.epenner@chromium.org2013-05-213-12/+14
| | | | | | | | | | | | | | | | | This patch supports setting priorities across platforms at the PlatformThread level, by stashing thread id into the thread handle on linux/android. Since this adds more platform specific code, and #ifdefs were starting to get unwieldy, all platform specific code is moved into _platform.cc files, with the exception of the 'default' implementation, which stay in _posix. BUG=170549 Review URL: https://chromiumcodereview.appspot.com/12741012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201202 0039d316-1c4b-4281-b951-d872f2087c98
* Enable encrytped media tests for FFmpeg demuxerddorwin@chromium.org2013-05-202-6/+2
| | | | | | | | | | The necessary FFmpeg roll has occurred (r200467). BUG=189221,123426 Review URL: https://chromiumcodereview.appspot.com/15235003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201150 0039d316-1c4b-4281-b951-d872f2087c98
* Add MSE implementation on androidqinmin@chromium.org2013-05-2012-164/+958
| | | | | | | | | | | | Here are the changes included in this CL: 1. Adds a MediaSourcePlayer for android to play media source extensions. Only embedded mode are working currently. 2. Rewrite the MediaCodecBridge code in java. The current MediaCodecBridge code is not very suitable for exception handling. Also, this refactoring adds support for audio playback. BUG=233420 Review URL: https://chromiumcodereview.appspot.com/15113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201031 0039d316-1c4b-4281-b951-d872f2087c98
* Move SincResampler SSE initialization into MediaInitializer.dalecurtis@chromium.org2013-05-163-26/+39
| | | | | | | | | BUG=none TEST=media_unittests Review URL: https://chromiumcodereview.appspot.com/14672024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200623 0039d316-1c4b-4281-b951-d872f2087c98
* Destroy the openSLES objects in the correct order on Android.rtoy@google.com2013-05-161-1/+1
| | | | | | | | | | | | BUG= Glenn Kasten says the player should be destroyed before the OutputMix. R=tommi@chromium.org Review URL: https://codereview.chromium.org/15204003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200581 0039d316-1c4b-4281-b951-d872f2087c98
* Parse WebM track name and languagematthewjheaney@chromium.org2013-05-1611-33/+467
| | | | | | | | | | | | | | | | | | | The Track header of a WebM file contains (among other items) a track name and track language. We do not currently use this information. However, it is needed to construct WebVTT inband text tracks. The WebM tracks parser has been modified to provide this information to its clients. (An earlier version of this commit failed to compile on some systems. The problem was that some integer constants needed to be qualified with a suffix to specify an extra precision integer type.) BUG=230708 Review URL: https://chromiumcodereview.appspot.com/15205002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200562 0039d316-1c4b-4281-b951-d872f2087c98
* Use webrtc::DesktopCapturer for screen capturer implementation.sergeyu@chromium.org2013-05-1637-1396/+994
| | | | | | | | | | | | | Screen capturers are being moved from media/video/capture/screen to third_party/webrtc. This CL is an intermediate step in that process. Depends on https://webrtc-codereview.appspot.com/1322007/ TBR=brettw@chromium.org (third_party/webrtc dependency) Review URL: https://chromiumcodereview.appspot.com/13983010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200504 0039d316-1c4b-4281-b951-d872f2087c98
* Roll FFmpeg for M29wolenetz@chromium.org2013-05-164-145/+160
| | | | | | | | | | | | | | | | | | | | | Chrome-side changes: 1. Use AVCodecID instead of CodecID. 2. Accomodate FFmpeg's new internal refcounted buffers: * Use av_free_packet() instead of av_destruct_packet() in FFmpegH264ToAnnexBBitstreamConverterTests (http://crbug.com/238543) * Add TSAN suppressions (http://crbug.com/239350) * Copy from data[] in FFmpegCdmVideoDecoder. (http://crbug.com/240573) 3. Update ffmpeg_regression_tests: * Rebaseline expectations (http://crbug.com/237363) * Mark some flaky (http://crbug.com/237371) * Change disabled to flaky (http://crbug.com/236979) * Add new tests. (http://crbug.com/234630) R=dalecurtis BUG=238543,239350,237363,237371,236979,234630,123426,223295,236611,234630,240573,241212 Review URL: https://chromiumcodereview.appspot.com/15078005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200467 0039d316-1c4b-4281-b951-d872f2087c98
* Set default sampling rate to 44100 and query the native output sampling rate.leozwang@chromium.org2013-05-163-13/+29
| | | | | | | | BUG=231094 Review URL: https://chromiumcodereview.appspot.com/14049003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200461 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded base/file_util.h includes in chrome_frame, ↵thestig@chromium.org2013-05-163-4/+0
| | | | | | | | courgette, ipc, media, and net. Review URL: https://chromiumcodereview.appspot.com/14820034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200419 0039d316-1c4b-4281-b951-d872f2087c98
* Report timing statistics for audio controller methods via UMA.dalecurtis@chromium.org2013-05-165-0/+60
| | | | | | | | | | | | | | Logs the time taken to execute the main methods of AudioInputController and AudioOutputController. This timing information will be used to determine if we can combine the audio thread and the UI thread on OSX to (hopefully) fix http://crbug.com/158170. BUG=158170 TEST=chrome://histograms/Media.Audio contains information. Review URL: https://chromiumcodereview.appspot.com/14827002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200414 0039d316-1c4b-4281-b951-d872f2087c98
* Replaced 8 callbacks provided to MediaPlayerBridge with an interface ↵avayvod@chromium.org2013-05-155-136/+60
| | | | | | | | | | | (reusing MediaPlayerManager). BUG=None TEST=No new tests, no functional changes. Review URL: https://chromiumcodereview.appspot.com/14581015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200365 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 200308 "Parse WebM track name and language"rouslan@chromium.org2013-05-1511-468/+33
| | | | | | | | | | | | | | | | | | | | > Parse WebM track name and language > > The Track header of a WebM file contains (among other items) > a track name and track language. We do not currently use > this information. However, it is needed to contruct WebVTT > inband text tracks. The WebM tracks parser has been > modified to provide this information to its clients. > > BUG=230708 > > Review URL: https://chromiumcodereview.appspot.com/14977006 TBR=matthewjheaney@chromium.org Review URL: https://codereview.chromium.org/14959015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200323 0039d316-1c4b-4281-b951-d872f2087c98