Commit graph

14399 commits

Author SHA1 Message Date
Wim Taymans
ed19974e25 meta: do metadata registration threadsafe
We need to use g_once to register the metadata implementations
only once.

See https://bugzilla.gnome.org/show_bug.cgi?id=685332
2012-10-03 13:45:22 +02:00
Wim Taymans
10c8586902 meta: handle multiple implementation registration
First check that we can actually register the implementation before
making a GstMetaInfo. If we can't register we would otherwise end
up with an undefined type and an invalid GstMetaInfo.

It's possible that type registration fails because another metadata
with the same implementation name was already registered.
2012-10-03 13:35:20 +02:00
Wim Taymans
cc43752c3c manual: use CDATA for code blocks
then we don't have to escape special token anymore.
2012-10-03 13:12:44 +02:00
Wim Taymans
cadfeb2cd3 manual: add partial preroll example with probes 2012-10-03 13:09:00 +02:00
Wim Taymans
7eb381555a manual: add more stuff about probes 2012-10-03 10:53:20 +02:00
Wim Taymans
40b01f52bc manual: start talking about dynamic pipeline changes 2012-10-02 17:23:28 +02:00
Wim Taymans
e2fd56a8c3 manual: move section around 2012-10-02 16:47:05 +02:00
Wim Taymans
f31dcf4e71 pwg: add appsink docs 2012-10-02 16:44:28 +02:00
Wim Taymans
cbc46176e0 pwg: rewite data-access chapter
Rewrite the data-access chapter so that we talk about appsrc instead
of the fakesrc hacks.
2012-10-02 16:15:19 +02:00
Wim Taymans
5d64c5ce5a docs: some 0.10 -> 1.0 changes 2012-10-02 13:22:35 +02:00
Wim Taymans
6ad9398cbc pwg: add allocation query example 2012-10-02 13:12:39 +02:00
Wim Taymans
46f6cbe5fc pwg: add bufferpool docs 2012-10-02 12:49:17 +02:00
Wim Taymans
bd0eb629bf pwg: flesh out allocation docs
Add more examples.
Add example for implementing new metadata.
Add programs to the docs (again?), it seems to contain useful info.
2012-10-02 11:34:47 +02:00
Wim Taymans
98dc4a057d pwg: add new author 2012-10-01 16:59:41 +02:00
Wim Taymans
d3081ceee4 pwg: add allocation docs 2012-10-01 16:55:55 +02:00
Wim Taymans
e10e4e7468 docs: update design docs 2012-10-01 16:46:03 +02:00
Wim Taymans
3f0d40b417 docs: more docs fixes
Fix allocator design doc
Add beginning of allocation chapter in the pwg
2012-10-01 13:28:54 +02:00
Wim Taymans
153818f09f pwg: final cleanups for 1.0 2012-10-01 11:47:46 +02:00
Wim Taymans
94b801aaa9 pwg: fix events and base classes 2012-10-01 11:24:52 +02:00
Wim Taymans
98b133fe54 pwg: fixup tag docs 2012-10-01 10:40:54 +02:00
Wim Taymans
16d0728e98 pwg: patch up the section about interfaces 2012-10-01 09:48:48 +02:00
Jan Schmidt
906738ab49 basesrc: Fix seamless segment function
The 3rd parameter of gst_base_src_new_seamless_segment in
0.10 is the time associated with the start of the new segment,
not the position in the new segment. Fix the name of the parameter,
the docs, and the implementation to match the needs of the only
extant consumer: DVD playback.
2012-09-30 04:07:31 +10:00
Tim-Philipp Müller
507fc9cea7 value: avoid duplicates when intersecting lists
Fixes negotiation taking a ridiculous amount of
time (multiple 10s of seconds on a core2) when
there are duplicate entries in lists.

Could have a negative performance impact on other
scenarios because we now have to iterate the
dest list to avoid duplicates, but we don't
have a lot of lists any more these days, and
they tend to be small anyway. The negatives
are hopefully countered by the positive effects
of reducing the list length early on in the
process. And in any case, it's the right thing
to do.

Based on patch by Andre Moreira Magalhaes.

https://bugzilla.gnome.org/show_bug.cgi?id=684981
2012-09-29 14:35:58 +01:00
Tim-Philipp Müller
51492812cf pwg: minor update
https://bugzilla.gnome.org/show_bug.cgi?id=621121
2012-09-29 00:27:03 +01:00
Wim Taymans
7082c0be05 faq: add missing </para> tag 2012-09-28 23:53:53 +02:00
Olivier Crête
fd846a7c64 miniobject: Always reject WRITE locks on READONLY miniobjects
Verify that mapping a read-only memory as read doesnt make it writable
2012-09-28 17:12:14 -04:00
Tim-Philipp Müller
f02ba3b572 docs: purge all mention of liboil, update FAQ
https://bugzilla.gnome.org/show_bug.cgi?id=673285
2012-09-28 20:38:20 +01:00
Wim Taymans
91a20a90eb pwg: update for 1.0
Rewrite clock part.
start on interfaces
2012-09-28 16:03:15 +02:00
Wim Taymans
3cc8f1412d pwg: rework dynamic pads docs 2012-09-28 13:25:49 +02:00
Wim Taymans
723c2a48b9 pwg: rework scheduling docs 2012-09-28 13:25:30 +02:00
Wim Taymans
f32c9d8572 pwg: remove some GST_BOILERPLATE 2012-09-28 13:24:52 +02:00
Wim Taymans
3009f73b14 docs: update activation design docs 2012-09-28 11:18:11 +02:00
Wim Taymans
ef012f8e58 pad: fix activate docs 2012-09-28 10:41:54 +02:00
Wim Taymans
58d21a49d1 pwg: fix more negotiation for 1.0 2012-09-28 10:07:28 +02:00
Olivier Blin
4710b36bda info: do not register printf extension for %p
This happened when glib was not using system printf, and caused the
internal gstreamer printf extensions to be used for all %p printfs,
causing crashes.

https://bugzilla.gnome.org/show_bug.cgi?id=684970
2012-09-27 23:58:32 +01:00
Wim Taymans
b68c7fc954 pwg: fix some negotiation to 1.0 2012-09-27 17:21:53 +02:00
Wim Taymans
bc76088811 pwg: more updates for 1.0 2012-09-27 14:42:07 +02:00
Wim Taymans
b527b0b498 pwg: more updates for 1.0 2012-09-27 13:57:46 +02:00
Wim Taymans
2d0c1572fb pwg: update boiler to 1.0 2012-09-27 11:53:36 +02:00
Wim Taymans
2cf4689503 ghostpad: also ref the internal pad for activate functions
Also take a ref to the internal pad in the activate functions
2012-09-27 11:06:06 +02:00
Olivier Crête
e60ee132ce proxypad: Hold a reference to the internal pad while pushing through it
https://bugzilla.gnome.org/show_bug.cgi?id=684809
2012-09-27 10:53:45 +02:00
Olivier Crête
fddf7dcb01 tests: Test the case where ghost pads are removed while streaming
https://bugzilla.gnome.org/show_bug.cgi?id=684809
2012-09-27 10:53:16 +02:00
Wim Taymans
c6e754635c tests: enable library abi checks 2012-09-27 10:37:32 +02:00
Tim-Philipp Müller
d13ba1a304 docs: fix up basesrc/basesink docs formatting 2012-09-26 23:32:35 +01:00
Wim Taymans
58443d6f2b tests: add abi checks
Enable abi checks again.
Fix abi sizes for x86_64, copy the file to other archs.
2012-09-26 17:11:05 +02:00
Wim Taymans
c1b31eaa4c update docs for 1.0 API 2012-09-26 17:11:05 +02:00
Mark Nauwelaerts
5e928fa56e uri: use proper 'transfer floating' annotation
https://bugzilla.gnome.org/show_bug.cgi?id=664099
2012-09-26 14:15:01 +02:00
Wim Taymans
701424be9b typefind: send STREAM-START event
Send a STREAM_START event when we are operating in pull mode.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=684424
2012-09-26 13:25:03 +02:00
Mark Nauwelaerts
cc41130664 segment: mark GstSegmentFlags as flags rather than enum
... which really makes a difference when trying to serialize
a flags value which is a combination of flags, which is hard
to do as an enum type.
2012-09-26 10:55:48 +02:00
Mark Nauwelaerts
b14a3ad4ef identity: retimestamp both pts and dts when doing so 2012-09-26 10:55:47 +02:00