mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
h264depay: handle properly STAPs
in rtph264depay.c, lines 577-576, NALU-type 24 (Single-Time Aggregation Packet) is handled in fall-through as NALU-type 26 (unhandled). This leads high quality h264 streams such as: rtsp://stream.yle.mobi/yle/areena/MEDIA_E0342657_p3.mp4 to fail with "NAL unit type 24 not supported yet" (but it's actually supported), and thus to close any stream which contains STAPs. The proposed one-liner patch fixes the issue. Fixes #615051.
This commit is contained in:
parent
d17ad171c9
commit
2ff1558a87
1 changed files with 1 additions and 0 deletions
|
@ -574,6 +574,7 @@ gst_rtp_h264_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
|
||||||
gst_buffer_set_caps (outbuf, GST_PAD_CAPS (depayload->srcpad));
|
gst_buffer_set_caps (outbuf, GST_PAD_CAPS (depayload->srcpad));
|
||||||
return outbuf;
|
return outbuf;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case 26:
|
case 26:
|
||||||
/* MTAP16 Multi-time aggregation packet 5.7.2 */
|
/* MTAP16 Multi-time aggregation packet 5.7.2 */
|
||||||
|
|
Loading…
Reference in a new issue