add RTP/MPEG-4 Video decoder and encoder (#266)

This commit is contained in:
Alessandro Ros
2023-05-01 21:19:23 +02:00
committed by GitHub
parent 00f66555e2
commit 6937b85704
31 changed files with 445 additions and 105 deletions

View File

@@ -14,13 +14,12 @@ func TestDecode(t *testing.T) {
d.Init()
for _, pkt := range ca.pkts {
image, pts, err := d.Decode(pkt)
image, _, err := d.Decode(pkt)
if err == ErrMorePacketsNeeded {
continue
}
require.NoError(t, err)
require.Equal(t, ca.pts, pts)
require.Equal(t, ca.image, image)
}
})