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

Issue 2874433002: Fix/Disable ffmpeg Media Tests on Android (Closed)

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

Description

Fix/Disable ffmpeg Media Tests on Android VP8 decoders are not built into the ffmpeg decoders by default on Android, even if building in ffmpeg is enabled. This change switches over several test files / configs for Android to use supported decoders (h264) instead. Fourteen tests will be fixed by this change. Four tests have been disabled until proper test files have been generated. (tracked via associated crbug) BUG=720008

Patch Set 1 #

Total comments: 2

Patch Set 2 : Using pragmas and default params as suggested by watk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -12 lines) Patch
M media/base/test_helpers.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M media/base/test_helpers.cc View 1 2 chunks +8 lines, -8 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 6 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
kraush
Hi David, Can you take a look at this change to fix media_unittests on Android ...
3 years, 7 months ago (2017-05-09 18:15:34 UTC) #2
ddorwin
There are two issues: 1. Proprietary codecs are no longer supported by default in Chromium ...
3 years, 7 months ago (2017-05-09 18:44:26 UTC) #3
kraush
On 2017/05/09 18:44:26, ddorwin wrote: > There are two issues: > > 1. Proprietary codecs ...
3 years, 7 months ago (2017-05-09 18:52:44 UTC) #4
ddorwin
On 2017/05/09 18:52:44, kraush wrote: > Not sure about the first comment: To clarify, this ...
3 years, 7 months ago (2017-05-09 19:15:16 UTC) #5
kraush
On 2017/05/09 19:15:16, ddorwin wrote: > On 2017/05/09 18:52:44, kraush wrote: > > Not sure ...
3 years, 7 months ago (2017-05-09 19:22:48 UTC) #6
watk
https://codereview.chromium.org/2874433002/diff/1/media/base/test_helpers.cc File media/base/test_helpers.cc (right): https://codereview.chromium.org/2874433002/diff/1/media/base/test_helpers.cc#newcode158 media/base/test_helpers.cc:158: VideoDecoderConfig TestVideoConfig::Normal() { Instead of this kDefaultCodec, I think ...
3 years, 7 months ago (2017-05-09 22:08:23 UTC) #8
kraush
On 2017/05/09 22:08:23, watk wrote: > https://codereview.chromium.org/2874433002/diff/1/media/base/test_helpers.cc > File media/base/test_helpers.cc (right): > > https://codereview.chromium.org/2874433002/diff/1/media/base/test_helpers.cc#newcode158 > ...
3 years, 7 months ago (2017-05-10 15:17:57 UTC) #9
kraush
Hi David, Hi watk@, I've implemented the changes in the way suggested by watk@. Let ...
3 years, 7 months ago (2017-05-10 15:20:34 UTC) #10
watk
After thinking about this some more, I don't think we want to have this change ...
3 years, 7 months ago (2017-05-10 18:23:28 UTC) #11
kraush
On 2017/05/10 18:23:28, watk wrote: > After thinking about this some more, I don't think ...
3 years, 7 months ago (2017-05-10 18:29:30 UTC) #12
watk
On 2017/05/10 18:29:30, kraush wrote: > On 2017/05/10 18:23:28, watk wrote: > > After thinking ...
3 years, 7 months ago (2017-05-10 19:29:48 UTC) #13
kraush
On 2017/05/10 19:29:48, watk wrote: > I wouldn't say that exactly. What you have seems ...
3 years, 7 months ago (2017-05-10 19:35:41 UTC) #14
watk
On 2017/05/10 19:35:41, kraush wrote: > On 2017/05/10 19:29:48, watk wrote: > > I wouldn't ...
3 years, 7 months ago (2017-05-10 19:56:04 UTC) #15
kraush
3 years, 7 months ago (2017-05-10 19:58:16 UTC) #16
On 2017/05/10 19:56:04, watk wrote:
> 
> That's it, yep. I don't know if there are official recommendations for what
> should be upstreamed, but my general recommendation is that you upstream
changes
> that either make sense for chromium in isolation, or that are very low impact
> and orthogonal. e.g., we allow disable_ffmpeg_video_decoders to be overridden
on
> Android even though we will never override it because there is essentially no
> impact on maintenance or clarity; it just switches the build to another
> supported configuration.

Gotcha, thanks for the support and clarifications! :)
I'll go ahead and discard this CL.

Powered by Google App Engine
This is Rietveld 408576698