|
|
Created:
4 years, 6 months ago by emircan Modified:
4 years, 6 months ago CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, mkwst+moarreviews-renderer_chromium.org, miu+watch_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionEnable RTCVideoDecoder SW H264 fallback only when it is available
Extensions have HW H264 encode enabled in 51. However SW implementations
of H264 isn't enabled by default. So, we need to be careful about SW fallback
as we cannot do it when it isn't available.
BUG=615513
Committed: https://crrev.com/177cc1d1d66346ea9e2e85ecb3d6812e13b11907
Cr-Commit-Position: refs/heads/master@{#397856}
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Messages
Total messages: 25 (11 generated)
Description was changed from ========== initialize ffmpeg when hw encode is available. BUG=615513 ========== to ========== Initialize FFmpeg when kEnableWebRtcHWH264Encoding is available Extensions have kEnableWebRtcHWH264Encoding enabled in 51 to allow HW H264 encode. This corresponds to a HW H264 decode in some cases, but can always fall back to SW decode as well. We need to initialize FFmpeg considering these cases. BUG=615513 ==========
emircan@chromium.org changed reviewers: + hbos@chromium.org, pbos@chromium.org
PTAL.
https://codereview.chromium.org/2024303003/diff/1/content/renderer/media/webr... File content/renderer/media/webrtc/peer_connection_dependency_factory.cc (right): https://codereview.chromium.org/2024303003/diff/1/content/renderer/media/webr... content/renderer/media/webrtc/peer_connection_dependency_factory.cc:169: kEnableWebRtcHWH264Encoding)) { I don't think this is the right approach. If we're building with SW H264, one feature unexpectedly enables another feature (that might be set to disabled which is strange). If we're not building with SW H264 (such as chromium build instead of a chrome official) this does not fix anything, we still have the problem of trying to do SW fallback when SW is not available. I'll continue the discussion at https://bugs.chromium.org/p/chromium/issues/detail?id=615513
Description was changed from ========== Initialize FFmpeg when kEnableWebRtcHWH264Encoding is available Extensions have kEnableWebRtcHWH264Encoding enabled in 51 to allow HW H264 encode. This corresponds to a HW H264 decode in some cases, but can always fall back to SW decode as well. We need to initialize FFmpeg considering these cases. BUG=615513 ========== to ========== Enable RTCVideoDecoder SW H264 fallback only when it is available Extensions have HW H264 encode enabled in 51. However SW implementations of H264 isn't enabled by default. So, we need to be careful about SW fallback as we cannot do it when it isn't available. BUG=615513 ==========
Updated the description as well. https://codereview.chromium.org/2024303003/diff/1/content/renderer/media/webr... File content/renderer/media/webrtc/peer_connection_dependency_factory.cc (right): https://codereview.chromium.org/2024303003/diff/1/content/renderer/media/webr... content/renderer/media/webrtc/peer_connection_dependency_factory.cc:169: kEnableWebRtcHWH264Encoding)) { On 2016/06/02 08:45:37, hbos_chromium wrote: > I don't think this is the right approach. If we're building with SW H264, one > feature unexpectedly enables another feature (that might be set to disabled > which is strange). If we're not building with SW H264 (such as chromium build > instead of a chrome official) this does not fix anything, we still have the > problem of trying to do SW fallback when SW is not available. > > I'll continue the discussion at > https://bugs.chromium.org/p/chromium/issues/detail?id=615513 Done.
fwiw, lgtm
lgtm
The CQ bit was checked by emircan@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024303003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
emircan@chromium.org changed reviewers: + mcasas@chromium.org
mcasas@chromium.org: Please review changes in PTAL.
On 2016/06/03 21:18:45, emircan wrote: > mailto:mcasas@chromium.org: Please review changes in PTAL. RS LGTM
The CQ bit was checked by emircan@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024303003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_clang on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/...)
The CQ bit was checked by emircan@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024303003/20001
Message was sent while issue was closed.
Description was changed from ========== Enable RTCVideoDecoder SW H264 fallback only when it is available Extensions have HW H264 encode enabled in 51. However SW implementations of H264 isn't enabled by default. So, we need to be careful about SW fallback as we cannot do it when it isn't available. BUG=615513 ========== to ========== Enable RTCVideoDecoder SW H264 fallback only when it is available Extensions have HW H264 encode enabled in 51. However SW implementations of H264 isn't enabled by default. So, we need to be careful about SW fallback as we cannot do it when it isn't available. BUG=615513 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Enable RTCVideoDecoder SW H264 fallback only when it is available Extensions have HW H264 encode enabled in 51. However SW implementations of H264 isn't enabled by default. So, we need to be careful about SW fallback as we cannot do it when it isn't available. BUG=615513 ========== to ========== Enable RTCVideoDecoder SW H264 fallback only when it is available Extensions have HW H264 encode enabled in 51. However SW implementations of H264 isn't enabled by default. So, we need to be careful about SW fallback as we cannot do it when it isn't available. BUG=615513 Committed: https://crrev.com/177cc1d1d66346ea9e2e85ecb3d6812e13b11907 Cr-Commit-Position: refs/heads/master@{#397856} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/177cc1d1d66346ea9e2e85ecb3d6812e13b11907 Cr-Commit-Position: refs/heads/master@{#397856} |