commit | 3ee81178565d81aefe38ceff92c1e65d00d16e5b | [log] [tgz] |
---|---|---|
author | philipel <philipel@webrtc.org> | Tue Oct 31 14:38:40 2023 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 31 16:21:02 2023 |
tree | 92b8c65c436dab326a8cc0d407e98d4b0d968c3c | |
parent | cf2fe18daa05ff7de10dcbfa29fbbdc1c1b3269e [diff] |
H265 build fix for Android. Build fix for H265 on Android so that https://webrtc-review.googlesource.com/c/src/+/325482 can land. gn args: target_os = "android" proprietary_codecs = true Bug: webrtc:15620 Change-Id: I8a134afbc50137ac17ce9a4a57d68dd3f3c6d52f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/325483 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41053}
diff --git a/sdk/android/src/jni/video_decoder_wrapper.cc b/sdk/android/src/jni/video_decoder_wrapper.cc index 0c0358d..e083df5 100644 --- a/sdk/android/src/jni/video_decoder_wrapper.cc +++ b/sdk/android/src/jni/video_decoder_wrapper.cc
@@ -257,9 +257,8 @@ } #ifdef RTC_ENABLE_H265 case kVideoCodecH265: - h265_bitstream_parser_.ParseBitstream(buffer); - qp = h265_bitstream_parser_.GetLastSliceQp().value_or(-1); - success = (qp >= 0); + h265_bitstream_parser_.ParseBitstream(input_image); + qp = h265_bitstream_parser_.GetLastSliceQp(); break; #endif default: