playback/player: gtk-play: remove duplicate code

This commit is contained in:
danny song 2015-06-04 01:45:51 +09:00 committed by Sebastian Dröge
parent 76fb77bfe8
commit 07a074be04

View file

@ -1514,11 +1514,6 @@ main (gint argc, gchar ** argv)
g_signal_connect (play.player, "media-info-updated",
G_CALLBACK (media_info_updated_cb), &play);
/* We have file(s) that need playing. */
set_title (&play, g_list_first (play.uris)->data);
gst_player_play (play.player);
play.current_uri = g_list_first (play.uris);
play_current_uri (&play, g_list_first (play.uris), NULL);
gtk_main ();