summaryrefslogtreecommitdiffstats
path: root/media/tools
diff options
context:
space:
mode:
authoracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 10:50:09 +0000
committeracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 10:50:09 +0000
commitb573f95cefa194a5512aea1f3463e0cfd368021b (patch)
tree5121d8998fcf09e0038b1dab5aa0412d5627ba98 /media/tools
parenta2c1e551ac181464539a746dc1ed3aa1008f1769 (diff)
downloadchromium_src-b573f95cefa194a5512aea1f3463e0cfd368021b.zip
chromium_src-b573f95cefa194a5512aea1f3463e0cfd368021b.tar.gz
chromium_src-b573f95cefa194a5512aea1f3463e0cfd368021b.tar.bz2
Disable preroll duration increase on underflow for MediaSource playback.
BUG=244334 TEST=None. Underflow covered by existing tests. Review URL: https://chromiumcodereview.appspot.com/15872004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/tools')
-rw-r--r--media/tools/player_x11/player_x11.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/media/tools/player_x11/player_x11.cc b/media/tools/player_x11/player_x11.cc
index 80357a2..efa7573 100644
--- a/media/tools/player_x11/player_x11.cc
+++ b/media/tools/player_x11/player_x11.cc
@@ -136,7 +136,8 @@ void InitPipeline(media::Pipeline* pipeline,
message_loop,
new media::NullAudioSink(message_loop),
audio_decoders.Pass(),
- media::SetDecryptorReadyCB()));
+ media::SetDecryptorReadyCB(),
+ true));
collection->SetAudioRenderer(audio_renderer.Pass());
base::WaitableEvent event(true, false);