Edward Hervey
09ea92848b
dvdec: Don't set bogus timestamp/duration
...
This will happen if we have an incoming stream with a non-TIME segment
Could be improved later to figure out proper pts/duration.
CID #1199702
CID #1199703
2014-04-11 11:54:12 +02:00
Edward Hervey
10feb2ba7d
dvdec: Properly refuse incoming stream without framerate
...
The return value wasn't properly propagated back if the caps
didn't contain a framerate
2014-04-11 11:53:42 +02:00
Sebastian Dröge
847ba2a30d
souphttpsrc: Also retry on unexpected network failures
2014-04-10 16:47:21 +02:00
Sebastian Dröge
037dfb6723
souphttpsrc: New property to specify the maximum number of retries before we give up
2014-04-10 16:47:07 +02:00
Alexander Zallesov
b089524b21
souphttpsrc: Change default timeout to 15 seconds
...
If nothing happens after 15 seconds, chances are good that
our connection will never will work. Stop after 15 seconds
instead of waiting until the system's default timeout, which
can be > 1 minute.
2014-04-10 11:11:35 +02:00
Sebastian Dröge
d918212e12
souphttpsrc: Use GST_FLOW_FLUSHING when flushing, not GST_FLOW_EOS
...
... and reset it properly after flushing is done. Fixes playback
in many cases when buffering is used.
https://bugzilla.gnome.org/show_bug.cgi?id=727821
2014-04-09 10:56:29 +02:00
Sebastian Dröge
94bfdc7a56
jpegdec: All frames are sync points
2014-03-26 08:03:46 +01:00
Sebastian Dröge
5eb4901a8c
pngdec: All frames are sync points
2014-03-26 08:03:46 +01:00
Olivier Crête
019a0009af
pulse: Add device monitors
...
https://bugzilla.gnome.org/show_bug.cgi?id=678402
2014-03-16 20:37:54 -04:00
Tim-Philipp Müller
5f0ea73d28
pulse: fix format info to caps conversion for mulaw
2014-03-16 15:55:00 +00:00
Olivier Crête
e714ab9dba
pulse: Make gst_pulse_format_info_to_caps() shared
...
https://bugzilla.gnome.org/show_bug.cgi?id=678402
2014-03-16 15:28:29 +00:00
Sebastian Dröge
5d06735dbd
souphttpsrc: Add properties for selecting SSL/TLS certificate checking
...
And by default properly check certificates against the system's CA
certificates. Everything else is not a good default at all.
2014-03-12 15:32:55 +01:00
Sebastian Dröge
ac83961033
souphttpsrc: Make sure to not return EOS immediately if we finished a range request
...
Only return EOS the next time create() is called, if at all. basesrc
should already take care of not calling it again.
Also always return immediately if the previous flow return was
not OK. This indicates an error somewhere.
2014-03-07 16:56:51 +01:00
Sebastian Dröge
9701051485
souphttpsrc: Don't forget to quit mainloop after we cancelled when we got data after the stop position
2014-03-06 13:38:09 +01:00
Sebastian Dröge
0c6f1ce998
souphttpsrc: If we had a stop position, allow for the server to finish our connection instead of just cancelling
...
Otherwise keep-alive does not make much sense and also the server will have
confusing things in the logs.
2014-03-06 13:36:38 +01:00
Thiago Santos
04bd422432
jpegdec: mark all parsed frames as sync points
...
all jpeg frames are sync points, so mark them as such so
reverse playback can properly work with the video decoder
base class
https://bugzilla.gnome.org/show_bug.cgi?id=725104
2014-02-27 19:08:15 -03:00
Stefan Sauer
117fa7c3e4
jack: add some simple log handlers for jack
...
Add log handlers for jack that write to the gst debug log. This avoids spamming
the console when e.g. using autoaudiosink, having the jack elements installed,
but not running jack.
2014-02-23 00:17:00 +01:00
Branislav Katreniak
6f1d4da8b4
souphttpsrc: do not emit error when connection with unknown size ends
...
Commit 46fd12ae5e
introduced connection
recovery. But when server does not specify content-size,
souphttpsrc tries to reconnect even after regular end of stream.
Http server replies with SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE
but souphttpsrc still emits error instead of EOS.
https://bugzilla.gnome.org/show_bug.cgi?id=724717
Signed-off-by: Branislav Katreniak <bkatreniak@nuvotechnologies.com>
2014-02-19 16:59:16 +01:00
Stefan Sauer
3abad7af66
pulsesink: fix crash when getting the current-device in NULL->READY
...
The "goto unlock" is wrong as in this code path we haven't take the lock yet.
Fixes #724619
2014-02-18 11:28:18 +01:00
Sebastian Dröge
fdb39a9f7b
souphttpsrc: Use new automatic_eos API from basesrc
...
We want to notice ourselves that we're EOS. Otherwise we will
always cancel requests in the very end and confuse the server...
and also make it impossible to use persistent connections.
2014-02-13 12:09:13 +01:00
Sebastian Dröge
4dfad42e81
souphttpsrc: Consistently use have_size instead of content_size!=0
2014-02-13 11:11:13 +01:00
Sebastian Dröge
dde171ac30
souphttpsrc: Free extra headers when finalizing the element
...
It's set as property by the application, we should not just reset
properties when going back to READY.
2014-02-13 10:36:29 +01:00
Sebastian Dröge
a79f92ee9d
souphttpsrc: Properly close the session when going back to NULL
...
Don't wait for that until the element is disposed.
2014-02-13 10:36:29 +01:00
Andoni Morales Alastruey
4d80d3fad9
souphttpsrc: add support for keep-alive sessions
...
https://bugzilla.gnome.org/show_bug.cgi?id=699926
2014-02-13 10:36:29 +01:00
Sebastian Dröge
106bc2b17b
souphttpsrc: Add "compress" property to enable/disable automatic gzip/deflate content encoding handling
2014-02-12 13:00:13 +01:00
Sebastian Dröge
9cac68709a
souphttpsrc: Retry connection if we're finished before the content size only if we actually have a content size
...
https://bugzilla.gnome.org/show_bug.cgi?id=722185
2014-02-12 12:39:10 +01:00
Sebastian Dröge
436d41fa8e
souputils: Fix compiler warning
...
gstsouputils.c:35:25: error: comparison of constant 9 with expression of type
'SoupLoggerLogLevel' is always false
[-Werror,-Wtautological-constant-out-of-range-compare]
2014-02-12 10:08:50 +01:00
Reynaldo H. Verdejo Pinochet
4f42fff349
souphttp*: add ability to do HTTP session logging
...
This changeset adds the loggin infrastructure and
mods both souphttpsrc and souphttclientsink to use it.
https://bugzilla.gnome.org/show_bug.cgi?id=721764
2014-02-11 17:50:44 -03:00
Sebastian Dröge
cf31a4284b
souphttpsrc: Add mapping for NOT_FOUND and NOT_AUTHORIZED errors
2014-02-11 13:25:46 +01:00
Sebastian Dröge
5514bc2785
souphttpsrc: Don't duplicate status_code to GStreamer error mapping
2014-02-11 13:25:22 +01:00
Sebastian Dröge
fd55cb324d
id3v2mux: Fix another compiler warning
2014-02-08 21:01:32 +01:00
Sebastian Dröge
f299fc899c
id3v2mux: Fix unitialized variable compiler warning
...
error: variable 'image_type' is used uninitialized
whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
2014-02-08 17:27:51 +01:00
Tim-Philipp Müller
85501e6c2a
flacenc: order format in template caps by preference
...
To minimise risk of bad fixation, though audioconvert
at least should be smart enough to avoid it.
2014-02-04 21:26:56 +01:00
Rafał Mużyło
ac4df5e2c5
gst: Don't use endianness-specific S8 audio format
...
It does not exist.
https://bugzilla.gnome.org/show_bug.cgi?id=723331
2014-02-04 13:44:29 +01:00
Julien Isorce
90b01fce61
cairooverlay: add support for RGB16
...
https://bugzilla.gnome.org/show_bug.cgi?id=723289
2014-01-31 14:17:54 +00:00
Tim-Philipp Müller
4480a25844
shout2send: error out if no caps were received
...
Instead of assuming that input is ogg.
2014-01-21 10:56:19 +00:00
Tim-Philipp Müller
d7210befdc
shout2send: accept audio/webm, audio/ogg and video/ogg as well
...
Those are advertised in the template caps, but the
setcaps handler didn't handle them. But then oggmux
and oggparse at least for now still always output
application/ogg anyway, so that wasn't a real problem.
2014-01-21 00:49:44 +00:00
Reynaldo H. Verdejo Pinochet
0e159e3b03
souphttpsrc: use status code macro instead of 407
...
Rest of the code is using the _PROXY_AUTHENTICATION_REQUIRED
macro too. Easier to understand if you don't recall HTTP
error codes by heart.
2014-01-03 14:15:59 -03:00
Reynaldo H. Verdejo Pinochet
ac7d346355
shout2send: change audio_format field to format
...
This element and the underlying libshout2 library
can handle video media files too. The code already
handles video/webm so the name gets confusing. Also
add and use DEFAULT_FORMAT macro Instead of hardwiring
SHOUT_FORMAT_VORBIS at init
https://bugzilla.gnome.org/show_bug.cgi?id=721342
2014-01-03 14:15:59 -03:00
Reynaldo H. Verdejo Pinochet
667c803730
shout2send: clarify meaning of the URL prop
...
https://bugzilla.gnome.org/show_bug.cgi?id=721342
2014-01-03 14:15:59 -03:00
Reynaldo H. Verdejo Pinochet
e6321ecb74
shout2send: docs, add a sample pipeline
...
And finish adding shout2send to the docs while at it
https://bugzilla.gnome.org/show_bug.cgi?id=721342
2014-01-03 14:15:59 -03:00
Reynaldo H. Verdejo Pinochet
4182f42f7b
gdkpixbufoverlay: remove spurious @see_also
2014-01-03 14:15:59 -03:00
Reynaldo H. Verdejo Pinochet
9dd6e22ba9
shout2send: drop IP only requirement for _set_host()
...
libshout2 (we require > 2.0 at config time) supports
both IP and hostname for _set_host(). Dropped an
outdated FIXME regarding this limitation, adjusted
some comments and changed the param blurb to reflect
this too.
2013-12-27 01:31:33 -03:00
Reynaldo H. Verdejo Pinochet
786f87ef30
shout2send: Retarget FIXME to 2.0
2013-12-27 01:31:20 -03:00
Sebastian Dröge
92c3211c79
id3v2mux: Set picture type in the APIC frames
2013-12-16 16:17:07 +01:00
Sebastian Dröge
d60ac3cfea
id3v2mux: Set image-description from the info struct, not the caps
2013-12-16 16:14:52 +01:00
Sebastian Dröge
d9deb95012
wavpackdec: Require caps to be set before accepting any data
2013-12-05 12:15:19 +01:00
Sebastian Dröge
c880e36779
speexdec: Require caps to be set before accepting any data
2013-12-05 12:13:33 +01:00
Sebastian Dröge
774e56b051
flacdec: Require caps to be set before accepting any data
2013-12-05 12:13:10 +01:00
Sebastian Dröge
5c8163a685
vpx: Use new gst_video_decoder_set_needs_format() API
2013-12-05 11:42:34 +01:00