mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
rtph264depay: checking if depay has sps/pps nals before insertion
https://bugzilla.gnome.org/show_bug.cgi?id=753430
This commit is contained in:
parent
a95c761fde
commit
9c5c16eb57
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ 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) {
|
||||
gint i;
|
||||
GstBuffer *codec_data;
|
||||
GstMapInfo map;
|
||||
|
|
Loading…
Reference in a new issue