Sebastian Dröge
7d7511a4b3
queue2: Update buffering status and maybe post buffering message right when enabling buffering
2014-03-19 09:48:45 +01:00
Sebastian Dröge
f53f4ddca4
multiqueue: Update buffering status and maybe post buffering message right when enabling buffering
2014-03-19 09:48:45 +01:00
Sebastian Dröge
888cf0656d
fakesink: Update positions we're checking for after a state is lost
2014-03-18 18:12:16 +01:00
Sebastian Dröge
ba943a82c0
basesink: Update start time when we lose our state
...
Otherwise we report not the correct position while the state is lost.
2014-03-18 18:11:15 +01:00
Sebastian Dröge
f7b71d3007
basesink: Don't clip the reported position in PAUSED to after the last buffer end timestamp
...
Otherwise we jump forward when pausing, and go backwards a bit again
when resuming playback.
2014-03-18 16:48:52 +01:00
Edward Hervey
75784c3441
win32: Update exports for GstToc loop
2014-03-17 10:05:31 +01:00
Edward Hervey
5dc6892a09
win32: Update export for gst*device symbols
2014-03-17 10:05:18 +01:00
Edward Hervey
fb9ca6f7b4
devicemonitor: Use local includes and use gst_private before anything
...
Should fix build issues on BSD
2014-03-17 10:00:00 +01:00
Olivier Crête
59611a01ac
gst-inpect: Print device monitor
2014-03-16 20:50:53 -04:00
Olivier Crête
e743fac26b
device: Add "klass" to GstDevices
2014-03-16 18:15:18 -04:00
Olivier Crête
b8078e2656
devicemonitor: Make classes into pure strings
...
Instead of having strings & flags, make them just strings
2014-03-16 18:15:18 -04:00
Jan Schmidt
4d7d3a1c02
Fix extended message handling with gst_bus_pop_timed_filtered()
...
Make sure extended message types don't get accidentally matched
when not asked for in the mask
2014-03-17 06:29:27 +11:00
Jan Schmidt
44f0be4ee6
gstbin: Avoid pointless object lock forwarding messages.
...
Every instance of calling bin_do_message_forward() first took the
object lock, so that bin_do_message_forward() could drop it and
then reclaim. Instead, only take the object lock afterward where
needed.
2014-03-17 05:36:37 +11:00
Mathieu Duponchelle
d784d59262
collectpads: When seek flushed, immediately set eospads to 0
...
This prevents situations where a first branch would get seeked and
receive a buffer before all branches got seeked, and thus collected
would get called based on EOS from the previous segment.
As a consequence, during the process of seeking, don't decrease
the eospads number when a FLUSH_STOP is received.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724571
2014-03-16 18:15:17 +01:00
Sebastian Dröge
595481c759
collectpads: Unref peer pad
2014-03-16 17:47:38 +01:00
Mathieu Duponchelle
c86e53ab77
collectpads: Forward seek events to the peer directly
...
Taken from the adder seek handling code.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=726461
2014-03-16 17:47:38 +01:00
Stefan Sauer
0fb6a15a65
toc: expand GstTocEntry with loop fields
...
Add loop_type and repeat_count fields to GstTocEntry plus setters and getters.
This allows to represent edit-lists in a toc as well as loops in instruemnts (wav, xi).
API: gst_toc_entry_set_loop
API: gst_toc_entry_get_loop
2014-03-16 16:55:55 +01:00
Tim-Philipp Müller
06ef8cd742
globaldevicemonitor: update for new message API
...
https://bugzilla.gnome.org/show_bug.cgi?id=678402
2014-03-16 15:24:44 +00:00
Olivier Crête
448d180cdf
globaldevicemonitor: Add device monitor aggregator
...
https://bugzilla.gnome.org/show_bug.cgi?id=678402
2014-03-16 15:12:17 +00:00
Tim-Philipp Müller
1b7c5c4d64
tests: add test for extended message types and gst_bus_timed_pop_filtered
2014-03-16 14:38:07 +00:00
Tim-Philipp Müller
5c47cf759a
message, bus: do extended message types slightly differently
...
https://bugzilla.gnome.org/show_bug.cgi?id=678402
2014-03-16 14:38:07 +00:00
Tim-Philipp Müller
302484ac4f
gst: fix indentation
2014-03-16 14:38:07 +00:00
Olivier Crête
e4e85fc88a
devicemonitor: Add GstDeviceMonitor and related
...
Also add GstDevice and GstDeviceMonitorFactory
And add code to the registry to save them
https://bugzilla.gnome.org/show_bug.cgi?id=678402
2014-03-16 14:38:07 +00:00
Olivier Crête
10d53423b5
message: Add GST_MESSAGE_EXTENDED
...
https://bugzilla.gnome.org/show_bug.cgi?id=678402
2014-03-16 14:38:07 +00:00
Stefan Sauer
29bae0bc72
pad: actually return data.ret
...
The return value from gst_pad_forward() is the aggregated return value from the callback and the callback returns FALSE to continue iterating.
2014-03-16 11:09:05 +01:00
Stefan Sauer
d57bc8b5dc
pad: forward return value from gst_pad_forward
...
Instead of ignoring the return value and always return TRUE pass the already agregated result back.
2014-03-15 18:07:44 +01:00
Thiago Santos
dfc5ff17b7
win32: fix make-check by running 'make update-exports'
2014-03-15 13:57:19 -03:00
Thiago Santos
22258782d8
tests: multiqueue: fix eos count on test for not-linked case
...
From the test case:
/* This test creates a multiqueue with 2 streams. One receives
* a constant flow of buffers, the other only gets one buffer, and then
* new-segment events, and returns not-linked. The multiqueue should not fill.
*/
If one of the queues goes EOS and the other returns NOT_LINKED the stream
can be considerered EOS as a NOT_LINKED means that one of the branches has no
sink downstream that will block the EOS message posting.
https://bugzilla.gnome.org/show_bug.cgi?id=725917
2014-03-15 09:54:49 -03:00
Sebastian Rasmussen
3de939cb5b
adapter: Adapt gst_adapter_copy() for bindings
...
This is done by introducing a new gst_adapter_copy_bytes() call that
returns a GBytes structure.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725476
2014-03-15 13:16:16 +01:00
Tim-Philipp Müller
a6cd61b86a
docs: fix multiqueue docs for new template names foo_%d -> foo_%u
...
https://bugzilla.gnome.org/show_bug.cgi?id=726358
2014-03-14 18:40:31 +00:00
Tim-Philipp Müller
6e56c3df80
docs: update plugin docs
2014-03-11 21:55:46 +00:00
Tim-Philipp Müller
075cc42f88
pad: simplify gst_pad_link_get_name() and fix Since marker
...
Has added benefit that compiler might warn if more values
are added to the enum.
2014-03-11 21:46:30 +00:00
Stefan Sauer
4a38acaa10
pad: add debug helper for GstPadLinkReturn names
...
Add a helper like gst_flow_get_name() for GstPadLinkReturn. Use this in core.
API: gst_pad_link_get_name()
2014-03-11 21:50:36 +01:00
Stefan Sauer
6d20be1702
tee: use store_sticky events add add more logging
...
Use the pad as object for logging to get more context. Use
gst_pad_store_sticky_event() instead of sending the event. This avoids a warning
as here the pad is not yet linked and we actually don't want to send anyway.
2014-03-11 21:50:35 +01:00
Thiago Santos
0362d98d94
queue2: if buffering is disabled while buffering, post 100% message
...
Avoids stall waiting for buffering to reach 100%
2014-03-10 10:10:24 -03:00
Thiago Santos
dc8f0932fe
queue2: remove unused variable
...
buffering_iteration was never used
2014-03-10 10:10:24 -03:00
Thiago Santos
3ed2507ebc
queue: queue2: preserve last flow result when pushing events
...
Avoids mistakenly returning _OK when downstream is still
_NOT_LINKED on subsequent received pad pushes
https://bugzilla.gnome.org/show_bug.cgi?id=725917
2014-03-10 10:10:20 -03:00
Thiago Santos
0e2f63654b
multiqueue: if buffering is disabled while buffering, post 100% message
...
Avoids stall waiting for buffering to reach 100%
2014-03-10 09:49:05 -03:00
Thiago Santos
b6470a7b3f
multiqueue: do not reset last push result when pushing events
...
Use the last result as a default when pushing a item from a single queue,
otherwise the status gets reset to _OK when pushing events.
This causes problems when mistakenly activating a not-linked stream
that is being ignored upstream as it is not being used (adaptive
scenarios), it will make the multiqueue post a buffering message
on a pad that won't receive buffers
https://bugzilla.gnome.org/show_bug.cgi?id=725917
2014-03-10 09:48:58 -03:00
Tim-Philipp Müller
313f01ab79
buffer: invert meaning of GST_BUFFER_FLAG_TAG_MEMORY
...
It's nicer to only have it set when something noteworthy
happened and otherwise unset.
https://bugzilla.gnome.org/show_bug.cgi?id=725862
2014-03-07 20:43:44 +00:00
Stefan Sauer
7077d347a3
pad: fix gst_pad_add_probe() return value docs
...
Also fix comment typos and add more detail in the logs.
2014-03-06 22:54:17 +01:00
Tim-Philipp Müller
3c966d060d
fakesink, identity, fakesrc: fix debug printing if TAG_MEMORY buffer flag
...
The IN_CAPS flag does not exist any more.
2014-03-06 20:40:46 +00:00
George Kiagiadakis
5973f8c2ca
ghostpad: use gst_pad_get_peer to acquire a reference to the target pad
...
This ensures that the lock of the internal pad is held while referencing
it's peer (= the target pad), which ensures that the peer is not
going to be unlinked/destroyed in the meantime.
https://bugzilla.gnome.org/show_bug.cgi?id=725809
2014-03-06 20:46:28 +01:00
George Kiagiadakis
4fc671e801
ghostpad: hold a reference to the target pad while unlinking it
...
https://bugzilla.gnome.org/show_bug.cgi?id=725809
2014-03-06 20:46:28 +01:00
Sebastian Rasmussen
7b9d95dbbe
.gitignore: Ignore gcov intermediate files
...
https://bugzilla.gnome.org/show_bug.cgi?id=725478
2014-03-02 23:07:18 +00:00
Sebastian Rasmussen
034a3ab86f
docs: Fix typos and remove unknown annotations
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725517
2014-03-02 21:47:52 +01:00
Stefan Sauer
601774386c
docs: use the new markdown for ordered list.
...
This was plain text that had all list items one after the other (including a
repeated number). Now it will atleast look good when processed with gtk-doc
1.20.
2014-02-28 20:57:23 +01:00
Sebastian Dröge
63e73907d7
Automatic update of common submodule
...
From fe1672e to bcb1518
2014-02-28 09:34:19 +01:00
Reynaldo H. Verdejo Pinochet
81c9bedda3
docs: fix problems introduced by c068b225fe
...
- Fix failing build
- Drop added trailing whitespace
2014-02-27 22:34:55 -03:00
Stefan Sauer
cbfafd212b
buffer: add return values to g_return_if_fail
...
FIxes previous commit.
2014-02-27 18:28:15 +01:00