ebf7ff6fc7
Lots of bugfixes. Rework dependencies.
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
$OpenBSD: patch-shell_rb-shell-player_c,v 1.8 2009/11/22 11:18:34 ajacoutot Exp $
|
|
--- shell/rb-shell-player.c.orig Sat Nov 21 01:31:38 2009
|
|
+++ shell/rb-shell-player.c Sun Nov 22 11:32:43 2009
|
|
@@ -733,10 +733,8 @@ rb_shell_player_open_playlist_url (RBShellPlayer *play
|
|
rb_player_play (player->priv->mmplayer, play_type, player->priv->track_transition_time, &error);
|
|
|
|
if (error) {
|
|
- GDK_THREADS_ENTER ();
|
|
rb_shell_player_error (player, TRUE, error);
|
|
g_error_free (error);
|
|
- GDK_THREADS_LEAVE ();
|
|
}
|
|
}
|
|
|
|
@@ -808,7 +806,9 @@ rb_shell_player_handle_eos_unlocked (RBShellPlayer *pl
|
|
/* we're handling an unexpected EOS here, so crossfading isn't
|
|
* really possible anyway -> specify FALSE.
|
|
*/
|
|
+ GDK_THREADS_ENTER ();
|
|
rb_shell_player_open_playlist_url (player, location, entry, FALSE);
|
|
+ GDK_THREADS_LEAVE ();
|
|
g_free (location);
|
|
break;
|
|
}
|
|
@@ -1497,7 +1497,9 @@ open_location_thread (OpenLocationThreadData *data)
|
|
} else {
|
|
/* if we can't parse it as a playlist, just try playing it */
|
|
rb_debug ("playlist parser failed, playing %s directly", data->location);
|
|
+ GDK_THREADS_ENTER ();
|
|
rb_shell_player_open_playlist_url (data->player, data->location, data->entry, data->play_type);
|
|
+ GDK_THREADS_LEAVE ();
|
|
}
|
|
|
|
g_free (data);
|