mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 23:12:42 +00:00
playback/player: gtk-play: remove duplicate code
This commit is contained in:
parent
76fb77bfe8
commit
07a074be04
1 changed files with 0 additions and 5 deletions
|
@ -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…
Reference in a new issue