Just flushing the bus doesn't work here for some reason, so set
playbin to NULL state, which seems to clear all error state and
makes sure we do play the next playable song and don't pick up
'ghost' error messages from previous files on the bus.
g_error_free (err);
g_free (dbg);
+ /* flush any other error messages from the bus and clean up */
+ gst_element_set_state (play->playbin, GST_STATE_NULL);
+
if (play->missing != NULL && play_install_missing_plugins (play)) {
g_print ("New plugins installed, trying again...\n");
--play->cur_idx;