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
Wim Taymans
82eb275ef9
query: copy structure in _add_allocation_meta()
...
Make gst_query_add_allocation_meta() take a copy of the passed caps instead of
taking ownership. This makes it easier for the caller in most cases because it
doesn't have to make a copy and deal with NULL values.
2012-07-10 10:31:00 +02:00
Wim Taymans
77bc2170f8
gst: add new flags
2012-07-10 10:11:57 +02:00
Matej Knopp
4afdef5586
miniobject: fix exclusive lock/unlock race
2012-07-10 09:46:36 +02:00
Tim-Philipp Müller
c51a2c1ddf
basesrc, basesink, baseparse, typefind: use GST_SEGMENT_FLAG with segment flags
2012-07-09 21:51:07 +01:00
Stefan Sauer
f165a77fdc
segment: also copy the segment flag
...
Fixes segmented seeks (as tested e.g. in the adder tests in base).
2012-07-09 22:16:46 +02:00
Tim-Philipp Müller
a8d5665db7
plugins: sprinkle G_GNUC_INTERNAL for dataqueue functions
...
And remove padding, since this is not public API any more.
2012-07-09 20:55:39 +01:00
Tim-Philipp Müller
68a2eb5d18
gst: sprinkle some G_GNUC_INTERNAL for internal functions
2012-07-09 20:48:56 +01:00
Tim-Philipp Müller
443075e5a4
tests: fix toc unit tests
...
Meant to check subsubentry, not subentry.
2012-07-09 20:11:32 +01:00
Tim-Philipp Müller
5b133bbdcf
tests: minor toc test clean-up
2012-07-09 20:11:32 +01:00
Tim-Philipp Müller
c427d8caa8
tests: turn toc check macros into proper functions
...
So we can see the line number of the check that fails.
2012-07-09 20:11:32 +01:00
Edward Hervey
94e0e06efa
win32: Update defs file for API changes/addition
2012-07-09 20:31:45 +02:00
Edward Hervey
e219ede527
check: Update tests for new STREAM_START message
2012-07-09 20:31:45 +02:00
Edward Hervey
e2326ac506
check: Ensure STREAM_START message is posted
...
A STREAM_START message is posted if and only if all sinks in the
bin/pipeline received the STREAM_START event
2012-07-09 20:31:45 +02:00
Edward Hervey
e1f7c08f65
basesink: Post a STREAM_START message when we see the event
2012-07-09 20:31:45 +02:00
Edward Hervey
94bd61b72d
gstbin: collect and aggregate STREAM_START messages
...
when all sinks have posted a STREAM_START, the bin will forward a
new STREAM_START message to the parent bin or application
2012-07-09 20:31:45 +02:00
Edward Hervey
67b77667bb
gstmessage: New GST_MESSAGE_STREAM_START
...
message counterpart to the GST_EVENT_STREAM_START event
2012-07-09 20:31:45 +02:00
Edward Hervey
d14f523d4a
check: Unit test for EOS message
...
Make sure we get the aggregated message if and only if all sinks
received an EOS event
2012-07-09 20:31:45 +02:00
Stefan Sauer
46a4f2f6c0
collectpads: add STREAM_START handling
...
Use a flag to forward the first STREAM_START
2012-07-09 19:57:25 +02:00
Tim-Philipp Müller
867051c7f6
docs: update stream docs for SEGMENT_START event
2012-07-09 16:32:52 +01:00
Wim Taymans
8ebaf79781
docs: fix more docs
2012-07-09 16:48:56 +02:00
Wim Taymans
5750f19712
docs: fix docs a little more
2012-07-09 16:28:22 +02:00
Wim Taymans
f362f643ac
memory: Make GstAllocator a GstObject
...
Make GstAllocator a GstObject instead of a GstMiniObject, like bufferpool.
Make a new gstallocator.c file. Make a GstAllocator subclass for the default
allocator.
2012-07-09 16:28:22 +02:00