From c9c50d62e5ea118f68b9079b514b58bd5016e2c5 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 29 Jan 2011 22:13:18 +0000 Subject: LinGui: refactor --enable-gst option change to --disable-gst and make it work for both mingw and linux git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3774 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gtk/src/main.c') diff --git a/gtk/src/main.c b/gtk/src/main.c index de995e959..72617eb2b 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -34,8 +34,11 @@ #include -#if !defined(_WIN32) +#if defined(_ENABLE_GST) #include +#endif + +#if !defined(_WIN32) #include #include #else @@ -772,7 +775,7 @@ main (int argc, char *argv[]) context = g_option_context_new ("- Rip and encode DVD or MPEG file"); g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE); g_option_context_add_group (context, gtk_get_option_group (TRUE)); -#if !defined(_WIN32) +#if defined(_ENABLE_GST) g_option_context_add_group (context, gst_init_get_option_group ()); #endif g_option_context_parse (context, &argc, &argv, &error); -- cgit v1.2.3