[longomatch] Fix compiler warnings on OSX
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix compiler warnings on OSX
- Date: Wed, 24 Sep 2014 20:29:43 +0000 (UTC)
commit 8a6477ace53c3b2a99638223dea246744805fb5a
Author: Julien Moutte <julien fluendo com>
Date: Thu Sep 11 12:29:52 2014 -0700
Fix compiler warnings on OSX
libcesarplayer/test-discoverer.c | 1 -
libcesarplayer/test-remuxer.c | 2 ++
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/test-discoverer.c b/libcesarplayer/test-discoverer.c
index 89bf58a..9abc335 100644
--- a/libcesarplayer/test-discoverer.c
+++ b/libcesarplayer/test-discoverer.c
@@ -26,7 +26,6 @@ main (int argc, char *argv[])
guint width, height, fps_n, fps_d, par_n, par_d;
gchar *container, *audio_codec, *video_codec;
GstDiscovererResult res;
- gchar *uri;
GError *err = NULL;
lgm_init_backend (0, NULL);
diff --git a/libcesarplayer/test-remuxer.c b/libcesarplayer/test-remuxer.c
index 455de62..e5a3ba6 100644
--- a/libcesarplayer/test-remuxer.c
+++ b/libcesarplayer/test-remuxer.c
@@ -34,6 +34,7 @@ percent_done_cb (GstRemuxer *remuxer, gfloat percent, GMainLoop *loop)
} else {
g_print("----> %f%%", percent);
}
+ return TRUE;
}
static gboolean
@@ -41,6 +42,7 @@ error_cb (GstRemuxer *remuxer, gchar *error, GMainLoop *loop)
{
g_print("ERROR: %s\n", error);
g_main_loop_quit (loop);
+ return TRUE;
}
int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]