playback/player: gtk-play: remove duplicate code
This commit is contained in:
parent
76fb77bfe8
commit
07a074be04
@ -1514,11 +1514,6 @@ main (gint argc, gchar ** argv)
|
|||||||
g_signal_connect (play.player, "media-info-updated",
|
g_signal_connect (play.player, "media-info-updated",
|
||||||
G_CALLBACK (media_info_updated_cb), &play);
|
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);
|
play_current_uri (&play, g_list_first (play.uris), NULL);
|
||||||
|
|
||||||
gtk_main ();
|
gtk_main ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user