Tim-Philipp Müller
a561b1bd86
Use g_memdup2() where available and add fallback for older GLib versions
...
g_memdup() is deprecated since GLib 2.68 and we want to avoid
deprecation warnings with recent versions of GLib.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2280 >
2021-08-05 20:51:00 +05:30
Arun Raghavan
81abc4c825
curl: Remove incorrect GST_DEBUG_OBJECT() calls
...
klass is not a GstObject, and these debugs print should likely not be
around anyway.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1851 >
2020-12-03 13:31:38 +00:00
Lars Lundqvist
9ded00bcf0
curlbasesink: Add curl seek callback
...
Adding functionality to handle SEEK_SET enables rewinding of sent data.
In the HTTP case, this happens after an HTTP 401 has been received from
the other end. This will result in the sent data being resent.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1616 >
2020-10-01 10:40:14 +00:00
Mathieu Duponchelle
6baffc2931
docs: mark more types as plugin API
2020-06-23 12:10:17 -04:00
Stéphane Cerveau
6bc0e9527e
remove various useless linefeed in logs
2019-12-11 10:51:29 +01:00
Thibault Saunier
7fe3f36ac8
Minor documentation fixes
2019-05-13 11:36:27 -04:00
Jonathan Karlsson
e8ec1c0143
curlbasesink: cleanup transfer immediately when done
2018-12-17 14:24:07 +00:00
Patricia Muscalu
e0adbee49a
curlbasesink: Rename curl transfer thread
...
Some systems restrict the length of thread names to 16 bytes.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/838
2018-12-06 15:36:47 +00:00
Sam Hurst
e74b3a02dd
curl: Add curlhttpsrc element
...
Merged from https://github.com/bbc/gst-curlhttpsrc commit
f8aabcfc5c50a44f3362de831377d6e86dcd2d49
https://bugzilla.gnome.org/show_bug.cgi?id=744261
2017-07-26 09:52:20 +03:00
Thibault Saunier
78022a6e0c
docs: Port all docstring to gtk-doc markdown
2017-04-12 12:57:57 -03:00
Imre Eörs
2c3aa2f09c
curl: transfer hangs in case connection was cut between client and server
...
https://bugzilla.gnome.org/show_bug.cgi?id=774485
2016-11-16 09:19:45 +00:00
Patricia Muscalu
0fbbbd042a
curlsink: catch an unknown error
...
In this case the socket callback has not been called
by libcurl and the curlsink has not been notified about any
connection problems by libcurl.
This indicates that it's a bug in libcurl so catch it as
an unknown error.
https://bugzilla.gnome.org/show_bug.cgi?id=754432
2016-04-04 17:48:55 +01: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
David Fernandez
55ba6f1ee8
curlbasesink: don't send empty buffers
...
Fixes problem in curlhttpsink when qtmux uses faststart.
https://bugzilla.gnome.org/show_bug.cgi?id=762013
2016-02-17 11:10:22 +00:00
Vineeth TM
7c42ba97d7
plugins-bad: Fix example pipelines
...
rename gst-launch --> gst-launch-1.0
replace old elements with new elements(ffmpegcolorspace -> videoconvert, ffenc_** -> avenc_**)
fix caps in examples
https://bugzilla.gnome.org/show_bug.cgi?id=759432
2015-12-15 10:30:49 +00:00
Patricia Muscalu
c1bad1be5d
curlsink: handle socket callback for active FTP connections as well
...
Since version 7.28.0, libcurl allows application to set
socket options for active FTP connections.
Bump libcurl requirement to version tested.
https://bugzilla.gnome.org/show_bug.cgi?id=749815
2015-05-25 19:37:53 +01:00
Stefan Sauer
24fd4cd74c
curlbasesink: strip newlines from curl debug messages
...
The messages we receive in the custom log handler might end with a newline and
are not \0 terminated. Copy the messages, trim and terminate them.
2014-10-16 14:12:19 +02:00
Stefan Sauer
9b459b52f6
curlbasesink: small code cleanup
...
Use a local var and save a local var.
2014-10-16 14:12:19 +02:00
Stefan Sauer
f8f2cca0e4
curl*sink: add more logging
2014-09-25 10:14:41 +02:00
Stefan Sauer
04d271dfd3
curlbasesink: add a debug function
...
If gstreamer is build with logging enabled, add a debug function and output
verbose messages to the log instead of stderr.
2014-09-25 08:05:50 +02:00
Stefan Sauer
a80cde8cb6
curlbasesink: don't replace specific error messages with a generic one
...
Only set an error if we haven't set one already.
2014-09-24 22:25:55 +02:00
Sebastian Rasmussen
241c3acad5
curl*sink: report errors from curl when setting options
...
https://bugzilla.gnome.org/show_bug.cgi?id=728960
2014-04-26 10:24:24 +02:00
Sebastian Rasmussen
c75c7a9a53
curl*sink: post error on bus in element, not transfer thread
...
https://bugzilla.gnome.org/show_bug.cgi?id=728960
2014-04-26 10:23:24 +02:00
Sebastian Rasmussen
da987a3219
curl*sink: fix typos
...
https://bugzilla.gnome.org/show_bug.cgi?id=728960
2014-04-26 10:20:33 +02:00
Sebastian Rasmussen
bdd2676a67
curl*sink: fix some gst-indent problems
...
https://bugzilla.gnome.org/show_bug.cgi?id=728960
2014-04-26 10:20:11 +02:00
Vincent Penquerc'h
feede7ddfa
curl: remove duplicate assignment
...
Coverity 1197708
2014-04-10 17:33:55 +01:00
Patricia Muscalu
8303561bd9
curlsmtpsink: terminate transfer thread properly
...
If no EOS has been sent, the curl readfunc callback will
return ABORT. The media file in that case will not be properly
finalized.
https://bugzilla.gnome.org/show_bug.cgi?id=700886
2013-05-24 23:47:50 +01:00
Tim-Philipp Müller
9e1b75fda3
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00: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
Руслан Ижбулатов
2c2d6b0753
curl: fix compiler warning with setsockopt() on windows
...
The optval argument is of type const char * on windows.
https://bugzilla.gnome.org/show_bug.cgi?id=685065
2012-09-29 11:41:56 +01:00
Руслан Ижбулатов
75dba03688
curl: fix build on win32
...
https://bugzilla.gnome.org/show_bug.cgi?id=684847
2012-09-28 09:57:53 +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
Patricia Muscalu
a7037cd0e3
curl: fixed some memory leaks in the plugin and the unit tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=681117
https://bugzilla.gnome.org/show_bug.cgi?id=681115
2012-08-03 20:28:40 +01:00
Wim Taymans
f710f1250b
curl: fix compilation
...
Don't use deprecated thread API
2012-05-14 09:15:55 +02:00
Patricia Muscalu
ae39cbfa57
curl: refactor curlsink, rename to curlhttpsink
...
Split into base, tls and http classes.
https://bugzilla.gnome.org/show_bug.cgi?id=653741
2012-05-12 11:48:03 +01:00