summaryrefslogtreecommitdiffstats
path: root/media/cast/receiver/video_decoder.cc
diff options
context:
space:
mode:
authoranthonyvd <anthonyvd@chromium.org>2015-11-03 12:55:31 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-03 20:56:35 +0000
commit2f55a00bd0579af12adbb36db87d1e756e6cacde (patch)
treed01a576706d2949a78094605c0fd3f12b3896f32 /media/cast/receiver/video_decoder.cc
parent572ddc44f19fa37f00a3525e953cb4380656a6c0 (diff)
downloadchromium_src-2f55a00bd0579af12adbb36db87d1e756e6cacde.zip
chromium_src-2f55a00bd0579af12adbb36db87d1e756e6cacde.tar.gz
chromium_src-2f55a00bd0579af12adbb36db87d1e756e6cacde.tar.bz2
Revert of [Cast] Thread-safe LogEventDispatcher for packet/frame event logging. (patchset #3 id:100001 of https://codereview.chromium.org/1418583003/ )
Reason for revert: Reverting because this CL appears to be breaking one of the Windows Bots here: http://build.chromium.org/p/chromium/builders/Win/builds/37023 Original issue's description: > [Cast] Thread-safe LogEventDispatcher for packet/frame event logging. > > Removed LoggingImpl and LoggingRaw, and replaced with a thread-safe > LogEventDispatcher. Interface changes were made to allow passing > logging event data without extra copying. > > BUG=530841 > > Committed: https://crrev.com/00b4e5f928016ad89286843b3b92c2dec35c78ac > Cr-Commit-Position: refs/heads/master@{#357590} TBR=imcheng@chromium.org,miu@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=530841 Review URL: https://codereview.chromium.org/1426293004 Cr-Commit-Position: refs/heads/master@{#357615}
Diffstat (limited to 'media/cast/receiver/video_decoder.cc')
-rw-r--r--media/cast/receiver/video_decoder.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/media/cast/receiver/video_decoder.cc b/media/cast/receiver/video_decoder.cc
index 534eac0..f9b24a420 100644
--- a/media/cast/receiver/video_decoder.cc
+++ b/media/cast/receiver/video_decoder.cc
@@ -61,15 +61,6 @@ class VideoDecoder::ImplBase
const scoped_refptr<VideoFrame> decoded_frame = Decode(
encoded_frame->mutable_bytes(),
static_cast<int>(encoded_frame->data.size()));
-
- scoped_ptr<FrameEvent> decode_event(new FrameEvent());
- decode_event->timestamp = cast_environment_->Clock()->NowTicks();
- decode_event->type = FRAME_DECODED;
- decode_event->media_type = VIDEO_EVENT;
- decode_event->rtp_timestamp = encoded_frame->rtp_timestamp;
- decode_event->frame_id = encoded_frame->frame_id;
- cast_environment_->logger()->DispatchFrameEvent(decode_event.Pass());
-
cast_environment_->PostTask(
CastEnvironment::MAIN,
FROM_HERE,