summaryrefslogtreecommitdiffstats
path: root/media/base/pipeline_impl.cc
diff options
context:
space:
mode:
authorralphl@chromium.org <ralphl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-19 05:04:33 +0000
committerralphl@chromium.org <ralphl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-19 05:04:33 +0000
commit082d3cae492040ea1a433b067d82654e98d59bf4 (patch)
tree63434ee91c91de04448f61e857b2b8c004e8cd39 /media/base/pipeline_impl.cc
parent2e5e02fb69357d0030f27eca29d12df0f779d649 (diff)
downloadchromium_src-082d3cae492040ea1a433b067d82654e98d59bf4.zip
chromium_src-082d3cae492040ea1a433b067d82654e98d59bf4.tar.gz
chromium_src-082d3cae492040ea1a433b067d82654e98d59bf4.tar.bz2
Fixes a bug in the media pipeline that resulted in the video dimensions never getting set. Includes a new unit test, along with new
mocks for a video decoder and video renderer. Review URL: http://codereview.chromium.org/20326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10006 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/pipeline_impl.cc')
-rw-r--r--media/base/pipeline_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/base/pipeline_impl.cc b/media/base/pipeline_impl.cc
index 5792972..c815a26 100644
--- a/media/base/pipeline_impl.cc
+++ b/media/base/pipeline_impl.cc
@@ -208,8 +208,8 @@ void PipelineImpl::SetBufferedBytes(int64 buffered_bytes) {
void PipelineImpl::SetVideoSize(size_t width, size_t height) {
AutoLock auto_lock(lock_);
- width = width;
- height = height;
+ video_width_ = width;
+ video_height_ = height;
}
//-----------------------------------------------------------------------------