Tim-Philipp Müller
33078aaeb7
buffer: add gst_buffer_{set,get}_qdata()
...
Allows people/us to attach arbitrary metadata to buffers.
https://bugzilla.gnome.org/show_bug.cgi?id=664720
API: gst_buffer_set_qdata()
API: get_buffer_get_qdata()
2011-11-25 17:42:07 +00:00
Wim Taymans
9ceb77058b
defs: update defs files
2011-11-22 12:46:39 +01:00
Tim-Philipp Müller
682704750c
urihandler: pass GError argument to gst_uri_handler_set_uri()
...
Also let gst_uri_handler_set_uri check already if the protocol
is supported, so that not every uri handler has to do that
itself.
2011-11-13 18:04:55 +00:00
Tim-Philipp Müller
327d83ba1a
win32: update .def file for latest API changes
2011-11-11 01:44:16 +00:00
Edward Hervey
a86f7c3bcd
win32: Update def files
2011-11-10 13:59:28 +01:00
Wim Taymans
9c0d8ca718
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstelement.h
gst/gstghostpad.c
gst/gstminiobject.c
2011-11-08 12:54:15 +01:00
Tim-Philipp Müller
68173bdb06
win32: update .def file for new API
...
API: gst_caps_is_strictly_equal()
2011-11-08 00:15:49 +00:00
Wim Taymans
6c627481b3
utils: remove _found_tags_ API
...
remove gst_element_found_tags() and gst_element_found_tags_for_pad(), they are
nothing more than a wrapper around gst_pad_push_event()
2011-11-02 12:06:47 +01:00
Wim Taymans
d9dc9f9d52
task: api cleanup
...
gst_task_create() -> gst_task_new()
2011-11-02 08:59:44 +01:00
Wim Taymans
e4725d9df2
structure: cleanup API
...
gst_structure_empty_new() -> gst_structure_new_empty()
gst_structure_id_empty_new() -> gst_structure_new_id_empty()
gst_structure_id_new() -> gst_structure_new_id()
2011-11-02 08:59:44 +01:00
Wim Taymans
88e12228cf
bufferlist: clean up API
...
gst_buffer_list_len() -> gst_buffer_list_length()
gst_buffer_list_sized_new() -> gst_buffer_list_new_sized()
2011-11-02 08:59:43 +01:00
Tim-Philipp Müller
4f004eff38
pad: rename GstActivateMode to GstPadActivateMode
...
These might be useful:
sed -i -e 's/GstActivateMode/GstPadActivateMode/g' `git grep GstActivateMode | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GST_ACTIVATE_/GST_PAD_ACTIVATE_/g' `git grep GST_ACTIVATE_ | sed -e 's/:.*//' | sort -u`
2011-11-01 00:25:02 +00:00
Tim-Philipp Müller
bffc9207b5
pad: rename GstProbeType and GstProbeReturn to GstPadProbe{Type,Return}
...
Better now than later in the cycle. These might come in handy:
sed -i -e 's/GstProbeReturn/GstPadProbeReturn/g' `git grep GstProbeReturn | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GST_PROBE_/GST_PAD_PROBE_/g' `git grep GST_PROBE_ | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GstProbeType/GstPadProbeType/g' `git grep GstProbeType | sed -e 's/:.*//' | sort -u`
2011-11-01 00:15:17 +00:00
Tim-Philipp Müller
f19b7d1125
taglist: remove gst_tag_list_get_*long*()
...
No one uses this or should ever need to use it, since
the size is architecture-specific anyway. If normal
integers don't do, one should use 64-bit integers.
2011-10-31 23:32:17 +00:00
Tim-Philipp Müller
160ee2af3d
Update .def file for removed/changed API
2011-10-31 19:05:19 +00:00
Tim-Philipp Müller
3a4f580bb2
Merge remote-tracking branch 'origin/master' into 0.11
2011-10-30 10:00:28 +00:00
Tim-Philipp Müller
606c53fc94
taglist: add to_string and new_from_string functions
...
We want to make GstTagList opaque and not have people use
GstStructure API on it.
API: gst_tag_list_to_string()
API: gst_tag_list_new_from_string()
2011-10-30 09:58:16 +00:00
Tim-Philipp Müller
002446820e
Merge remote-tracking branch 'origin/master' into 0.11
2011-10-30 09:31:39 +00:00
Tim-Philipp Müller
cdade325ae
taglist: add gst_tag_list_is_equal()
...
API: gst_tag_list_is_equal()
2011-10-30 01:44:00 +01:00
Wim Taymans
967bacb742
defs: update
2011-10-27 17:09:34 +02:00
Johan Dahlin
22acd34c42
Add gst_structure_get_type
...
https://bugzilla.gnome.org/show_bug.cgi?id=657640
2011-10-19 10:20:31 +02:00
Tim-Philipp Müller
01c11ebf08
utils: remove gst_type_register_static_full()
...
It was only really used by GST_BOILERPLATE, and that is no more.
https://bugzilla.gnome.org/show_bug.cgi?id=660955
2011-10-10 19:30:34 +01:00
Tim-Philipp Müller
534e077c18
elementfactory: don't export private _gst_elementclass_factory quark
2011-10-08 20:46:55 +01:00
Tim-Philipp Müller
5df82c88c9
info: rename __gst_debug_* to _gst_debug_* and fix symbol export regexp
...
Only export GStreamer symbols with one leading underscore, not two
or more leading underscores.
Requires a rebuild of the entire stack, sorry.
2011-10-08 14:27:12 +01:00
Wim Taymans
a952de69dd
miniobject: change to GST_DEFINE_MINI_OBJECT_TYPE
...
Append _TYPE to the macro for consistency with other similar macros.
2011-08-29 17:06:18 +02:00
Wim Taymans
f3b0d3cdbe
init: add _get_type() functions
...
Remove gst_mini_object_register() and add a GST_DEFINE_MINI_OBJECT macro to
define a _get_type() function for the boxed miniobject.
Remove a bunch of custom _get_type() functions and replace them with the
miniobject macro.
Rename some _init method to _priv_*_initialize() like the rest of them.
Inspired by patch from Johan Dahlin and see bug #657603
2011-08-29 15:34:30 +02:00
Wim Taymans
4145598972
gst: add some _priv prefixes to private methods
2011-08-29 13:27:26 +02:00
Wim Taymans
96ecd61618
update defs
2011-08-25 16:19:52 +02:00
Wim Taymans
405a5d2a92
value: remove our FOURCC GType
...
Remove our custom fourcc GValue.
2011-08-22 12:19:19 +02:00
Wim Taymans
b1573e9865
structure: add method to fixate one field
2011-08-17 17:56:40 +02:00
Wim Taymans
28cf90b868
defs: update for new symbols
2011-08-15 16:45:05 +02:00
Wim Taymans
1c16ff94fc
pad: remove gst_pad_get_negotiated_caps()
...
Remove gst_pad_get_negotiated_caps(), it does not realy do what it says,
gst_pad_get_current_caps() returns the currently negotiated caps on the pad
correctly.
2011-08-15 12:16:30 +02:00
Wim Taymans
6e5b113fbd
defs: update defs
2011-08-04 17:26:34 +02:00
Wim Taymans
7c9be852bc
bufferpool: add gst_buffer_pool_is_active()
2011-08-04 10:54:29 +02:00
Wim Taymans
60cb9cddd4
bufferpool: add method to check for an option
...
Add a method to check if an option is supported on the bufferpool.
2011-07-30 14:04:43 +02:00
Wim Taymans
733e94ada8
bufferpool: add options API to bufferpool
...
Make it possible to query the supported options of a bufferpool and enable
options. This is a bit more generic than the API to enable metadata. The purpose
is to make it possible to add new custom config options to the configuration of
the bufferpool when supported.
2011-07-29 17:10:09 +02:00
Wim Taymans
0849cae4a8
defs: add defs for new methods
2011-07-11 16:43:33 +02:00
Wim Taymans
abf6293639
buffer: add api to get the current memory offset
...
Also return the offset in a GstMemory block with the get_sizes() method. This
allows us to figure out how much prefix there is unused.
Change the resize function so that a negative offset can be given. This would
make it possible to resize the buffer so that the prefix becomes available.
Add gst_buffer_get_sizes() to return the offset and maxsize as well as the size.
Also change the buffer resize method so that we can specify a negative offset
to remove prefix bytes.
2011-07-11 16:24:16 +02:00
Tim-Philipp Müller
1554aaf484
win32: add new API to .def file
2011-07-08 16:07:12 +01:00
Tim-Philipp Müller
411f9cadb4
win32: update .def files for latest API changes/additions
2011-07-05 09:45:46 +01:00
Edward Hervey
805a0ee697
win32: Update for added/removed symbols
2011-06-10 13:35:25 +02:00
Edward Hervey
f11ec40a3f
win32: Update for added/removed symbols
2011-06-08 13:06:17 +02:00
Edward Hervey
0e2981ad50
win32: Update for added/removed symbols
2011-06-07 11:01:36 +02:00
Tim-Philipp Müller
ae23ae1c8b
win32: update exports and other things
2011-06-04 16:05:15 +01:00
Edward Hervey
954e1a0e60
win32: Update .def for latest APi changes
2011-06-03 18:05:54 +02:00
Sebastian Dröge
30a7fd7b4d
Merge branch 'master' into 0.11
2011-05-27 13:58:26 +02:00
Sebastian Dröge
57df188757
caps: Add gst_caps_is_subset_structure()
...
API: gst_caps_is_subset_structure()
This allows to check if a structure is a subset of given
caps without allocating a new caps instance for it.
2011-05-27 13:55:31 +02:00
Sebastian Dröge
da58834884
structure: Add gst_structure_is_subset()
...
API: gst_structure_is_subset()
2011-05-27 13:47:11 +02:00
Sebastian Dröge
a46c9c2a62
event: Make SEGMENT event parsing API more consistent with the others
2011-05-18 16:56:43 +02:00
Sebastian Dröge
e34c26b509
Merge branch 'master' into 0.11
...
Conflicts:
win32/common/libgstreamer.def
2011-05-17 09:43:21 +02:00
Sebastian Dröge
a08a17dfbd
structure: Add gst_structure_intersect()
...
API: gst_structure_intersect()
2011-05-17 09:33:04 +02:00
Edward Hervey
64725facb5
gststructure: Add gst_structure_can_intersect API
...
Allows checking if two structures can intersect without having to
go through GstCaps
API: gst_structure_can_intersect
https://bugzilla.gnome.org/show_bug.cgi?id=629300
2011-05-17 09:28:06 +02:00
Edward Hervey
ae46eb3a38
gstructure: New API: gst_structure_is_equal
...
Allows checking equality of GstStructure without having to create
intermediary GstCaps.
API: gst_structure_is_equal
https://bugzilla.gnome.org/show_bug.cgi?id=629300
2011-05-17 09:28:00 +02:00
Sebastian Dröge
b2e1c8b791
win32: Update list of exported symbols
2011-05-16 17:24:53 +02:00
Sebastian Dröge
b935a814d9
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
docs/gst/gstreamer-sections.txt
gst/gstbin.c
gst/gstelement.c
gst/gstelement.h
gst/gstghostpad.c
gst/gstminiobject.c
gst/gstminiobject.h
libs/gst/base/gstbasesrc.c
libs/gst/base/gstbasetransform.c
plugins/elements/gstinputselector.c
tests/check/gst/gstminiobject.c
2011-05-16 16:53:04 +02:00
Sebastian Dröge
9149043e95
miniobject: Add new miniobject weak ref/unref functions to the docs
2011-05-14 11:39:35 +02:00
Sebastian Dröge
3c760a3ee5
ghostpad: Add docs for all the new, public functions
2011-05-14 11:39:35 +02:00
Sebastian Dröge
6807e536b0
ghostpad: Rename ghostpad/proxypad default functions
...
API: gst_ghost_pad_activate_pull_default
API: gst_ghost_pad_activate_push_default
API: gst_ghost_pad_internal_activate_pull_default
API: gst_ghost_pad_internal_activate_push_default
API: gst_ghost_pad_link_default
API: gst_ghost_pad_setcaps_default
API: gst_ghost_pad_unlink_default
API: gst_proxy_pad_acceptcaps_default
API: gst_proxy_pad_bufferalloc_default
API: gst_proxy_pad_chain_default
API: gst_proxy_pad_chain_list_default
API: gst_proxy_pad_checkgetrange_default
API: gst_proxy_pad_event_default
API: gst_proxy_pad_fixatecaps_default
API: gst_proxy_pad_getcaps_default
API: gst_proxy_pad_getrange_default
API: gst_proxy_pad_iterate_internal_links_default
API: gst_proxy_pad_query_default
API: gst_proxy_pad_query_type_default
API: gst_proxy_pad_setcaps_default
2011-05-14 11:39:34 +02:00
Sebastian Dröge
a216426bb6
ghostpad: API: Expose gst_proxy_pad_get_internal()
...
This allows to get the internal pad of ghostpads and
proxypads without using gst_pad_iterate_internal_links()
and is much more convenient.
The internal pad of a ghostpad is the pad of the opposite direction
that is used to link to the ghostpad target.
2011-05-14 11:39:34 +02:00
Edward Hervey
448ff3dcd0
win32: Add new symbols
2011-05-09 13:45:49 +02:00
Wim Taymans
fb3da828e5
element: rename gst_element_lost_state_full()
...
Rename gst_element_lost_state_full() to gst_element_lost_state() and
remove the old method name.
2011-05-06 12:19:16 +02:00
Wim Taymans
4372869e80
pad: implement more sticky events
...
Remove the context again, adding an extra layer of refcounting and object
creation to manage an array is too complicated and inefficient. Use a simple
array again.
Also implement event updates when calling gst_pad_chain() and
gst_event_send_event() directly.
2011-05-06 11:14:02 +02:00
Sebastian Dröge
53d5a38a21
win32: Update exports
2011-05-05 16:05:20 +02:00
Sebastian Dröge
3d807c228c
docs/def: Add new symbols, remove old symbols
2011-05-05 15:36:04 +02:00
Sebastian Dröge
25916cff66
event: Rename renegotiate event to reconfigure
...
In 0.11 this event will also do reconfiguration of buffer pools
and similar things, not just renegotiation.
2011-05-05 15:06:00 +02:00
Thiago Santos
a3dd59e97a
event: Adding new renegotiate event
2011-05-05 15:02:39 +02:00
Wim Taymans
ebf615a9e9
defs: update defs
2011-05-05 13:17:08 +02:00
Wim Taymans
7d3fabc521
defs: update defs
2011-05-04 11:07:19 +02:00
Wim Taymans
6ab7e6c15d
Remove pad_alloc, this can now be done better
...
Remove pad_alloc and all references. This can now be done more efficiently and
more flexible with the ALLOCATION query and the bufferpool objects. There is no
reverse negotiation yet but that will be done with an event later.
2011-04-29 13:26:19 +02:00
Wim Taymans
ccfaa53fb2
query: fix parsing of the ALLOCATION query
...
Add methods for parsing the caps and the need_pool boolean.
2011-04-29 10:50:17 +02:00
Wim Taymans
6ea2e71c48
query: fix typo in method name and improve docs
...
Fixed typo in method name and add/improve the docs.
2011-04-28 16:20:22 +02:00
Wim Taymans
06f6935107
bufferpool: add query to request pool and configuration
...
Add a query to request allocation parameters and optionally a bufferpool as
well. This should allow elements to discover downstream capabilities and also
use the downstream allocators.
2011-04-28 15:31:48 +02:00
Wim Taymans
0a44092bde
defs: update defs
2011-04-20 19:08:40 +02:00
Sebastian Dröge
8bfdd8c817
Merge branch 'master' into 0.11
2011-04-16 09:33:06 +02:00
Sebastian Dröge
b8b0f75887
win32: Add exports for the GstParseContext and GstBufferListIterator types
2011-04-16 09:32:17 +02:00
Wim Taymans
468ec5bc40
bufferlist: simplify bufferlists
...
We now have multiple memory blocks as part of the buffers and we can therefore
reduce the bufferlist to a simple array of buffers.
2011-03-31 17:51:02 +02:00
Wim Taymans
800def04e2
docs: update documentation
2011-03-30 18:45:08 +02:00
Wim Taymans
ebb14d95b2
buffer: more API tweaks
...
_trim -> _resize
_create_sub -> copy_region
2011-03-30 16:47:55 +02:00
Wim Taymans
030fcde837
memory: further memory tweaking
...
Allow for automatic merging of memory block in the _map function and automatic
freeing of the temporary memory.
Remove some unneeded functions.
Add possibility to force writable spanned memory.
2011-03-29 19:17:55 +02:00
Wim Taymans
4e32ac8463
buffer: clean up _span and add more g_return_if..
2011-03-29 16:52:21 +02:00
Wim Taymans
6da19ffeb2
buffer: more buffer updates
2011-03-29 11:07:36 +02:00
Wim Taymans
3ff26235cb
defs: fix defs
2011-03-28 20:20:39 +02:00
Wim Taymans
a12ede3fb1
Merge branch 'master' into 0.11-fdo
...
Conflicts:
gst/gst.c
libs/gst/base/gstcollectpads.c
2011-03-28 20:11:20 +02:00
Wim Taymans
826a7d83d4
buffer: more fixes
2011-03-28 20:08:47 +02:00
Wim Taymans
beac9c4a95
buffer: fix remaining unit tests
2011-03-28 20:08:46 +02:00
Edward Hervey
09d83e589a
gstcaps: new API : gst_caps_intersect_full
...
Just like gst_caps_intersect, but adds a new parameter 'mode'
that allows selecting the intersection algorithm to use.
Currently we have GST_CAPS_INTERSECT_MODE_ZIG_ZAG (default) and
GST_CAPS_INTERSECT_MODE_FIRST.
API: gst_caps_intersect_full
API: GstCapsIntersectMode
API: GST_CAPS_INTERSECT_MODE_ZIG_ZAG
API: GST_CAPS_INTERSECT_MODE_FIRST
https://bugzilla.gnome.org/show_bug.cgi?id=617045
2011-03-24 11:14:18 -03:00
Sebastian Dröge
e86973bc10
utils: Remove deprecated gst_element_factory_can_{sink,src}_caps()
2011-03-17 10:54:27 +01:00
Sebastian Dröge
4e16347bfa
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstbufferlist.c
2011-03-17 10:50:43 +01:00
Tim-Philipp Müller
90b4dc4869
utils: fix ABI break when compiling gstreamer with -DGST_DISABLE_DEPRECATED
...
GST_DISABLE_DEPRECATED should only affect visibility of declarations in headers,
not actually remove symbols. See GitDeveloperGuidelines and DeprecatingAPI
pages in wiki.
https://bugzilla.gnome.org/show_bug.cgi?id=402141
2011-03-10 17:50:51 +00:00
Edward Hervey
430e83ca2a
win32: Update .def file for API addition
2011-03-10 16:46:04 +01:00
Wim Taymans
f0e3902a37
Merge branch 'master' into 0.11
2011-03-10 10:25:07 +01:00
Thijs Vermeir
dbc21e0174
gstutils: replace gst_element_factory_can_{sink,src}_caps
...
Add new functions to clarify how the caps are compared to the template caps of
the element factory. Improve the docs to point out the difference.
Deprecate: gst_element_factory_can_{src|sink}_caps
API: add gst_element_factory_can_{src|sink}_{any|all}_capps
https://bugzilla.gnome.org/show_bug.cgi?id=402141
2011-03-09 15:28:05 +02:00
Wim Taymans
2247363ab9
defs: update defs
2011-03-02 11:57:40 +01:00
Wim Taymans
d3c9f9247c
docs: update bufferpool docs
2011-03-02 11:24:27 +01:00
Wim Taymans
0caa41e173
bufferpool: use GstStructure to configure the pool
...
Use a GstStructure to provide the pool with the right configuration. Also
provide some helper methods to configure such a structure.
don't pass the config in alloc_buffer, pool implementation will already have
parsed it during set_config.
Update defs
2011-03-02 11:23:21 +01:00
Wim Taymans
8dbb10dac7
fix defs
2011-03-02 11:23:21 +01:00
Wim Taymans
230c3455ac
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstregistry.h
2011-03-02 11:08:34 +01:00
Wim Taymans
362a724cfb
meta: add default memory metadata
...
Add a metadata implementation for normall malloced memory.
2011-02-27 20:42:15 +01:00
Wim Taymans
58060d7528
meta: separate add and get methods
...
Make separate api for getting and adding metadata. This allows us to pass extra
parameters to the init functions when creating metadata, which is needed for
specific API implementations.
Add beginnings of memory metadata.
2011-02-27 19:40:45 +01:00
Wim Taymans
0969106993
docs: update docs and defs
2011-02-27 12:21:32 +01:00