rtpvp9pay: add missing break
VP9_PAY_PICTURE_ID_7BITS and VP9_PAY_PICTURE_ID_15BITS are mutually exclusive options of the picture-id-mode. We can break after the first case. 1 or 2 bytes need to be added to the header length depending on the PictureID size. https://tools.ietf.org/html/draft-uberti-payload-vp9-00#section-4.2 CID 1353479
This commit is contained in:
parent
7150b89c59
commit
93cd4be8d5
@ -308,6 +308,7 @@ gst_rtp_vp9_calc_header_len (GstRtpVP9Pay * self, gboolean start)
|
||||
switch (self->picture_id_mode) {
|
||||
case VP9_PAY_PICTURE_ID_7BITS:
|
||||
len += 1;
|
||||
break;
|
||||
case VP9_PAY_PICTURE_ID_15BITS:
|
||||
len += 2;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user