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

Issue 10918172: Remove VideoDecoder::PrepareForShutdownHack() and friends. (Closed)

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

Description

Remove VideoDecoder::PrepareForShutdownHack() and friends. As of r156011 the pause/flush/stop shutdown dance is no more. Now that Pipeline immediately calls Stop() during teardown we can remove a pile of hacks that were used to signal that teardown was starting. BUG=110228 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156525

Patch Set 1 #

Patch Set 2 : fix rtc #

Patch Set 3 : blah #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -115 lines) Patch
M content/renderer/media/capture_video_decoder.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M content/renderer/media/capture_video_decoder.cc View 1 4 chunks +4 lines, -17 lines 0 comments Download
M content/renderer/media/capture_video_decoder_unittest.cc View 1 1 chunk +5 lines, -5 lines 0 comments Download
M content/renderer/media/rtc_video_decoder.h View 1 3 chunks +0 lines, -3 lines 0 comments Download
M content/renderer/media/rtc_video_decoder.cc View 1 2 3 chunks +6 lines, -16 lines 0 comments Download
M content/renderer/media/rtc_video_decoder_unittest.cc View 1 2 3 chunks +17 lines, -10 lines 0 comments Download
M media/base/mock_filters.h View 1 chunk +0 lines, -1 line 0 comments Download
M media/base/pipeline.h View 1 chunk +2 lines, -9 lines 0 comments Download
M media/base/pipeline.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M media/base/video_decoder.h View 1 chunk +0 lines, -8 lines 0 comments Download
M media/base/video_decoder.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M media/base/video_renderer.h View 1 chunk +0 lines, -7 lines 0 comments Download
M media/filters/gpu_video_decoder.h View 2 chunks +0 lines, -5 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 3 chunks +1 line, -18 lines 0 comments Download
M media/filters/video_renderer_base.h View 1 chunk +0 lines, -1 line 0 comments Download
M media/filters/video_renderer_base.cc View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
scherkus (not reviewing)
NOTE: tentative CL! I'm not sure if my GVD changes are right at all but ...
8 years, 3 months ago (2012-09-11 15:07:28 UTC) #1
scherkus (not reviewing)
Actually I forgot about the RTC-related VideoDecoders that are also relying on these hacks. Removing ...
8 years, 3 months ago (2012-09-11 15:20:07 UTC) #2
scherkus (not reviewing)
actually... PTAL fixing Capture/RTCVD wasn't too bad
8 years, 3 months ago (2012-09-11 15:47:09 UTC) #3
Ami GONE FROM CHROMIUM
\o/ !!! What testing have you been able to do of the change on GVD? ...
8 years, 3 months ago (2012-09-11 22:26:27 UTC) #4
scherkus (not reviewing)
On 2012/09/11 22:26:27, Ami Fischman wrote: > \o/ !!! > > What testing have you ...
8 years, 3 months ago (2012-09-12 10:55:15 UTC) #5
scherkus (not reviewing)
+wjia can you take a look at my changes to RTC/Capture decoder?
8 years, 3 months ago (2012-09-12 10:55:35 UTC) #6
wjia(left Chromium)
RTC/Capture decoder lgtm.
8 years, 3 months ago (2012-09-12 18:32:21 UTC) #7
Ami GONE FROM CHROMIUM
8 years, 3 months ago (2012-09-12 20:32:43 UTC) #8
Looks fine on lumpy, which is not surprising, since the GVD::shutting_down_
member is effectively dead as of r156011; previously the only time it was
written was during Pipeline::Stop() and the only time it was read was during
GVD::Reset(), but now once Pipeline::Stop() is called GVD::Reset() is guaranteed
*not* to be called, so the variable becomes write-only.

LGTM++

Powered by Google App Engine
This is Rietveld 408576698