diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 23:07:22 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 23:07:22 +0000 |
commit | 58f13459552cc49a2577599bbb772958e29a823e (patch) | |
tree | 654ce283a10eb181216f8782716a5db979dcbad0 /media | |
parent | 735413a676f86e05cc9101e385b4272ec64b3c61 (diff) | |
download | chromium_src-58f13459552cc49a2577599bbb772958e29a823e.zip chromium_src-58f13459552cc49a2577599bbb772958e29a823e.tar.gz chromium_src-58f13459552cc49a2577599bbb772958e29a823e.tar.bz2 |
Fix misuse of OmxCodec
In the last refactoring, OmxCodec was used incorrectly as NULL parameter
was passed in. Using the correct parameter now.
TEST=player_x11 --enable-openmax should work
TBR=scherkus
Review URL: http://codereview.chromium.org/651068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39505 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/filters/omx_video_decode_engine.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/filters/omx_video_decode_engine.cc b/media/filters/omx_video_decode_engine.cc index bca487f..3bcc876 100644 --- a/media/filters/omx_video_decode_engine.cc +++ b/media/filters/omx_video_decode_engine.cc @@ -60,7 +60,7 @@ void OmxVideoDecodeEngine::Initialize(AVStream* stream, Task* done_cb) { output_format.codec = OmxConfigurator::kCodecRaw; omx_configurator_.reset( new OmxDecoderConfigurator(input_format, output_format)); - omx_codec_->Setup(omx_configurator_.get(), NULL); + omx_codec_->Setup(omx_configurator_.get(), this); omx_codec_->SetErrorCallback( NewCallback(this, &OmxVideoDecodeEngine::OnHardwareError)); omx_codec_->SetFormatCallback( |