Commit graph

67 commits

Author SHA1 Message Date
Thibault Saunier 019971a3c7 Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
Stéphane Cerveau c2b1368b03 neon: allow per feature registration
Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2038>
2021-03-23 14:19:17 +00:00
Stéphane Cerveau add7878e14 bad: use of g_value_dup_string
Use helper method to get string from GValue.
2019-12-30 14:13:03 +00:00
Stéphane Cerveau 6bc0e9527e remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
Aaron Boxer 6d3429af34 documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
Nicolas Dufresne 012782239e neon: Make the plugin name match the plugin library 2017-05-09 09:41:17 -04:00
Edgard Lima 38ad22a7f1 Update Edgard Lima's email
https://bugzilla.gnome.org/show_bug.cgi?id=779230
2017-02-27 00:50:46 +00:00
Vineeth TM 8cdfb13658 bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
2016-03-24 14:56:51 +02:00
Reynaldo H. Verdejo Pinochet 86ec812429 Remove unnecessary NULL checks before g_free()
g_free() is NULL-safe
2015-11-18 16:05:42 -08:00
Tim-Philipp Müller b3e70d30cf neonhttpsrc: add support for SCHEDULING query 2013-05-12 18:52:56 +01:00
Tim-Philipp Müller e1f4f5ccaa neonhttpsrc: add iradio-mode property and post icy metadata as tags 2013-05-12 18:52:56 +01:00
Tim-Philipp Müller ca3a83a60d neonhttpsrc: port to 1.0 2013-05-12 18:52:55 +01:00
Tim-Philipp Müller 32ba17cd0f Use gst_element_class_set_static_metadata()
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Mark Nauwelaerts 578861abea replace gst_element_class_set_details_simple with gst_element_class_set_metadata 2012-09-14 17:27:49 +02:00
Sebastian Dröge cda192b3b7 gst: Update for GST_PLUGIN_DEFINE() API changes 2012-04-05 18:02:56 +02:00
Tim-Philipp Müller 6b06fa1d34 neonhttpsrc: remove iradio-* properties
Should send tags instead.
2011-11-24 01:56:07 +00:00
Tim-Philipp Müller 7817bf24f3 neonhttpsrc: unconditionally send icecast request header, remove iradio-mode property 2011-11-24 01:53:36 +00:00
Tim-Philipp Müller 357d7bdfed Update for GstURIHandler get_protocols() changes 2011-11-13 23:55:56 +00:00
Alessandro Decina adc048eb64 neonhttpsrc: implement URI query 2011-07-14 23:14:13 +02:00
Stefan Kost 0387a89cad various (ext): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
2010-10-19 17:13:26 +03:00
David Hoyt f724428e07 neonhttpsrc: add connect-timeout and read-timeout properties
https://bugzilla.gnome.org/show_bug.cgi?id=625076
2010-08-06 11:07:13 +01:00
Tim-Philipp Müller 640a1ff0e8 neonhttpsrc: add "cookies" property
Based on patch by: Sameer Naik

https://bugzilla.gnome.org/show_bug.cgi?id=625174
2010-08-06 10:44:24 +01:00
Benjamin Otte 240f494aa7 Add -Wold-style-definition
and fix the warnings
2010-03-22 16:56:03 +01:00
Benjamin Otte 33c2f5fb01 Add -Wwrite-strings
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte 775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Stefan Kost aa65063eda neon,dvd: also use g_value_set_static_string() here for static strings 2010-03-16 23:44:01 +02:00
Josep Torra 806746a388 neonhttpsrc: handle all redirection http status codes 2009-09-04 13:13:39 +02:00
Mathias Hasselmann 46b4d226ca neonhttp: add property to support SS cerificates
Add a property to support self-signed certificates in neonhttpsrc. This property
is FALSE by default.
Fixes #511097
2009-05-25 17:24:32 +02:00
Tim-Philipp Müller 52fd692bcf ext/neon/gstneonhttpsrc.c: Clean up the debug logging code and #ifdef mess a bit: whether or not gstreamer debug mess...
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_start),
(gst_neonhttp_src_send_request_and_redirect):
Clean up the debug logging code and #ifdef mess a bit: whether or not
gstreamer debug messages should be output should not depend on an
element property; also, GST_ELEMENT_ERROR will leave a line in the log
already, so merge the more useful debug log messages with the less useful
error debug strings.
2008-09-17 14:47:12 +00:00
Tim-Philipp Müller 028352c5e0 ext/neon/gstneonhttpsrc.c: Don't post LIBRARY_INIT errors where we should be posting
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_start):
Don't post LIBRARY_INIT errors where we should be posting
RESOURCE OPEN_READ errors. Fixes #552506.
2008-09-17 14:22:38 +00:00
Sebastian Dröge a40d677f36 ext/neon/gstneonhttpsrc.c: Handle HTTP status code 303 (See Other) the same way as 302 (Found). Not sure what to do a...
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init),
(gst_neonhttp_src_send_request_and_redirect):
Handle HTTP status code 303 (See Other) the same way
as 302 (Found). Not sure what to do about all the other 3xx
redirect status codes. Fixes bug #522884.
2008-03-17 09:02:43 +00:00
Sebastian Dröge e4476e15e0 Use GST_LICENSE, GST_PACKAGE_NAME and GST_PACKAGE_ORIGIN instead of hardcoding values where possible. Fixes bug #522212.
Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.c:
* ext/gsm/gstgsm.c:
* ext/jack/gstjack.c:
* ext/libmms/gstmms.c:
* ext/neon/gstneonhttpsrc.c:
* ext/shout/gstshout.c:
* ext/timidity/gsttimidity.c:
* ext/timidity/gstwildmidi.c:
* gst/nuvdemux/gstnuvdemux.c:
* gst/tta/gsttta.c:
Use GST_LICENSE, GST_PACKAGE_NAME and GST_PACKAGE_ORIGIN instead
of hardcoding values where possible. Fixes bug #522212.
2008-03-13 14:25:20 +00:00
Sébastien Moutte 37915fa611 ext\neon\gstneonhttpsrc.c: Include unistd.h only if _HAVE_UNISTD_H is defined
Original commit message from CVS:
* ext\neon\gstneonhttpsrc.c:
Include unistd.h only if _HAVE_UNISTD_H is defined
* gst\mpegvideoparse\mpegvideoparse.c:
Use G_GUINT64_CONSTANT GLIB macro for constant
* sys\dshowsrcwrapper\gstdshowaudiosrc.c:
* sys\dshowsrcwrapper\gstdshowvideosrc.c:
* sys\dshowdecwrapper\gstdshowaudiodec.c:
* sys\dshowdecwrapper\gstdshowaudiodec.h:
* sys\dshowdecwrapper\gstdshowdecwrapper.c:
* sys\dshowdecwrapper\gstdshowdecwrapper.h:
* sys\dshowdecwrapper\gstdshowvideodec.c
* sys\dshowdecwrapper\gstdshowvideodec.h:
Add a DirectShow decoder wrapper.
* win32\MANIFEST:
Add new win32 files to MANIFEST
* win32\vs6\gst_plugins_bad.dsw:
* win32\vs6\libgstdshow.dsp:
* win32\vs6\libgstdshowdecwrapper.dsp:
* win32\vs6\libgstflv.dsp:
Add new projects to bad workspace
2008-02-07 21:02:19 +00:00
Sebastian Dröge 453fef95a1 configure.ac: Update gio's pkg-config file name as currently in SVN.
Original commit message from CVS:
* configure.ac:
Update gio's pkg-config file name as currently in SVN.
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_set_location):
Remove special casing for a NULL query string. g_strjoin won't add
the separator if there's only one string.
2007-09-29 05:26:54 +00:00
Sebastian Dröge 3864c6112a ext/neon/gstneonhttpsrc.c: Now that we require libneon >= 0.26 remove the neon 0.25 backward compatibility stuff. Als...
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_set_proxy),
(gst_neonhttp_src_send_request_and_redirect):
Now that we require libneon >= 0.26 remove the neon 0.25 backward
compatibility stuff. Also fix the default location.
2007-09-28 11:07:34 +00:00
Wouter Cloetens de5d4c6313 ext/neon/gstneonhttpsrc.*: Don't discard GET parameters from URL if existing.
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter@mind.be>
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_dispose),
(gst_neonhttp_src_set_location),
(gst_neonhttp_src_send_request_and_redirect):
* ext/neon/gstneonhttpsrc.h:
Don't discard GET parameters from URL if existing.
Fixes #481200.
2007-09-28 09:29:09 +00:00
Thomas Green ee01676c0d ext/neon/gstneonhttpsrc.c: With libneon 2.6, we need to set the NE_SESSFLAG_ICYPROTO flag if we want ICY streams to b...
Original commit message from CVS:
Patch by: Thomas Green  <tom78999 gmail com>
* ext/neon/gstneonhttpsrc.c:
With libneon 2.6, we need to set the NE_SESSFLAG_ICYPROTO
flag if we want ICY streams to be handled too, otherwise
libneon will error out with a 'can't parse reponse' error.
Fixes #474696.
* tests/check/elements/neonhttpsrc.c:
Unit test for the above by Yours Truly.
2007-09-09 19:05:19 +00:00
Stefan Kost f56adf75ca Add stdlib include (free, atoi, exit).
Original commit message from CVS:
* examples/app/appsrc_ex.c:
* examples/switch/switcher.c:
* ext/neon/gstneonhttpsrc.c:
* ext/timidity/gstwildmidi.c:
* ext/x264/gstx264enc.c:
* gst/mve/mveaudioenc.c: (mve_compress_audio):
* gst/rtpmanager/gstrtpclient.c:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/spectrum/demo-audiotest.c:
* gst/spectrum/demo-osssrc.c:
* sys/dvb/gstdvbsrc.c:
Add stdlib include (free, atoi, exit).
2007-07-18 07:35:32 +00:00
Tim-Philipp Müller 54cadb7e0f ext/neon/gstneonhttpsrc.c: Don't leak buffer when returning an error.
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_create):
Don't leak buffer when returning an error.
2007-06-01 11:59:52 +00:00
René Stadler c10bf9272b ext/neon/gstneonhttpsrc.*: Deprecated "uri" property. Clean up property descriptions.
Original commit message from CVS:
Patch by René Stadler <mail at renestadler dot de>:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init),
(gst_neonhttp_src_init), (gst_neonhttp_src_dispose),
(gst_neonhttp_src_set_property), (gst_neonhttp_src_get_property),
(gst_neonhttp_src_start), (gst_neonhttp_src_do_seek),
(gst_neonhttp_src_set_location),
(gst_neonhttp_src_send_request_and_redirect),
(gst_neonhttp_src_uri_get_uri), (gst_neonhttp_src_uri_set_uri):
* ext/neon/gstneonhttpsrc.h:
Deprecated "uri" property.  Clean up property descriptions.
Change default User-Agent to the slightly more descriptive
"GStreamer neonhttpsrc".
Various other small cleanups, mostly property related.
2007-06-01 09:58:01 +00:00
Tim-Philipp Müller 8dbb65ff36 ext/libmms/gstmms.h: No reason to use gpointers instead of typed pointes here as far as I can see.
Original commit message from CVS:
* ext/libmms/gstmms.h:
No reason to use gpointers instead of typed pointes here as far as I
can see.
* ext/mythtv/gstmythtvsrc.c:
* ext/neon/gstneonhttpsrc.c:
* gst/switch/gstswitch.c:
Don't use gtk-doc magic markers for things that aren't meant to be
parsed by gtk-doc. Makes gtk-doc complain a bit less.
2007-05-31 19:12:37 +00:00
David Schleef e8cabbd3fd ext/neon/gstneonhttpsrc.c: Make redirection the default behavior. Fixes #413818.
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c:
Make redirection the default behavior.  Fixes #413818.
2007-05-13 07:08:06 +00:00
Tim-Philipp Müller 0ca5b15aee ext/neon/gstneonhttpsrc.c: Alloc user agent string only once.
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_init):
Alloc user agent string only once.
2007-03-22 21:07:02 +00:00
Lutz Mueller 6ffee3230a ext/neon/gstneonhttpsrc.*: Simplify _set_uri() and _set_proxy() and remove the unused ishttp member (#388050).
Original commit message from CVS:
Patch by: Lutz Mueller  <lutz topfrose de>
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init),
(gst_neonhttp_src_init), (gst_neonhttp_src_set_property),
(gst_neonhttp_src_set_uri), (gst_neonhttp_src_set_proxy),
(gst_neonhttp_src_send_request_and_redirect),
(gst_neonhttp_src_uri_set_uri):
* ext/neon/gstneonhttpsrc.h:
Simplify _set_uri() and _set_proxy() and remove the unused ishttp
member (#388050).
* tests/check/elements/neonhttpsrc.c: (GST_START_TEST):
Fix bogus URI to something that actually exists, otherwise we just
bypass the test (and also to something that doesn't redirect, since
neonhttpsrc doesn't seem to handle this very gracefully yet)
2007-03-02 12:04:02 +00:00
Edgard Lima 983cd81f2c Added seek support.
Original commit message from CVS:
Added seek support.
2006-12-22 16:23:32 +00:00
Tim-Philipp Müller d3c0b705eb ext/neon/gstneonhttpsrc.c: Fix minor mem leak in redirect code.
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_create),
(send_request_and_redirect):
Fix minor mem leak in redirect code.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/neonhttpsrc.c: (handoff_cb),
(GST_START_TEST), (neonhttpsrc_suite):
* tests/check/gst-plugins-bad.supp:
Add super-basic unit test for #384140.
2006-12-12 16:10:21 +00:00
Tim-Philipp Müller 9e71250a69 ext/neon/gstneonhttpsrc.c: Set offset on buffers pushed out (id3demux gets confused if the first buffer does not have...
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_create),
(send_request_and_redirect):
Set offset on buffers pushed out (id3demux gets confused if the
first buffer does not have an offset of 0). Fixes #384140.
2006-12-12 12:46:23 +00:00
Tim-Philipp Müller 9a2781a64f ext/neon/gstneonhttpsrc.c: Minor clean-ups; remove newlines at end of debug statements.
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init),
(gst_neonhttp_src_create), (send_request_and_redirect),
(gst_neonhttp_src_start), (oom_callback):
Minor clean-ups; remove newlines at end of debug statements.
2006-12-12 11:46:05 +00:00
Edgard Lima 69cffbcbd2 Reverted previous commit (2006-09-19 - Allow internal codes from last.fm). As dicussed on #gstreamer it should be don...
Original commit message from CVS:
Reverted previous commit (2006-09-19 - Allow internal codes from last.fm). As dicussed on #gstreamer it should be done in separete element.
2006-09-21 14:01:18 +00:00
Edgard Lima 1b8664b4c5 Allow internal codes from last.fm
Original commit message from CVS:
Allow internal codes from last.fm
2006-09-19 21:49:52 +00:00