[0.10] gst-plugins-base: discoverer: add a few consts where appropriate

Tim Müller tpm at kemper.freedesktop.org
Thu Jan 12 09:48:35 PST 2012


Module: gst-plugins-base
Branch: 0.10
Commit: b84dc53d86b5d3dad7aeb4d2b51fb38993b38e7f
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=b84dc53d86b5d3dad7aeb4d2b51fb38993b38e7f

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Wed Jan 11 11:55:59 2012 +0000

discoverer: add a few consts where appropriate

---

 gst-libs/gst/pbutils/gstdiscoverer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst-libs/gst/pbutils/gstdiscoverer.c b/gst-libs/gst/pbutils/gstdiscoverer.c
index 140eb02..2c4fdf2 100644
--- a/gst-libs/gst/pbutils/gstdiscoverer.c
+++ b/gst-libs/gst/pbutils/gstdiscoverer.c
@@ -845,9 +845,9 @@ find_stream_for_node (GstDiscoverer * dc, const GstStructure * topology)
 }
 
 static gboolean
-child_is_raw_stream (GstCaps * parent, GstCaps * child)
+child_is_raw_stream (const GstCaps * parent, const GstCaps * child)
 {
-  GstStructure *st1, *st2;
+  const GstStructure *st1, *st2;
   const gchar *name1, *name2;
 
   st1 = gst_caps_get_structure (parent, 0);



More information about the gstreamer-commits mailing list