| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r142235 was not enough, we were not touching audio buffers after stop,
but OS could still touch audio queue. That causes problems if we were
deleting audio stream immediately after stopping, e.g. if audio mixer
tried to keep audio stream opened after last logical stream stopped
and then stopped/closed it.
I was able to reproduce the problem locally (for whatever reason this time
it worked), and after the fix it (finally) went away -- browsert_tests
PPAPITest.Audio_Creation successfully runs for 300 iterations. When I revert
to previos way of signaling, problem resurfaces again.
Fix is to use "property listener" to listen to "is running" audio queue
property, and signal "stream stopped" event only after "is running" property
changes to false. Functions that do are documented in the Apple core audio
documentation but not used in samples, so they are hard to find if you don't
know what to look for.
Also re-enabling mixer change to keep physical stream opened for some time,
That should complete browser-side mixer work and fix several related bugs.
BUG=102395
BUG=114701
BUG=129190
BUG=131720
TEST=No observable diffs, but crashes and seek problems should go away.
Review URL: https://chromiumcodereview.appspot.com/10560038
TBR=enal@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10583009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142886 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r142235 was not enough, we were not touching audio buffers after stop,
but OS could still touch audio queue. That causes problems if we were
deleting audio stream immediately after stopping, e.g. if audio mixer
tried to keep audio stream opened after last logical stream stopped
and then stopped/closed it.
I was able to reproduce the problem locally (for whatever reason this time
it worked), and after the fix it (finally) went away -- browsert_tests
PPAPITest.Audio_Creation successfully runs for 300 iterations. When I revert
to previos way of signaling, problem resurfaces again.
Fix is to use "property listener" to listen to "is running" audio queue
property, and signal "stream stopped" event only after "is running" property
changes to false. Functions that do are documented in the Apple core audio
documentation but not used in samples, so they are hard to find if you don't
know what to look for.
Also re-enabling mixer change to keep physical stream opened for some time,
That should complete browser-side mixer work and fix several related bugs.
BUG=102395
BUG=114701
BUG=129190
BUG=131720
TEST=No observable diffs, but crashes and seek problems should go away.
Review URL: https://chromiumcodereview.appspot.com/10560038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142862 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=123260
TEST=media_unittests, encrypted-media layout tests.
Review URL: https://chromiumcodereview.appspot.com/10534096
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142553 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=129072
TEST=ChunkDemuxerTest
Review URL: https://chromiumcodereview.appspot.com/10544166
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142520 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I.e. running non-Vista and having more than single core.
Changed unit tests as well.
(Earlier that CL was part of bugger one, changing the way audio mixer is working,
but it causes problems on Mac).
BUG=132009
TEST=Startup of 2nd stream should become somewhat faster.
TEST=Run tests on Win7 and XP myself.
Review URL: https://chromiumcodereview.appspot.com/10540034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142488 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one had stopped.
Wait some time.
We are still stopping/closing the stream, as (1) it is better for battery life,
and (2) some people can hear active device even when it is playing silence.
That increased audio startup latency, especially on Windows, because we are using 3
buffers on Windows. To fix that I changed the code to use 2 buffers on presumable
good Windows boxes -- i.e. running non-Vista and having more than single core.
Changed unit tests as well.
That CL finishes work on browser-side audio mixer. Not sure how important it is,
though -- hopefully it will provide some time while implementing renderer-side mixer.
That CL also fixes bug 131720. Looks that it was caused by timing change, and starting
stream earlier causes less dropped frames. (I still cannot understand why on modern
system we should have even single dropped frame, and why slight timing change
caused us to drop frame, but that is different question...)
BUG=114701
BUG=129190
BUG=131720
BUG=132009
TEST=Should not be noticeable difference in behavior.
TEST=Startup of 2nd stream should become somewhat faster.
TEST=Run tests on Win7 and XP myself.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141770
Review URL: https://chromiumcodereview.appspot.com/10540034
TBR=enal@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10544183
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142444 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wait some time.
We are still stopping/closing the stream, as (1) it is better for battery life,
and (2) some people can hear active device even when it is playing silence.
That increased audio startup latency, especially on Windows, because we are using 3
buffers on Windows. To fix that I changed the code to use 2 buffers on presumable
good Windows boxes -- i.e. running non-Vista and having more than single core.
Changed unit tests as well.
That CL finishes work on browser-side audio mixer. Not sure how important it is,
though -- hopefully it will provide some time while implementing renderer-side mixer.
That CL also fixes bug 131720. Looks that it was caused by timing change, and starting
stream earlier causes less dropped frames. (I still cannot understand why on modern
system we should have even single dropped frame, and why slight timing change
caused us to drop frame, but that is different question...)
BUG=114701
BUG=129190
BUG=131720
BUG=132009
TEST=Should not be noticeable difference in behavior.
TEST=Startup of 2nd stream should become somewhat faster.
TEST=Run tests on Win7 and XP myself.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141770
Review URL: https://chromiumcodereview.appspot.com/10540034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142430 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WASAPIAudioOutputStream.
BUG=132956
TEST=media_unittests --gtest_also_run_disabled_tests --gtest_filter=WinAudioOutputTest*
It is also possible to play out the file in segments where each segment start with a call to Start() and stops with a call to Stop(). To do so, modify the kNumFileSegments (defaults to 1) to a suitable integer number (e.g 10). It will ensure that the 20s file is played out in 2 seconds long segments with a fresh Stop(), Start() calling sequence between each sequence.
Review URL: https://chromiumcodereview.appspot.com/10556006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142425 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Previous review: https://chromiumcodereview.appspot.com/10536014/
BUG=129072
TEST=MP4StreamParserTest
Review URL: https://chromiumcodereview.appspot.com/10534172
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142409 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Encryptor, HMAC, and SymmetricKey now use NSS on all platforms except Android.
This allows us to use them inside the sandbox, something that was not possible
when using the platform APIs.
On Windows, Native Client 64-bit builds still use the the platform APIs.
BUG=127803,124741
TEST=Existing tests since there is no change in functionality.
Review URL: https://chromiumcodereview.appspot.com/10543146
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142356 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pulls in the following security fixes:
59c122b matroskadec: add assert on lack of overflow in pkt_size+offset
4b7c523 matroskadec: change size check in matroska_decode_buffer() to unsigned
08169fc matroskadec: move lace_size check up so it catches all code pathes
88a740a matroskadec: change assert to av_assert0()
71529bd Fix incorrect unsigned->signed conversion.
Adds a new test for the issue.
BUG=132779
TEST=ffmpeg_regression_tests, video test matrix.
TBR=scherkus
Review URL: https://chromiumcodereview.appspot.com/10546180
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142328 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=129072
TEST=MP4StreamParserTest
Review URL: https://chromiumcodereview.appspot.com/10536014
TBR=strobe@google.com
Review URL: https://chromiumcodereview.appspot.com/10533164
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142283 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=129072
TEST=MP4StreamParserTest
Review URL: https://chromiumcodereview.appspot.com/10536014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142268 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We are seeing countless problems when restarting or closing audio
stream, and suspect it is caused by wrong use of Mac OS X API.
Do it exactly as done in Apple's Mac core audio sample --
Stop() does not stop the stream itelf, but instead waits for audio
callback to stop and signal that stream is stopped.
BUG=102395
TEST=No observable diffs, but crashes and seek problems should go away.
Review URL: https://chromiumcodereview.appspot.com/10545160
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142235 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Passes cluster start time information from WebMStreamParser to ChunkDemuxer
to SourceBufferStream. SourceBufferStream can then use this information when
fulfilling seeks.
BUG=131438
TEST=media_unittests, go/vekbm
Review URL: https://chromiumcodereview.appspot.com/10540122
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142221 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10533140
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142206 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On a 32-bit machine (1L << 31) is negative.
BUG=132320
TEST=Covered in webkit bug 88794
Review URL: https://chromiumcodereview.appspot.com/10533118
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142180 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10543107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142029 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=132586
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10543149
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142024 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=129852
TEST=media_unittests
Review URL: https://chromiumcodereview.appspot.com/10539115
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141859 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one had stopped.
Wait some time.
We are still stopping/closing the stream, as (1) it is better for battery life,
and (2) some people can hear active device even when it is playing silence.
That increased audio startup latency, especially on Windows, because we are using 3
buffers on Windows. To fix that I changed the code to use 2 buffers on presumable
good Windows boxes -- i.e. running non-Vista and having more than single core.
Changed unit tests as well.
That CL finishes work on browser-side audio mixer. Not sure how important it is,
though -- hopefully it will provide some time while implementing renderer-side mixer.
Also moved code for crash Mac OS X into audio mixer, because problem can manifest
itself if Close() called immediately after Stop().
That CL also fixes bug 131720. Looks that it was caused by timing change, and starting
stream earlier causes less dropped frames. (I still cannot understand why on modern
system we should have even single dropped frame, and why slight timing change
caused us to drop frame, but that is different question...)
BUG=129190
BUG=131720
BUG=131720
BUG=102395
TEST=Should not be noticeable difference in behavior. Run tests on Win7 and XP myself.
TEST=Mac crashes on seeks should go away, too.
Review URL: https://chromiumcodereview.appspot.com/10540034
TBR=enal@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10532116
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141820 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wait some time.
We are still stopping/closing the stream, as (1) it is better for battery life,
and (2) some people can hear active device even when it is playing silence.
That increased audio startup latency, especially on Windows, because we are using 3
buffers on Windows. To fix that I changed the code to use 2 buffers on presumable
good Windows boxes -- i.e. running non-Vista and having more than single core.
Changed unit tests as well.
That CL finishes work on browser-side audio mixer. Not sure how important it is,
though -- hopefully it will provide some time while implementing renderer-side mixer.
Also moved code for crash Mac OS X into audio mixer, because problem can manifest
itself if Close() called immediately after Stop().
That CL also fixes bug 131720. Looks that it was caused by timing change, and starting
stream earlier causes less dropped frames. (I still cannot understand why on modern
system we should have even single dropped frame, and why slight timing change
caused us to drop frame, but that is different question...)
BUG=129190
BUG=131720
BUG=131720
BUG=102395
TEST=Should not be noticeable difference in behavior. Run tests on Win7 and XP myself.
TEST=Mac crashes on seeks should go away, too.
Review URL: https://chromiumcodereview.appspot.com/10540034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141770 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
We weren't able to successfully return results until overlaps etc. were properly computed in SourceBufferStream::Append(). That's fixed now (http://crbug.com/125072), so let's start returning!
BUG=132314
TEST=media_unittests
Review URL: https://chromiumcodereview.appspot.com/10542128
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141767 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=acolwell@chromium.org
BUG=129072
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10539117
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141766 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
indicating it is reset.
Previously GVD would post the fake frame to VideoRendererBase, but fire the
callback without waiting for VRB to process the frame. Now the callback is
posted to the same loop so VRB is guaranteed to see the frame before
VRB::OnDecoderFlushDone() DCHECKs that !pending_read_.
TEST=closing a tab playing HW-accelerated video no longer DCHECKs in VRB::OnDecoderFlushDone.
Review URL: https://chromiumcodereview.appspot.com/10536122
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141746 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CID_COUNT=4
CID=104190,104193,104197,104204
BUG=none
TEST=none
R=groby
TBR=rdsmith,vrk,tommi
Review URL: https://chromiumcodereview.appspot.com/10538083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141688 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch allows data to be appended to 2 different sources (1 audio and 1 video). Also makes sure that appended data matches the mimetype provided in AddId().
BUG=122909
TEST=ChunkDemuxerTest.*
Review URL: https://chromiumcodereview.appspot.com/10545066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141679 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If Open() fails due to the pipe() or pthread_create() system calls
failing, client_ will be non-null but will have been freed. To fix this,
set client_ to NULL on failures in Open(), and check before using it in
Close().
BUG=132040
TEST=Change the cras library to return errors from the client_connect() or client_run() functions, then watch as the errors cause a crash when you add an audio stream.
Review URL: https://chromiumcodereview.appspot.com/10546090
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141638 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=media_unittests.
Review URL: https://chromiumcodereview.appspot.com/10537082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141627 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WebMediaPlayerImpl callback.
This removes a bunch of plumbing that's completely unnecessary. Concretely:
Before: BufferedResourceLoader -> BufferedDataSource -> DemuxerHost -> DataSourceHost -> Pipeline -> WebMediaPlayerImpl
After: BufferedResourceLoader -> BufferedDataSource -> WebMediaPlayerImpl
Review URL: https://chromiumcodereview.appspot.com/10535101
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141619 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allows us to remove another patch from FFmpeg relating to using
deprecated features! We're now using the latest and greatest!
FFmpeg side changes here,
https://gerrit.chromium.org/gerrit/24823
BUG=112673
TEST=ffmpeg_regression_tests, webaudio tests.
Review URL: https://chromiumcodereview.appspot.com/10540067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141524 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one had stopped.
Wait some time.
We are still stopping/closing the stream, as (1) it is better for battery life,
and (2) some people can hear active device even when it is playing silence.
That increased audio startup latency, especially on Windows, because we are using 3
buffers on Windows. To fix that I changed the code to use 2 buffers on presumable
good Windows boxes -- i.e. running non-Vista and having more than single core.
Changed unit tests as well.
BUG=129190
TEST=Should not be noticeable difference in behavior. Run tests on Win7 and XP myself.
Review URL: https://chromiumcodereview.appspot.com/10540034
TBR=enal@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10535117
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141505 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wait some time.
We are still stopping/closing the stream, as (1) it is better for battery life,
and (2) some people can hear active device even when it is playing silence.
That increased audio startup latency, especially on Windows, because we are using 3
buffers on Windows. To fix that I changed the code to use 2 buffers on presumable
good Windows boxes -- i.e. running non-Vista and having more than single core.
Changed unit tests as well.
BUG=129190
TEST=Should not be noticeable difference in behavior. Run tests on Win7 and XP myself.
Review URL: https://chromiumcodereview.appspot.com/10540034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141476 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
the first one.
BUG=122913
TEST=ChunkDemuxerTest.TestMultipleHeaders
Review URL: https://chromiumcodereview.appspot.com/10535058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141460 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10541068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141327 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This is somehow needed for Linux kernel 3.3 and above. If camera is opened with O_RDONLY, mmap will fail.
However, since we are not going to modify device memory, it should be allowed to open camera with O_RDONLY.
BUG=http://code.google.com/p/webrtc/issues/detail?id=512
Review URL: https://chromiumcodereview.appspot.com/10542080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141308 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This is being submitted on behalf of shanhan@google.com, original CL at https://chromiumcodereview.appspot.com/10537037/ .
BUG=None
TEST=Built successfully using GCC-4.7 under linux
Review URL: https://chromiumcodereview.appspot.com/10543080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141286 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
function.
BUG=none
TEST=none
CID=104188
Review URL: https://chromiumcodereview.appspot.com/10546075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141268 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently all VideoDecodeAccelerator::Clients use GL_TEXTURE_2D as their texture target.
Unfortunately the Mac decoder only supports GL_TEXTURE_RECTANGLE_ARB texture targets.
This CL allows decoders to choose which texture target they want.
BUG=127414
TEST=
Review URL: https://chromiumcodereview.appspot.com/10392141
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141258 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=acolwell@chromium.org
BUG=122913
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10536072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141218 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=henrika
Review URL: https://chromiumcodereview.appspot.com/10533044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140997 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
on a TYPE_IO message loop thread. This makes it easy to share a thread
that uses a message loop (e.g. for IPC and other things) and not require
a separate thread to read from the socket.
TEST=Run media_unittests. (--gtest_filter=AsyncSocketIoHandlerTest.*)
Review URL: https://chromiumcodereview.appspot.com/10540047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140994 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=122906
TEST=ChunkDemuxerTest.TestSeekWhileParsingCluster,PipelineIntegrationTest.ChunkDemuxerAbortRead_AudioOnly, PipelineIntegrationTest.ChunkDemuxerAbortRead_VideoOnly
Review URL: https://chromiumcodereview.appspot.com/10536037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140945 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds the files from the issue and introduces a new flaky test type
which only ensures that the file loads and runs without crashing.
Changes are in preparation for running ffmpeg_regression_tests on
bots.
BUG=42122
TEST=ffmpeg_regression_tests!
Review URL: https://chromiumcodereview.appspot.com/10518006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140902 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=131265
TEST=ChunkDemuxerTest.TestWebMFile_AltRefFrames
Review URL: https://chromiumcodereview.appspot.com/10542009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140883 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TBR=acolwell@chromium.org
BUG=131265
Review URL: https://chromiumcodereview.appspot.com/10532036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140826 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handles cases where the selected range is overlapped.
Does not handle buffer sizes of differing durations.
BUG=126560,125072
TEST=media_unittests
Review URL: https://chromiumcodereview.appspot.com/10389185
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140797 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch moves SourceBufferStream into ChunkDemuxerStream and removes SourceBuffer altogether. ChunkDemuxer now manages a StreamParser and passes data along to ChunkDemuxerStreams when new data is parsed.
Includes fixes to bugs that broke LayoutTests in the original CL (earlier reverted): https://chromiumcodereview.appspot.com/10505009/
BUG=130876
TEST=
unittest: ChunkDemuxerTest.*
LayoutTest: http/tests/media/media-source/*
Review URL: https://chromiumcodereview.appspot.com/10537018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140666 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=130693
TEST=media_unittests
Review URL: https://chromiumcodereview.appspot.com/10500003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140654 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
are deleted. And in AudioManager::Shutdown(), we invalidate the message loop by audio_thread_.swap(audio_thread), and a crash will happen when the alive ALSA streams try to access to the message loop via manager_->GetMessageLoop().
BUG=130730
TEST=using http://www.corp.google.com/~xians/webrtc_test_audio_tag.html to setup a loopback audio.
Review URL: https://chromiumcodereview.appspot.com/10446118
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140633 0039d316-1c4b-4281-b951-d872f2087c98
|