1.1 --- a/gmyth-stream/gmemcoder/src/main.c Thu Apr 26 22:33:00 2007 +0100
1.2 +++ b/gmyth-stream/gmemcoder/src/main.c Fri May 11 14:41:11 2007 +0100
1.3 @@ -37,6 +37,7 @@
1.4 _mencoder_error_cb (GMencoder *mencoder, const gchar* msg, gpointer data)
1.5 {
1.6 g_print ("Error: %s\n", msg);
1.7 + g_mencoder_close_stream (mencoder);
1.8 g_main_loop_quit ((GMainLoop *) data);
1.9 }
1.10
1.11 @@ -151,10 +152,8 @@
1.12
1.13 g_debug ("RUNNING..");
1.14 g_main_loop_run (mainloop);
1.15 -
1.16 - g_mencoder_close_stream (coder);
1.17 + g_debug ("DONE");
1.18 g_object_unref (coder);
1.19
1.20 -
1.21 return 0;
1.22 }