rtp: fix build issue in gstrtph264pay.c
authorLuis de Bethencourt <luis@debethencourt.com>
Thu, 24 May 2012 08:29:25 +0000 (09:29 +0100)
committerLuis de Bethencourt <luis@debethencourt.com>
Thu, 24 May 2012 08:29:25 +0000 (09:29 +0100)
gst/rtp/gstrtph264pay.c

index 1190795..7319526 100644 (file)
@@ -377,7 +377,9 @@ gst_rtp_h264_pay_getcaps (GstRTPBasePayload * payload, GstPad * pad,
   }
 
   if (append_unrestricted) {
-    gst_caps_merge_structure (caps, gst_structure_new ("video/x-h264", NULL));
+    caps =
+        gst_caps_merge_structure (caps, gst_structure_new ("video/x-h264", NULL,
+            NULL));
   }
 
   icaps = gst_caps_intersect (caps, template_caps);