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

Issue 159246: Merged PipelineInternal into PipelineImpl, eliminating a ton of thread-UNsafeness and confusion. (Closed)

Created:
11 years, 5 months ago by scherkus (not reviewing)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Merged PipelineInternal into PipelineImpl, eliminating a ton of thread-UNsafeness and confusion. Long story short: there's no reason to split an implementation of class between two classes. The data was being held in one class, with the other class accessing it privately without acquiring the lock. Really, really painful to debug as well. Now we have a unified implementation of Pipeline that takes care of client API requests as well as filter interaction. Since Pipeline is properly reference counted and there are two less objects to worry about, the crash reported in 3.0.195.1 should also be resolved. BUG=17107, 17548 TEST=pipeline tests, media player and chrome ui tests

Patch Set 1 #

Patch Set 2 : Fixed error logging #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -334 lines) Patch
M media/base/pipeline_impl.h View 6 chunks +101 lines, -176 lines 0 comments Download
M media/base/pipeline_impl.cc View 23 chunks +108 lines, -154 lines 0 comments Download
M media/base/pipeline_impl_unittest.cc View 2 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
scherkus (not reviewing)
phew... pretty straight forward review (I think) passes unit tests, a quick'n'dirty media player test, ...
11 years, 5 months ago (2009-07-23 00:13:30 UTC) #1
Alpha Left Google
So PipelineImpl is not refcounted? I see it inherits FileterHost and Pipeline, which one is ...
11 years, 5 months ago (2009-07-23 00:32:06 UTC) #2
Alpha Left Google
On 2009/07/23 00:32:06, Alpha wrote: > So PipelineImpl is not refcounted? I see it inherits ...
11 years, 5 months ago (2009-07-23 00:34:04 UTC) #3
scherkus (not reviewing)
Pipeline (the interface) is now a ref counted interface: http://codereview.chromium.org/155713 On Wed, Jul 22, 2009 ...
11 years, 5 months ago (2009-07-23 20:09:18 UTC) #4
Alpha Left Google
11 years, 5 months ago (2009-07-23 20:10:31 UTC) #5
OK! LGTM.

Powered by Google App Engine
This is Rietveld 408576698