diff -r b405295259f3 -r 938f13e4a376 gmyth-stream/gmemcoder/src/main.c --- a/gmyth-stream/gmemcoder/src/main.c Tue Jul 03 13:53:26 2007 +0100 +++ b/gmyth-stream/gmemcoder/src/main.c Wed Jul 04 15:14:22 2007 +0100 @@ -27,6 +27,7 @@ static gchar *mux_name = NULL; static gchar *output_uri = NULL; static gboolean chunked = FALSE; +static gboolean deinterlace = FALSE; @@ -125,6 +126,10 @@ {"chunked", 'c', 0, G_OPTION_ARG_NONE, &chunked, "Send package chunked", NULL}, + {"deinterlace", 'd', 0, G_OPTION_ARG_NONE, &deinterlace, + "Use to deinterlace videos", NULL}, + + {NULL} }; @@ -166,7 +171,7 @@ vopts = NULL; - ret = g_mencoder_setup_stream(coder, chunked, mux_name, + ret = g_mencoder_setup_stream(coder, chunked, deinterlace, mux_name, video_encode, vopts, video_fps, video_rate, video_width, video_height, audio_encode, aopts, audio_rate, output_uri);