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

Issue 2273793002: Don't fail on profile changes in GpuVideoDecoder. (Closed)

Created:
4 years, 4 months ago by DaleCurtis
Modified:
4 years, 4 months ago
Reviewers:
Pawel Osciak, wolenetz
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't fail on profile changes in GpuVideoDecoder. This restriction is artificial; or at least I can't make it fail when the profile changes. The hardware decoders I've tried (Android, Windows, Mac) don't seem to care if the profile actually changes. In fact, MSE has always lied about the h264 profile (!), it always specifies H264PROFILE_MAIN regardless of the actual profile. The only parser sending this information correctly is the TS parser used by Chromecast -- which then hits this check. If the profile is actually unsupported we will still fail during the check of SupportedProfiles. BUG=640269 TEST=http://storage.googleapis.com/dalecurtis/mse_profile_change.html Committed: https://crrev.com/3bd54ab36da9eb69239bfc95ee5e0e81ea3c42c0 Cr-Commit-Position: refs/heads/master@{#414164}

Patch Set 1 #

Patch Set 2 : Keep codec switch failure. #

Patch Set 3 : Make MSE stop lying. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -38 lines) Patch
M media/filters/gpu_video_decoder.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download
M media/filters/h264_parser.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M media/filters/h264_parser.cc View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M media/formats/mp2t/es_parser_h264.cc View 1 2 2 chunks +1 line, -32 lines 0 comments Download
M media/formats/mp4/box_definitions.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
DaleCurtis
4 years, 4 months ago (2016-08-23 18:19:14 UTC) #2
DaleCurtis
(testing now)
4 years, 4 months ago (2016-08-23 18:19:20 UTC) #3
Tima Vaisburd
On 2016/08/23 18:19:20, DaleCurtis wrote: > (testing now) What happens if adaptive playback is not ...
4 years, 4 months ago (2016-08-23 19:10:22 UTC) #5
DaleCurtis
Hah, I don't think it matters, because apparently MSE has been lying about the profile ...
4 years, 4 months ago (2016-08-23 19:17:13 UTC) #6
DaleCurtis
Pawel, can you check this out on a Chromebook? No other platforms seem to have ...
4 years, 4 months ago (2016-08-23 20:51:31 UTC) #8
DaleCurtis
+wolenetz for MSE changes.
4 years, 4 months ago (2016-08-24 00:19:16 UTC) #10
wolenetz
LGTM % some unit test (maybe mp4_stream_parser_unittests, as we chatted about). Note that the VideoDecoderConfig::Matches() ...
4 years, 4 months ago (2016-08-24 00:48:34 UTC) #11
wolenetz
On 2016/08/24 00:48:34, wolenetz wrote: > LGTM % some unit test (maybe mp4_stream_parser_unittests, as we ...
4 years, 4 months ago (2016-08-24 00:52:03 UTC) #12
Pawel Osciak
On 2016/08/23 20:51:31, DaleCurtis wrote: > Pawel, can you check this out on a Chromebook? ...
4 years, 4 months ago (2016-08-24 06:55:34 UTC) #13
DaleCurtis
Thanks for the reviews; the cast folk would like this in branch today, so landing ...
4 years, 4 months ago (2016-08-24 17:00:01 UTC) #15
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/2273793002/40001
4 years, 4 months ago (2016-08-24 17:00:30 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/128963)
4 years, 4 months ago (2016-08-24 20:13:29 UTC) #18
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/2273793002/40001
4 years, 4 months ago (2016-08-24 20:32:53 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-24 22:04:36 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 22:06:43 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3bd54ab36da9eb69239bfc95ee5e0e81ea3c42c0
Cr-Commit-Position: refs/heads/master@{#414164}

Powered by Google App Engine
This is Rietveld 408576698