From: Sebastian Dröge Date: Wed, 17 Feb 2010 09:04:54 +0000 (+0100) Subject: corelements: Combine redundant code X-Git-Tag: RELEASE-0.10.27~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1eea2495ff20ba61ecd8df376630cf32ae3e9ff0;p=platform%2Fupstream%2Fgstreamer.git corelements: Combine redundant code --- diff --git a/plugins/elements/gstelements.c b/plugins/elements/gstelements.c index 7835a2b..8380483 100644 --- a/plugins/elements/gstelements.c +++ b/plugins/elements/gstelements.c @@ -53,11 +53,7 @@ static struct _elements_entry _elements[] = { {"capsfilter", GST_RANK_NONE, gst_capsfilter_get_type}, {"fakesrc", GST_RANK_NONE, gst_fake_src_get_type}, {"fakesink", GST_RANK_NONE, gst_fake_sink_get_type}, -#ifdef HAVE_SYS_SOCKET_H - {"fdsrc", GST_RANK_NONE, gst_fd_src_get_type}, - {"fdsink", GST_RANK_NONE, gst_fd_sink_get_type}, -#endif -#ifdef _MSC_VER +#if defined(HAVE_SYS_SOCKET_H) || defined(_MSC_VER) {"fdsrc", GST_RANK_NONE, gst_fd_src_get_type}, {"fdsink", GST_RANK_NONE, gst_fd_sink_get_type}, #endif