mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
asfdepay: fix compiler warnings after gst_caps_new_simple() change
This commit is contained in:
parent
d6da97c8fa
commit
211fd04773
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ gst_rtp_asf_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
|
|||
|| memcmp (headers, asf_marker, 16) != 0)
|
||||
goto invalid_headers;
|
||||
|
||||
src_caps = gst_caps_new_simple ("video/x-ms-asf", NULL);
|
||||
src_caps = gst_caps_new_empty_simple ("video/x-ms-asf");
|
||||
gst_pad_set_caps (depayload->srcpad, src_caps);
|
||||
gst_caps_unref (src_caps);
|
||||
|
||||
|
|
Loading…
Reference in a new issue