From: Thomas Vander Stichele Date: Sun, 15 Sep 2002 14:07:41 +0000 (+0000) Subject: cleanups X-Git-Tag: BRANCH-RELEASE-0_4_1-ROOT~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=697c3740d7f63fdf5d89a4926505d734b12bd69e;p=platform%2Fupstream%2Fgstreamer.git cleanups Original commit message from CVS: cleanups --- diff --git a/docs/manual/helloworld2.xml b/docs/manual/helloworld2.xml index eebfea5..784ba45 100644 --- a/docs/manual/helloworld2.xml +++ b/docs/manual/helloworld2.xml @@ -36,7 +36,7 @@ gst_play_have_type (GstElement *typefind, GstCaps *caps, GstElement *pipeline) GstElement *filesrc; GstElement *cache; - GST_DEBUG (0,"GstPipeline: play have type"); + g_print ("GstPipeline: play have type\n"); gst_element_set_state (pipeline, GST_STATE_PAUSED); @@ -44,13 +44,13 @@ gst_play_have_type (GstElement *typefind, GstCaps *caps, GstElement *pipeline) autobin = gst_bin_get_by_name (GST_BIN (pipeline), "autobin"); cache = gst_bin_get_by_name (GST_BIN (autobin), "cache"); - // disconnect the typefind from the pipeline and remove it + /* disconnect the typefind from the pipeline and remove it */ gst_element_disconnect (cache, typefind); gst_bin_remove (GST_BIN (autobin), typefind); /* and an audio sink */ osssink = gst_element_factory_make ("osssink", "play_audio"); - g_assert(osssink != NULL); + g_assert (osssink != NULL); autoplug = gst_autoplug_factory_make ("staticrender"); g_assert (autoplug != NULL); @@ -81,7 +81,7 @@ gst_play_cache_empty (GstElement *element, GstElement *pipeline) GstElement *cache; GstElement *new_element; - fprintf (stderr, "have cache empty\n"); + g_print (have cache empty\n"); gst_element_set_state (pipeline, GST_STATE_PAUSED); @@ -97,7 +97,7 @@ gst_play_cache_empty (GstElement *element, GstElement *pipeline) gst_element_set_state (pipeline, GST_STATE_PLAYING); - fprintf (stderr, "done with cache_empty\n"); + g_print ("done with cache_empty\n"); } int @@ -112,7 +112,7 @@ main (int argc, char *argv[]) gst_init (&argc, &argv); if (argc != 2) { - g_print ("usage: %s <filename>\n", argv[0]); + g_print ("usage: %s <filename with audio>\n", argv[0]); exit (-1); }