diff -r 7da2a5e32fa6 -r 5ee8c970d982 gmyth-stream/gmemcoder/src/main.c --- a/gmyth-stream/gmemcoder/src/main.c Thu Apr 26 22:33:00 2007 +0100 +++ b/gmyth-stream/gmemcoder/src/main.c Wed May 16 18:47:09 2007 +0100 @@ -37,6 +37,7 @@ _mencoder_error_cb (GMencoder *mencoder, const gchar* msg, gpointer data) { g_print ("Error: %s\n", msg); + g_mencoder_close_stream (mencoder); g_main_loop_quit ((GMainLoop *) data); } @@ -151,10 +152,8 @@ g_debug ("RUNNING.."); g_main_loop_run (mainloop); - - g_mencoder_close_stream (coder); + g_debug ("DONE"); g_object_unref (coder); - return 0; }