1.1 --- a/gmyth-stream/gmemcoder/src/main.c Tue Jul 03 13:53:26 2007 +0100
1.2 +++ b/gmyth-stream/gmemcoder/src/main.c Wed Jul 04 15:14:22 2007 +0100
1.3 @@ -27,6 +27,7 @@
1.4 static gchar *mux_name = NULL;
1.5 static gchar *output_uri = NULL;
1.6 static gboolean chunked = FALSE;
1.7 +static gboolean deinterlace = FALSE;
1.8
1.9
1.10
1.11 @@ -125,6 +126,10 @@
1.12 {"chunked", 'c', 0, G_OPTION_ARG_NONE, &chunked,
1.13 "Send package chunked", NULL},
1.14
1.15 + {"deinterlace", 'd', 0, G_OPTION_ARG_NONE, &deinterlace,
1.16 + "Use to deinterlace videos", NULL},
1.17 +
1.18 +
1.19 {NULL}
1.20 };
1.21
1.22 @@ -166,7 +171,7 @@
1.23 vopts = NULL;
1.24
1.25
1.26 - ret = g_mencoder_setup_stream(coder, chunked, mux_name,
1.27 + ret = g_mencoder_setup_stream(coder, chunked, deinterlace, mux_name,
1.28 video_encode, vopts, video_fps,
1.29 video_rate, video_width, video_height,
1.30 audio_encode, aopts, audio_rate, output_uri);