mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
rtph265depay: checking if depay has sps/pps nals before insertion
Related to: https://bugzilla.gnome.org/show_bug.cgi?id=753430 https://bugzilla.gnome.org/show_bug.cgi?id=753228
This commit is contained in:
parent
ef9b7ef60a
commit
397b5d06ec
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ gst_rtp_h265_set_src_caps (GstRtpH265Depay * rtph265depay)
|
|||
gst_caps_unref (srccaps);
|
||||
|
||||
/* Insert SPS and PPS into the stream on next opportunity */
|
||||
{
|
||||
if (rtph265depay->sps->len > 0 || rtph265depay->pps->len > 0) {
|
||||
gint i;
|
||||
GstBuffer *codec_data;
|
||||
GstMapInfo map;
|
||||
|
|
Loading…
Reference in a new issue