diff -r 36b8564d10e6 -r 1603bc7804da gmyth-stream/gmemcoder/src/main.c --- a/gmyth-stream/gmemcoder/src/main.c Tue Jun 26 15:00:45 2007 +0100 +++ b/gmyth-stream/gmemcoder/src/main.c Tue Jul 03 21:20:15 2007 +0100 @@ -26,6 +26,7 @@ static double audio_rate = 0.0; static gchar *mux_name = NULL; static gchar *output_uri = NULL; +static gboolean chunked = FALSE; @@ -121,6 +122,9 @@ {"output-uri", 'o', 0, G_OPTION_ARG_STRING, &output_uri, "Uri to output", NULL}, + {"chunked", 'c', 0, G_OPTION_ARG_NONE, &chunked, + "Send package chunked", NULL}, + {NULL} }; @@ -162,7 +166,7 @@ vopts = NULL; - ret = g_mencoder_setup_stream(coder, mux_name, + ret = g_mencoder_setup_stream(coder, chunked, mux_name, video_encode, vopts, video_fps, video_rate, video_width, video_height, audio_encode, aopts, audio_rate, output_uri);