--- cheese-2.30.1/libcheese/cheese-camera.c	2010-08-14 20:05:25.779566002 +0200
+++ cheese_back/libcheese/cheese-camera.c	2010-04-26 21:06:20.000000000 +0200
@@ -593,13 +593,13 @@
   {
     cheese_camera_set_error_element_not_found (error, "ffmpegcolorspace");
   }
-  if ((video_enc = gst_element_factory_make ("jpegenc", "video_enc")) == NULL)
+  if ((video_enc = gst_element_factory_make ("theoraenc", "video_enc")) == NULL)
   {
-    cheese_camera_set_error_element_not_found (error, "jpegenc");
+    cheese_camera_set_error_element_not_found (error, "theoraenc");
   }
   else
   {
-    g_object_set (video_enc, "idct-method", 2, NULL);
+    g_object_set (video_enc, "keyframe-force", 1, NULL);
   }
 
   if ((video_save_rate = gst_element_factory_make ("videorate", "video_save_rate")) == NULL)
@@ -616,9 +616,9 @@
     g_object_set (video_save_scale, "method", 1, NULL);
   }
 
-  if ((mux = gst_element_factory_make ("matroskamux", "mux")) == NULL)
+  if ((mux = gst_element_factory_make ("oggmux", "mux")) == NULL)
   {
-    cheese_camera_set_error_element_not_found (error, "matroskamux");
+    cheese_camera_set_error_element_not_found (error, "oggmux");
   }
   else
   {
