Skip to content

Commit

Permalink
ICFWX-1682: Published HEVC stream has macroblocks in both mix/forward…
Browse files Browse the repository at this point in the history
… stream

Change-Id: I082927618aef2eae1cc1ec392158a1173fd4f80c
Reviewed-on: https://git-ccr-1.devtools.intel.com/gerrit/99718
Tested-by: webrtctest <[email protected]>
Reviewed-by: Dai, Jianhui J <[email protected]>
Reviewed-by: Qiu, Jianlin <[email protected]>
  • Loading branch information
taste1981 committed Sep 21, 2018
1 parent fe29421 commit a406a86
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions webrtc/modules/rtp_rtcp/source/rtp_format_h265.cc
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ bool ParseHevcSingleNalu(RtpDepacketizer::ParsedPayload* parsed_payload,
parsed_payload->frame_type = kVideoFrameKey;
break;
default:
parsed_payload->frame_type = kVideoFrameKey;
//parsed_payload->frame_type = kVideoFrameDelta;
parsed_payload->frame_type = kVideoFrameDelta;
break;
}
return true;
Expand Down Expand Up @@ -176,8 +175,7 @@ bool ParseHevcFuNalu(RtpDepacketizer::ParsedPayload* parsed_payload,
if (original_nal_type == kIdrNLp || original_nal_type == kIdrWRadl) {
parsed_payload->frame_type = kVideoFrameKey;
} else {
parsed_payload->frame_type = kVideoFrameKey;
//parsed_payload->frame_type = kVideoFrameDelta;
parsed_payload->frame_type = kVideoFrameDelta;
}
parsed_payload->type.Video.width = 0;
parsed_payload->type.Video.height = 0;
Expand Down

0 comments on commit a406a86

Please sign in to comment.