mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
rtp: fix nal unit type check
After further investigation the previous commit is wrong. The code intended to check if the type is 39 or the ranges 41-44 and 48-55. Just like gsth265parse.c does. Type 40 would not be complete.
This commit is contained in:
parent
20dc27f983
commit
66a08297c7
1 changed files with 2 additions and 1 deletions
|
@ -914,7 +914,8 @@ gst_rtp_h265_depay_handle_nal (GstRtpH265Depay * rtph265depay, GstBuffer * nal,
|
|||
}
|
||||
complete = TRUE;
|
||||
} else if ((nal_type >= 32 && nal_type <= 35)
|
||||
|| nal_type >= 39) {
|
||||
|| nal_type == 39 || (nal_type >= 41 && nal_type <= 44)
|
||||
|| (nal_type >= 48 && nal_type <= 55)) {
|
||||
/* VPS, SPS, PPS, SEI, ... terminate an access unit */
|
||||
complete = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue