platform/upstream/gstreamer.git
10 years agotools: gst-launch: don't try to remove already-removed GSource from main loop
Tim-Philipp Müller [Thu, 5 Dec 2013 00:26:13 +0000 (00:26 +0000)]
tools: gst-launch: don't try to remove already-removed GSource from main loop

It's considered a programming error in recent GLib versions now.
We may already have removed the source by returning FALSE from
the callback if it was fired. Fixes warning with newer GLibs
when interrupting a pipeline with Control-C.

10 years agoinfo: Make sure the same category is not added twice
Olivier Crête [Wed, 4 Dec 2013 22:35:18 +0000 (17:35 -0500)]
info: Make sure the same category is not added twice

10 years agoinfo: Protect __categories list in get_category with lock too
Olivier Crête [Wed, 4 Dec 2013 22:35:02 +0000 (17:35 -0500)]
info: Protect __categories list in get_category with lock too

10 years agodocs: add missing files for distribution
Sebastian Rasmussen [Tue, 3 Dec 2013 23:10:36 +0000 (00:10 +0100)]
docs: add missing files for distribution

 * add some documentation files in docs/design
 * add docs/list-ulink.xsl so check in docs/manual works

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

10 years agopad: add ACCEPT_INTERCEPT flag
Wim Taymans [Tue, 3 Dec 2013 20:46:19 +0000 (21:46 +0100)]
pad: add ACCEPT_INTERCEPT flag

Make a new flag on the pad that tweaks the default behaviour of the
accept-caps function. By default it will check for a subset of the
query-caps result but this is not always desirable. The query-caps
result contains all the constraints to make a good caps decision
upstream but sometimes, like for parsers, not all the constrained caps
fields are known upstream and then a subset check would fail. Switching
to an intersection makes this work again.

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

10 years agomultiqueue: Wake up on reconfigure event
Olivier Crête [Tue, 3 Dec 2013 03:22:36 +0000 (22:22 -0500)]
multiqueue: Wake up on reconfigure event

After patch bda406c4, the state of the singlequeue was set to OK, but nothing
would then wake up the thread, as the other wakeup functions only look at
singlequeues that are marked as having received as not-linked.

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

10 years agodocs: add missing docs, fixing doc errors
Sebastian Rasmussen [Sat, 30 Nov 2013 11:15:37 +0000 (12:15 +0100)]
docs: add missing docs, fixing doc errors

 * add many missing declarations to sections
 * GstController has been removed, update docs
 * skip GstIndex when generating documentation
 * rephrase so gtkdoc doesn't imagine return value
 * add missing argument description for gst_context_new()
 * document GstOutputSelectorPadNegotiationMode and move to header-file

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

10 years agodocs: cosmetic changes in references/decriptions
Sebastian Rasmussen [Sat, 30 Nov 2013 13:52:40 +0000 (14:52 +0100)]
docs: cosmetic changes in references/decriptions

 * fix typo GstBufferFlag -> GstBufferFlags
 * fix typo GstFeatures -> GstCapsFeatures
 * fix typo GstAllocatorParams -> GstAllocationParams
 * fix typo GstContrlSources -> GstControlSource
 * do not refer to gstcheck as an object
 * make references gtk_init() and tcase_set_timeout() not be references
 * gst_element_get_pad() renamed gst_element_get_static_pad()
 * gst_clock_id_wait_async_full() renamed gst_clock_id_wait_async()
 * _drop_element() is really gst_queue_array_drop_element()
 * gst_pad_accept_caps() was removed, do not refer to it
 * separate GST_META_TAG_MEMORY_STR declaration from description
 * do not describe removed gst_collect_pads_collect()
 * correctly link to GstElementClass' virtual set_context()

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

10 years agoparse: Manually insert priv_gst_parse_yyget/set_column prototypes for older flex
Olivier Crête [Fri, 29 Nov 2013 19:00:35 +0000 (14:00 -0500)]
parse: Manually insert priv_gst_parse_yyget/set_column prototypes for older flex

Older versions of flex (before 2.5.36) don't add the prototype, so it must
be added manually. We can't check by the version number, because Debian/Ubuntu
patched it into their 2.5.35 at some point.

10 years agogstpad: drop assertion on gst_pad_peer_query_position
Thiago Santos [Tue, 19 Nov 2013 14:41:54 +0000 (11:41 -0300)]
gstpad: drop assertion on gst_pad_peer_query_position

It is a 'both' query, so it can be sent both ways

10 years agoinputselector: handle gap events
Thiago Santos [Mon, 18 Nov 2013 21:11:56 +0000 (18:11 -0300)]
inputselector: handle gap events

Use gap events to advance the selector's pad position.

This is relevant to keep sync_streams mode working when one of the
streams doesn't have data all the time.

10 years agoRevert "ghostpad: copy sticky events to SRC ghostpads"
Wim Taymans [Fri, 29 Nov 2013 16:02:41 +0000 (17:02 +0100)]
Revert "ghostpad: copy sticky events to SRC ghostpads"

This reverts commit 8162a583a4dd68582bf186e2e47a8f0d68fa1980.

Automatically copying the sticky events makes it impossible for apps
and elements to filter the events with event probes. This causes
regressions (See #719437). The best option is to let the app/element
copy and filter the events themselves after the ghostpad target is
set.

10 years agoparse: fix segfaulting prototype-mismatch
Fabian Kirsch [Tue, 19 Nov 2013 14:03:35 +0000 (15:03 +0100)]
parse: fix segfaulting prototype-mismatch

Now YYDEBUG is always set, so check it's value

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

10 years agonetclock: Fix docstring for round-trip-limit and uninit access warning.
Jan Schmidt [Wed, 27 Nov 2013 07:32:22 +0000 (18:32 +1100)]
netclock: Fix docstring for round-trip-limit and uninit access warning.

Fix a typo in a doc string - the property is round-trip-limit, not
roundtrip-limit.

Remove a bogus GST_WARNING that can print an uninitialised variable
and is redundant anyway.

10 years agonetclock: Add round-trip-limit parameter
Carlos Rafael Giani [Tue, 26 Nov 2013 10:56:46 +0000 (11:56 +0100)]
netclock: Add round-trip-limit parameter

Sometimes, packets might take a very long time to return. Such packets
usually are way too late and destabilize the regression with their
obsolete data. On Wi-Fi, round-trips of over 7 seconds have been observed.

If the limit is set to a nonzero value, packets with a round-trip period
larger than the limit are ignored.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
https://bugzilla.gnome.org/show_bug.cgi?id=712385

10 years agoquery: Fix gi annotations of gst_structure_new_custom()
Olivier Crête [Tue, 26 Nov 2013 00:04:38 +0000 (19:04 -0500)]
query: Fix gi annotations of gst_structure_new_custom()

10 years agonetclock: Fix C99 comment
Jan Schmidt [Mon, 25 Nov 2013 15:43:54 +0000 (02:43 +1100)]
netclock: Fix C99 comment

10 years agonetclock: Implement rolling-average filter on observations.
Jan Schmidt [Mon, 25 Nov 2013 15:17:36 +0000 (02:17 +1100)]
netclock: Implement rolling-average filter on observations.

Keep a rolling average of the round trip time for network clock
observations, favouring shorter round trips as being more accurate.

Don't pass any clock observation to the clock slaving if it has a
round-trip time greater than 2 times the average.

Actual shifts in the network topology will be noticed after some
time, as the rolling average incorporates the new round trip times.

10 years agobasesink: Add debug into gst_base_sink_default_query() for accept_caps
Jan Schmidt [Mon, 25 Nov 2013 09:33:42 +0000 (20:33 +1100)]
basesink: Add debug into gst_base_sink_default_query() for accept_caps

10 years agogst-launch: exit with an error code when an error occured
Philippe Normand [Thu, 14 Nov 2013 14:32:59 +0000 (15:32 +0100)]
gst-launch: exit with an error code when an error occured

If the pipeline failed to pre-roll or the user interrupted the
execution then set the exit code to a positive value.

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

10 years agogstutils: Escape stream id format in comments
Sebastian Rasmussen [Fri, 22 Nov 2013 00:35:18 +0000 (01:35 +0100)]
gstutils: Escape stream id format in comments

These must be escaped for gtk-doc to parse the comments without warnings.

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

10 years agogst: g_memmove() is deprecated
Tim-Philipp Müller [Thu, 21 Nov 2013 15:04:04 +0000 (15:04 +0000)]
gst: g_memmove() is deprecated

Just use plain memmove(), g_memmove() is deprecated in
recent GLib versions.

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

10 years agoghostpad: copy sticky events to SRC ghostpads
Wim Taymans [Thu, 21 Nov 2013 13:13:16 +0000 (14:13 +0100)]
ghostpad: copy sticky events to SRC ghostpads

Update the sticky events on SRC ghostpads when retargeting. This ensures
that the ghostpad has the exect same sticky events as the target pad. We
don't want to do this for SINK ghostpads, they got the events from
downstream and we don't want to overwrite them with the target pad
events.

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

10 years agopad: move debug function closer to the enum it debugs
Wim Taymans [Thu, 21 Nov 2013 11:28:00 +0000 (12:28 +0100)]
pad: move debug function closer to the enum it debugs

10 years agopluginloader: check read/write before closed
Wim Taymans [Mon, 18 Nov 2013 20:39:54 +0000 (21:39 +0100)]
pluginloader: check read/write before closed

first try to read or write on the socket before checking the closed state. This
makes sure we handle all data on the socket before erroring out.

10 years agopoll: improve debug
Wim Taymans [Mon, 18 Nov 2013 20:37:06 +0000 (21:37 +0100)]
poll: improve debug

So that we can see the return values of functions in the log.

10 years agotests: fix GstBus unit test with latest GLib
Tim-Philipp Müller [Mon, 18 Nov 2013 15:28:32 +0000 (15:28 +0000)]
tests: fix GstBus unit test with latest GLib

g_source_remove() works on the default main context, and
we're doing things with a custom context. Fixes warning
with newer GLib versions.

10 years agodocs: cosmetic since marker fixes
Tim-Philipp Müller [Sat, 16 Nov 2013 12:24:56 +0000 (12:24 +0000)]
docs: cosmetic since marker fixes

10 years agobaseparse: ensure to preserve upstream timestamps
Mark Nauwelaerts [Sat, 16 Nov 2013 14:17:57 +0000 (15:17 +0100)]
baseparse: ensure to preserve upstream timestamps

... rather than have subclass coming up with an internally parsed one.

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

10 years agobin: Resync iterator if necessary
Sebastian Dröge [Fri, 15 Nov 2013 06:32:48 +0000 (07:32 +0100)]
bin: Resync iterator if necessary

10 years agovalue: Lists with all equal elements are equal to a single value
Sebastian Dröge [Wed, 13 Nov 2013 18:55:41 +0000 (19:55 +0100)]
value: Lists with all equal elements are equal to a single value

Otherwise caps containing f={X, X} are not compatible with f=X

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

10 years agosystemclock: add Since markers for new API
Tim-Philipp Müller [Mon, 11 Nov 2013 16:47:06 +0000 (16:47 +0000)]
systemclock: add Since markers for new API

10 years agowin32: Really update the def files
Edward Hervey [Mon, 11 Nov 2013 16:29:48 +0000 (17:29 +0100)]
win32: Really update the def files

10 years agowin32: Update def files
Sebastian Dröge [Mon, 11 Nov 2013 16:02:35 +0000 (17:02 +0100)]
win32: Update def files

10 years agogst-uninstalled: Also export LD_LIBRARY_PATH for gst-plugins-gl
Sebastian Dröge [Mon, 11 Nov 2013 15:50:13 +0000 (16:50 +0100)]
gst-uninstalled: Also export LD_LIBRARY_PATH for gst-plugins-gl

10 years agogst-uninstalled: export gst-plugins-gl DYLD_LIBRARY_PATH
Matthieu Bouron [Tue, 5 Nov 2013 12:22:51 +0000 (12:22 +0000)]
gst-uninstalled: export gst-plugins-gl DYLD_LIBRARY_PATH

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

10 years agocollectpads: Always send SEEK events to all pads, even if one fails
Sebastian Dröge [Wed, 6 Nov 2013 17:46:19 +0000 (18:46 +0100)]
collectpads: Always send SEEK events to all pads, even if one fails

10 years agocollectpads: Update documentation for flushing seek handling
Sebastian Dröge [Wed, 6 Nov 2013 17:41:10 +0000 (18:41 +0100)]
collectpads: Update documentation for flushing seek handling

10 years agocollectpads: Don't leak seek events
Sebastian Dröge [Wed, 6 Nov 2013 17:05:22 +0000 (18:05 +0100)]
collectpads: Don't leak seek events

10 years agocollectpads: implement flushing seek support
Alessandro Decina [Mon, 16 Sep 2013 07:55:58 +0000 (09:55 +0200)]
collectpads: implement flushing seek support

Implement common flushing seek logic in GstCollectPads. Add new
API so that elements can opt-in to using the new logic
(gst_collect_pads_src_event_default) and can extend it
(gst_collect_pads_set_flush_function) to flush any internal
state.

See https://bugzilla.gnome.org/show_bug.cgi?id=706779 and
https://bugzilla.gnome.org/show_bug.cgi?id=706441 for the
background discussion.

API: gst_collect_pads_set_flush_function()
API: gst_collect_pads_src_event_default()

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

10 years agotests: collectpads: add flushing seek tests
Alessandro Decina [Mon, 16 Sep 2013 06:35:37 +0000 (08:35 +0200)]
tests: collectpads: add flushing seek tests

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

10 years agotests: collectpads: tweak stub _collect to push all buffers
Alessandro Decina [Mon, 16 Sep 2013 06:31:47 +0000 (08:31 +0200)]
tests: collectpads: tweak stub _collect to push all buffers

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

10 years agotests: collectpads: update my email address
Alessandro Decina [Mon, 16 Sep 2013 06:26:25 +0000 (08:26 +0200)]
tests: collectpads: update my email address

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

10 years agoqueue: Don't use gst_buffer_get_size() when possible
Edward Hervey [Mon, 11 Nov 2013 12:27:27 +0000 (13:27 +0100)]
queue: Don't use gst_buffer_get_size() when possible

Makes qst_queue_locked_dequeue 20% faster

10 years agosystemclock: Add gst_system_clock_set_default
Wim Taymans [Mon, 11 Nov 2013 11:25:14 +0000 (12:25 +0100)]
systemclock: Add gst_system_clock_set_default

Used for setting the default system clock that is obtained through
gst_system_clock_obtain(), which is sometimes needed for unit
testing.

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

10 years agotypefind: use g_get_prgname() for error message
Stefan Sauer [Mon, 4 Nov 2013 17:57:18 +0000 (18:57 +0100)]
typefind: use g_get_prgname() for error message

10 years agovalve: proxy caps and allocation
Wim Taymans [Wed, 6 Nov 2013 09:15:59 +0000 (10:15 +0100)]
valve: proxy caps and allocation

Proxy the caps queries on the srcpad as well.
Proxy the allocation query on the sinkpad.

10 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 5 Nov 2013 11:17:25 +0000 (11:17 +0000)]
Automatic update of common submodule

From 865aa20 to dbedaa0

10 years agogst-inspect: Remove some dead code
Reynaldo H. Verdejo Pinochet [Mon, 4 Nov 2013 21:56:37 +0000 (13:56 -0800)]
gst-inspect: Remove some dead code

10 years agomemory: explicitly cast to GstLockFlags to avoid compiler warnings
Alessandro Decina [Mon, 4 Nov 2013 10:48:47 +0000 (11:48 +0100)]
memory: explicitly cast to GstLockFlags to avoid compiler warnings

10 years agosegment: resurrect sanitizing start and stop for seeking
Mark Nauwelaerts [Sat, 2 Nov 2013 14:36:19 +0000 (15:36 +0100)]
segment: resurrect sanitizing start and stop for seeking

10 years agobasesrc: mind boggling wrap when comparing offsets
Mark Nauwelaerts [Sat, 2 Nov 2013 14:42:07 +0000 (15:42 +0100)]
basesrc: mind boggling wrap when comparing offsets

10 years agobaseparse: try first frame pts and dts for a valid start timestamp
Mark Nauwelaerts [Sat, 2 Nov 2013 14:38:13 +0000 (15:38 +0100)]
baseparse: try first frame pts and dts for a valid start timestamp

10 years agobaseparse: print proper variable in debug statement
Mark Nauwelaerts [Sat, 2 Nov 2013 14:37:30 +0000 (15:37 +0100)]
baseparse: print proper variable in debug statement

10 years agoparse: Make the FATAL_ERRORS flag also work without a GError
Olivier Crête [Fri, 1 Nov 2013 16:35:59 +0000 (16:35 +0000)]
parse: Make the FATAL_ERRORS flag also work without a GError

Also add a unit tests

10 years agogst-launch: fix potential uninitialized variable warning
Matthieu Bouron [Wed, 23 Oct 2013 14:56:20 +0000 (15:56 +0100)]
gst-launch: fix potential uninitialized variable warning

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

10 years agodocs: fix common typos emited/eachother/...
Reynaldo H. Verdejo Pinochet [Thu, 31 Oct 2013 23:16:48 +0000 (16:16 -0700)]
docs: fix common typos emited/eachother/...

10 years agoutils: Add some attributes and reorganize code to fix compiler warnings
Sebastian Dröge [Wed, 30 Oct 2013 20:53:36 +0000 (21:53 +0100)]
utils: Add some attributes and reorganize code to fix compiler warnings

gstutils.c:3659:41: error: format string is not a string literal
[-Werror,-Wformat-nonliteral]
    gchar *expanded = g_strdup_vprintf (stream_id, var_args);

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

10 years agopwg: rename the "samplerate" variable to make example code compilable
Antonio Ospite [Fri, 25 Oct 2013 12:56:16 +0000 (14:56 +0200)]
pwg: rename the "samplerate" variable to make example code compilable

In one of the examples about gst_my_filter_setcaps() there is a variable
declared as "rate", but then the name "samplerate" is used when setting
the caps.

Use the name "rate" everywhere in gst_my_filter_setcaps().

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

10 years agodoc: fix forward reference about ghost pads
Fabian Kirsch [Tue, 29 Oct 2013 17:09:32 +0000 (18:09 +0100)]
doc: fix forward reference about ghost pads

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

10 years agodocs: design: fix some fixes
Tim-Philipp Müller [Mon, 28 Oct 2013 12:55:19 +0000 (12:55 +0000)]
docs: design: fix some fixes

10 years agodocs: flesh out gst-uninstalled entry in faq some more
Tim-Philipp Müller [Sat, 26 Oct 2013 08:48:06 +0000 (09:48 +0100)]
docs: flesh out gst-uninstalled entry in faq some more

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

10 years agodocs: FAQ update to mention create-uninstalled-setup.sh
Fabian Kirsch [Wed, 16 Oct 2013 13:00:41 +0000 (15:00 +0200)]
docs: FAQ update to mention create-uninstalled-setup.sh

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

10 years agoregistry: small cleanups and use object log variants more
Stefan Sauer [Fri, 25 Oct 2013 19:29:01 +0000 (21:29 +0200)]
registry: small cleanups and use object log variants more

10 years agoprivate: remove left-over comment
Stefan Sauer [Fri, 25 Oct 2013 19:28:30 +0000 (21:28 +0200)]
private: remove left-over comment

The caps are saved in the registry.

10 years agoregistry: use g_slice_free for slice memory
Stefan Sauer [Fri, 25 Oct 2013 16:51:53 +0000 (18:51 +0200)]
registry: use g_slice_free for slice memory

Avoid memory list corruption, but g_free'ing slice memory.

10 years agodesign: flesh out the tracing design a little more
Stefan Sauer [Wed, 23 Oct 2013 16:16:54 +0000 (18:16 +0200)]
design: flesh out the tracing design a little more

10 years agodocs: fix typos in gstobject
Luis de Bethencourt [Fri, 25 Oct 2013 15:02:19 +0000 (11:02 -0400)]
docs: fix typos in gstobject

10 years agodocs: Gram and nit fixes for part-meta.txt
Reynaldo H. Verdejo Pinochet [Tue, 22 Oct 2013 01:01:21 +0000 (18:01 -0700)]
docs: Gram and nit fixes for part-meta.txt

10 years agodocs: Gram and nit fixes for part-element-source.txt
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 05:03:50 +0000 (22:03 -0700)]
docs: Gram and nit fixes for part-element-source.txt

10 years agodocs: Gram and nit fixes for part-sink.txt
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 04:54:31 +0000 (21:54 -0700)]
docs: Gram and nit fixes for part-sink.txt

10 years agodocs: Gram and nit fixes for part-conventions.txt
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 01:43:40 +0000 (18:43 -0700)]
docs: Gram and nit fixes for part-conventions.txt

10 years agodocs: Gram and nit fixes for part-controller.txt
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 01:34:06 +0000 (18:34 -0700)]
docs: Gram and nit fixes for part-controller.txt

10 years agodocs: Gram and nit fixes for part-context.txt
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 01:24:18 +0000 (18:24 -0700)]
docs: Gram and nit fixes for part-context.txt

10 years agodocs: Gram and nit fixes for part-clocks.txt
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 01:13:35 +0000 (18:13 -0700)]
docs: Gram and nit fixes for part-clocks.txt

10 years agodocs: Gram and nit fixes for part-caps.txt
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 01:05:43 +0000 (18:05 -0700)]
docs: Gram and nit fixes for part-caps.txt

10 years agodocs: Gram and nit fixes for part-buffer.txt
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 00:44:27 +0000 (17:44 -0700)]
docs: Gram and nit fixes for part-buffer.txt

10 years agodocs: Gram and nit fixes for part-bufferpool.txt
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 00:29:19 +0000 (17:29 -0700)]
docs: Gram and nit fixes for part-bufferpool.txt

10 years agodocs: Gram and nit fixes for part-buffering.txt
Reynaldo H. Verdejo Pinochet [Mon, 14 Oct 2013 12:39:19 +0000 (05:39 -0700)]
docs: Gram and nit fixes for part-buffering.txt

10 years agodocs: Gram and nit fixes for part-messages.txt
Reynaldo H. Verdejo Pinochet [Mon, 14 Oct 2013 04:16:47 +0000 (21:16 -0700)]
docs: Gram and nit fixes for part-messages.txt

10 years agodocs: Gram and nit fixes for part-memory.txt
Reynaldo H. Verdejo Pinochet [Mon, 14 Oct 2013 03:42:40 +0000 (20:42 -0700)]
docs: Gram and nit fixes for part-memory.txt

10 years agonet: Constify a parameter to gst_net_client_clock_new()
Philip Withnall [Fri, 18 Oct 2013 07:58:05 +0000 (08:58 +0100)]
net: Constify a parameter to gst_net_client_clock_new()

Even though this parameter is not used, it should be const to fit in with the
coding standards for other similar parameters. Client code already passes in
const strings under the expectation that they won’t be modified.

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

10 years agodatetime: Make sure to include gst_private.h before glib-compat-private.h
Sebastian Dröge [Tue, 15 Oct 2013 09:44:05 +0000 (11:44 +0200)]
datetime: Make sure to include gst_private.h before glib-compat-private.h

We need to define the GLib log domain before including glib.h, which is
included by glib-compat-private.h.

10 years agodocs: Add gst_pad_store_sticky_event to sections.txt
Thibault Saunier [Mon, 14 Oct 2013 21:07:17 +0000 (18:07 -0300)]
docs: Add gst_pad_store_sticky_event to sections.txt

So it appears in the generated documentation

10 years agotests/filesrc: Set location in wrong state
Sebastian Rasmussen [Sun, 29 Sep 2013 15:35:11 +0000 (17:35 +0200)]
tests/filesrc: Set location in wrong state

Also remove incorrect comment about code possibly not being reachable
that is now exercised by the filesrc unit test.

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

10 years agoparse: Fix transfer annotations for parse_launch functions.
Jan Schmidt [Sat, 12 Oct 2013 05:16:09 +0000 (16:16 +1100)]
parse: Fix transfer annotations for parse_launch functions.

gst_parse_launchv, gst_parse_launchv_full and gst_parse_launch_full
all return floating refs, the same as gst_parse_launch, which just
calls gst_parse_launch_full internally anyway.

Add a unit test assertion to check it's true.

Spotted by nemequ on IRC.

10 years agocore: Fix max DEBUG_LEVEL incongruence on 5 vs 9
Reynaldo H. Verdejo Pinochet [Thu, 10 Oct 2013 15:30:27 +0000 (08:30 -0700)]
core: Fix max DEBUG_LEVEL incongruence on 5 vs 9

In the docs and the autocompletion logic the maximum
value jumped incongruently between 5 and 9.

10 years agocaps: Skip test_subset_duplication until the bug is fixed
Sebastian Dröge [Thu, 10 Oct 2013 11:19:09 +0000 (13:19 +0200)]
caps: Skip test_subset_duplication until the bug is fixed

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

10 years agodocs: Fix some reference URIs
Fabian Kirsch [Thu, 10 Oct 2013 10:56:54 +0000 (12:56 +0200)]
docs: Fix some reference URIs

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

10 years agocaps: Add a testcase for subset checks on lists with duplicated items
Sebastian Dröge [Wed, 2 Oct 2013 11:03:54 +0000 (13:03 +0200)]
caps: Add a testcase for subset checks on lists with duplicated items

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

10 years agocollectpads: Call the collected function while it returns FLOW_OK
Thibault Saunier [Wed, 9 Oct 2013 18:36:48 +0000 (15:36 -0300)]
collectpads: Call the collected function while it returns FLOW_OK

This allows us to make sure the elements is EOS and does not have
remaining buffers to be drained.

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

10 years agodocs: fix function name in qos design docs
Tim-Philipp Müller [Sat, 5 Oct 2013 09:08:30 +0000 (10:08 +0100)]
docs: fix function name in qos design docs

10 years agotests: use tcase_skip_broken_test() to skip broken multiqueue test
Tim-Philipp Müller [Wed, 2 Oct 2013 11:30:54 +0000 (12:30 +0100)]
tests: use tcase_skip_broken_test() to skip broken multiqueue test

So that we get a warning in the output that reminds us that
something needs to be fixed.

10 years agocheck: Disable multiqueue test_output_order check
Edward Hervey [Wed, 2 Oct 2013 09:24:02 +0000 (11:24 +0200)]
check: Disable multiqueue test_output_order check

The check itself is racy.

 (CK_FORK=no GST_CHECK=test_output_order make elements/multiqueue.forever).

The problem is indeed the test and not the actual element behaviour.

The objects to push are being pulled out of the single internal queues in the
right order and at the right time...

But between:
* the moment the global multiqueue lock is released (which was used to detect
if we should pop and push downstream the next buffer)
* and the moment it is received by the source pad (which does the check)

=> another single queue (like the unlinked pad) might pop and push a buffer
downstream

What should we do ? Putting a bigger margin of error (say 5 buffers) doesn't
help, it'll eventually fail.

I can't see how we can detect this reliably.

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

10 years agovalue: fix caps serialization when there are caps inside caps
Thiago Santos [Wed, 25 Sep 2013 22:06:55 +0000 (19:06 -0300)]
value: fix caps serialization when there are caps inside caps

Wrap caps strings so that it can handle serialization and deserialization
of caps inside caps. Otherwise the values from the internal caps are parsed
as if they were from the upper one

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

10 years agopluginloader: Check errors on the proper fd
Edward Hervey [Sat, 28 Sep 2013 06:40:42 +0000 (08:40 +0200)]
pluginloader: Check errors on the proper fd

Most likely a copy-paste error from the block before.

If we're going to check for error/closed on the write fd... do it
on the write fd

10 years agodocs: fix spelling of "generic" in GstBaseSrc's documentation.
Brendan Long [Thu, 26 Sep 2013 20:09:02 +0000 (14:09 -0600)]
docs: fix spelling of "generic" in GstBaseSrc's documentation.

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

10 years agopad: only check event order when something changed
Wim Taymans [Thu, 26 Sep 2013 09:32:50 +0000 (11:32 +0200)]
pad: only check event order when something changed

Check the event order in dataflow only when something changed instead
of for each buffer.

10 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 24 Sep 2013 17:28:05 +0000 (18:28 +0100)]
Automatic update of common submodule

From 6b03ba7 to 865aa20

10 years agoconfigure: Actually use 1.3.0.1 as version to make configure happy
Sebastian Dröge [Tue, 24 Sep 2013 13:05:16 +0000 (15:05 +0200)]
configure: Actually use 1.3.0.1 as version to make configure happy