Lines Matching refs:player
129 GstElement *player; in main() local
142 player = gst_element_factory_make ("playbin", "player"); in main()
143 g_assert (player); in main()
145 bus = gst_pipeline_get_bus (GST_PIPELINE (player)); in main()
153 player); in main()
155 g_object_set (G_OBJECT (player), "uri", argv[1], NULL); in main()
159 g_signal_connect (player, "about-to-finish", G_CALLBACK (about_to_finish_cb), in main()
162 res = gst_element_set_state (player, GST_STATE_PLAYING); in main()
168 g_timeout_add (UPDATE_INTERVAL, (GSourceFunc) update_scale, player); in main()
173 gst_element_set_state (player, GST_STATE_NULL); in main()
174 gst_object_unref (player); in main()