| Index: media/audio/linux/alsa_output.cc
|
| diff --git a/media/audio/linux/alsa_output.cc b/media/audio/linux/alsa_output.cc
|
| index b3f931d7ae7d2480815e5695dbfeda9149ee7612..75de924bd499e6378fbc32e740ce46ad1508cdca 100644
|
| --- a/media/audio/linux/alsa_output.cc
|
| +++ b/media/audio/linux/alsa_output.cc
|
| @@ -268,6 +268,8 @@ bool AlsaPcmOutputStream::Open() {
|
| // Finish initializing the stream if the device was opened successfully.
|
| if (playback_handle_ == NULL) {
|
| stop_stream_ = true;
|
| + TransitionTo(kInError);
|
| + return false;
|
| } else {
|
| bytes_per_output_frame_ = should_downmix_ ? 2 * bytes_per_sample_ :
|
| bytes_per_frame_;
|
|
|