Commit graph

2739 commits

Author SHA1 Message Date
Sebastian Dröge
7477b25df5 caps: Add new data type for handling caps features to the caps
These are meant to specify features in caps that are required
for a specific structure, for example a specific memory type
or meta.

Semantically they could be though of as an extension of the media
type name of the structures and are handled exactly like that.
2013-03-31 18:15:52 +02:00
Tim-Philipp Müller
0e5c1dcf64 event: add stream flags to stream-start event
API: gst_event_set_stream_flags()
API: gst_event_parse_stream_flags()
API: GST_STREAM_FLAG_NONE
API: GST_STREAM_FLAG_SPARSE

https://bugzilla.gnome.org/show_bug.cgi?id=600648
2013-03-31 11:47:40 +01:00
Sebastian Dröge
dd831b8114 element: Add API to get the last set context from an element
Elements should override GstElement::set_context() and also call
gst_element_set_context() to keep this context up-to-date with
the very latest context they internally use.
2013-03-31 11:26:32 +02:00
Stefan Sauer
782511d8f6 design: add initial tracing design doc 2013-03-30 14:13:10 +01:00
Edward Hervey
8c542540c2 Revert "pwg: Fix example"
This reverts commit 5d64f27d88.

*sigh*
2013-03-29 18:49:14 +01:00
Edward Hervey
5d64f27d88 pwg: Fix example 2013-03-29 18:46:18 +01:00
Sebastian Dröge
b909061031 gst: Add new GstContext miniobject for sharing contexts in a pipeline 2013-03-29 16:40:21 +01:00
Olivier Crête
ec16d6b0a4 buffer: Add annotations and pygi friendly extraction function
API: gst_buffer_extract_dup
2013-03-27 13:07:03 -04:00
Wim Taymans
21851c0e04 porting: hopefully clarify a little 2013-03-27 17:08:51 +01:00
Tim-Philipp Müller
a76885f333 toc: some documentation updates 2013-03-24 17:53:35 +00:00
Tim-Philipp Müller
1e6e797d65 docs: fix typo in query function example in Plugin Writer's Guide
https://bugzilla.gnome.org/show_bug.cgi?id=696142
2013-03-22 20:02:57 +00:00
Stefan Sauer
31fbc86e09 design: update controller design and add some thoughs for future stuff 2013-03-08 13:16:40 +01:00
Stefan Sauer
a0cff35ae8 manual: improve the controller docs a little more
Reword some sections. Explain value mappings better.
2013-02-28 23:00:46 +01:00
Wim Taymans
4df4fd33b1 memory: add method to check memory type
Add a method to check if a memory was allocated from an allocator of
a given type.

API: gst_memory_is_type()
2013-02-26 15:37:24 +01:00
Wim Taymans
b339b0c12e docs: improve docs a little 2013-02-26 15:36:10 +01:00
Wim Taymans
d7f15f542a use GST_MESSAGE_DURATION_CHANGED in docs and code 2013-02-26 15:32:25 +01:00
Stefan Sauer
615a8ae635 porting: mention segment accumulation in the porting guide
This needs more detail, but at least gives people a hint on the issue.
2013-02-26 08:36:51 +01:00
Sebastian Dröge
008b35f6ae query: Add new API to remove allocation params and pools from the allocation query 2013-02-25 13:57:43 +01:00
Tim-Philipp Müller
5125185c4c docs: porting-to-1.0.txt: some element names have changed 2013-02-23 18:37:57 +00:00
Sebastian Dröge
5327545d56 memory: Add new memory flag to specify that memory can't be mapped 2013-02-22 12:41:09 +01:00
Sebastian Dröge
221b6fc479 memory: Add memory flag to mark physically continous memory 2013-02-22 09:04:57 +01:00
Tim-Philipp Müller
22b7c0bf58 check: add some more fail_unless_*() macros for convenience
API: fail_unless_equals_int_hex
API: assert_equals_int_hex
API: fail_unless_equals_int64_hex
API: assert_equals_int64_hex
API: fail_unless_equals_uint64_hex
API: assert_equals_uint64_hex
API: fail_unless_equals_pointer
API: assert_equals_pointer
2013-02-19 17:40:20 +00:00
David Schleef
f1df4c13a1 docs: Fix some ambiguous wording 2013-02-17 16:01:03 -08:00
Tim-Philipp Müller
f34d5bfa0f docs: fix location in user's home directory where GStreamer looks for plugins
It's based on the xdg user data dir now in 1.0.
2013-02-14 13:55:10 +00:00
Tim-Philipp Müller
651ed1acd8 docs: flesh our 'Running GStreamer' bits a bit
https://bugzilla.gnome.org/show_bug.cgi?id=693607
2013-02-14 00:07:22 +00:00
Gert Michael Kulyk
21c4c718b2 docs: fix advanced-metadata code example in manual
https://bugzilla.gnome.org/show_bug.cgi?id=690751
2013-02-13 21:37:26 +00:00
Stefan Sauer
0b671cd05b docs: add more porting details 2013-02-08 21:38:22 +01:00
Stefan Sauer
fba696eb05 docs: update the controller docs
Add the control bindings to the docs. Add a little more detail.
2013-02-01 22:00:18 +01:00
Stefan Sauer
bbf77402f0 porting: a few updates for the porting guide 2013-02-01 22:00:18 +01:00
Olivier Crête
10154e2f97 docs: Put the right path for the gstttestclock include file 2013-01-24 17:50:31 -05:00
Wim Taymans
8dbf48f5bf pwg: rename variable
The filter variable was used twice for different things.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692432
2013-01-24 15:50:17 +01:00
Tim-Philipp Müller
c0926dc7cc pad: add gst_pad_get_stream_id() utility function
API: gst_pad_get_stream_id()
2013-01-19 12:51:56 +00:00
Tim-Philipp Müller
64eee27ebc Use GST_*_1_0 environment variables everywhere
The _1_0 suffixed environment variables override the
non-suffixed ones, so if we're in an environment that
sets the _1_0 suffixed ones, such as jhbuild, we need
to set those to make sure ours actually always get
used.
2013-01-15 13:47:32 +00:00
Tim-Philipp Müller
5ea8937f56 docs: minor GstBaseParse docs fixes
Expose docs for gst_base_parse_finish_frame().
2013-01-14 20:05:23 +00:00
Stefan Sauer
5898042610 controlbinding: hide one unused typedef
This is not used internally.
2013-01-10 11:34:14 +01:00
Wim Taymans
bc54ec2677 docs: update synchronization document a little 2012-12-21 10:09:30 +01:00
Wim Taymans
fac7eb0a50 NEWSEGMENT -> SEGMENT 2012-12-14 15:24:30 +01:00
Tim-Philipp Müller
aa8d2d6580 docs: update plugin docs
Update args/signals etc.
2012-12-14 14:04:41 +00:00
Tim-Philipp Müller
693a1c7080 docs: add link to python porting doc and app dev manual to porting-to-1.0.txt 2012-11-28 18:09:38 +00:00
Tim-Philipp Müller
38a9ff9215 docs: clean up sections file for pad probe defines that moved into enum 2012-11-26 00:51:38 +00:00
Tim-Philipp Müller
0378c40ed3 docs: remove all mention of g_thread_init()
It's been deprecated since GLib 2.32 and isn't needed any
longer.
2012-11-25 23:26:47 +00:00
Christian Fredrik Kalager Schaller
9301305cd6 Remove two last .fig files from build, they are now replaced with .svg files. That said I don't think either .fig file was still being used anywhere. With this
change and the one in common GStreamer no longer depends on xfig.
2012-11-19 13:38:30 +01:00
Christian Fredrik Kalager Schaller
e19a9c4d6f Add SVG versions of .fig file 2012-11-19 11:45:07 +01:00
Sebastian Rasmussen
4eeb471e11 check: allow GstTestClock to handle clock notifications
API: gst_test_clock_peek_id_count()
API: gst_test_clock_has_id()
API: gst_test_clock_peek_next_pending_id()
API: gst_test_clock_wait_for_next_pending_id()
API: gst_test_clock_wait_for_pending_id_count()
API: gst_test_clock_process_next_clock_id()
API: gst_test_clock_get_next_entry_time()

https://bugzilla.gnome.org/show_bug.cgi?id=683012
2012-11-13 21:47:01 +00:00
Sebastian Rasmussen
e58da2a22d check: add GstTestClock as a deterministic clock for testing
API: GstTestClock
API: gst_test_clock_new()
API: gst_test_clock_new_with_start_time()
API: gst_test_clock_set_time()
API: gst_test_clock_advance_time()

https://bugzilla.gnome.org/show_bug.cgi?id=683012
2012-11-13 21:19:57 +00:00
Olivier Crête
1d41a8002b Document GST_DEBUG_FILE 2012-11-06 18:30:31 +01:00
Tim-Philipp Müller
666c8c11c6 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 20:44:48 +00:00
Tim-Philipp Müller
af2482b170 queue: add "flush-on-eos" property
In flush-on-eos=true mode any data remaining in the queue is
discarded when an EOS event is received, and the EOS passed
downstream as soon as possible (instead of waiting for all
buffers in the queue to get processed by downstream first).

May or may not be useful in capture/encoding scenarios.
2012-10-31 19:33:30 +00:00
Tim-Philipp Müller
bab8ed6b8a pluginfeature: add gst_plugin_feature_get_plugin_name()
API: gst_plugin_feature_get_plugin_name()

https://bugzilla.gnome.org/show_bug.cgi?id=571832
2012-10-28 15:53:19 +00:00
Thibault Saunier
e513ed1810 info: add a function to set debug threshold from a GST_DEBUG-style string
Use the same format as with the GST_DEBUG environment variable.

API: gst_debug_set_threshold_from_string()

https://bugzilla.gnome.org/show_bug.cgi?id=679152
2012-10-27 13:42:51 +01:00
Sebastian Dröge
09982c3c13 dataqueue/queuearray: Make public API again
These are actually used outside of coreelements nowadays.
Also hide lots of internals and add padding and documentation.
2012-10-25 14:03:01 +02:00
Tim-Philipp Müller
ebbce54583 Back to feature development 2012-10-25 12:10:27 +01:00
Tim-Philipp Müller
6d44898652 Release 1.0.2 2012-10-25 00:04:49 +01:00
Tim-Philipp Müller
bf2452d776 g_type_init() is no longer required and deprecated in glib >= 2.35.0
https://bugzilla.gnome.org/show_bug.cgi?id=686456
2012-10-20 12:56:30 +01:00
Wim Taymans
f354e12b09 pwg: link to caps and qos chapters 2012-10-16 11:54:54 +02:00
Wim Taymans
626fcb3707 pwg: add section about query function 2012-10-16 11:23:13 +02:00
Wim Taymans
3f3473772f pwg: fix event function 2012-10-16 11:23:13 +02:00
Wim Taymans
04b9dbccfb pwg: reorder some chapters
Reorder some chapter so that they match the steps done in the
element.
2012-10-15 14:06:45 +02:00
Wim Taymans
92a44a6e32 pwg: small tweaks to negotiation 2012-10-15 13:59:50 +02:00
Wim Taymans
bbcdafa05f pwg: improve negotiation documentation some more 2012-10-15 13:44:51 +02:00
Wim Taymans
af99d9f5e1 pwg: update negotiation part 2012-10-15 12:10:46 +02:00
Wim Taymans
24907879a7 docs: update synchronization docs 2012-10-15 12:10:11 +02:00
Wim Taymans
2e0ee2e767 pwg: work on rewriting caps negotiation docs 2012-10-12 16:58:03 +02:00
Wim Taymans
97f21a8b7e design: rename passthrough negotiation
Rename passthrough negotiation to transform negotiation to avoid
confusion with passthrough operation.
2012-10-12 16:09:26 +02:00
Wim Taymans
2895fc6fca manual: no more new-decoded-pad 2012-10-12 13:15:48 +02:00
Wim Taymans
0f9fb7d884 manual: move embedding elements to separate chapter 2012-10-12 13:13:32 +02:00
Wim Taymans
19011cd2fc pwg: small example for throttle 2012-10-12 13:01:28 +02:00
Wim Taymans
1778ff380c pwg: add info about QoS 2012-10-12 12:55:57 +02:00
Wim Taymans
a7ba49b766 pwg: adds some more links 2012-10-12 12:55:25 +02:00
Wim Taymans
5898223bb9 qos: messages are posted, not dropped 2012-10-12 12:55:03 +02:00
Wim Taymans
7049aa9d19 manual: update graphics 2012-10-12 10:35:43 +02:00
Wim Taymans
b6ccd95b22 manual: add example of no-rebuffer buffering strategy 2012-10-11 17:10:17 +02:00
Wim Taymans
0447c72eb0 manual: small tweaks 2012-10-11 17:10:04 +02:00
Wim Taymans
d2ad127dcd manual: add some text about bin state change order 2012-10-11 17:07:39 +02:00
Wim Taymans
fa14d42a1e manual: talk about playsink
Talk about playsink and give an example of its usage.
2012-10-10 16:43:58 +02:00
Wim Taymans
36c47c89eb manual: add something about uridecodebin 2012-10-10 13:16:22 +02:00
Wim Taymans
775594fa3b manual: remove outdated autoplugging section
Remove autoplugging chapter and point to decodebin/playbin examples.
2012-10-09 17:06:04 +02:00
Wim Taymans
ff4522fe66 manual: Talk about threading
Rework the threading chapter.
Talk about stream-status and give some examples on how to change
the thread priorities.
2012-10-09 16:12:01 +02:00
Wim Taymans
f7fc8b7643 design: improve stream-status document 2012-10-09 15:57:29 +02:00
Wim Taymans
8c09762c9c manual: talk a bit about buffering 2012-10-08 16:42:11 +02:00
Wim Taymans
d36377ba72 docs: improve clock chapter 2012-10-08 13:22:30 +02:00
Wim Taymans
402f0166c1 manual: add example for effect switching 2012-10-08 10:39:30 +02:00
Wim Taymans
dc2080fb78 docs: small updates 2012-10-08 09:12:08 +02:00
Tim-Philipp Müller
ad0a4f4819 Back to development (bug-fixing) 2012-10-07 16:48:25 +01:00
Tim-Philipp Müller
c6de3adac8 Release 1.0.1 2012-10-07 13:10:33 +01:00
Wim Taymans
b549918c83 docs: remove obsolete part-block document
Merge the part-block document into part-probes
2012-10-05 16:04:52 +02:00
Tim-Philipp Müller
4e373aa952 docs: add Since markers for new API and add it to docs and .def file 2012-10-04 11:24:09 +01:00
Wim Taymans
e11ca04ae7 manual: add dynamic capsfilter example 2012-10-04 11:50:58 +02:00
Wim Taymans
f78450c62d manual: talk some more about dynamic pipelines 2012-10-03 17:17:02 +02:00
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
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
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
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
58d21a49d1 pwg: fix more negotiation for 1.0 2012-09-28 10:07:28 +02: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
a87e95f38f docs: updates
MIME-type -> Media type
Fix some old gst-inspect output
2012-09-25 17:06:45 +02:00
Wim Taymans
9bc261f6d9 pwg: update for 1.0 API 2012-09-25 16:53:08 +02:00
Wim Taymans
e3f63f1977 docs: add section for metadata 2012-09-25 15:13:46 +02:00
Wim Taymans
7c24fc7450 manual: fix up the manual
MIME-type -> media types
Fix up the manual in various places with the 1.0 way of doing things
such as probes, static elements, scheduling, ...
Add porting from 0.10 to 1.0 chapter.
Add probe example to build.
Remove some docs for remove components such as GstMixer and
GstPropertyProbe, XML...
2012-09-25 14:45:15 +02:00
Wim Taymans
36be78bb00 docs: gst-python is no more
gst-python is no more and gst-libav is one of the main modules that
we release.
2012-09-25 14:45:15 +02:00
Wim Taymans
b2071f2355 docs: update FAQ
Change versions.
Use tools with version prefix.
2012-09-25 14:45:15 +02:00
Tim-Philipp Müller
4b74a78a9f Back to development (bug fixing) 2012-09-24 16:46:57 +01:00
Tim-Philipp Müller
9e167f6f91 Release 1.0.0 2012-09-24 13:27:05 +01:00
Tim-Philipp Müller
9edc065375 docs: update 0.11 references in porting guide 2012-09-24 00:40:16 +01:00
Tim-Philipp Müller
e0bc992332 docs: rename porting-to-0.11.txt to porting-to-1.0.txt 2012-09-24 00:37:27 +01:00
Tim-Philipp Müller
892e9c2c89 docs: update release doc
Create tags for releases without the ugly RELEASE- prefix.
2012-09-23 17:33:34 +01:00
Mark Nauwelaerts
77e74583fd manual: update controller documentation 2012-09-21 21:13:27 +02:00
Olivier Crête
25b3e02b94 pad: Add functions to safely access GstProbeInfo data pointer
This is so that introspection based bindings can access it.

https://bugzilla.gnome.org/show_bug.cgi?id=684402
2012-09-20 15:24:33 -04:00
Tim-Philipp Müller
72dfd25e5f docs: remove reference to 0.8 GstBin API from manual
https://bugzilla.gnome.org/show_bug.cgi?id=684048
2012-09-19 23:28:52 +01:00
Tim-Philipp Müller
2e6d61743f Release 0.11.99 2012-09-17 17:56:44 +01:00
Mark Nauwelaerts
2834dd0518 use gst_element_factory_get_metadata to replace obsolete API 2012-09-15 19:09:08 +02:00
Mark Nauwelaerts
3cf8b945ca replace gst_tag_list_free with gst_tag_list_unref 2012-09-14 17:52:14 +02:00
Tim-Philipp Müller
cd14030d5d docs: indexers are no more
https://bugzilla.gnome.org/show_bug.cgi?id=684018
2012-09-14 14:13:50 +01:00
Tim-Philipp Müller
b3393cac76 Release 0.11.94 2012-09-14 02:46:34 +01:00
Wim Taymans
76c127a0b9 docs: fix formats a little 2012-09-13 12:00:08 +02:00
Wim Taymans
3abc720345 docs: fix some docs
from git grep for ffmpegcolorspace and x-raw-
2012-09-13 11:35:41 +02:00
Stefan Sauer
57ea490f5a collectpads: remove gst_collect_pads_add_pad_full
Rename gst_collect_pads_add_pad_full() to gst_collect_pads_add_pad() and fix all
invocations.
2012-09-12 21:04:47 +02:00
Tim-Philipp Müller
221d46f438 pad: expose gst_pad_mode_get_name() and use it in baseparse 2012-09-11 19:51:02 +01:00
Mark Nauwelaerts
d1567a82ac query: add convenience API to query for scheduling mode and flags 2012-09-11 17:00:09 +02:00
Wim Taymans
00c6fa74f5 events: remove STREAM_CONFIG
We won't be able to implement this so it's better to move it out of the way.
2012-09-11 16:29:12 +02:00
Tim-Philipp Müller
6c1294f54a porting-to-0.11.txt: some minor fixes 2012-09-10 20:30:32 +01:00
Wim Taymans
faa04cd0bb docs: improve porting doc 2012-09-10 12:00:22 +02:00
Tim-Philipp Müller
f712a9596c message: rename GST_MESSAGE_DURATION -> GST_MESSAGE_DURATION_CHANGED
The duration should be re-queried via a query using the
normal path, we don't want applications to use the value
from the message itself, since it might no match what a
duration query done from the sink upstream might yield.

Also disables duration caching in GstBin. It should be
added back again at some point.
2012-09-02 01:18:58 +01:00