| Index: remoting/protocol/video_writer.cc
|
| diff --git a/remoting/protocol/video_writer.cc b/remoting/protocol/video_writer.cc
|
| index 2336fe3774a3874420fc8f2702ca71de5f631021..f0d4a537ca3690f6e387a773a26a94f8cf48b2f0 100644
|
| --- a/remoting/protocol/video_writer.cc
|
| +++ b/remoting/protocol/video_writer.cc
|
| @@ -14,12 +14,13 @@ namespace protocol {
|
| VideoWriter::~VideoWriter() { }
|
|
|
| // static
|
| -VideoWriter* VideoWriter::Create(const SessionConfig* config) {
|
| +VideoWriter* VideoWriter::Create(base::MessageLoopProxy* message_loop,
|
| + const SessionConfig* config) {
|
| const ChannelConfig& video_config = config->video_config();
|
| if (video_config.transport == ChannelConfig::TRANSPORT_SRTP) {
|
| - return new RtpVideoWriter();
|
| + return new RtpVideoWriter(message_loop);
|
| } else if (video_config.transport == ChannelConfig::TRANSPORT_STREAM) {
|
| - return new ProtobufVideoWriter();
|
| + return new ProtobufVideoWriter(message_loop);
|
| }
|
| return NULL;
|
| }
|
|
|