Sebastian Dröge
6250120d76
collectpads: Don't leak seek events
2013-11-11 16:50:42 +01:00
Alessandro Decina
7aec5739eb
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
2013-11-11 16:50:42 +01:00
Alessandro Decina
f52b5ddcd2
tests: collectpads: add flushing seek tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=708416
2013-11-11 16:50:42 +01:00
Alessandro Decina
d063623851
tests: collectpads: tweak stub _collect to push all buffers
...
https://bugzilla.gnome.org/show_bug.cgi?id=708416
2013-11-11 16:50:42 +01:00
Alessandro Decina
01b4565a9a
tests: collectpads: update my email address
...
https://bugzilla.gnome.org/show_bug.cgi?id=708416
2013-11-11 16:50:42 +01:00
Edward Hervey
74a1970101
queue: Don't use gst_buffer_get_size() when possible
...
Makes qst_queue_locked_dequeue 20% faster
2013-11-11 13:28:14 +01:00
Wim Taymans
02b64ee03b
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
2013-11-11 12:25:14 +01:00
Stefan Sauer
24c741554c
typefind: use g_get_prgname() for error message
2013-11-07 21:01:27 +01:00
Wim Taymans
058533ff9f
valve: proxy caps and allocation
...
Proxy the caps queries on the srcpad as well.
Proxy the allocation query on the sinkpad.
2013-11-06 10:15:59 +01:00
Tim-Philipp Müller
ee6f526404
Automatic update of common submodule
...
From 865aa20 to dbedaa0
2013-11-05 11:17:25 +00:00
Reynaldo H. Verdejo Pinochet
afe174d38d
gst-inspect: Remove some dead code
2013-11-04 13:56:37 -08:00
Alessandro Decina
2b84b4bd97
memory: explicitly cast to GstLockFlags to avoid compiler warnings
2013-11-04 11:53:56 +01:00
Mark Nauwelaerts
ebca6aa84f
segment: resurrect sanitizing start and stop for seeking
2013-11-02 16:13:27 +01:00
Mark Nauwelaerts
e10af7c409
basesrc: mind boggling wrap when comparing offsets
2013-11-02 16:13:27 +01:00
Mark Nauwelaerts
8da78d1595
baseparse: try first frame pts and dts for a valid start timestamp
2013-11-02 16:13:27 +01:00
Mark Nauwelaerts
3aaa3fcf92
baseparse: print proper variable in debug statement
2013-11-02 16:13:27 +01:00
Olivier Crête
789eda5a37
parse: Make the FATAL_ERRORS flag also work without a GError
...
Also add a unit tests
2013-11-01 17:02:25 +00:00
Matthieu Bouron
a0e2eb6169
gst-launch: fix potential uninitialized variable warning
...
https://bugzilla.gnome.org/show_bug.cgi?id=710758
2013-11-01 15:15:29 +01:00
Reynaldo H. Verdejo Pinochet
a3431f5d8b
docs: fix common typos emited/eachother/...
2013-10-31 16:28:06 -07:00
Sebastian Dröge
7e5dc030f5
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
2013-10-30 21:53:36 +01:00
Antonio Ospite
c76aaaaa1d
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
2013-10-30 18:46:37 +01:00
Fabian Kirsch
4ceeee9ff8
doc: fix forward reference about ghost pads
...
https://bugzilla.gnome.org/show_bug.cgi?id=711089
2013-10-29 22:06:31 +00:00
Tim-Philipp Müller
40872f26ae
docs: design: fix some fixes
2013-10-28 12:55:19 +00:00
Tim-Philipp Müller
20c2008ef8
docs: flesh out gst-uninstalled entry in faq some more
...
https://bugzilla.gnome.org/show_bug.cgi?id=709916
2013-10-26 09:48:06 +01:00
Fabian Kirsch
d0dd23cf9f
docs: FAQ update to mention create-uninstalled-setup.sh
...
https://bugzilla.gnome.org/show_bug.cgi?id=709916
2013-10-26 09:41:26 +01:00
Stefan Sauer
a6f60fcf2e
registry: small cleanups and use object log variants more
2013-10-25 21:29:01 +02:00
Stefan Sauer
1e58699376
private: remove left-over comment
...
The caps are saved in the registry.
2013-10-25 21:28:30 +02:00
Stefan Sauer
ecbe3d4f2e
registry: use g_slice_free for slice memory
...
Avoid memory list corruption, but g_free'ing slice memory.
2013-10-25 20:05:03 +02:00
Stefan Sauer
0089bcd3e2
design: flesh out the tracing design a little more
2013-10-25 20:05:03 +02:00
Luis de Bethencourt
bbc26fffc2
docs: fix typos in gstobject
2013-10-25 11:02:19 -04:00
Reynaldo H. Verdejo Pinochet
941cfd14d5
docs: Gram and nit fixes for part-meta.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
8a7ad85b23
docs: Gram and nit fixes for part-element-source.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
4d3b1d1558
docs: Gram and nit fixes for part-sink.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
a6b018a3bc
docs: Gram and nit fixes for part-conventions.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
3abad71867
docs: Gram and nit fixes for part-controller.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
e6dda14148
docs: Gram and nit fixes for part-context.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
11503e4b3f
docs: Gram and nit fixes for part-clocks.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
3d693f387f
docs: Gram and nit fixes for part-caps.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
72edc18465
docs: Gram and nit fixes for part-buffer.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
20c32ffbdf
docs: Gram and nit fixes for part-bufferpool.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
06a79347f3
docs: Gram and nit fixes for part-buffering.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
52810aa6ee
docs: Gram and nit fixes for part-messages.txt
2013-10-24 12:06:01 -07:00
Reynaldo H. Verdejo Pinochet
eb57390198
docs: Gram and nit fixes for part-memory.txt
2013-10-24 12:06:01 -07:00
Philip Withnall
3c8424d9ae
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
2013-10-18 09:59:25 +01:00
Sebastian Dröge
2231721ddd
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.
2013-10-15 11:44:48 +02:00
Thibault Saunier
8a5adf9c68
docs: Add gst_pad_store_sticky_event to sections.txt
...
So it appears in the generated documentation
2013-10-14 18:08:55 -03:00
Sebastian Rasmussen
1479aba1cf
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
2013-10-13 12:18:57 -04:00
Jan Schmidt
75b7387f8b
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.
2013-10-12 16:20:50 +11:00
Reynaldo H. Verdejo Pinochet
94a3394edf
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.
2013-10-10 13:06:14 -07:00
Sebastian Dröge
4429ea53c4
caps: Skip test_subset_duplication until the bug is fixed
...
https://bugzilla.gnome.org/show_bug.cgi?id=709253
2013-10-10 13:19:09 +02:00