diff -Naur mplayerplug-in-3.17.orig/Source/plugin-ui.cpp mplayerplug-in-3.17/Source/plugin-ui.cpp
--- mplayerplug-in-3.17.orig/Source/plugin-ui.cpp	2005-12-06 19:41:38.000000000 +0100
+++ mplayerplug-in-3.17/Source/plugin-ui.cpp	2006-01-31 09:14:55.000000000 +0100
@@ -2209,12 +2209,17 @@
     instance->conf_ao = gtk_combo_box_entry_new_text();
     if (instance->conf_ao != NULL) {
 	gtk_combo_box_append_text(GTK_COMBO_BOX(instance->conf_ao),
+				  "jack");
+	gtk_combo_box_append_text(GTK_COMBO_BOX(instance->conf_ao),
 				  "alsa");
 	gtk_combo_box_append_text(GTK_COMBO_BOX(instance->conf_ao),
 				  "arts");
 	gtk_combo_box_append_text(GTK_COMBO_BOX(instance->conf_ao), "esd");
 	gtk_combo_box_append_text(GTK_COMBO_BOX(instance->conf_ao), "oss");
 	if (instance->ao != NULL) {
+	    if (strcmp(instance->ao, "jack") == 0)
+		gtk_combo_box_set_active(GTK_COMBO_BOX(instance->conf_ao),
+					 0);
 	    if (strcmp(instance->ao, "alsa") == 0)
 		gtk_combo_box_set_active(GTK_COMBO_BOX(instance->conf_ao),
 					 0);
@@ -2232,7 +2237,7 @@
 		gtk_combo_box_append_text(GTK_COMBO_BOX(instance->conf_ao),
 					  instance->ao);
 		gtk_combo_box_set_active(GTK_COMBO_BOX(instance->conf_ao),
-					 4);
+					 5);
 	    }
 	}
     }

