diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtpmanager/rtpsource.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c index 40cdd238..77d56c22 100644 --- a/gst/rtpmanager/rtpsource.c +++ b/gst/rtpmanager/rtpsource.c @@ -981,7 +981,8 @@ rtp_source_process_rtp (RTPSource * src, GstBuffer * buffer, seqnr = gst_rtp_buffer_get_seq (buffer); - rtp_source_update_caps (src, GST_BUFFER_CAPS (buffer)); + if (GST_BUFFER_CAPS (buffer)) + rtp_source_update_caps (src, GST_BUFFER_CAPS (buffer)); if (stats->cycles == -1) { GST_DEBUG ("received first buffer"); |