platform/upstream/gstreamer.git
11 years agocontrolbinding: hide one unused typedef
Stefan Sauer [Thu, 10 Jan 2013 10:34:14 +0000 (11:34 +0100)]
controlbinding: hide one unused typedef

This is not used internally.

11 years agodocs: improve api docs for controlsource and -binding
Stefan Sauer [Thu, 10 Jan 2013 10:33:42 +0000 (11:33 +0100)]
docs: improve api docs for controlsource and -binding

11 years agotests: fix leak in ghostpad unit test
Tim-Philipp Müller [Sat, 5 Jan 2013 16:30:04 +0000 (16:30 +0000)]
tests: fix leak in ghostpad unit test

The created pad is never used and overwritten with
another newly-created pad a few lines below.

11 years agodocs: minor systemsclock doc fix
Tim-Philipp Müller [Fri, 4 Jan 2013 12:27:38 +0000 (12:27 +0000)]
docs: minor systemsclock doc fix

11 years agobasesink: Initialize uninitialized variable
Sebastian Dröge [Thu, 3 Jan 2013 09:16:18 +0000 (10:16 +0100)]
basesink: Initialize uninitialized variable

11 years agoadapter: return gssize from gst_adapter_masked_scan_* functions
Thijs Vermeir [Sun, 30 Dec 2012 22:35:48 +0000 (23:35 +0100)]
adapter: return gssize from gst_adapter_masked_scan_* functions

As the return value of this function is -1 when the match is not found

11 years agobasesink: Check if buffers are too late before calling prepare/prepare_list
Sebastian Dröge [Tue, 1 Jan 2013 09:23:59 +0000 (10:23 +0100)]
basesink: Check if buffers are too late before calling prepare/prepare_list

https://bugzilla.gnome.org/show_bug.cgi?id=690936

11 years agoconfigure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Tim-Philipp Müller [Sun, 30 Dec 2012 23:48:47 +0000 (23:48 +0000)]
configure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS

AM_CONFIG_HEADER has been removed in the just-released automake 1.13:
https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html

https://bugzilla.gnome.org/show_bug.cgi?id=690881

11 years agocaps, structure, taglist: micro-optimisations
Tim-Philipp Müller [Sat, 22 Dec 2012 16:50:49 +0000 (16:50 +0000)]
caps, structure,  taglist: micro-optimisations

Avoid some unnecessary GValue copying by making use of
gst_structure_id_take_value() where possible.

11 years agogstvalue: some micro-optimisations
Tim-Philipp Müller [Sat, 22 Dec 2012 16:29:03 +0000 (16:29 +0000)]
gstvalue: some micro-optimisations

Avoid unnecessary value copying, and unnecessary init/unset
cycles which all go through the value table. There's a bunch
of places where we copy a value and then unset it in the next
line, instead of just taking over the source value.

11 years agoscripts: fix location of repository with ssh
Thijs Vermeir [Sat, 22 Dec 2012 15:53:47 +0000 (16:53 +0100)]
scripts: fix location of repository with ssh

11 years agobin: add flag to disable resync state change
Wim Taymans [Fri, 21 Dec 2012 15:36:37 +0000 (16:36 +0100)]
bin: add flag to disable resync state change

Add a GST_BIN_FLAG_NO_RESYNC that disables a resync when an element is added,
removed or linked in the bin. This is interesting for complex bins that
dynamically add elements to themselves and want to manage the state of those
elements without interference from resyncs.

See https://bugzilla.gnome.org/show_bug.cgi?id=690420

11 years agodocs: update synchronization document a little
Wim Taymans [Fri, 21 Dec 2012 09:09:30 +0000 (10:09 +0100)]
docs: update synchronization document a little

11 years agosystemclock: add OTHER clock type
Wim Taymans [Thu, 20 Dec 2012 15:40:04 +0000 (16:40 +0100)]
systemclock: add OTHER clock type

Add an OTHER clock type so that subclasses are able to mark themselves as
using some other clock source than the realtime or monotonic clock.

11 years agomultiqueue: correct overrun handling
Branko Subasic [Thu, 20 Dec 2012 12:31:02 +0000 (13:31 +0100)]
multiqueue: correct overrun handling

The control of wheteher a SingleQueue is full is not correct.
Rewrote single_queue_overrun_cb() so it checks the correct variables
when checking if the queue has reached the hard limits, and to
increase the max buffer limit once for each call.

https://bugzilla.gnome.org/show_bug.cgi?id=690557

11 years agoqueue2: implement buffering query for all modes
Wim Taymans [Thu, 20 Dec 2012 10:59:54 +0000 (11:59 +0100)]
queue2: implement buffering query for all modes

Also implement the buffering query for STREAM mode.

11 years agoqueue2: refactor buffering percent and stats
Wim Taymans [Thu, 20 Dec 2012 10:30:25 +0000 (11:30 +0100)]
queue2: refactor buffering percent and stats

Make methods to get the current buffering percent and the stats. We will use
this in the query later.

11 years agobaseparse: fix invalid output timestamps in some cases
Arnaud Vrac [Thu, 13 Dec 2012 12:47:29 +0000 (13:47 +0100)]
baseparse: fix invalid output timestamps in some cases

11 years agoNEWSEGMENT -> SEGMENT
Wim Taymans [Fri, 14 Dec 2012 14:22:27 +0000 (15:22 +0100)]
NEWSEGMENT -> SEGMENT

11 years agodocs: update plugin docs
Tim-Philipp Müller [Fri, 14 Dec 2012 14:03:43 +0000 (14:03 +0000)]
docs: update plugin docs

Update args/signals etc.

11 years agoadd debug category
Wim Taymans [Fri, 14 Dec 2012 10:09:30 +0000 (11:09 +0100)]
add debug category

Adding a debug category is nicer than logging to the default category

11 years agoelement: improve debug
Wim Taymans [Fri, 14 Dec 2012 10:08:57 +0000 (11:08 +0100)]
element: improve debug

11 years agobasesrc: call _stop when start failed
Wim Taymans [Thu, 13 Dec 2012 13:48:35 +0000 (14:48 +0100)]
basesrc: call _stop when start failed

When we failed to complete the start, call stop again. This makes sure that all
successfull calls to _start are paired with a _stop.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=687845

11 years agolibs: Use foo/foo.h as single-include header consistently everywhere
Sebastian Dröge [Wed, 12 Dec 2012 16:44:14 +0000 (16:44 +0000)]
libs: Use foo/foo.h as single-include header consistently everywhere

https://bugzilla.gnome.org/show_bug.cgi?id=688785

11 years agobaseparse: pass DTS and PTS to handle_buffer
Wim Taymans [Tue, 11 Dec 2012 15:46:18 +0000 (16:46 +0100)]
baseparse: pass DTS and PTS to handle_buffer

This makes it handle the timestamps correctly and avoids using a wrong timestamp
for the output.

11 years agobaseparse: improve debug
Wim Taymans [Tue, 11 Dec 2012 15:46:01 +0000 (16:46 +0100)]
baseparse: improve debug

Add pts and dts in debug log

11 years agogst-launch: report execution time in GST_TIME_FORMAT
Andrzej Bieniek [Sat, 3 Nov 2012 16:59:39 +0000 (16:59 +0000)]
gst-launch: report execution time in GST_TIME_FORMAT

https://bugzilla.gnome.org/show_bug.cgi?id=687523

11 years agoplugin: protect against NULL filename in debug
Wim Taymans [Mon, 10 Dec 2012 10:55:42 +0000 (11:55 +0100)]
plugin: protect against NULL filename in debug

See https://bugzilla.gnome.org/show_bug.cgi?id=689948

11 years agobufferpool: clarify docs
Wim Taymans [Thu, 6 Dec 2012 08:48:08 +0000 (09:48 +0100)]
bufferpool: clarify docs

11 years agocaps: fix docs
Wim Taymans [Wed, 5 Dec 2012 13:56:48 +0000 (14:56 +0100)]
caps: fix docs

11 years agoadapter: fix 0.10 docs to make more sense in 1.0
Wim Taymans [Wed, 5 Dec 2012 13:24:14 +0000 (14:24 +0100)]
adapter: fix 0.10 docs to make more sense in 1.0

11 years agoadapter: fix docs for 1.0
Wim Taymans [Wed, 5 Dec 2012 13:03:27 +0000 (14:03 +0100)]
adapter: fix docs for 1.0

Add parent to chain function signature and use it.

11 years agomessage: add reset-time type string
Wim Taymans [Fri, 30 Nov 2012 09:41:51 +0000 (10:41 +0100)]
message: add reset-time type string

11 years agobin: remove some casts
Wim Taymans [Fri, 30 Nov 2012 09:41:36 +0000 (10:41 +0100)]
bin: remove some casts

11 years agodocs: add link to python porting doc and app dev manual to porting-to-1.0.txt
Tim-Philipp Müller [Wed, 28 Nov 2012 18:08:52 +0000 (18:08 +0000)]
docs: add link to python porting doc and app dev manual to porting-to-1.0.txt

11 years agoconfigure.ac: Update libtool versioning
Edward Hervey [Wed, 28 Nov 2012 16:36:55 +0000 (17:36 +0100)]
configure.ac: Update libtool versioning

In order for 1.x and 1.(x+1) versions to not invade on each other
we need to have different lib versions.

So we need a consistent and predictable scheme:
  library version number = MINOR * 100 + MICRO

Ex:
  1.0.0 => 0 (duh)
  1.0.3 => 3
  1.1.0 => 100
  1.1.1 => 101
  1.2.0 => 120
  1.10.5 => 1005
  ....

11 years agoadd gst-editing-services to PKG_CONFIG_PATH
Luis de Bethencourt [Mon, 26 Nov 2012 23:16:52 +0000 (18:16 -0500)]
add gst-editing-services to PKG_CONFIG_PATH

11 years agodocs: clean up sections file for pad probe defines that moved into enum
Tim-Philipp Müller [Mon, 26 Nov 2012 00:51:38 +0000 (00:51 +0000)]
docs: clean up sections file for pad probe defines that moved into enum

11 years agogst: don't require gthread-2.0
Tim-Philipp Müller [Mon, 26 Nov 2012 00:20:26 +0000 (00:20 +0000)]
gst: don't require gthread-2.0

We don't need to link to gthread-2.0 any longer, since all
the normal thread-related stuff is in GLib proper, and we
don't use g_thread_init() any more.

https://bugzilla.gnome.org/show_bug.cgi?id=689043

11 years agogstreamer-1.0.pc: move gmodule-no-export-2.0 dependency to Requires.private
Tim-Philipp Müller [Sun, 25 Nov 2012 23:42:57 +0000 (23:42 +0000)]
gstreamer-1.0.pc: move gmodule-no-export-2.0 dependency to Requires.private

Users of GStreamer are not generally expected to use the GModule API
directly. so don't force them all to link against it.

While we're at it, no need to define this via configure.ac really, just
put the dependencies directly into the .pc.in file.

11 years agodocs: remove all mention of g_thread_init()
Tim-Philipp Müller [Sun, 25 Nov 2012 23:26:47 +0000 (23:26 +0000)]
docs: remove all mention of g_thread_init()

It's been deprecated since GLib 2.32 and isn't needed any
longer.

11 years agodataqueue: reduce debug log spam a bit
Tim-Philipp Müller [Sun, 25 Nov 2012 18:11:38 +0000 (18:11 +0000)]
dataqueue: reduce debug log spam a bit

Log locking/unlocking with TRACE debug level.

11 years agoevent: fix annotation for gst_event_parse_stream_start
Alessandro Decina [Fri, 23 Nov 2012 20:09:45 +0000 (21:09 +0100)]
event: fix annotation for gst_event_parse_stream_start

11 years agopad: document more pad probe values
Tim-Philipp Müller [Fri, 23 Nov 2012 13:36:09 +0000 (13:36 +0000)]
pad: document more pad probe values

11 years agotestclock: remove unnecessary include
Tim-Philipp Müller [Fri, 23 Nov 2012 13:34:24 +0000 (13:34 +0000)]
testclock: remove unnecessary include

11 years agotests: fix clock unit test build failure after header changes
Tim-Philipp Müller [Fri, 23 Nov 2012 13:32:07 +0000 (13:32 +0000)]
tests: fix clock unit test build failure after header changes

https://bugzilla.gnome.org/show_bug.cgi?id=688785

11 years agopad: don't use parenthesis for ORed pad probe flag enums
Tim-Philipp Müller [Fri, 23 Nov 2012 12:47:25 +0000 (12:47 +0000)]
pad: don't use parenthesis for ORed pad probe flag enums

glib-mkenum doesn't like them for some reason.

https://bugzilla.gnome.org/show_bug.cgi?id=688804

11 years agopad: Put all of the probe types in the enum so they work with bindings
Olivier Crête [Fri, 23 Nov 2012 09:58:25 +0000 (10:58 +0100)]
pad: Put all of the probe types in the enum so they work with bindings

https://bugzilla.gnome.org/show_bug.cgi?id=688804

12 years agolibs: Add missing single include headers and use them in GIRs
Evan Nemerson [Wed, 21 Nov 2012 07:13:33 +0000 (23:13 -0800)]
libs: Add missing single include headers and use them in GIRs

12 years agotests: don't use deprecated thread API
Wim Taymans [Tue, 20 Nov 2012 15:34:28 +0000 (16:34 +0100)]
tests: don't use deprecated thread API

12 years agobasesink: add some debug
Wim Taymans [Tue, 20 Nov 2012 15:19:52 +0000 (16:19 +0100)]
basesink: add some debug

12 years agobasesink: reset START_TIME when needed
Wim Taymans [Tue, 20 Nov 2012 15:19:16 +0000 (16:19 +0100)]
basesink: reset START_TIME when needed

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=685870

12 years agovalue: Make G-I happy by hiding gst_g_thread_get_type()
Sebastian Dröge [Tue, 20 Nov 2012 14:37:11 +0000 (15:37 +0100)]
value: Make G-I happy by hiding gst_g_thread_get_type()

12 years agoRemove xfig from spec file
Christian Fredrik Kalager Schaller [Tue, 20 Nov 2012 14:07:37 +0000 (15:07 +0100)]
Remove xfig from spec file

12 years agovalue: Use the GLib GType for GThread if compiling against GLib 2.35.3 or newer
Sebastian Dröge [Tue, 20 Nov 2012 14:06:14 +0000 (15:06 +0100)]
value: Use the GLib GType for GThread if compiling against GLib 2.35.3 or newer

12 years agogst: Don't set the locale in gst_init()
Sebastian Dröge [Tue, 20 Nov 2012 11:56:12 +0000 (12:56 +0100)]
gst: Don't set the locale in gst_init()

The function init_pre() in gstreamer/gst/gst.c calls setlocale(LC_ALL, ""),
which sets the locale to the values specified in the environment.  This is
wrong for two reasons:

1. It is absolutely not the task of a library to decide on the correct locale
for a program.  Some programs change the locale for various (good or bad)
reasons, and libraries should respect that.  Programs where GStreamer's
overwriting of the locale causes bugs include Emacs [1, 2], Sublime Text [3],
and Lua [4].

[1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12392
[2] http://bugzilla.novell.com/show_bug.cgi?id=779426
[3] http://www.sublimetext.com/forum/viewtopic.php?f=3&t=8543
[4] https://github.com/pavouk/lgi/issues/19

Note that setting the locale can cause problems for programs that are not even
linked against GStreamer.  In the case of Emacs, for example, GStreamer seems
to be initialized through GTK via libcanberra.

2. Setting the locale is not thread-safe, and therefore should not be done in a
library.

https://bugzilla.gnome.org/show_bug.cgi?id=685650

12 years agobaseparse: forward stream-start event in push mode
Arnaud Vrac [Fri, 16 Nov 2012 18:41:48 +0000 (19:41 +0100)]
baseparse: forward stream-start event in push mode

12 years agoRemove two last .fig files from build, they are now replaced with .svg files. That...
Christian Fredrik Kalager Schaller [Mon, 19 Nov 2012 12:38:30 +0000 (13:38 +0100)]
Remove two last .fig files from build, they are now replaced with .svg files. That said I don't think either .fig file was still being used anywhere. With this
change and the one in common GStreamer no longer depends on xfig.

12 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gstreamer
Christian Fredrik Kalager Schaller [Mon, 19 Nov 2012 12:16:48 +0000 (13:16 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gstreamer

12 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 19 Nov 2012 11:23:32 +0000 (11:23 +0000)]
Automatic update of common submodule

From b497c4f to a72faea

12 years agoAdd SVG versions of .fig file
Christian Fredrik Kalager Schaller [Mon, 19 Nov 2012 10:45:07 +0000 (11:45 +0100)]
Add SVG versions of .fig file

12 years agoexamples: don't compile testrtpool example if pthreads are not available like on...
Tim-Philipp Müller [Sat, 17 Nov 2012 10:27:11 +0000 (10:27 +0000)]
examples: don't compile testrtpool example if pthreads are not available like on win32

Based on patch by: italarab@gmail.com

https://bugzilla.gnome.org/show_bug.cgi?id=688511

12 years agoinputselector: fix clock leak in wait_running_time
Arnaud Vrac [Tue, 13 Nov 2012 20:13:00 +0000 (21:13 +0100)]
inputselector: fix clock leak in wait_running_time

https://bugzilla.gnome.org/show_bug.cgi?id=688477

12 years agogstcompat.h: move more deprecated API into the deprecated section
Tim-Philipp Müller [Sat, 17 Nov 2012 00:13:14 +0000 (00:13 +0000)]
gstcompat.h: move more deprecated API into the deprecated section

https://bugzilla.gnome.org/show_bug.cgi?id=675598

12 years agotask: documentation update
Philippe Normand [Wed, 14 Nov 2012 11:20:54 +0000 (12:20 +0100)]
task: documentation update

GStaticRecMutex usage has been replaced by GRecMutex, reflect this
change in the documentation.

12 years agotestclock: port to new GLib threading API
Tim-Philipp Müller [Wed, 14 Nov 2012 10:55:15 +0000 (10:55 +0000)]
testclock: port to new GLib threading API

12 years agotests: gst_adapter_prev_timestamp -> gst_adapter_prev_pts
Tim-Philipp Müller [Tue, 13 Nov 2012 23:11:34 +0000 (23:11 +0000)]
tests: gst_adapter_prev_timestamp -> gst_adapter_prev_pts

https://bugzilla.gnome.org/show_bug.cgi?id=675598

12 years agotestclock: minor cleanups, add since markers for gtk-doc
Tim-Philipp Müller [Tue, 13 Nov 2012 22:42:05 +0000 (22:42 +0000)]
testclock: minor cleanups, add since markers for gtk-doc

https://bugzilla.gnome.org/show_bug.cgi?id=683012

12 years agocheck: allow GstTestClock to handle clock notifications
Sebastian Rasmussen [Wed, 29 Aug 2012 23:58:41 +0000 (01:58 +0200)]
check: allow GstTestClock to handle clock notifications

API: gst_test_clock_peek_id_count()
API: gst_test_clock_has_id()
API: gst_test_clock_peek_next_pending_id()
API: gst_test_clock_wait_for_next_pending_id()
API: gst_test_clock_wait_for_pending_id_count()
API: gst_test_clock_process_next_clock_id()
API: gst_test_clock_get_next_entry_time()

https://bugzilla.gnome.org/show_bug.cgi?id=683012

12 years agocheck: add dependency on gstcheck header files for exports.sym
Tim-Philipp Müller [Tue, 13 Nov 2012 21:29:01 +0000 (21:29 +0000)]
check: add dependency on gstcheck header files for exports.sym

So exports.sym gets updated correctly, and our new symbols get
exported correctly, which makes g-ir-scanner much happier in
terms of linking.

https://bugzilla.gnome.org/show_bug.cgi?id=683012

12 years agocheck: add GstTestClock as a deterministic clock for testing
Sebastian Rasmussen [Wed, 29 Aug 2012 14:11:10 +0000 (16:11 +0200)]
check: add GstTestClock as a deterministic clock for testing

API: GstTestClock
API: gst_test_clock_new()
API: gst_test_clock_new_with_start_time()
API: gst_test_clock_set_time()
API: gst_test_clock_advance_time()

https://bugzilla.gnome.org/show_bug.cgi?id=683012

12 years agobasesrc: fix debug message
Tim-Philipp Müller [Fri, 9 Nov 2012 21:10:42 +0000 (21:10 +0000)]
basesrc: fix debug message

12 years agostructure: re-indent header file
Tim-Philipp Müller [Thu, 8 Nov 2012 20:22:19 +0000 (20:22 +0000)]
structure: re-indent header file

Tabs to spaces.

12 years agovalue: API: Add boxed type for GThread
Sebastian Dröge [Mon, 12 Nov 2012 10:40:59 +0000 (11:40 +0100)]
value: API: Add boxed type for GThread

12 years agogst-inspect: Fix indention for printing typefinder features
Sebastian Dröge [Mon, 12 Nov 2012 09:30:08 +0000 (10:30 +0100)]
gst-inspect: Fix indention for printing typefinder features

12 years agoinfo: fix compiler warning when debugging disabled
Sebastian Rasmussen [Mon, 12 Nov 2012 00:40:42 +0000 (01:40 +0100)]
info: fix compiler warning when debugging disabled

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=688130

12 years agoqueue: remove unused label. Fixes compiler warning.
Alessandro Decina [Sat, 10 Nov 2012 08:50:49 +0000 (09:50 +0100)]
queue: remove unused label. Fixes compiler warning.

12 years agoqueue: don't fail in _sink_event for sticky events
Alessandro Decina [Mon, 29 Oct 2012 12:08:31 +0000 (12:08 +0000)]
queue: don't fail in _sink_event for sticky events

Implement the same behaviour as gst_pad_push_event when pushing sticky events
fails, that is don't fail immediately but fail when data flow resumes and upstream
can aggregate properly.

This fixes segment seeks with decodebin and unlinked audio or video branches.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=687899

12 years agobasesink: add simple rate control
Wim Taymans [Fri, 9 Nov 2012 15:50:50 +0000 (16:50 +0100)]
basesink: add simple rate control

Add a max-bitrate property that will slightly delay rendering of buffers if it
would exceed the maximum defined bitrate. This can be used to do
rate control on network sinks, for example.

API: GstBaseSink::max-bitrate
API: gst_base_sink_set_max_bitrate()
API: gst_base_sink_get_max_bitrate()

12 years agobufferpool: lock before unlock in _get_config
Matthew Waters [Thu, 8 Nov 2012 04:33:01 +0000 (15:33 +1100)]
bufferpool: lock before unlock in _get_config

Fixes deadlock on Windows

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=687896

12 years agoconfigure: update courtesy of autoupdate
Tim-Philipp Müller [Wed, 7 Nov 2012 18:15:11 +0000 (18:15 +0000)]
configure: update courtesy of autoupdate

12 years agocommon: update for AG_GST_PLUGIN_DOCS python checks
Tim-Philipp Müller [Wed, 7 Nov 2012 17:59:49 +0000 (17:59 +0000)]
common: update for AG_GST_PLUGIN_DOCS python checks

12 years agoDocument GST_DEBUG_FILE
Olivier Crête [Tue, 6 Nov 2012 17:29:28 +0000 (18:29 +0100)]
Document GST_DEBUG_FILE

12 years agogst-inspect: fix alignment of rank, etc.
Tim-Philipp Müller [Tue, 6 Nov 2012 17:03:47 +0000 (17:03 +0000)]
gst-inspect: fix alignment of rank, etc.

12 years agoelements: fix leading space in plugin description string
Tim-Philipp Müller [Tue, 6 Nov 2012 16:58:04 +0000 (16:58 +0000)]
elements: fix leading space in plugin description string

12 years agoFix FSF address
Tim-Philipp Müller [Sat, 3 Nov 2012 20:44:48 +0000 (20:44 +0000)]
Fix FSF address

https://bugzilla.gnome.org/show_bug.cgi?id=687520

12 years agoqueue: add "flush-on-eos" property
Tim-Philipp Müller [Wed, 31 Oct 2012 19:33:30 +0000 (19:33 +0000)]
queue: add "flush-on-eos" property

In flush-on-eos=true mode any data remaining in the queue is
discarded when an EOS event is received, and the EOS passed
downstream as soon as possible (instead of waiting for all
buffers in the queue to get processed by downstream first).

May or may not be useful in capture/encoding scenarios.

12 years agocommon: update for python detection
Tim-Philipp Müller [Wed, 31 Oct 2012 18:32:38 +0000 (18:32 +0000)]
common: update for python detection

Fixes docs build.

12 years agoconfigure: let AG_GST_PLUGIN_DOCS check for python
Tim-Philipp Müller [Wed, 31 Oct 2012 17:37:37 +0000 (17:37 +0000)]
configure: let AG_GST_PLUGIN_DOCS check for python

And update common for move from AS_PATH_PYTHON to AM_PATH_PYTHON,
which as a side-effect should pick up newer python versions as well.

https://bugzilla.gnome.org/show_bug.cgi?id=563903

12 years agocollectpads: Clarify docs about the buffer handler callback.
Jan Schmidt [Mon, 29 Oct 2012 23:04:44 +0000 (10:04 +1100)]
collectpads: Clarify docs about the buffer handler callback.

Clarify that the callback owns a ref on a passed buffer.

12 years agomultiqueue: Add EOS status to debug output about filled/unfilled
Jan Schmidt [Mon, 29 Oct 2012 23:04:14 +0000 (10:04 +1100)]
multiqueue: Add EOS status to debug output about filled/unfilled

12 years agocheck: Add a simple test for the CollectPads buffer collect callback
Jan Schmidt [Sun, 21 Oct 2012 13:31:09 +0000 (00:31 +1100)]
check: Add a simple test for the CollectPads buffer collect callback

12 years agog-i: fix "can't resolve libraries to shared libraries: gstcheck-1.0" build error
Tim-Philipp Müller [Mon, 29 Oct 2012 13:26:10 +0000 (13:26 +0000)]
g-i: fix "can't resolve libraries to shared libraries: gstcheck-1.0" build error

Revert --library=libfoo-1.0.la -> --library=foo-1.0 change made
in previous commit. Turns out that was wrong, despite what the
man page says.

https://bugzilla.gnome.org/show_bug.cgi?id=603710

12 years agopad: downgrade 'creating random stream-id' debug log message
Tim-Philipp Müller [Mon, 29 Oct 2012 11:30:30 +0000 (11:30 +0000)]
pad: downgrade 'creating random stream-id' debug log message

No need for it to be a warning.

12 years agobaseparse: prevent excessively high memory usage with long streams
Vincent Penquerc'h [Wed, 13 Jun 2012 12:02:48 +0000 (13:02 +0100)]
baseparse: prevent excessively high memory usage with long streams

Large streams would index one frame every second, which can get quite
large with multi-hour streams, so add an additional byte-based
minimum distance as well, which will kick in for long streams
and make sure we never have more than a couple of thousand index
entries.

https://bugzilla.gnome.org/show_bug.cgi?id=666053

12 years agolibs: g-i: avoid multiple libraries in the shared-library tag
Tim-Philipp Müller [Sun, 28 Oct 2012 17:17:49 +0000 (17:17 +0000)]
libs: g-i: avoid multiple libraries in the shared-library tag

Using multiple libraries causes problems for the C# bindings and
will for similiar languages such as Java when there are bindings
for them.

Also change --library=libgstfoo-X.la to --library=gstfoo-X as
the man page suggests it should be done.

https://bugzilla.gnome.org/show_bug.cgi?id=679315

12 years agopluginfeature: add gst_plugin_feature_get_plugin_name()
Tim-Philipp Müller [Sun, 28 Oct 2012 15:53:19 +0000 (15:53 +0000)]
pluginfeature: add gst_plugin_feature_get_plugin_name()

API: gst_plugin_feature_get_plugin_name()

https://bugzilla.gnome.org/show_bug.cgi?id=571832

12 years agoinfo: allow setting of GST_DEBUG levels by name
Tim-Philipp Müller [Sat, 27 Oct 2012 13:40:14 +0000 (14:40 +0100)]
info: allow setting of GST_DEBUG levels by name

e.g. GST_DEBUG=*:INFO,*src:LOG

12 years agogst: make us of the new gst_debug_set_threshold_from_string function
Thibault Saunier [Fri, 29 Jun 2012 16:38:52 +0000 (12:38 -0400)]
gst: make us of the new gst_debug_set_threshold_from_string function

https://bugzilla.gnome.org/show_bug.cgi?id=679152

12 years agoinfo: add a function to set debug threshold from a GST_DEBUG-style string
Thibault Saunier [Fri, 29 Jun 2012 16:05:36 +0000 (12:05 -0400)]
info: add a function to set debug threshold from a GST_DEBUG-style string

Use the same format as with the GST_DEBUG environment variable.

API: gst_debug_set_threshold_from_string()

https://bugzilla.gnome.org/show_bug.cgi?id=679152