Commit graph

16520 commits

Author SHA1 Message Date
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
Vivia Nikolaidou
5cccf9846f segment: Correct stream_time calc for negative applied rate
Updated gst_segment_position_from_stream_time and gst_segment_to_stream_time to reflect correct calculations for the case when the applied rate is negative.

Pasting from design docs:

===============================
Stream time is calculated using the buffer times and the preceding SEGMENT
event as follows:

    stream_time = (B.timestamp - S.start) * ABS (S.applied_rate) + S.time

For negative rates, B.timestamp will go backwards from S.stop to S.start,
making the stream time go backwards.
===============================

Therefore, the calculation for applied_rate < 0 should be:

    stream_time = (S.stop - B.timestamp) * ABS (S.applied_rate) + S.time

and the reverse:

    B.timestamp = S.stop - (stream_time - S.time) / ABS (S.applied_rate)

https://bugzilla.gnome.org/show_bug.cgi?id=756810
2015-10-27 17:13:11 +02:00
Vivia Nikolaidou
fb39b3853f segment: gst_segment_to_stream_time: Renamed 'result' to 'stream_time'
Renamed the "result" variable to "stream_time" for better readability.
2015-10-27 17:12:40 +02:00
Florin Apostol
365f2a130f uri: fix behaviour for merging uris ending in .. without following /
https://bugzilla.gnome.org/show_bug.cgi?id=757065
2015-10-27 17:09:53 +02:00
Sebastian Dröge
c385042483 pad: Fix docs/annotation of gst_pad_probe_info_get_buffer_list()
It's not get_bufferlist(). Because of that it was ignored by the docs and
G-I, leading to crashes because of broken ownership transfer.

https://bugzilla.gnome.org/show_bug.cgi?id=756898
2015-10-21 14:51:08 +03:00
Sebastian Dröge
f97b5eac68 bin: Make sure to free all cached messages when going to NULL
An ASYNC READY->PAUSED might have failed without the bin code noticing during
the state change, in which case we will never get PAUSED->READY and would leak
messages.

https://bugzilla.gnome.org/show_bug.cgi?id=756611
2015-10-20 10:16:38 +03:00
Edward Hervey
ebeee60c3f multiqueue: Improve incoming SEGMENT handling
Previously this code was just blindly setting the cached flow return
of downstream to GST_FLOW_OK when we get a SEGMENT.

The problem is that this can not be done blindly. If downstream was
not linked, the corresponding sinqlequeue source pad thread might be
waiting for the next ID to be woken up upon.

By blindly setting the cached return value to GST_FLOW_OK, and if that
stream was the only one that was NOT_LINKED, then the next time we
check (from any other thread) to see if we need to wake up a source pad
thread ... we won't even try, because none of the cached flow return
are equal to GST_FLOW_NOT_LINKED.

This would result in that thread never being woken up

https://bugzilla.gnome.org/show_bug.cgi?id=756645
2015-10-19 14:38:51 +02:00
Edward Hervey
72a7bf590e baseparse: Update internal position even if not linked
Our current position has nothing to do with being linked or not.

Avoids having stray segment updates fired every 2s
2015-10-13 11:06:28 +02:00
Stefan Sauer
05239c58e3 tests: fix the tag test
The previous change (see bgo #756069) was causing us to free the same pointer
multiple times. If we actually get a sample back, the test fails, no need to
free anything in that case.
2015-10-07 19:04:12 +01:00
Vineeth TM
501b96ef11 tests/gst-launch: Fix sample memory leak
When sample is got using gst_tag_list_get_sample_index, it should
be free'd.

https://bugzilla.gnome.org/show_bug.cgi?id=756069
2015-10-07 19:04:04 +01:00
Sebastian Dröge
c792de843a gst-ptp-helper: #include <sys/socket.h> to fix net/if.h include on OSX 10.6
In file included from gst-ptp-helper.c:40:0:
   /usr/include/net/if.h:265:19: error: field 'ifru_addr' has incomplete type
      struct sockaddr ifru_addr;

https://bugzilla.gnome.org/show_bug.cgi?id=756136
2015-10-07 19:03:15 +01:00
Tim-Philipp Müller
9dc3ca9b75 check: fix 'format string is not a string literal' warning with clang
Broke this when I removed the G_GNUC_PRINTF in a previous
commit to fix indentation, since it was not really needed.
Turns out unlike gcc clang warns though if a non-literal
format string is passed then. Fix indentation differently.

http://clang.llvm.org/docs/AttributeReference.html#format-gnu-format
2015-09-29 14:03:03 +01:00
Sebastian Dröge
2beb654a15 Release 1.6.0 2015-09-25 23:14:33 +02:00
Sebastian Dröge
664e0a3e1f Update .po files 2015-09-25 22:41:16 +02:00