Wim Taymans
5fd2b7abe3
GST_FLOW_UNEXPECTED -> GST_FLOW_EOS
2012-01-03 15:26:21 +01:00
Wim Taymans
1538803ac4
update for basesink event handler changes
2011-12-02 22:25:17 +01:00
Tim-Philipp Müller
2cfb92f253
souphttpsrc: get rid of iradio-* properties, post tags instead
2011-11-24 01:45:43 +00:00
Tim-Philipp Müller
3f7c432869
souphttpsrc: always send icecast request header, drop iradio-mode property
...
Server should ignore unknown/unhandled headers..
2011-11-24 01:41:34 +00:00
Tim-Philipp Müller
c27bbe4be2
Update for GstURIHandler get_protocols() changes
2011-11-13 23:44:44 +00:00
Tim-Philipp Müller
a150d1e734
soup, pushfile, rtsp, udp, v4l2: update for GstURIHandler API changes
2011-11-13 18:50:51 +00:00
Wim Taymans
e038ab5a0b
tags: update for tag API removal
2011-11-02 12:09:20 +01:00
Tim-Philipp Müller
9cd17092d8
ext, gst: update for taglist API changes
2011-10-30 11:44:53 +00:00
Wim Taymans
87fbd1e784
Merge branch 'master' into 0.11
...
Conflicts:
common
ext/pulse/pulsesink.c
ext/soup/gstsouphttpclientsink.c
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstac3parse.c
gst/rtp/gstrtph264depay.c
gst/rtpmanager/gstrtpjitterbuffer.c
gst/rtpmanager/rtpjitterbuffer.c
gst/rtsp/gstrtspsrc.c
sys/ximage/gstximagesrc.c
2011-09-28 12:44:59 +02:00
Tim-Philipp Müller
3828537857
soup: rename souphttpsink to souphttpclientsink
...
To avoid confusion, and because we might want a server
sink at some point too.
https://bugzilla.gnome.org/show_bug.cgi?id=659947
2011-09-25 15:13:39 +01:00
Tim-Philipp Müller
be7cbd4c21
souphttpsink: don't create unused second sink pad object
...
The base class will create the sink pad.
2011-09-23 16:39:46 +01:00
Konstantin Miller
24d002e04d
souphttpsrc: Don't handle HTTP response 407 as error if proxy authentication data is available
...
Fixes bug #657422 .
2011-09-07 13:28:45 +02:00
Wim Taymans
33f18b8ea4
Merge branch 'master' into 0.11
...
Conflicts:
gst/audioparsers/gstamrparse.c
gst/isomp4/qtdemux.c
2011-09-06 16:06:25 +02:00
Sebastian Dröge
7b592ff126
souphttpsrc: Allow positive, non-1.0 segment rates
...
Only negative rates are not supported. Fixes bug #658305 .
2011-09-06 10:34:35 +02:00
Wim Taymans
85d7fe14b2
soup: port soup elements to 0.11
2011-08-29 18:02:15 +02:00
Wim Taymans
77ad0a1363
port more elements to new audio caps and API
2011-08-19 14:01:45 +02:00
David Schleef
6d8d08eac7
souphttpsink: code cleanup
2011-06-04 13:43:28 -07:00
Sebastian Dröge
e376913fc3
souphttpsink: Fix refcounting of the "session" property
...
Properties should never take ownership of the values
passed to them.
2011-06-02 10:41:52 +02:00
David Schleef
3937abf999
soup: Add souphttpsink
2011-06-01 17:19:02 -07:00
Andoni Morales Alastruey
b2fb4edcb7
souphttpsrc: Add URI query handler
...
Fixes bug #642337 .
2011-02-15 09:44:01 +01:00
Sebastian Dröge
6a93725292
souphttpsrc: Don't send seeks behind the end of file to the server
...
Also improve debug output, re-initialize the content size and let the
seek handler error out on invalid seek segments.
Fixes bug #632977 .
2010-12-02 19:18:02 +01:00
Stefan Kost
45f6707784
various (ext): add a missing G_PARAM_STATIC_STRINGS flags
2010-10-13 17:39:36 +03:00
Tim-Philipp Müller
c0bd590ce3
soup: init debug category before using it
2010-09-24 14:06:31 +01:00
Edward Hervey
bc9fb6ad83
souphttpsrc: Fix debug statement
2010-09-21 11:52:54 +02:00
Tim-Philipp Müller
020e0dcc1e
soup: hook up i18n bits for plugin
...
Call bindtextdomain() etc.
2010-09-12 14:54:20 +01:00
Tim-Philipp Müller
9dfad52a79
soup: fix error messages
...
Error messages should be translated. URIs and filenames should not
be part of the error message string that's shown to the user.
soup_message->reason_phrase is not translated and not suitable as
error message for users (see libsoup documentation). Also fix up
error codes a bit, as far as possible with the existing codes.
2010-09-12 14:54:20 +01:00
David Hoyt
d011e96028
souphttpsrc: Improve error messages
...
Before they contained the URL before the actual failure. The other
way around makes more sense and we do the same in other elements
like filesrc.
Fixes bug #627289 .
2010-09-04 14:52:07 +02:00
Edward Hervey
9d77bcfb29
souphttpsrc: Set the Content-Type HTTP header on the caps.
...
First step to fixing ShoutCast (NSV) streaming.
2010-03-23 19:48:24 +01:00
Benjamin Otte
3f511ec361
Add -Wwrite-strings to the configure flags
...
... and fix all warnings
2010-03-21 14:17:47 +01:00
Benjamin Otte
cccfeaa59c
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 14:32:00 +01:00
Benjamin Otte
1055aaa9cb
Add -Wredundant-decls warning flag
...
Also fix compile issues
2010-03-17 19:35:10 +01:00
Stefan Kost
b892d23090
soup: also use g_value_set_static_string() here for static strings
2010-03-16 23:41:43 +02:00
Tim-Philipp Müller
954064a8d6
souphttpsrc: fix metadata writable warnings
...
Set metadata on buffer first, when the refcount is still 1, and only
ref again afterwards.
2010-03-11 15:25:55 +00:00
Sebastian Dröge
c42f0ad5b6
souphttpsrc: Use SOUP_METHOD_GET instead of "GET" string
...
Fixes bug #590970 .
2009-08-06 21:24:14 +02:00
Edward Hervey
4e6fcd2345
soup: Use "GET" instead of SOUP_METHOD_GET. Fixes build with libsoup-2.7.*
...
This is due to a quality API change in libsoup 2.7. SOUP_METHOD_* are now
integers and not strings... they could have changed the names.
2009-07-31 18:35:12 +02:00
Sebastian Dröge
226a125056
souphttpsrc: Only assume seekability if the server provides Content-Length
...
Previously seekability way always assumed until the first seek actually
failed. Now we assume that all servers are not seekable unless they provide
a Content-Length header. If a seek fails after that we continue to
assume no seekability. Fixes bug #585576 .
2009-07-16 19:35:44 +02:00
Arnout Vandecappelle
07c454d61e
souphttpsrc: don't try to authenticate if no username/password is set.
2009-07-16 17:14:15 +02:00
Stefan Kost
d260a92dce
souphttpsrc: free memory in finalize
...
finalize is called only once. no need to clear pointers there. dispose is for
unreffing.
2009-06-24 17:45:42 +03:00
Tim-Philipp Müller
e2ac5edc4b
souphttpsrc: reset session state when stopping
...
Increases the chances that the element is actually reusable.
2009-06-16 08:58:31 +01:00
Tim-Philipp Müller
185957c98b
souphttpsrc: log response and request headers and fix some broken indenting
2009-06-16 08:58:31 +01:00
Zeeshan Ali (Khattak)
1d6fd4b6dd
souphttpsrc: Set caps for audio/L16 content-type
...
When "Content-Type" header is "audio/L16", we need to set the caps on the
outgoing buffers so that downstream elements can have means to detect the
stream type and handle it appropriately. Tested with HTTP stream provided
by pulse-audio's http module (git master).
2009-05-22 00:55:08 +03:00
Zeeshan Ali (Khattak)
cd0e75ac1a
souphttpsrc: Rename icy_caps to src_caps
2009-05-22 00:55:08 +03:00
Sebastian Dröge
9bf294c310
souphttpsrc: Allow non-string fields in the extra-headers property
2009-05-08 12:02:36 +02:00
Sebastian Dröge
1e34187973
souphttpsrc: Add support for extra-headers appended to the HTTP request
...
This allows to set the Referer header among other things by
adding a "extra-headers" property that takes a GstStructure
with field=string pairs.
Fixes bug #581806 .
2009-05-08 11:30:44 +02:00
Edward Hervey
1523ef681b
souphttpsrc: Expose the SoupSession 'timeout' property.
2009-03-03 12:20:27 +01:00
Jonathan Matthew
9218eae98b
Use correct flag for the GNOME proxy configuration
...
Fixes bug #552140 .
2009-02-02 18:38:40 +01:00
Stefan Kost
9cf73bdd8f
Update and add documentation for plugins with deps (ext).
...
Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered. Fix warnings that gtk-doc points out.
2009-01-28 18:05:09 +02:00
Jonathan Matthew
5a0e94b8a7
Use libsoup-gnome for proxy configuration if available
...
If libsoup-gnome is found use this as it will give us
the GNOME proxy configuration. Otherwise use normal
libsoup.
The GNOME proxy configuration will only be used if
the proxy properties are not set on souphttpsrc
and if the http_proxy environment variable is not
set.
Fixes bug #552140 .
2009-01-26 09:55:24 +01:00
Ron McOuat
24e30c8834
Add support for basic and digest authentication in souphttpsrc.
...
Original commit message from CVS:
Patch by: Ron McOuat <rmcouat at smartt dot com>
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_class_init),
(gst_soup_http_src_init), (gst_soup_http_src_dispose),
(gst_soup_http_src_set_property), (gst_soup_http_src_get_property),
(gst_soup_http_src_authenticate_cb), (gst_soup_http_src_start):
* ext/soup/gstsouphttpsrc.h:
* tests/check/elements/souphttpsrc.c: (basic_auth_cb),
(digest_auth_cb), (run_test), (GST_START_TEST),
(souphttpsrc_suite), (run_server):
Add support for basic and digest authentication in souphttpsrc.
Fixes bug #561775 .
2008-11-27 16:43:24 +00:00
Zeeshan Ali
af12e9edda
ext/soup/gstsouphttpsrc.c: Add transferMode.dnla.org header to HTTP requests as this is required by the DLNA specs an...
...
Original commit message from CVS:
Patch by: Zeeshan Ali <zeeshanak at gnome dot org>
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_build_message):
Add transferMode.dnla.org header to HTTP requests as this is
required by the DLNA specs and doesn't hurt in other situations.
Fixes bug #561802 .
2008-11-21 13:43:29 +00:00