Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Side by Side Diff: content/renderer/media/rtc_video_decoder.cc

Issue 10833061: Rolling libjingle revison r163. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/media/rtc_video_decoder.h" 5 #include "content/renderer/media/rtc_video_decoder.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "media/base/demuxer.h" 12 #include "media/base/demuxer.h"
13 #include "media/base/limits.h" 13 #include "media/base/limits.h"
14 #include "media/base/video_frame.h" 14 #include "media/base/video_frame.h"
15 #include "media/base/video_util.h" 15 #include "media/base/video_util.h"
16 #include "third_party/libjingle/source/talk/base/timeutils.h" 16 #include "third_party/libjingle/source/talk/base/timeutils.h"
17 #include "third_party/libjingle/source/talk/session/phone/videoframe.h" 17 #include "third_party/libjingle/source/talk/media/base/videoframe.h"
18 18
19 using media::CopyUPlane; 19 using media::CopyUPlane;
20 using media::CopyVPlane; 20 using media::CopyVPlane;
21 using media::CopyYPlane; 21 using media::CopyYPlane;
22 using media::DemuxerStream; 22 using media::DemuxerStream;
23 using media::kNoTimestamp; 23 using media::kNoTimestamp;
24 using media::PIPELINE_OK; 24 using media::PIPELINE_OK;
25 using media::PipelineStatusCB; 25 using media::PipelineStatusCB;
26 using media::StatisticsCB; 26 using media::StatisticsCB;
27 using media::VideoDecoder; 27 using media::VideoDecoder;
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 DCHECK(main_thread_->RunsTasksOnCurrentThread()); 201 DCHECK(main_thread_->RunsTasksOnCurrentThread());
202 if (video_track_) { 202 if (video_track_) {
203 video_track_->RemoveRenderer(this); 203 video_track_->RemoveRenderer(this);
204 video_track_ = NULL; 204 video_track_ = NULL;
205 } 205 }
206 } 206 }
207 207
208 RTCVideoDecoder::~RTCVideoDecoder() { 208 RTCVideoDecoder::~RTCVideoDecoder() {
209 DCHECK_NE(kNormal, state_); 209 DCHECK_NE(kNormal, state_);
210 } 210 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698