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
@ -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…
x
Reference in New Issue
Block a user