35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
$OpenBSD: patch-shell_rb-shell-player_c,v 1.7 2009/08/23 19:30:21 ajacoutot Exp $
|
|
--- shell/rb-shell-player.c.orig Sun Aug 23 12:38:43 2009
|
|
+++ shell/rb-shell-player.c Sun Aug 23 13:44:05 2009
|
|
@@ -740,10 +740,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 ();
|
|
}
|
|
}
|
|
|
|
@@ -815,7 +813,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;
|
|
}
|
|
@@ -1504,7 +1504,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);
|