Original commit message from CVS:
Fix docs
This commit is contained in:
Ronald S. Bultje 2003-04-16 22:09:16 +00:00
parent 1a2a989d15
commit 4df49daf44
2 changed files with 4 additions and 4 deletions

View file

@ -139,7 +139,7 @@ main (int argc, char *argv[])
gst_element_link_many (filesrc, decoder, audiosink, NULL);
/* start playing */
gst_element_set_state (GST_ELEMENT (thread), GST_STATE_PLAYING);
gst_element_set_state (thread, GST_STATE_PLAYING);
/* do whatever you want here, the thread will be playing */
g_print ("thread is playing\n");
@ -147,7 +147,7 @@ main (int argc, char *argv[])
can_quit = TRUE;
gst_main ();
gst_pipeline_destroy (thread);
gst_object_unref (GST_OBJECT (thread));
exit (0);
}

View file

@ -139,7 +139,7 @@ main (int argc, char *argv[])
gst_element_link_many (filesrc, decoder, audiosink, NULL);
/* start playing */
gst_element_set_state (GST_ELEMENT (thread), GST_STATE_PLAYING);
gst_element_set_state (thread, GST_STATE_PLAYING);
/* do whatever you want here, the thread will be playing */
g_print ("thread is playing\n");
@ -147,7 +147,7 @@ main (int argc, char *argv[])
can_quit = TRUE;
gst_main ();
gst_pipeline_destroy (thread);
gst_object_unref (GST_OBJECT (thread));
exit (0);
}