tests/examples/test4.c: C90 fixes
authorBrandon Lewis <brandon@collabora.co.uk>
Wed, 9 Jun 2010 15:08:31 +0000 (17:08 +0200)
committerBrandon Lewis <brandon@collabora.co.uk>
Wed, 9 Jun 2010 15:13:07 +0000 (17:13 +0200)
tests/examples/test4.c

index 054834c..d1ab3c3 100644 (file)
@@ -20,6 +20,8 @@
 #include <ges/ges.h>
 #include <gst/profile/gstprofile.h>
 
+GstEncodingProfile *make_ogg_vorbis_profile (void);
+
 /* This example will take a series of files and create a audio-only timeline
  * containing the first second of each file and render it to the output uri 
  * using ogg/vorbis */
@@ -33,7 +35,7 @@ make_ogg_vorbis_profile (void)
   GstEncodingProfile *profile;
   GstStreamEncodingProfile *audiostream;
 
-  profile = gst_encoding_profile_new ("ges-test4",
+  profile = gst_encoding_profile_new ((gchar *) "ges-test4",
       gst_caps_new_simple ("application/ogg", NULL), NULL, FALSE);
   audiostream = gst_stream_encoding_profile_new (GST_ENCODING_PROFILE_AUDIO,
       gst_caps_new_simple ("audio/x-vorbis", NULL), NULL, NULL, 1);