2 * Copyright (C) 2007-2008 Wouter Cloetens <wouter@mind.be>
3 * Copyright (C) 2021 Igalia S.L.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more
20 #include <glib/gi18n-lib.h>
22 #include "gstsoupelements.h"
23 #include "gstsouploader.h"
25 GST_DEBUG_CATEGORY (gst_soup_debug);
27 #define GST_CAT_DEFAULT gst_soup_debug
30 plugin_init (GstPlugin * plugin)
34 GST_DEBUG_CATEGORY_INIT (gst_soup_debug, "soup", 0, "soup");
37 if (!gst_soup_load_library ()) {
38 GST_WARNING ("Failed to load libsoup library");
43 ret |= GST_ELEMENT_REGISTER (souphttpsrc, plugin);
44 ret |= GST_ELEMENT_REGISTER (souphttpclientsink, plugin);
49 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
52 "libsoup HTTP client src/sink",
53 plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)