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

Issue 11420070: Remove locking from FFmpegDemuxerStream and associated TODOs from media code. (Closed)

Created:
8 years, 1 month ago by scherkus (not reviewing)
Modified:
8 years, 1 month ago
Reviewers:
xhwang
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Remove locking from FFmpegDemuxerStream and associated TODOs from media code. As of r168350 the message loop will no longer get blocked meaning we can do away with nasty locks. A side benefit is we can finally remove the forced-task-post from various decoders! BUG=160640 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=168876

Patch Set 1 #

Patch Set 2 : #

Total comments: 19

Patch Set 3 : comments #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -191 lines) Patch
M media/filters/decrypting_audio_decoder.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M media/filters/decrypting_audio_decoder.cc View 1 1 chunk +8 lines, -14 lines 0 comments Download
M media/filters/decrypting_video_decoder.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M media/filters/decrypting_video_decoder.cc View 1 1 chunk +8 lines, -14 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 2 3 chunks +9 lines, -14 lines 0 comments Download
M media/filters/ffmpeg_demuxer.h View 6 chunks +7 lines, -31 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 3 11 chunks +45 lines, -85 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 2 1 chunk +9 lines, -13 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
scherkus (not reviewing)
https://codereview.chromium.org/11420070/diff/2001/media/filters/decrypting_audio_decoder.cc File media/filters/decrypting_audio_decoder.cc (left): https://codereview.chromium.org/11420070/diff/2001/media/filters/decrypting_audio_decoder.cc#oldcode243 media/filters/decrypting_audio_decoder.cc:243: // In theory, we don't need to force post ...
8 years, 1 month ago (2012-11-19 19:11:16 UTC) #1
xhwang
lgtm % nits https://codereview.chromium.org/11420070/diff/2001/media/filters/decrypting_audio_decoder.cc File media/filters/decrypting_audio_decoder.cc (left): https://codereview.chromium.org/11420070/diff/2001/media/filters/decrypting_audio_decoder.cc#oldcode243 media/filters/decrypting_audio_decoder.cc:243: // In theory, we don't need ...
8 years, 1 month ago (2012-11-20 17:54:34 UTC) #2
scherkus (not reviewing)
thanks! https://codereview.chromium.org/11420070/diff/2001/media/filters/decrypting_audio_decoder.h File media/filters/decrypting_audio_decoder.h (right): https://codereview.chromium.org/11420070/diff/2001/media/filters/decrypting_audio_decoder.h#newcode99 media/filters/decrypting_audio_decoder.h:99: // DecryptAndDecodeBuffer(). On 2012/11/20 17:54:34, xhwang wrote: > ...
8 years, 1 month ago (2012-11-20 19:16:07 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/11420070/15001
8 years, 1 month ago (2012-11-20 19:30:14 UTC) #4
commit-bot: I haz the power
8 years, 1 month ago (2012-11-20 20:15:56 UTC) #5
Retried try job too often for step(s) content_browsertests

Powered by Google App Engine
This is Rietveld 408576698