From a4300116aa7b2673b6d865ead3a5ff2f4ba80565 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Thu, 3 Feb 2011 00:16:27 +0100 Subject: [PATCH 1/1] Fix program for GStreamer < 0.10.31 It seems that gst_is_initialized() wasn't added until version 0.10.31. And it just so happens that Ubuntu 10.10 has 0.10.30, so compilation was failing. --- libchimara/init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libchimara/init.c b/libchimara/init.c index b0da4c4..d2d161a 100644 --- a/libchimara/init.c +++ b/libchimara/init.c @@ -29,7 +29,9 @@ chimara_init(void) /* Make sure GStreamer has been initialized if it hasn't been already; in particular, if you want your program to parse GStreamer command line options then you should do it yourself, before gtk_init(). */ - if( !gst_is_initialized() ) + + /* SUCKY DEBIAN: gst_is_initialized() supported from 0.10.30 onward */ + /*if( !gst_is_initialized() )*/ gst_init(NULL, NULL); #endif -- 2.30.2