Commit graph

16533 commits

Author SHA1 Message Date
Tim-Philipp Müller
2739b410d2 Release 1.6.4 2016-04-14 12:19:45 +01:00
Tim-Philipp Müller
c79949afd2 Update .po files 2016-04-14 12:16:56 +01:00
Aurélien Zanelli
a7cfbf3d6e utils: add 'transfer full' annotation to gst_pad_peer_query_caps
https://bugzilla.gnome.org/show_bug.cgi?id=763912
2016-04-06 12:34:21 +01:00
Aurélien Zanelli
8205b45076 pad: add 'transfer full' and 'nullable' annotations to gst_pad_get_current_caps
and also change the description accordingly since function returns an
incremented caps object or NULL if there is no caps set.

https://bugzilla.gnome.org/show_bug.cgi?id=763912
2016-04-06 12:34:13 +01:00
Ben Iofel
11d483514a utils: fix gir annotation for gst_element_query_convert()
https://bugzilla.gnome.org/show_bug.cgi?id=763895
2016-04-06 12:34:06 +01:00
Jan Schmidt
cfd7127144 multiqueue: Fix not-linked pad handling at EOS
Ensure that not-linked pads will drain out at EOS by
correctly detecting the EOS condition based on the EOS
pad flag (which indicates we actually pushed an EOS),
and make sure that not-linked pads are woken when doing
EOS processing on linked pads.

https://bugzilla.gnome.org/show_bug.cgi?id=763770
2016-04-06 12:27:41 +01:00
Tim-Philipp Müller
bd5b06fed4 multiqueue: two small fixes for when an existing pad is requested
Unlock when returning NULL from gst_single_queue_new(), and don't
crash with debug logging enabled if NULL is returned.

Spotted by Steven Hoving.
2016-04-06 12:09:41 +01:00
Edward Hervey
103c919f3c multiqueue: Don't use random segment.position from upstream
segment.position is meant for internal usage only, but the various
GST_EVENT_SEGMENT creationg/parsing functions won't clear that field.

Use the appropriate segment boundary as an initial value instead
2016-04-06 12:08:47 +01:00
Romain Picard
d1f87286ab typefind: Allow caps query in "have-type" signal handlers
If an application calls gst_pad_query_caps from its "have-type" signal handler,
then the query fails because typefind->caps has not been set yet.

This patch sets typefind->caps in the object method handler, before the signal
handlers are called.

https://bugzilla.gnome.org/show_bug.cgi?id=763491
2016-04-06 09:59:04 +01:00
Sebastian Dröge
24b7a8fe18 typefind: Store caps on the pad before emitting have-type but send it downstream only in the default signal handler
https://bugzilla.gnome.org/show_bug.cgi?id=763491
2016-04-06 09:58:57 +01:00
Sebastian Dröge
c5ad081b92 baseparse: Recheck after pre_push_frame() if there are tags pending
Many parsers are storing tags only in pre_push_frame(), if we wouldn't check
afterwards we would push buffers before those tags and a lot of code assumes that
tags are available before preroll.

https://bugzilla.gnome.org/show_bug.cgi?id=763553
2016-03-15 09:39:18 +02:00
Tim-Philipp Müller
a2a914a314 baseparse: fix stray discont flag set on outgoing buffers in push mode
We have no guarantees about what flags are set on buffers we take
out of the GstAdapter. If we push out multiple buffers from the
first input buffer (which will have discont set), only the first
buffer we push out should be flagged as discont, not all of the
buffers produced from that first initial input buffer.

Fixes issue where the first few mp3 frames/seconds of data in push
mode were skipped or garbled in some cases, and the discont flags
would also trip up decoders which were getting drained/flushed for
every buffer. This was a regression introduced in 1.6 apparently.
2016-02-04 20:58:28 +00:00
Thibault Saunier
39739c015b controller: Do not unset uninitiallized GValue
In case the property was not interpollable we might never initialize
the GValue, we should thus never unset it.
2016-02-04 20:58:28 +00:00
Sebastian Dröge
98aec4a963 Release 1.6.3 2016-01-20 14:34:23 +02:00
Sebastian Dröge
b71df7a921 Update .po files 2016-01-20 14:09:59 +02:00
Tim-Philipp Müller
f05e669f2e message: add function guard to gst_message_set_buffering_stats()
https://bugzilla.gnome.org/show_bug.cgi?id=760704
2016-01-16 21:55:33 +00:00
Nirbheek Chauhan
0263257783 GstDeviceMonitor: Don't remove unmatched class filters
If no providers for a particular class could be found, then removing unmatched
filters would cause all devices to be returned instead which is not at all what
the user intended. We still return 0 for unmatched filters.
2016-01-16 21:55:21 +00:00
Florin Apostol
8e71f1c4d8 netclientclock: Fix GError memory leak in handling NTP response
Error was not released if gst_ntp_packet_receive failed.

https://bugzilla.gnome.org/show_bug.cgi?id=760598
2016-01-16 21:54:52 +00:00
Ting-Wei Lan
11b4c9bbd9 gstutils: Fix build with clang -Werror=cast-align
https://bugzilla.gnome.org/show_bug.cgi?id=755657
2016-01-11 22:00:52 +00:00
Tim-Philipp Müller
6b5decf0e6 queue2: fix fill level arithmetic overflow with large values
Based on patch by: Aleksander Wabik <awabik@opera.com>

https://bugzilla.gnome.org/show_bug.cgi?id=755971
2016-01-11 22:00:18 +00:00
Sebastian Dröge
ccec9e6b90 caps: Add (transfer full) annotation to simplify() and subtract() return value
https://bugzilla.gnome.org/show_bug.cgi?id=759948
2016-01-03 10:44:07 +02:00
Aurélien Zanelli
8e4c80c465 caps: add 'transfer full' annotation to caps returned by interserction functions
To make clear caller is responsible to unref them.

https://bugzilla.gnome.org/show_bug.cgi?id=759948
2016-01-03 10:44:07 +02:00
Sebastian Dröge
cce6b9b6b0 Release 1.6.2 2015-12-14 19:46:52 +01:00
Sebastian Dröge
b92f9799c3 Update .po files 2015-12-14 19:04:36 +01:00
Sebastian Dröge
53e1690767 po: Update translations 2015-12-14 18:59:00 +01:00
Reynaldo H. Verdejo Pinochet
db0916d960 fdsrc: enable large file support in Android
https://bugzilla.gnome.org/show_bug.cgi?id=758980
2015-12-14 10:23:31 +01:00
Reynaldo H. Verdejo Pinochet
ef9a101727 fdsink: enable large file support in Android
https://bugzilla.gnome.org/show_bug.cgi?id=758980
2015-12-14 10:23:25 +01:00
Reynaldo H. Verdejo Pinochet
6a4d0f27a7 queue2: enable large file support on Android
https://bugzilla.gnome.org/show_bug.cgi?id=758980
2015-12-14 10:23:19 +01:00
Reynaldo H. Verdejo Pinochet
3fd9d206fa downloadbuffer: enable large file support on Android
https://bugzilla.gnome.org/show_bug.cgi?id=758980
2015-12-14 10:23:11 +01:00
Reynaldo H. Verdejo Pinochet
3e34af224a sparsefile: enable large file support on Android
https://bugzilla.gnome.org/show_bug.cgi?id=758980
2015-12-14 10:23:02 +01:00
Reynaldo H. Verdejo Pinochet
ef431cd1e5 filesink: enable large file support on Android
https://bugzilla.gnome.org/show_bug.cgi?id=758980
2015-12-10 10:03:55 +02:00
Reynaldo H. Verdejo Pinochet
4347718bf1 filesrc: enable large file support in Android
https://bugzilla.gnome.org/show_bug.cgi?id=758980
2015-12-10 10:03:48 +02:00
Ross Burton
b08946cd1b helpers: really fix install race
My previous fix for #758029 wasn't quite right and simply made the race rarer.
Some of the files are installed by install-exec and others by install-exec, so
the hooks need to be split too.

https://bugzilla.gnome.org/show_bug.cgi?id=758029
2015-12-07 11:54:53 +02:00
Nicolas Dufresne
057fc55835 gst-launch: Fix process return value on error
In case of a run-time error message, the process return value was left
unset. This would lead to error not being caught at shell level.

https://bugzilla.gnome.org/show_bug.cgi?id=759019
2015-12-04 10:54:35 -05:00
Thibault Saunier
6f07a3af8c controlsource: Annotate get_value[_array] as (method)
As the names clash with gst_object_get_value[_array]

https://bugzilla.gnome.org/show_bug.cgi?id=756950
2015-11-30 23:18:56 +01:00
Thiago Santos
83ea7f3ea5 Revert "baseparse: do not overwrite header buffer timestamps"
This reverts commit 2c475a0355.

This causes issues with h264parse. It breaks timestamps as
there are headers in the middle of the stream and this patch
makes the timestamps for those differ from the ones that
are adjusted, creating a discontinuity and leading to sync
issues.
2015-11-19 00:51:44 -03:00
Thiago Santos
b4a05af66f Revert "baseparse: simplify code a bit"
This reverts commit 921816400b.
2015-11-19 00:51:30 -03:00
Tim-Philipp Müller
d5c86cde30 queue2: don't print criticals when receiving custom events in ring buffer mode
Downgrade from g_warning to GST_WARNING log message.

https://bugzilla.gnome.org/show_bug.cgi?id=758276
2015-11-18 11:56:44 +00:00
Sebastian Dröge
001f6dfe51 ptp-helper: Disable multicast loopback
We're not really interested in our own packets and ignore them anyway.
2015-11-18 11:56:44 +00:00
Thiago Santos
921816400b baseparse: simplify code a bit
Avoid repeated checks for testing if a buffer is a header
2015-11-16 08:49:24 -03:00
Thiago Santos
288280fb0c collectpads: handle buffer with dts-only when mapping to running time
Otherwise the buffer was left with the original values and later would
be compared with other buffers that were converted to runninn time,
leading to bad interleaving of multiple streams.

https://bugzilla.gnome.org/show_bug.cgi?id=757961
2015-11-16 08:49:24 -03:00
Thiago Santos
2c475a0355 baseparse: do not overwrite header buffer timestamps
baseparse tries to preserve timestamps from upstream if
it is running on a time segment and write that to
output buffers. It assumes the first DTS is going to be
segment.start and sets that to the first buffers. In case
the buffer is a header buffer, it had no timestamps and
will have only the DTS set due to this mechanism.

This patch prevents this by skipping this behavior for
header buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=757961
2015-11-16 08:49:24 -03:00
Ross Burton
842ffa69b6 helpers: fix install race
The install hook needs to be a install-data-hook not an install-exec-hook as the
helpers are installed into helperdir which is considered data (only path
variables with "exec" in are considered executables).

The explicit dependency on install-helpersPROGRAMS was an attempt at solving
this, but this causes occasional races where install-helpersPROGRAMS can run
twice in parallel (once via install-all, once via the hook's dependency).

https://bugzilla.gnome.org/show_bug.cgi?id=758029
2015-11-16 09:15:52 +02:00
Jan Schmidt
f6943a3cdf pad: Mark sticky events as sent on not-linked
Instead of re-sending sticky events over and over to a not-linked
pad, mark them as sent the first time. If the not-linked came from
downstream, it already received the events. If the pad is actually
not-linked, the sticky events will be rescheduled when the
pad is linked anyway.
2015-11-07 19:27:42 +01:00
Jan Schmidt
c9881d191e ghostpad: Allow deactivation with no peer.
Allow deactivation in pull-mode, since that implies we
had a peer, activated in pull mode, then the peer disa-peer-ed ;)
2015-11-07 19:27:35 +01:00
Sebastian Dröge
ce147f81dd Release 1.6.1 2015-10-30 16:38:10 +02:00
Sebastian Dröge
a8535aca8c Update .po files 2015-10-30 16:18:50 +02:00
Sebastian Dröge
d4864e66cc po: Update translations 2015-10-30 14:09:00 +02:00
Sebastian Dröge
4e46d3c489 pad: Unblock blocking pad probes when receiving FLUSH_START in send_event() too
Without this, flushing might not unblock the streaming thread and cause deadlocks.

https://bugzilla.gnome.org/show_bug.cgi?id=757257
2015-10-29 11:16:13 +02:00
Florin Apostol
5a7fc340b5 uri: tests: added unit test for streams ending in .. without following /
https://bugzilla.gnome.org/show_bug.cgi?id=757065
2015-10-27 17:13:43 +02:00