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

Issue 2305923002: Ensure FFmpegDemuxer WeakPtrs are created on the right thread. (Closed)

Created:
4 years, 3 months ago by DaleCurtis
Modified:
4 years, 3 months ago
Reviewers:
watk
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure FFmpegDemuxer WeakPtrs are created on the right thread. CancelPendingSeek() was called from the render thread, but the WeakFactory in FFmpegDemuxer is for use on the media thread. BUG=643441 TEST=none Committed: https://crrev.com/a6912725c190eebf472d78a44d8fd247751e9a07 Cr-Commit-Position: refs/heads/master@{#416426}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M media/filters/ffmpeg_demuxer.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 4 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
DaleCurtis
4 years, 3 months ago (2016-09-01 23:52:19 UTC) #2
watk
https://codereview.chromium.org/2305923002/diff/1/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/2305923002/diff/1/media/filters/ffmpeg_demuxer.cc#newcode957 media/filters/ffmpeg_demuxer.cc:957: if (!blocking_thread_.IsRunning()) Pretty sure this isn't thread safe? https://codereview.chromium.org/2305923002/diff/1/media/filters/ffmpeg_demuxer.cc#newcode965 ...
4 years, 3 months ago (2016-09-02 00:21:20 UTC) #3
DaleCurtis
https://codereview.chromium.org/2305923002/diff/1/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/2305923002/diff/1/media/filters/ffmpeg_demuxer.cc#newcode957 media/filters/ffmpeg_demuxer.cc:957: if (!blocking_thread_.IsRunning()) On 2016/09/02 at 00:21:20, watk wrote: > ...
4 years, 3 months ago (2016-09-02 00:32:47 UTC) #4
watk
lgtm https://codereview.chromium.org/2305923002/diff/1/media/filters/ffmpeg_demuxer.cc File media/filters/ffmpeg_demuxer.cc (right): https://codereview.chromium.org/2305923002/diff/1/media/filters/ffmpeg_demuxer.cc#newcode957 media/filters/ffmpeg_demuxer.cc:957: if (!blocking_thread_.IsRunning()) On 2016/09/02 00:32:47, DaleCurtis wrote: > ...
4 years, 3 months ago (2016-09-02 20:07:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2305923002/20001
4 years, 3 months ago (2016-09-03 02:26:24 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-03 02:30:56 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-03 02:33:53 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a6912725c190eebf472d78a44d8fd247751e9a07
Cr-Commit-Position: refs/heads/master@{#416426}

Powered by Google App Engine
This is Rietveld 408576698