summaryrefslogtreecommitdiff
path: root/libs
AgeCommit message (Collapse)AuthorFilesLines
2015-03-10check: duplicate code branchesLuis de Bethencourt1-5/+1
CID #1226446
2015-03-07flowcombiner: add a gst_flow_combiner_update_pad_flow() methodMark Nauwelaerts2-0/+31
https://bugzilla.gnome.org/show_bug.cgi?id=744572 API: gst_flow_combiner_update_pad_flow()
2015-03-07flowcombiner: add a gst_flow_combiner_reset() methodMark Nauwelaerts2-0/+26
https://bugzilla.gnome.org/show_bug.cgi?id=744572 API: gst_flow_combiner_reset()
2015-03-06basesrc: Fix typo in debug messageSebastian Dröge1-1/+1
2015-02-26baseparse: Don't emit errors on EOS if we saw GAP eventsEdward Hervey1-2/+6
If we saw GAP events (meaning the streams is advancing) before we get EOS, we should not post an ERROR, since it is not fatal. https://bugzilla.gnome.org/show_bug.cgi?id=745143
2015-02-24helpers: Fix install of completion-helper.Mathieu Duponchelle1-1/+2
By applying the supplied transformation to the program name, for example --program-prefix.
2015-02-23completion-helper: Add missing DESTDIRNicolas Dufresne1-2/+2
Otherwise doing "make install DESTDIR" will try to write to /usr/share/...
2015-02-23completion-helper: Add filtering by klass and sink caps.Mathieu Duponchelle1-7/+50
2015-02-23flowcombiner: fix documentation comment typoMark Nauwelaerts1-1/+1
2015-02-23baseparse: drain segment upon SEGMENT_DONE to ensure proper event orderMark Nauwelaerts1-0/+11
2015-02-23baseparse: clean up some bogus commented codeMark Nauwelaerts1-2/+0
2015-02-23completion-helper: Append $(EXEEXT) to the name of the moved file.Mathieu Duponchelle1-2/+2
Fixes the build on Windows (https://ci.gstreamer.net/job/cerbero-cross-mingw32/1742/console)
2015-02-23bash-completion: Implement in a different way.Mathieu Duponchelle4-0/+278
+ Gets installed + Uses a helper tool, gst-completion-helper, installed in bash-completions/helpers. + Adds a common script that other tools can source. https://bugzilla.gnome.org/show_bug.cgi?id=744877
2015-02-19check: cast element in ASSERT_SET_STATE.Mathieu Duponchelle1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=744777
2015-02-13timedvaluecontrolsource: Do not wrongly send value-removedThibault Saunier1-0/+3
And avoid freeing something we do not own
2015-02-12basesrc: fix documentation and debug message after latency updatesThiago Santos1-4/+4
Changes docs and message according to latency handling fix
2015-02-11Improve and fix LATENCY query handlingSebastian Dröge3-6/+9
This now follows the design docs everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=744106
2015-02-07netclock: Don't update the clock when it desynchJan Schmidt1-14/+43
Add a hold off when the clock calibration suddenly loses synch, as it may be a glitch, but also make sure we update if it stays desynched for more than a few seconds
2015-02-07netclock: Make the RTT average ignore large values more forcefully.Jan Schmidt1-1/+1
Smooth larger RTTs a little harder, so excessively large values perturb the average a bit less, and therefore get filtered out more strongly
2015-01-23check: fix another typo in the docsStefan Sauer1-1/+1
2015-01-22check: Fix doc of GST_CHECKS and GST_CHECKS_IGNOREHeinrich Fink1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=743335
2015-01-21check: Add _fail_unless() compatibility function around _ck_assert_failed()Sebastian Dröge2-1/+29
We exported this in < 1.5 and it was automatically used by many macros from the header. Keep it exported for now.
2015-01-21netclock: Fix docs typo. Clock bus messages are GST_MESSAGE_ELEMENTJan Schmidt1-1/+1
2015-01-21netclock: Implement rate limits for polling and fix up skew limitsJan Schmidt1-37/+73
Add the minimum-update-interval property to the clock, with a default of 50ms and don't send polling requests faster than that. That helps to ensure we spread the initial observations out a little - startup takes a little longer, but tracking is more stable. Move the discont skew limiting code inside an if statement, so that it's only done when the linear regression succeeds and the clock parameters might actually change.
2015-01-21netclock: Implement sending statistic bus messages and discont limitsJan Schmidt1-8/+138
Allow setting a GstBus on the network clock client via a new 'bus' object property. If a bus is set, the clock will output an element message containing statistics about new clock observations and the clock correlation. When the local clock is synchronised with the remote, limit the maximum jump in the clock at any point to be one average RTT to the server. Also, publish in the bus message whether we are synched with the remote or not.
2014-12-22basetransform: Short-circuit CAPS query handling if transform_caps returns ↵Sebastian Dröge1-11/+23
EMPTY caps Both for the peer filter caps and the converted caps based on the peer caps. If the peer filter caps are EMPTY, the peer caps query will also return EMPTY. There's no ned to both downstream/upstream with this query.
2014-12-18gstcheck: fix GI annotationThiago Santos1-1/+1
Add missing : to annotation
2014-12-18baseparse: jump over large skips in pull modeVincent Penquerc'h1-0/+6
This bypasses the dumping of buffers we still have to do in push mode. https://bugzilla.gnome.org/show_bug.cgi?id=730053
2014-12-16check: Have autotools generate internal-check.hSebastian Rasmussen9-21/+16
Previously GStreamer got access to the libcheck interface by including libs/gst/check/check.h which in turn included internal-check.h in the same directory. internal-check.h was generated by copying libs/gst/check/libcheck/check.h which in turn was generated from check.h.in in the same directory. In this case generating libs/gst/check/libcheck/check.h is unnecessary, in addition this file was accidentally distributed in generated project tarballs. Now libs/gst/check/internal-check.h is generated directly from libs/gst/check/libcheck/check.h.in by configure. This means that the libcheck source must include internal-check.h instead of the previously generated libs/gst/check/libcheck/check.h. However the unnecessary intermediate step is now skipped. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741359
2014-12-07check: Avoid requring (u)intmax_t in macrosSebastian Rasmussen1-8/+8
Previously embedded libcheck versions did not depend on (u)intmax_t and doing so would require projects using GStreamer's check framework to add AX_CREATE_STDINT_H to their configure.ac. A workaround is to fallback to glib types. This patch assumes that glib.h is always included before internal-check.h which is ok since everything Gstreamer would include gst/gstcheck.h instead of directly including internal-check.h. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727826
2014-12-06check: Fix compilation error for iOSSebastian Rasmussen1-1/+0
libcheck includes CoreServices for its compat for clock_gettime(), even though it never uses anything it declares. Let's remove it. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727826
2014-12-06check: Apply GStreamer-specific patchesSebastian Rasmussen14-57/+47
Reintroduced patches: * Make sure that fail_if(1) actually fails from commit 9f99d056a263e71a5e6181224829def906cf0226 New patches due to updated libcheck (based on 0.9.14): * Checks in m4/check-checks.m4 to cater for new dependencies * Conditional compile-time compat POSIX fallbacks for libcheck * Avoid relative paths for libcheck header files * Make timer_create() usage depend on posix timers, not librt * Rely on default AX_PTHREAD behavior to allow HAVE_PTHREAD to be used when checking for types and functions (like clock_gettime()) * Avoid double declaration of clock_gettime() when availabe outside of librt by making compat clock_gettime() declaration conditional * check 0.9.9 renamed _fail_unless() and 0.9.12 later renamed it again to _ck_assert_failed(), so ASSERT_{CRITICAL,WARNING}() now calls this function * Remove libcheck fallback infrastructure for malloc(), realloc(), gettimeofday() and snprintf() since either they appear to be available or they introduce even more dependencies. The result is an embedded check in gstreamer that has been tested by running check tests in core, -base, -good, -bad, -ugly and rtsp-server on Linux, OSX and Windows. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727826
2014-12-06check: Import version 0.9.14Sebastian Rasmussen27-814/+2580
This lifts the files almost verbatim (the changes being running though gst-indent and fixing the FSF address) from the upstream respository. Therefore this commit reverts some GStreamer-specific patches to check that will be reintroduced next. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727826
2014-12-01basesink: clamp reported position based on directionEdward Hervey1-2/+6
When using a negative rate (rate being segment.rate * segment.applied_rate), we will end up reporting decreasing positions, therefore adjust the clamping against last reported value accordingly. Fixes positions getting properly reported with applied_rate < 0.0 https://bugzilla.gnome.org/show_bug.cgi?id=738092
2014-12-01Don't compare booleans for equality to TRUE and FALSESebastian Dröge6-15/+17
TRUE is 1, but every other non-zero value is also considered true. Comparing for equality with TRUE would only consider 1 but not the others. Also normalize booleans in a few places.
2014-11-28baseparse: update the duration variable before emitting the busThiago Santos1-4/+6
Otherwise the application might still get the old value if it asks between the message and the real update.
2014-11-27basetransform: Compare correct caps variable against NULL before comparing capsSebastian Dröge1-1/+1
2014-11-25triggercontrolsource: Fix short description for the docsSebastian Dröge1-1/+1
2014-11-20basetransform: Fix caps equality checkSebastian Dröge1-1/+1
Instead of checking if our outcaps are equivalent to the previous incaps, and if that is the case not setting any caps on the pad... compare against our previous outcaps because that's what we care about. Fixes some cases where the outcaps became equivalent to the previous incaps, but the previous outcaps were different and we were then sending buffers downstream that were corresponding to the caps we forgot to set on the pad. Resulting in crashes or image corruption.
2014-11-12baseparse: allow skipping more data than we currently haveVincent Penquerc'h1-1/+42
This can be useful for skipping large unwanted data, such as large album art, when we know the size of it from a metadata header.
2014-11-09basetransform: Don't bother the subclass with setting the same caps multiple ↵Sebastian Dröge1-12/+21
times
2014-11-09basesink: Don't bother the subclass with setting the same caps multiple timesSebastian Dröge1-7/+16
2014-11-09basesrc: Don't bother the subclass with setting the same caps multiple timesSebastian Dröge1-4/+15
2014-11-06dataqueue: Fix gst_data_queue_new() description.Jan Schmidt1-3/+4
Reword the function docs, which haven't made any sense since gst_data_queue_new_full() was removed a few years ago.
2014-11-04basesink: Answer the query position when receiving it from upstreamThibault Saunier1-0/+5
Currently we are just returning FALSE, but we do have the information we should just answer the query the same way as when answering through the GstElement.query vmethod default implementation. https://bugzilla.gnome.org/show_bug.cgi?id=739580
2014-11-02doc: Do not use deprecated gtk-doc 'Rename to' tagLuis de Bethencourt1-3/+1
GObject introspection GTK-Doc tag "Rename to" has been deprecated, changing to rename-to annotation. https://bugzilla.gnome.org/show_bug.cgi?id=739514
2014-10-24basesink: don't unlock mutex that is not lockedTim-Philipp Müller1-1/+6
Fixes 'Attempt to unlock mutex that was not locked' warning with newer GLibs when sink is shut down in certain situations. Triggered by the decodebin test_reuse_without_decoders unit test in -base sometimes, esp. on slower machines.
2014-10-22timedvaluecontrolsource: Add some signals about values changesThibault Saunier2-8/+108
In order for user to be able to track changes in the value set in GstTimedValueControlSource the following signals have been added: * value-added * value-removed * value-changed To be able to use a GstControlPoint to be marshalled into the signals, the GstControlPoint structure is now registerd as a GBoxed type. New API: ~~~~~~~ * GstTimedValueControlSource::value-added * GstTimedValueControlSource::value-removed * GstTimedValueControlSource::value-added https://bugzilla.gnome.org/show_bug.cgi?id=737616
2014-10-08collectpads: Use GST_PTR_FORMAT in debug to output buffer detailsJan Schmidt1-2/+2
Use %GST_PTR_FORMAT instead of %p in debug output so all the buffer details are output
2014-10-03baseparse: don't leak caps in gst_base_parse_process_streamheaderMatej Knopp1-0/+6
https://bugzilla.gnome.org/show_bug.cgi?id=737762