summaryrefslogtreecommitdiffstats
path: root/media/cast/cast_sender_impl.cc
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-08 20:57:49 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-08 20:57:49 +0000
commit47ed74585b6c76d92f804b3f2cb7a26804469a13 (patch)
treecc2ab2bc8bd7a12527f16114a3f8553333714b80 /media/cast/cast_sender_impl.cc
parent35d829e57ba28c5b732b05328e9a2371d200c372 (diff)
downloadchromium_src-47ed74585b6c76d92f804b3f2cb7a26804469a13.zip
chromium_src-47ed74585b6c76d92f804b3f2cb7a26804469a13.tar.gz
chromium_src-47ed74585b6c76d92f804b3f2cb7a26804469a13.tar.bz2
Cast: Clarify what is a valid resource ID
This change claries that all cast.streaming resources have positive IDs. This is used to avoid problems when an extension treat zero as an invalid value. Also adds a few more VLOGs for debugging. BUG=360902 Review URL: https://codereview.chromium.org/225303018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262502 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/cast/cast_sender_impl.cc')
-rw-r--r--media/cast/cast_sender_impl.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/media/cast/cast_sender_impl.cc b/media/cast/cast_sender_impl.cc
index 0b5a2ac..2bcad36 100644
--- a/media/cast/cast_sender_impl.cc
+++ b/media/cast/cast_sender_impl.cc
@@ -118,6 +118,7 @@ void CastSenderImpl::InitializeVideo(
DCHECK(cast_environment_->CurrentlyOn(CastEnvironment::MAIN));
CHECK(video_config.use_external_encoder ||
cast_environment_->HasVideoThread());
+ VLOG(1) << "CastSender::ctor";
video_sender_.reset(new VideoSender(cast_environment_,
video_config,
@@ -131,7 +132,9 @@ void CastSenderImpl::InitializeVideo(
new LocalVideoFrameInput(cast_environment_, video_sender_->AsWeakPtr());
}
-CastSenderImpl::~CastSenderImpl() {}
+CastSenderImpl::~CastSenderImpl() {
+ VLOG(1) << "CastSender::dtor";
+}
// ReceivedPacket handle the incoming packets to the cast sender
// it's only expected to receive RTCP feedback packets from the remote cast