mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Fix warning about discarding const qualifier
Original commit message from CVS: Fix warning about discarding const qualifier
This commit is contained in:
parent
2006f3a335
commit
fb3c5d7c47
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2003-12-30 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
|
* ext/sndfile/gstsf.c: (gst_sf_loop):
|
||||||
|
Fix warning about discarding const qualifier
|
||||||
|
|
||||||
2003-12-27 Jeremy Simon <jesimon@libertysurf.fr>
|
2003-12-27 Jeremy Simon <jesimon@libertysurf.fr>
|
||||||
|
|
||||||
* gst/cutter/gstcutter.c:
|
* gst/cutter/gstcutter.c:
|
||||||
|
|
|
@ -695,7 +695,7 @@ gst_sf_loop (GstElement *element)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!channel->caps_set) {
|
if (!channel->caps_set) {
|
||||||
GstCaps *caps = GST_PAD_CAPS (GST_SF_CHANNEL (l)->pad);
|
GstCaps *caps = gst_caps_copy (GST_PAD_CAPS (GST_SF_CHANNEL (l)->pad));
|
||||||
if (!caps)
|
if (!caps)
|
||||||
caps = gst_caps_copy
|
caps = gst_caps_copy
|
||||||
(GST_PAD_TEMPLATE_CAPS (GST_PAD_PAD_TEMPLATE (GST_SF_CHANNEL (l)->pad)));
|
(GST_PAD_TEMPLATE_CAPS (GST_PAD_PAD_TEMPLATE (GST_SF_CHANNEL (l)->pad)));
|
||||||
|
|
Loading…
Reference in a new issue