diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2003-12-19 14:39:03 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2003-12-19 14:39:03 +0000 |
commit | c7e93487dbadaee289bb6da90d4377dddc697b5a (patch) | |
tree | e74b4968dc778e01020e2ae91fec220d89d9efa2 /examples/gstplay | |
parent | 074448a57126856963e1eb5dda09cf9426cabe80 (diff) | |
download | gst-plugins-bad-c7e93487dbadaee289bb6da90d4377dddc697b5a.tar.gz gst-plugins-bad-c7e93487dbadaee289bb6da90d4377dddc697b5a.tar.bz2 gst-plugins-bad-c7e93487dbadaee289bb6da90d4377dddc697b5a.zip |
superfluous space segregationMOVE-TO-FDO
Original commit message from CVS:
superfluous space segregation
Diffstat (limited to 'examples/gstplay')
-rw-r--r-- | examples/gstplay/player.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/gstplay/player.c b/examples/gstplay/player.c index 846d58ac..41fbb546 100644 --- a/examples/gstplay/player.c +++ b/examples/gstplay/player.c @@ -107,7 +107,7 @@ main (int argc, char *argv[]) g_print ("usage: %s <video filename>\n", argv[0]); exit (-1); } - + loop = g_main_loop_new (NULL, FALSE); /* Creating the GstPlay object */ @@ -118,18 +118,18 @@ main (int argc, char *argv[]) video_sink = gst_element_factory_make ("xvimagesink", "video_sink"); vis_element = gst_element_factory_make ("goom", "vis_element"); data_src = gst_element_factory_make ("gnomevfssrc", "source"); - + /* Let's send them to GstPlay object */ gst_play_set_audio_sink (play, audio_sink); gst_play_set_video_sink (play, video_sink); gst_play_set_data_src (play, data_src); gst_play_set_visualization (play, vis_element); - + /* Setting location we want to play */ gst_play_set_location (play, argv[1]); /* gst_xml_write_file (GST_ELEMENT (play), stdout); */ - + g_signal_connect (G_OBJECT (play), "time_tick", G_CALLBACK (got_time_tick), NULL); g_signal_connect (G_OBJECT (play), "stream_length", @@ -140,13 +140,13 @@ main (int argc, char *argv[]) G_CALLBACK (got_found_tag), NULL); g_signal_connect (G_OBJECT (play), "eos", G_CALLBACK (got_eos), NULL); - + /* Change state to PLAYING */ gst_element_set_state (GST_ELEMENT (play), GST_STATE_PLAYING); g_idle_add ((GSourceFunc) idle_iterate, play); g_timeout_add (20000, (GSourceFunc) seek_timer, play); - + g_main_loop_run (loop); /* unref */ |