diff options
Diffstat (limited to 'media/mf/mft_h264_decoder_example.cc')
-rw-r--r-- | media/mf/mft_h264_decoder_example.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/media/mf/mft_h264_decoder_example.cc b/media/mf/mft_h264_decoder_example.cc index 788a2ca..0ed9553 100644 --- a/media/mf/mft_h264_decoder_example.cc +++ b/media/mf/mft_h264_decoder_example.cc @@ -362,11 +362,7 @@ static int Run(bool use_dxva, bool render, const std::string& input_file) { return -1; } - mft->Initialize(MessageLoop::current(), handler.get(), config); - if (!handler->info_.success) { - LOG(ERROR) << "Failed to initialize decoder"; - return -1; - } + mft->Initialize(MessageLoop::current(), handler.get(), NULL, config); scoped_ptr<WindowObserver> observer; if (render) { observer.reset(new WindowObserver(reader.get(), mft.get())); |