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

Issue 9350004: Fix incomplete teardown of demuxer. (Closed)

Created:
8 years, 10 months ago by DaleCurtis
Modified:
8 years, 10 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell+watch_chromium.org, annacc+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing), ihf+watch_chromium.org
Visibility:
Public.

Description

Fix incomplete teardown of demuxer. I ran into an issue with PipelineIntegrationTests where one of the security videos was causing ~FileDataSource to DCHECK complain about file_ never being torn down. Tracing this back, it's because we return NULL for the demuxer when an error is encountered. This prevents demuxer->Stop() from being called which leaves the data source in an unhappy state. BUG=none TEST=PipelineIntegrationTests/media_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120730

Patch Set 1 #

Total comments: 3

Patch Set 2 : CHECK. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -11 lines) Patch
M media/base/pipeline.cc View 1 1 chunk +2 lines, -6 lines 0 comments Download
M media/filters/ffmpeg_demuxer_factory.cc View 1 chunk +1 line, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
DaleCurtis
PTAL. Not sure if this is the right fix, locally it lets me move forward ...
8 years, 10 months ago (2012-02-07 00:34:46 UTC) #1
scherkus (not reviewing)
LGTM w/ one suggestion https://chromiumcodereview.appspot.com/9350004/diff/1/media/base/pipeline.cc File media/base/pipeline.cc (right): https://chromiumcodereview.appspot.com/9350004/diff/1/media/base/pipeline.cc#newcode1146 media/base/pipeline.cc:1146: if (!demuxer) { On 2012/02/07 ...
8 years, 10 months ago (2012-02-07 00:41:16 UTC) #2
DaleCurtis
https://chromiumcodereview.appspot.com/9350004/diff/1/media/base/pipeline.cc File media/base/pipeline.cc (right): https://chromiumcodereview.appspot.com/9350004/diff/1/media/base/pipeline.cc#newcode1146 media/base/pipeline.cc:1146: if (!demuxer) { On 2012/02/07 00:41:16, scherkus wrote: > ...
8 years, 10 months ago (2012-02-07 03:20:55 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/9350004/4001
8 years, 10 months ago (2012-02-07 03:23:52 UTC) #4
commit-bot: I haz the power
8 years, 10 months ago (2012-02-07 06:45:57 UTC) #5
Change committed as 120730

Powered by Google App Engine
This is Rietveld 408576698