Index: webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc |
index 12c2db564bda22447678ab95eee7c311636d988e..ed8b92dc64c8e6ebebf6889e35bb7fa2ce6ff468 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc |
@@ -414,7 +414,7 @@ TEST_F(RtpDepacketizerH264Test, TestSingleNalu) { |
TEST_F(RtpDepacketizerH264Test, TestSingleNaluSpsWithResolution) { |
uint8_t packet[] = {kSps, 0x7A, 0x00, 0x1F, 0xBC, 0xD9, 0x40, 0x50, |
0x05, 0xBA, 0x10, 0x00, 0x00, 0x03, 0x00, 0xC0, |
- 0x00, 0x00, 0x2A, 0xE0, 0xF1, 0x83, 0x19, 0x60}; |
+ 0x00, 0x00, 0x03, 0x2A, 0xE0, 0xF1, 0x83, 0x25}; |
stefan-webrtc
2016/05/22 23:11:50
Why did this change?
sprang_webrtc
2016/05/25 09:06:03
Parsing revealed that VUI contained:
max_num_reord
|
RtpDepacketizer::ParsedPayload payload; |
ASSERT_TRUE(depacketizer_->Parse(&payload, packet, sizeof(packet))); |
@@ -449,11 +449,12 @@ TEST_F(RtpDepacketizerH264Test, TestStapAKey) { |
TEST_F(RtpDepacketizerH264Test, TestStapANaluSpsWithResolution) { |
uint8_t packet[] = {kStapA, // F=0, NRI=0, Type=24. |
// Length (2 bytes), nal header, payload. |
- 0, 24, kSps, 0x7A, 0x00, 0x1F, 0xBC, 0xD9, |
- 0x40, 0x50, 0x05, 0xBA, 0x10, 0x00, 0x00, 0x03, |
- 0x00, 0xC0, 0x00, 0x00, 0x2A, 0xE0, 0xF1, 0x83, |
- 0x19, 0x60, 0, 0x03, kIdr, 0xFF, 0x00, 0, |
- 0x04, kIdr, 0xFF, 0x00, 0x11}; |
+ 0x00, 0x19, kSps, 0x7A, 0x00, 0x1F, 0xBC, 0xD9, 0x40, |
+ 0x50, 0x05, 0xBA, 0x10, 0x00, 0x00, 0x03, 0x00, 0xC0, |
+ 0x00, 0x00, 0x03, 0x2A, 0xE0, 0xF1, 0x83, 0x25, 0x80, |
+ 0x00, 0x03, kIdr, 0xFF, 0x00, 0x00, 0x04, kIdr, 0xFF, |
+ 0x00, 0x11}; |
stefan-webrtc
2016/05/22 23:11:50
... and this?
sprang_webrtc
2016/05/25 09:06:03
...same here. How did you come up with these magic
stefan-webrtc
2016/05/26 18:08:13
I think pbos added these.
noahric
2016/05/26 18:56:52
And I think they came from my code originally, whi
|
+ |
RtpDepacketizer::ParsedPayload payload; |
ASSERT_TRUE(depacketizer_->Parse(&payload, packet, sizeof(packet))); |