diff --git a/ChangeLog b/ChangeLog index 7c1f1c396a..8bc2a1f239 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-05 Andy Wingo + + * gst/videoscale/gstvideoscale.c (gst_videoscale_transform_caps): + Style fix. + 2005-07-04 Wim Taymans * ext/vorbis/vorbisenc.c: (gst_vorbisenc_chain): diff --git a/gst/videoscale/gstvideoscale.c b/gst/videoscale/gstvideoscale.c index 777d49dc3b..6229ba8b03 100644 --- a/gst/videoscale/gstvideoscale.c +++ b/gst/videoscale/gstvideoscale.c @@ -276,7 +276,7 @@ gst_videoscale_transform_caps (GstBaseTransform * trans, GstPad * pad, videoscale = GST_VIDEOSCALE (trans); - ret = gst_caps_make_writable (gst_caps_ref (caps)); + ret = gst_caps_copy (caps); for (i = 0; i < gst_caps_get_size (ret); i++) { GstStructure *structure = gst_caps_get_structure (ret, i);