Commit graph

2768 commits

Author SHA1 Message Date
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
Tim-Philipp Müller
165a003307 docs: mention some media type changes in porting-to-0.11.txt doc 2012-08-21 00:03:37 +01:00
Tim-Philipp Müller
d1cef85759 docs: minor update to porting doc for child proxy lookup method
And a typo fix.
2012-08-20 13:52:05 +01:00
Sebastian Dröge
f24d36c380 docs: Add new basesrc/basetransform API to the docs 2012-08-14 15:46:35 +02:00
Tim-Philipp Müller
f42fb841f8 registry: remove some unused and in their current form pointless API
Not so useful: just adds/reads stuff from an internal GList without
actually doing anything with those paths, so remove for now:

 gst_registry_add_path
 gst_registry_get_path_list

https://bugzilla.gnome.org/show_bug.cgi?id=608841
2012-08-14 00:39:18 +01:00
Tim-Philipp Müller
fa34de3829 docs: mention gst_video_format_parse_caps() in porting guide 2012-08-12 00:12:56 +01:00
Tim-Philipp Müller
dddcc31c42 docs: fix up docs a bit 2012-08-11 23:41:33 +01:00
Руслан Ижбулатов
2ec1ac8af0 docs: Make sure scanner gets required libraries 2012-08-07 10:42:44 +02:00
Sebastian Dröge
41954ff8cd event: Add new stream-id field to the stream-start event
This is supposed to allow uniquely identifying a single stream.
2012-08-06 14:00:56 +02:00
Tim-Philipp Müller
31eb27aa16 docs: update porting-to-0.11 document with a "soft" API changes checklist
Point out some API changes that the compiler won't
be able to warn about.
2012-08-02 13:20:00 +01:00
Tim-Philipp Müller
05daa261f1 docs: update TOC design docs a little 2012-07-28 11:02:30 +01:00
Tim-Philipp Müller
e8ab1006c7 toc: add GstTocScope and require it in the constructor
This is because we need to be able to signal different TOCs
to downstream elements such as muxers and the application,
and because we need to send both types as events (because
the sink should post the TOC messages for the app in the
end, just like tag messages are now posted by the sinks),
and hence need to make TOC events multi-sticky.

https://bugzilla.gnome.org/show_bug.cgi?id=678742
2012-07-28 09:16:06 +01:00
Tim-Philipp Müller
5aaf00a7de Update docs and .def file for taglist API change 2012-07-27 12:09:20 +01:00
Tim-Philipp Müller
3231ea6204 taglist: gst_tag_list_get_buffer*() => gst_tag_list_get_sample*()
Image tags and other tags are now of GstSample type.
2012-07-26 15:51:10 +01:00
Stefan Sauer
e9b62b030c collectpads: remove unimplemented api
We can always add this back if we need it. Fixes parts of #670852.
2012-07-24 21:38:35 +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
Edward Hervey
69d2f7a9f8 docs: More entries 2012-07-18 11:38:37 +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
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
8bca7537e6 query: make find_allocation_meta method
Make gst_query_find_allocation_meta() that also return the index of the metadata
and replaces gst_query_has_allocation_meta().
2012-07-06 11:22:43 +02:00
Sebastian Dröge
aa2309e54a event: Add format and position to the segment-done event 2012-07-05 13:04:31 +02:00
Wim Taymans
964ea9eccb docs: update docs 2012-07-05 12:56:51 +02:00
Sebastian Dröge
49d2ad5633 event: Implement segment-done event 2012-07-05 12:52:51 +02:00
Sebastian Dröge
1e3d8a8350 part-toc: Remove section about TOC query 2012-07-05 12:37:01 +02:00
Sebastian Dröge
1b75a55b19 query: Remove the TOC query, it's not very useful now that we have sticky events 2012-07-05 12:34:41 +02:00
Sebastian Dröge
dfd9b60221 toc: Make structures opaque and clean up function names and fields a bit 2012-07-05 12:29:02 +02:00
Wim Taymans
3b16efa1d1 miniobject: add lock functionality to GstMiniObject
Move the locking methods from GstMemory to GstMiniObject.
Add a miniobject flag to enable LOCKABLE objects. LOCKABLE objects can
use the lock/unlock API to control the access to the object.
Add a minobject flag that allows you to lock an object in readonly mode.
Modify the _is_writable() method to check the shared counter for LOCKABLE
objects. This allows us to control writability separately from the refcount for
LOCKABLE objects.
2012-07-05 11:19:16 +02:00
Wim Taymans
6bb7d49e29 memory: update docs 2012-07-05 11:19:16 +02:00
Wim Taymans
0ddb33bb4c update for new symbols 2012-07-05 11:19:16 +02:00
Wim Taymans
93f279cd5a memory: expose the internal locking api
Expose the internally used methods for locking and unlocking the object. Pass
the access mode to the unlock function for extra checks and because we need it
for the EXCLUSIVE locks.
Make some new defines to specify the desired locking.
Add a new EXCLUSIVE lock mode which will increment the shared counter. Objects
with a shared counter > 1 will not be lockable in WRITE mode.
2012-07-05 11:19:15 +02:00
Tim-Philipp Müller
49ea16e041 segment: make sure we don't have unmapped seek flags littering out segment flags
Make GstSeekFlag to GstSegmentFlag conversion explicit, and
set only those seek flags in the segment flags which are
mapped. This makes sure we don't have extraneous flags
littering our segment flag field, which also fixes the
debug printing/serialisation of segment events in the
debug log.
2012-07-04 16:16:04 +01:00
Tim-Philipp Müller
5c70276894 docs: minor porting-to-0.11.txt update 2012-07-04 10:24:11 +01:00
Joshua M. Doe
ba6fad9302 datetime: add conversion to/from GDateTime
Exposes existing constructor.

API: gst_date_time_to_g_date_time()
API: gst_date_time_new_from_g_date_time()

https://bugzilla.gnome.org/show_bug.cgi?id=679080
2012-07-04 10:22:41 +01:00
Tim-Philipp Müller
291403bbb9 utils: remove unused gst_print_* functions 2012-07-04 08:52:08 +01:00
Tim-Philipp Müller
ee346fbad6 docs: expand a bit more on GST_DEBUG docs 2012-06-28 14:58:05 +01:00
Wim Taymans
4c6228224f buffer: add _append_region function
Make a gst_buffer_append_region() function that allows you to append a memory
region from one buffer to another. This is a more general version of
gst_buffer_append().
2012-06-28 11:02:19 +02:00
Oleksij Rempel
1eb9932dbb datetime: add serialisation to and deserialisation from ISO 8601 strings
Some tag parsers and writers use same datetime format based on ISO 8601.
We can reduce some code by creating some general functions for it.

API: gst_date_time_to_iso8601_string()
API: gst_date_time_new_from_iso8601_string()

https://bugzilla.gnome.org/show_bug.cgi?id=678031
2012-06-27 12:37:06 +01:00
Tim-Philipp Müller
2e9123a85d docs: some more additions to the porting-to-0.11 guide 2012-06-26 17:35:22 +01:00
Tim-Philipp Müller
e11f38b98b toc: add more entry types
Make entry types less abstract.

https://bugzilla.gnome.org/show_bug.cgi?id=678742
2012-06-26 17:30:19 +01:00
Jan Schmidt
f79d398c61 a couple of notes for the 0.11 porting guide 2012-06-26 23:21:33 +10:00
Tim-Philipp Müller
03ac16c1d8 tocsetter: clean up and update API for refcounted TOCs
Let's keep it simple for now:

gst_toc_setter_reset_toc() -> gst_toc_setter_reset()
gst_toc_setter_get_toc_copy() -> removed
gst_toc_setter_get_toc() -> returns a ref now
gst_toc_setter_get_toc_entry_copy() -> removed,
    use TOC functions instead
gst_toc_setter_get_toc_entry() -> removed,
    use TOC functions instead
gst_toc_setter_add_toc_entry() -> removed,
    to avoid problems with (refcount-dependent)
    writability of TOC; use TOC functions instead
2012-06-25 20:18:32 +01:00
Tim-Philipp Müller
d784b753d7 docs: update design docs for TOC API changes too 2012-06-25 00:10:53 +01:00
Tim-Philipp Müller
f20efe23a3 toc: make GstToc and GstTocEntry mini objects
Because we can, and in order to make them refcounted.
2012-06-24 20:15:11 +01:00
Wim Taymans
b2aa56f4e3 task: add separate methods to add enter/leave callback
Remove the structure of callbacks and replace with separate methods to register
each callback. This is much more binding friendly.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=677898
2012-06-20 11:59:09 +02:00
Wim Taymans
d7d5306009 clock: remove _full version
Rename gst_clock_id_wait_async_full() to gst_clock_id_wait_async()
and remove the old gst_clock_id_wait_async() version.
2012-06-20 09:58:14 +02:00
Wim Taymans
61fefbb542 pad: move gst_pad_set_caps() to compat
We want code to explicitly send a caps event instead.
2012-06-18 16:14:19 +02:00
Wim Taymans
7e64507a1a docs: small doc fix 2012-06-18 15:52:05 +02:00
Wim Taymans
d317b36919 docs: clarify qdata wrt to metadata 2012-06-18 15:21:31 +02:00
Wim Taymans
3c16844f4d docs: review the buffering docs 2012-06-15 15:48:42 +02:00
Wim Taymans
2cab15c9f6 docs: improve API docs 2012-06-15 12:57:24 +02:00
Tim-Philipp Müller
02a99c6ae8 docs: update for new datetime api 2012-06-13 00:30:48 +01:00
Tim-Philipp Müller
a13ed36c6a docs: add new datetime API 2012-06-13 00:25:24 +01:00
Sebastian Dröge
2160d7c0cc Release 0.11.92 2012-06-07 15:56:17 +02:00
Sebastian Dröge
27e4faa147 design: Also mention that the order of the filter caps is important 2012-06-06 09:59:55 +02:00
Wim Taymans
4e06fccf41 docs: talk about the filter caps 2012-06-06 09:14:57 +02:00
Tim-Philipp Müller
52adcbf3be docs: expand taglist section in porting-to-0.11 docs a bit 2012-06-05 15:05:06 +01:00
Wim Taymans
4affde2a4f docs: update negotiation docs
Mention that the acceptcaps query does not have to be recursive
2012-06-05 11:28:38 +02:00
Tim-Philipp Müller
d007ac4a1a taglist: avoid unnecessary string copying when registering tags
Add gst_tag_register_static() - no need to copy all those
string constants, whether translated or not.

API: gst_tag_register_static()
2012-05-29 08:00:28 +01:00
Tim-Philipp Müller
a88dcc2ab6 taglist: make GstTagList a GstMiniObject
Which adds refcounting support, and other things.
2012-05-28 00:05:16 +01:00
Luis de Bethencourt
dc1c3c5094 docs: fix a typo in part-segments.txt 2012-05-24 11:49:35 +01:00
Tim-Philipp Müller
ab6171373c pluginfeature: add gst_plugin_feature_get_plugin()
Add function to retrieve plugin that provides this feature.

API: gst_plugin_feature_get_plugin()
2012-05-19 17:16:35 +01:00
Tim-Philipp Müller
1ee520790a elementfactory: add gst_element_factory_get_metadata_keys()
API: gst_element_factory_get_metadata_keys()
2012-05-19 14:52:29 +01:00
Sebastian Dröge
cacdea6ae6 gst: Rename gst_toc_entry_type_to_string() to gst_toc_entry_type_get_nick()
It's more consistent.
2012-05-15 16:38:30 +02:00
Anton Belka
71d1af2b66 toc: API: Add gst_toc_entry_type_to_string() 2012-05-15 16:13:55 +02:00
Sebastian Dröge
ea4ea761e9 Release 0.11.91 2012-05-13 16:02:36 +02:00
Wim Taymans
05580beb77 docs: fix docs
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
2012-05-11 09:14:52 +02:00
Wim Taymans
201538158e docs: improve bufferpool docs 2012-05-11 09:14:52 +02:00
Vincent Penquerc'h
477636479c event: add new seek snap flags
They can be used to select snapping behavior (to previous, next, or
nearest location, where relevant) when seeking.

The seeking implementation (eg, demuxer) may currently ignore some
or all of these flags.
2012-04-30 09:58:09 +01:00
Tim-Philipp Müller
4889fd6b6f plugin: remove gst_plugin_name_filter
It's only used internally, most other users will likely
want to use gst_registry_find_plugin() directly instead
(and if not, they can easily walk the list and doing the
strcmp themselves).
2012-04-29 18:35:11 +01:00
Tim-Philipp Müller
3954fdcb0d plugin: remove gst_plugin_get_module()
This is an implementation detail really, and it's not
clear what anyone would do with this. It's unused as
far as I'm aware, so just remove it for now.
2012-04-29 16:46:55 +01:00