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
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
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
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
Wim Taymans [Thu, 21 Nov 2013 11:28:00 +0000 (12:28 +0100)]
pad: move debug function closer to the enum it debugs
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.
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.
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.
Tim-Philipp Müller [Sat, 16 Nov 2013 12:24:56 +0000 (12:24 +0000)]
docs: cosmetic since marker fixes
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
Sebastian Dröge [Fri, 15 Nov 2013 06:32:48 +0000 (07:32 +0100)]
bin: Resync iterator if necessary
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
Tim-Philipp Müller [Mon, 11 Nov 2013 16:47:06 +0000 (16:47 +0000)]
systemclock: add Since markers for new API
Edward Hervey [Mon, 11 Nov 2013 16:29:48 +0000 (17:29 +0100)]
win32: Really update the def files
Sebastian Dröge [Mon, 11 Nov 2013 16:02:35 +0000 (17:02 +0100)]
win32: Update def files
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
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
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
Sebastian Dröge [Wed, 6 Nov 2013 17:41:10 +0000 (18:41 +0100)]
collectpads: Update documentation for flushing seek handling
Sebastian Dröge [Wed, 6 Nov 2013 17:05:22 +0000 (18:05 +0100)]
collectpads: Don't leak seek events
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
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
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
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
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
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
Stefan Sauer [Mon, 4 Nov 2013 17:57:18 +0000 (18:57 +0100)]
typefind: use g_get_prgname() for error message
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.
Tim-Philipp Müller [Tue, 5 Nov 2013 11:17:25 +0000 (11:17 +0000)]
Automatic update of common submodule
From 865aa20 to dbedaa0
Reynaldo H. Verdejo Pinochet [Mon, 4 Nov 2013 21:56:37 +0000 (13:56 -0800)]
gst-inspect: Remove some dead code
Alessandro Decina [Mon, 4 Nov 2013 10:48:47 +0000 (11:48 +0100)]
memory: explicitly cast to GstLockFlags to avoid compiler warnings
Mark Nauwelaerts [Sat, 2 Nov 2013 14:36:19 +0000 (15:36 +0100)]
segment: resurrect sanitizing start and stop for seeking
Mark Nauwelaerts [Sat, 2 Nov 2013 14:42:07 +0000 (15:42 +0100)]
basesrc: mind boggling wrap when comparing offsets
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
Mark Nauwelaerts [Sat, 2 Nov 2013 14:37:30 +0000 (15:37 +0100)]
baseparse: print proper variable in debug statement
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
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
Reynaldo H. Verdejo Pinochet [Thu, 31 Oct 2013 23:16:48 +0000 (16:16 -0700)]
docs: fix common typos emited/eachother/...
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
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
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
Tim-Philipp Müller [Mon, 28 Oct 2013 12:55:19 +0000 (12:55 +0000)]
docs: design: fix some fixes
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
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
Stefan Sauer [Fri, 25 Oct 2013 19:29:01 +0000 (21:29 +0200)]
registry: small cleanups and use object log variants more
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.
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.
Stefan Sauer [Wed, 23 Oct 2013 16:16:54 +0000 (18:16 +0200)]
design: flesh out the tracing design a little more
Luis de Bethencourt [Fri, 25 Oct 2013 15:02:19 +0000 (11:02 -0400)]
docs: fix typos in gstobject
Reynaldo H. Verdejo Pinochet [Tue, 22 Oct 2013 01:01:21 +0000 (18:01 -0700)]
docs: Gram and nit fixes for part-meta.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
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 04:54:31 +0000 (21:54 -0700)]
docs: Gram and nit fixes for part-sink.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
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 01:34:06 +0000 (18:34 -0700)]
docs: Gram and nit fixes for part-controller.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
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 01:13:35 +0000 (18:13 -0700)]
docs: Gram and nit fixes for part-clocks.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
Reynaldo H. Verdejo Pinochet [Tue, 15 Oct 2013 00:44:27 +0000 (17:44 -0700)]
docs: Gram and nit fixes for part-buffer.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
Reynaldo H. Verdejo Pinochet [Mon, 14 Oct 2013 12:39:19 +0000 (05:39 -0700)]
docs: Gram and nit fixes for part-buffering.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
Reynaldo H. Verdejo Pinochet [Mon, 14 Oct 2013 03:42:40 +0000 (20:42 -0700)]
docs: Gram and nit fixes for part-memory.txt
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
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.
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
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
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.
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.
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
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
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
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
Tim-Philipp Müller [Sat, 5 Oct 2013 09:08:30 +0000 (10:08 +0100)]
docs: fix function name in qos design docs
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.
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
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
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
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
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.
Tim-Philipp Müller [Tue, 24 Sep 2013 17:28:05 +0000 (18:28 +0100)]
Automatic update of common submodule
From 6b03ba7 to 865aa20
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
Sebastian Dröge [Tue, 24 Sep 2013 13:00:17 +0000 (15:00 +0200)]
Back to development
Sebastian Dröge [Tue, 24 Sep 2013 12:07:02 +0000 (14:07 +0200)]
Release 1.2.0
Sebastian Dröge [Tue, 24 Sep 2013 12:06:28 +0000 (14:06 +0200)]
Update .po files
Sebastian Dröge [Tue, 24 Sep 2013 11:10:36 +0000 (13:10 +0200)]
context: Add test for the context caching in GstBin
https://bugzilla.gnome.org/show_bug.cgi?id=708668
Sebastian Dröge [Tue, 24 Sep 2013 10:47:52 +0000 (12:47 +0200)]
Revert "Potential GstContext regression"
This reverts commit
e658379534eb4a90b654d90f1d0bdf86f37c6e31.
This test commit should've never been pushed. Oops.
Sebastian Dröge [Tue, 24 Sep 2013 10:46:52 +0000 (12:46 +0200)]
bin: Make sure to cache context types that we did not store yet
https://bugzilla.gnome.org/show_bug.cgi?id=708668
Alex Ashley [Tue, 24 Sep 2013 09:29:06 +0000 (10:29 +0100)]
Potential GstContext regression
Since the refactoring of GstContext (commits
qc9fa2771b508e9aaeecc700e66e958190476f,
a7f5dc8b8af837f01782d1572379948ff62daab7,
690326f906dc82e41ea58b81cdb2e3e88b754,
d367dc1b0d4ecb37f4d27267e03d7bf0c6c06a6, and
82d158aed3f2e8545e1e7d35085085ff58f18) I am no longer able to get
a shared context for an element that is used twice in a pipeline.
I used the documentation and eglglessink as my reference for
implementing the GstContext logic.
As the code was tied to a hardware decoder, I have ported the
GstContext code to fakesink to show the problem. Using the old
API a single ExampleMgr instance is created, but using the new
API each element is creating its own instance.
Sebastian Dröge [Tue, 24 Sep 2013 08:42:06 +0000 (10:42 +0200)]
collectpads: Make sure that the object lock is always taken when accessing the private pad list
https://bugzilla.gnome.org/show_bug.cgi?id=708636
Mathieu Duponchelle [Tue, 17 Sep 2013 21:23:34 +0000 (23:23 +0200)]
collectpads: Use private pad list in set_flushing_unlocked
pads->data is the public list. It is dynamically rebuilt at each call to
check_collected, in check_pads to be specific. When you add a pad and
collectpads have been started, it is not added to the public list.
Thus there exists a possible race where :
1) You would add a pad to collectpads while running.
2) You set collectpads to flushing before check_collected has been called again
-> the pad is not set to flushing
3) the pad starts pushing data as downstream might not be prepared, in the case
of adder it then returns FLOW_FLUSHING.
4) elements like demuxers, when they get a FLOW_FLUSHING, stop their tasks,
never to be seen again.
https://bugzilla.gnome.org/show_bug.cgi?id=708636
Wim Taymans [Mon, 23 Sep 2013 09:47:14 +0000 (11:47 +0200)]
tests: handle unscheduled entries correctly
Make the testclock return GST_CLOCK_UNSCHEDULED when an unscheduled entry is
used for gst_clock_wait() or gst_clock_wait_async().
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=708605
Edward Hervey [Sun, 22 Sep 2013 09:09:36 +0000 (11:09 +0200)]
gst-uninstalled: Allow specifying the checkout directory by env variable
For some rare cases, one might not be able to use the hardcoded $HOME/gst
location yet would still want to use the gst-uninstalled script as-is (which
has the benefit of being constantly updated).
For these cases, the checkout directory can be specified with the
GST_UNINSTALLED_ROOT environment variable.
Ex:
export GST_UNINSTALLED_ROOT=$HOME/somewhere/with/checkouts
And then just call gst-uninstalled directly:
$GST_UNINSTALLED_ROOT/gstreamer/gst-uninstalled
Edward Hervey [Fri, 20 Sep 2013 14:16:26 +0000 (16:16 +0200)]
Automatic update of common submodule
From b613661 to 6b03ba7
Tim-Philipp Müller [Thu, 19 Sep 2013 17:42:31 +0000 (18:42 +0100)]
Automatic update of common submodule
From 74a6857 to b613661
Tim-Philipp Müller [Thu, 19 Sep 2013 16:34:27 +0000 (17:34 +0100)]
Automatic update of common submodule
From 12af105 to 74a6857
Tim-Philipp Müller [Thu, 19 Sep 2013 16:12:14 +0000 (17:12 +0100)]
check: testclock: fix function guards
Should be g_return_*() not g_assert(), even if it's for tests only.
Tim-Philipp Müller [Thu, 19 Sep 2013 15:43:18 +0000 (16:43 +0100)]
check: testclock: don't put code with side-effects in g_assert()
Fixes unit test failures when -DG_DISABLE_ASSERT is used.
https://bugzilla.gnome.org/show_bug.cgi?id=706551
Edward Hervey [Thu, 19 Sep 2013 10:07:56 +0000 (12:07 +0200)]
gstcontext: Fix return values some more
Return value is a boolean not a pointer
Sebastian Dröge [Thu, 19 Sep 2013 09:49:26 +0000 (11:49 +0200)]
context: Fix return values for gst_context_has_context_type() in assertions
Sebastian Dröge [Thu, 19 Sep 2013 09:34:51 +0000 (11:34 +0200)]
Back to development