rem: if (bacon_video_widget_is_playing (bvw) == FALSE)
add: status = xine_get_status (bvw->priv->stream); if (status != XINE_STATUS_STOP && status != XINE_STATUS_PLAY)
context: bacon_video_widget_get_current_time (BaconVideoWidget *bvw){	int pos_time = 0, i = 0;	int pos_stream, length_time;	gboolean ret;	g_return_val_if_fail (bvw != NULL, 0);	g_return_val_if_fail (BACON_IS_VIDEO_WIDGET (bvw), 0);	g_return_val_if_fail (bvw->priv->xine != NULL, 0);	if (bacon_video_widget_is_playing (bvw) == FALSE)		return 0;	ret = xine_get_pos_length (bvw->priv->stream, &pos_stream,			&pos_time, &length_time);	while (ret == FALSE && i < 10)	{		usleep (100000);		ret = xine_get_pos_length (bvw->priv->stream, &pos_stream,				&pos_time, &length_time);		i++;	}	if (bvw->priv->seeking == 1)	{		return bvw->priv->seek_dest * length_time;	} else if (bvw->priv->seeking == 2) {		return bvw->priv->seek_dest_time;	}	if (ret == FALSE)		return -1;	return pos_time;}