[longomatch] Fix compilation warnings



commit f10120a6476b34edfedd5d7785c16d1efae6b89c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Aug 1 20:59:24 2012 +0200

    Fix compilation warnings

 LongoMatch.GUI/CategoriesFilter.cs           |   17 -----------------
 libcesarplayer/bacon-video-widget-gst-0.10.c |    3 +--
 libcesarplayer/gst-camera-capturer.c         |    2 +-
 libcesarplayer/gst-video-editor.c            |    2 +-
 4 files changed, 3 insertions(+), 21 deletions(-)
---
diff --git a/libcesarplayer/bacon-video-widget-gst-0.10.c b/libcesarplayer/bacon-video-widget-gst-0.10.c
index 5f345d9..19728e2 100644
--- a/libcesarplayer/bacon-video-widget-gst-0.10.c
+++ b/libcesarplayer/bacon-video-widget-gst-0.10.c
@@ -5190,7 +5190,6 @@ bvw_update_interface_implementations (BaconVideoWidget * bvw)
   GstXOverlay *old_xoverlay = bvw->priv->xoverlay;
   GstElement *video_sink = NULL;
   GstElement *element = NULL;
-  GstIteratorResult ires;
   GstIterator *iter;
 
   if (g_thread_self () != gui_thread) {
@@ -5262,7 +5261,7 @@ bvw_update_interface_implementations (BaconVideoWidget * bvw)
       GST_TYPE_COLOR_BALANCE);
   /* naively assume no resync */
   element = NULL;
-  ires = gst_iterator_fold (iter, (GstIteratorFoldFunction)
+  gst_iterator_fold (iter, (GstIteratorFoldFunction)
       find_colorbalance_element, NULL, &element);
   gst_iterator_free (iter);
 
diff --git a/libcesarplayer/gst-camera-capturer.c b/libcesarplayer/gst-camera-capturer.c
index 3f45d5a..1e8d461 100644
--- a/libcesarplayer/gst-camera-capturer.c
+++ b/libcesarplayer/gst-camera-capturer.c
@@ -1690,7 +1690,7 @@ destroy_pixbuf (guchar * pix, gpointer data)
 void
 gst_camera_capturer_unref_pixbuf (GdkPixbuf * pixbuf)
 {
-  gdk_pixbuf_unref (pixbuf);
+  g_object_unref (pixbuf);
 }
 
 GdkPixbuf *
diff --git a/libcesarplayer/gst-video-editor.c b/libcesarplayer/gst-video-editor.c
index 2c38b1c..297ea3d 100644
--- a/libcesarplayer/gst-video-editor.c
+++ b/libcesarplayer/gst-video-editor.c
@@ -363,6 +363,7 @@ gst_video_editor_set_height (GstVideoEditor * gve, gint height)
   gve_apply_new_caps (gve);
 }
 
+static void
 gst_video_editor_set_title_size (GstVideoEditor * gve, gint size)
 {
   gve->priv->title_size = size;
@@ -488,7 +489,6 @@ static void
 gve_apply_new_caps (GstVideoEditor * gve)
 {
   GstCaps *caps;
-  gchar *font;
 
   caps = gst_caps_new_simple ("video/x-raw-yuv",
       "width", G_TYPE_INT, gve->priv->width,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]