--- gstavimux.c        2006-12-01 00:48:51.000000000 +0800
+++ new_gstavimux.c        2007-02-13 15:54:11.000000000 +0800
@@ -444,6 +444,9 @@ gst_avi_mux_vidsink_set_caps (GstPad * p
       avimux->vids.compression = GST_MAKE_FOURCC ('D', 'V', 'S', 'D');
     } else if (!strcmp (mimetype, "video/x-h263")) {
       avimux->vids.compression = GST_MAKE_FOURCC ('H', '2', '6', '3');
+    } else if (!strcmp (mimetype, "video/x-h264")) {
+      avimux->vids.compression = GST_MAKE_FOURCC ('H', '2', '6', '4');
+
     } else if (!strcmp (mimetype, "video/mpeg")) {
       gint mpegversion; 
