Wim Taymans
8a0f6da824
message: improve buffering message defaults
...
Remove the estimated-total field, this should not be part of the buffering
message.
Set the default value of buffering-left to 0 when the percent is 100.
2012-07-19 10:14:18 +02:00
Wim Taymans
3b6e5acbce
pad: fix debug line
...
Use QUERY_TYPE on query types.
2012-07-18 17:49:33 +02:00
Wim Taymans
961151e569
ghostpad: remove custom function
...
Remove custom pad functions, the default ones are better.
2012-07-18 17:49:32 +02:00
Wim Taymans
06addca012
pad: add PROXY_SCHEDULING flag
...
Add a flag that makes the default query handler forward the scheduling query.
2012-07-18 17:49:32 +02:00
Wim Taymans
586b1ca8c6
utils: fix docs
2012-07-18 17:49:32 +02:00
Wim Taymans
107007f053
pad: improve query caps function
...
In the proxy_query_caps function, also filter against the filter in the query.
We don't need to filter against the filter in the query anymore in the default
caps query function because we already did this in the proxy_query_caps.
2012-07-18 17:49:32 +02:00
Wim Taymans
5360ba56f7
basesink: handle -1 step amounts
...
Define a 0 and -1 step amount. They used to almost do the same thing but now, 0
cancels/stops the current step and -1 keeps on stepping until the end of the
segment.
See https://bugzilla.gnome.org/show_bug.cgi?id=679378
2012-07-18 17:49:32 +02:00
Tim-Philipp Müller
8e946d5d16
query: fix gst_query_parse_nth_allocation_pool() annotation
...
It returns a ref to the pool.
2012-07-18 12:30:59 +01:00
Edward Hervey
028b9a8dbb
check: Avoid deadlock
...
Queries will be sent when pipeline goes down to NULL, which would
result in the probe being called ... but can't take the lock.
2012-07-18 12:07:26 +02:00
Edward Hervey
75066960e3
gstghostpad: Forward queries in both direction
...
Use the peer of the internal pad to forward them, instead of the
target which only exists for the ghostpad (and not the internal
proxy pad).
2012-07-18 12:07:26 +02:00
Edward Hervey
69d2f7a9f8
docs: More entries
2012-07-18 11:38:37 +02:00
Tim-Philipp Müller
eecaca9140
queue: answer SCHEDULING query
...
Instead of letting the default query handler fail.
2012-07-18 09:15:51 +01:00
Tim-Philipp Müller
39054884fd
queue2: handle CAPS event and drop it if operating in ring buffer mode
...
Fixes "Unexpected event of kind caps can't be added in temp file"
warning when doing download buffering.
2012-07-17 19:27:44 +01:00
Wim Taymans
8c864712e6
buffer: make _foreach_meta more powerful
...
Make _foreach_meta return FALSE when the foreach function returned FALSE.
2012-07-17 12:57:59 +02:00
Wim Taymans
d7950e4466
bufferlist: improve foreach function
...
Make the foreach function return FALSE when one of the function calls returned
FALSE.
2012-07-17 12:53:15 +02:00
Wim Taymans
c8e83cde78
buffer: add more debug
2012-07-17 12:50:24 +02:00
Wim Taymans
3371f391f6
basesink: fix debug string
2012-07-17 12:40:54 +02:00
Wim Taymans
7b19f3eab2
parse: fix some debug
2012-07-17 10:04:26 +02:00
Wim Taymans
fd144c02ab
parse: only escape spaces outside of quotes
...
When we escape spaces to keep arguments together, only escape when the space is
outside a "" string.
See https://bugzilla.gnome.org/show_bug.cgi?id=673319
2012-07-17 10:04:25 +02:00
Wim Taymans
03fae7e32e
Revert "parse: escape \ with a \ as well, so that we don't lose the \ when unescaping"
...
This reverts commit dd9fedb41f
.
This is not the right place to escape the \, we should only escape the spaces to
keep the arguments together that were provided as one group (with quotes on the
shell).
2012-07-17 10:04:25 +02:00
Evan Nemerson
c3bb59de9c
utils: set return type of gst_parse_bin_* to GstBin for introspection
2012-07-17 09:38:44 +02:00
Evan Nemerson
0c70754282
nettimepacket: add missing array annotation to gst_net_time_packet_new
2012-07-17 09:38:03 +02:00
Evan Nemerson
fb3a31e550
introspection: add missing array annotation to gst_formats_contains
2012-07-17 09:37:27 +02:00
Stefan Sauer
840f905c2c
bin: aggregate durations like in adder
...
Stop querying the duration once an element return unknown and return unknown
as a final result. This avoid eventually cutting off a stream too early.
Add a tests to docuement the behavior.
2012-07-16 20:54:17 +02:00
Tim-Philipp Müller
d370c1ee2f
datetime: just return NULL on short input strings instead of a warning
...
We want to be able to use this function on random non-NULL input,
this should not result in a runtime-critical.
2012-07-16 00:24:46 +01:00
Tim-Philipp Müller
49ab4d9a45
baseparse: fix seekability querying with formats with headers like FLAC
...
Move code that checks for upstream seekability and all that to
the right place, otherwise it will never be done for formats
that have headers such as FLAC, as handle_and_push frame will
be called the first time only after headers have been processed
(and framecount is > 0). This then makes us report that we
can't seek, which disables the seek bar in totem.
2012-07-15 12:59:44 +01:00
Tim-Philipp Müller
f72ba83a84
plugins: embed GstAueueArray in dataqueue struct as well
2012-07-14 20:33:30 +01:00
Tim-Philipp Müller
92cba34e0b
plugins: don't use one-time array in plugin_init
2012-07-14 20:28:54 +01:00
Tim-Philipp Müller
22d78bad25
queue: embed GstQueueArray structure
2012-07-14 20:26:23 +01:00
Tim-Philipp Müller
14632db174
plugins: sprinkle some more G_GNUC_INTERNAL
2012-07-14 20:05:53 +01:00
Tim-Philipp Müller
2b17de7504
plugins: add init/clear functions to GstQueueArray
2012-07-14 19:38:39 +01:00
Tim-Philipp Müller
94f6ba9c0b
base: make GstQueueArray private to coreelements for now
...
Keep it private until we have a reason to make it public.
2012-07-14 19:36:02 +01:00
Tim-Philipp Müller
48d0d28755
taglist: check value type matches tag type when adding values to a taglist
2012-07-14 19:08:24 +01:00
Tim-Philipp Müller
379c3cd184
info: make taglists and datetime loggable via GST_PTR_FORMAT
2012-07-14 18:52:50 +01:00
Wim Taymans
35dbbdb50e
baseparse: send seek event upstream first
...
First try to let upstream handle the seek event, then fail if the event is
something we don't understand.
2012-07-13 12:05:15 +02:00
Wim Taymans
02eebca16b
pad: fix test raciness
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679506
2012-07-13 09:43:59 +02:00
Tim-Philipp Müller
903bd7813d
gst-uninstalled: fix gst-ffmpeg plugin path again
2012-07-12 13:17:51 +01:00
Tim-Philipp Müller
b063040c72
gst-uninstalled: add clutter-gst and refine plugin search paths
2012-07-12 12:09:13 +01:00
Jan Schmidt
524b56cb07
gstpad: Move sticky flag clearing code to gst_pad_activate_mode
...
The ghostpad code directly activates/deactivates the child code by
calling gst_pad_activate_mode, rather than gst_pad_set_active, so
make sure to clear the flags in gst_pad_activate_mode(), which should
catch all cases.
2012-07-12 00:41:23 +10:00
Wim Taymans
b277243fa6
event: improve annotation
2012-07-11 15:35:57 +02:00
Wim Taymans
4c42b6720d
basesink: handle step end correctly
...
when we have a new step event with a -1 amount, make sure that we follow the
regular code path so that the stop_end handler is called as usual. This takes
care of flushing the buffer in case of a flushing step and also posts a step end
message.
See https://bugzilla.gnome.org/show_bug.cgi?id=679378
2012-07-11 15:35:57 +02:00
Sebastian Dröge
67f95a795a
win32: Fix exported symbols list for real now
2012-07-11 13:14:57 +02:00
Stefan Sauer
30c30ed171
segment: remove removed api from the docs.
2012-07-11 12:51:30 +02:00
Sebastian Dröge
f773771b0e
win32: Updated exported symbols list
2012-07-11 12:46:31 +02:00
Sebastian Dröge
0c5b3cc5f9
toc: Add functions to retrieve the parent GstToc/GstTocEntry of a GstTocEntry
2012-07-11 12:45:51 +02:00
Anton Belka
be38fbba5e
toc: Fix gst_toc_find_entry()
...
Recursive search for the required entry, instead of returning the
top-level entry that contains an entry with the search UID.
2012-07-11 12:36:04 +02:00
Edward Hervey
042d1ff398
baseparse: Push STREAM_START in pull-mode
2012-07-11 10:26:13 +02:00
Edward Hervey
634cb80c8e
structure: Demote WARNING to DEBUG
...
It is not an issue to get fields that don't exist, calling code should
handle that.
2012-07-11 10:24:51 +02:00
Edward Hervey
d3ffa82639
Remove 0.10-related documentation and "Since" markers
2012-07-10 12:03:27 +02:00
Tim-Philipp Müller
ebcfd0ce05
basesrc: provide fallback in case a create function doesn't know about provided buffers
...
In 0.11 the caller may provide a buffer to be filled by the source to
pull_range/get_range/create, but it's easy to miss this new case when
porting code from 0.10. Provide fallback that copies the created data
into the provided buffer for now.
This makes oggdemux in pull-mode work with dataurisrc.
2012-07-10 09:42:15 +01:00