mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
deprecate rtpav1.Decoder.Decode, rtph264.Decoder.Decode, rtph265.Decoder.Decode
This commit is contained in:
@@ -57,7 +57,7 @@ func TestH264DecEncoder(t *testing.T) {
|
||||
dec, err := format.CreateDecoder2()
|
||||
require.NoError(t, err)
|
||||
|
||||
byts, _, err := dec.Decode(pkts[0])
|
||||
byts, _, err := dec.DecodeUntilMarker(pkts[0])
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, [][]byte{{0x01, 0x02, 0x03, 0x04}}, byts)
|
||||
}
|
||||
|
Reference in New Issue
Block a user