diff options
author | jstebbins <[email protected]> | 2011-01-29 22:13:18 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-01-29 22:13:18 +0000 |
commit | c9c50d62e5ea118f68b9079b514b58bd5016e2c5 (patch) | |
tree | 2fab334bf5069cf5f86e44904fda94e375104b92 /gtk/src | |
parent | e9b451617fe690327d361caf7e9d0976fda45910 (diff) |
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
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
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 <gtk/gtk.h> -#if !defined(_WIN32) +#if defined(_ENABLE_GST) #include <gst/gst.h> +#endif + +#if !defined(_WIN32) #include <libnotify/notify.h> #include <dbus/dbus-glib.h> #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); |