| Index: media/filters/ffmpeg_demuxer.cc
|
| ===================================================================
|
| --- media/filters/ffmpeg_demuxer.cc (revision 55418)
|
| +++ media/filters/ffmpeg_demuxer.cc (working copy)
|
| @@ -426,8 +426,8 @@
|
|
|
| // Initialize the bitstream if OpenMAX is enabled.
|
| // TODO(hclam): Should be enabled by the decoder.
|
| - CommandLine* cmd = CommandLine::ForCurrentProcess();
|
| - if (cmd->HasSwitch(switches::kEnableAcceleratedDecoding)) {
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableOpenMax)) {
|
| // TODO(ajwong): Unittest this branch of the if statement.
|
| // TODO(hclam): In addition to codec we should also check the container.
|
| const char* filter_name = NULL;
|
|
|