diff --git a/codec/h264/h264dec/nalunit_test.go b/codec/h264/h264dec/nalunit_test.go index f3828880..930fd2b3 100644 --- a/codec/h264/h264dec/nalunit_test.go +++ b/codec/h264/h264dec/nalunit_test.go @@ -21,7 +21,8 @@ func TestNewMVCExtension(t *testing.T) { "100" + // u(3) temporal_id = 4 "1" + // u(1) anchor_pic_flag = true "0" + // u(1) inter_view_flag = false - "1", // u(1) reserved_one_bit = 1 + "1" + // u(1) reserved_one_bit = 1 + "0 00000000", // Some padding want: MVCExtension{ NonIdrFlag: false, PriorityID: 2, @@ -63,7 +64,8 @@ func TestNewThreeDAVCExtension(t *testing.T) { "0" + // u(1) non_idr_flag = false "010" + // u(1) temporal_id = 2 "1" + // u(1) anchor_pic_flag = true - "1", // u(1) inter_view_flag = true + "1" + // u(1) inter_view_flag = true + "000", // Some padding want: ThreeDAVCExtension{ ViewIdx: 16, DepthFlag: true,