mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
corelements: Combine redundant code
This commit is contained in:
parent
09bbc1493d
commit
1eea2495ff
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue