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

Issue 80383006: Cast: Forcing codec initialization on a designated thread (Closed)

Created:
7 years, 1 month ago by mikhal
Modified:
7 years ago
Reviewers:
mikhal1, pwestin
CC:
chromium-reviews, feature-media-reviews_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Cast:Forcing VP8 codec initialization on a designated thread. Makes sure that all interaction with the video decoder is done on the VIDEO_DECODER thread. Logging which was removed here, will be added in a follow up cl. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238535

Patch Set 1 #

Patch Set 2 : clean up #

Total comments: 4

Patch Set 3 : Responding to review #

Total comments: 2

Patch Set 4 : Calling init from constructor #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -14 lines) Patch
M media/cast/test/encode_decode_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/cast/video_receiver/codecs/vp8/vp8_decoder.h View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M media/cast/video_receiver/codecs/vp8/vp8_decoder.cc View 1 2 3 4 3 chunks +10 lines, -7 lines 0 comments Download
M media/cast/video_receiver/video_decoder.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
mikhal
Please review, -Mikhal
7 years, 1 month ago (2013-11-21 18:02:50 UTC) #1
pwestin
Added feedback https://chromiumcodereview.appspot.com/80383006/diff/30001/media/cast/video_receiver/codecs/vp8/vp8_decoder.h File media/cast/video_receiver/codecs/vp8/vp8_decoder.h (right): https://chromiumcodereview.appspot.com/80383006/diff/30001/media/cast/video_receiver/codecs/vp8/vp8_decoder.h#newcode24 media/cast/video_receiver/codecs/vp8/vp8_decoder.h:24: Vp8Decoder(scoped_refptr<CastEnvironment> cast_environment); should be explicit https://chromiumcodereview.appspot.com/80383006/diff/30001/media/cast/video_receiver/video_receiver.cc File ...
7 years, 1 month ago (2013-11-21 19:10:41 UTC) #2
mikhal
PTAL https://chromiumcodereview.appspot.com/80383006/diff/30001/media/cast/video_receiver/codecs/vp8/vp8_decoder.h File media/cast/video_receiver/codecs/vp8/vp8_decoder.h (right): https://chromiumcodereview.appspot.com/80383006/diff/30001/media/cast/video_receiver/codecs/vp8/vp8_decoder.h#newcode24 media/cast/video_receiver/codecs/vp8/vp8_decoder.h:24: Vp8Decoder(scoped_refptr<CastEnvironment> cast_environment); On 2013/11/21 19:10:42, pwestin wrote: > ...
7 years, 1 month ago (2013-11-21 19:27:00 UTC) #3
pwestin
Change subject line to start with "Cast:" Move PostTask into VideoDecoder from VideoEncoder https://codereview.chromium.org/80383006/diff/20008/media/cast/video_receiver/video_receiver.cc File ...
7 years, 1 month ago (2013-11-21 21:45:37 UTC) #4
mikhal
PTAL https://chromiumcodereview.appspot.com/80383006/diff/20008/media/cast/video_receiver/video_receiver.cc File media/cast/video_receiver/video_receiver.cc (right): https://chromiumcodereview.appspot.com/80383006/diff/20008/media/cast/video_receiver/video_receiver.cc#newcode127 media/cast/video_receiver/video_receiver.cc:127: cast_environment_->PostTask(CastEnvironment::VIDEO_DECODER, FROM_HERE, On 2013/11/21 21:45:38, pwestin wrote: > ...
7 years ago (2013-11-22 22:02:41 UTC) #5
mikhal1
ping
7 years ago (2013-12-03 16:58:15 UTC) #6
pwestin
lgtm
7 years ago (2013-12-03 18:57:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@google.com/80383006/550001
7 years ago (2013-12-03 19:00:14 UTC) #8
commit-bot: I haz the power
Failed to apply patch for media/cast/video_receiver/codecs/vp8/vp8_decoder.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-12-03 19:00:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@google.com/80383006/640001
7 years ago (2013-12-03 20:59:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhal@google.com/80383006/640001
7 years ago (2013-12-03 23:38:55 UTC) #11
commit-bot: I haz the power
7 years ago (2013-12-04 03:02:04 UTC) #12
Message was sent while issue was closed.
Change committed as 238535

Powered by Google App Engine
This is Rietveld 408576698