mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtph264depay: don't insert SPS/PPS inline for AVC output
SPS/PPS are in the caps in this case and shouldn't be in the stream data.
This commit is contained in:
parent
c99f7579f3
commit
e7e7f26200
1 changed files with 3 additions and 2 deletions
|
@ -440,8 +440,9 @@ gst_rtp_h264_set_src_caps (GstRtpH264Depay * rtph264depay)
|
|||
|
||||
gst_caps_unref (srccaps);
|
||||
|
||||
/* Insert SPS and PPS into the stream on next opportunity */
|
||||
if (rtph264depay->sps->len > 0 || rtph264depay->pps->len > 0) {
|
||||
/* Insert SPS and PPS into the stream on next opportunity (if bytestream) */
|
||||
if (rtph264depay->byte_stream
|
||||
&& (rtph264depay->sps->len > 0 || rtph264depay->pps->len > 0)) {
|
||||
gint i;
|
||||
GstBuffer *codec_data;
|
||||
GstMapInfo map;
|
||||
|
|
Loading…
Reference in a new issue