From 0db66b48d938a1837f363c5e27986aa4492971d7 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 5 Jul 2005 09:08:36 +0000 Subject: [PATCH] gst/videoscale/gstvideoscale.c (gst_videoscale_transform_caps): Style fix. Original commit message from CVS: 2005-07-05 Andy Wingo * gst/videoscale/gstvideoscale.c (gst_videoscale_transform_caps): Style fix. --- ChangeLog | 5 +++++ gst/videoscale/gstvideoscale.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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);