Wim Taymans
6fae137027
meta: add LOCKED flag
...
Add a new LOCKED flag to the metadata. Refuse removing LOCKED metadata from
a buffer.
Mark the metadata from the bufferpool LOCKED.
Add unit test for LOCKED flag
2012-04-17 15:55:10 +02:00
Wim Taymans
4f8474e113
trace: use g_parse_debug_string instead of atoi
...
Make the GST_TRACE env variable take a comma separated list of strings
describing the options to enable instead of a number.
2012-04-17 10:33:59 +02:00
Wim Taymans
d342871907
segment: add rude serialization
...
Ass serialize and deserialize functions for GstSegment so that gdp and
gst_structure_to_string show the segment values. We convert to a GstSegment
first to make things easier..
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674100
2012-04-16 15:56:11 +02:00
Wim Taymans
ffed76f258
memory: add size to debug log
2012-04-16 10:32:17 +02:00
Wim Taymans
2503dcddfb
buffer: improve debug
2012-04-14 10:23:49 +02:00
Stefan Sauer
7485b66d06
controlbinding: only take a weak ref on the object
...
Fixes the leaks in the tests. Added a TODO comment to eventually rework this
some more (while we can).
2012-04-13 09:37:21 +02:00
Edward Hervey
bce79fcdc0
gst: Use gst_object_{ref|unref} where applicable
...
Allows us to debug object life
2012-04-12 14:58:47 +02:00
Wim Taymans
82c92a9c7c
buffer: improve arg checking
...
Allow idx == 0 and length == -1 on empty buffers for the _range methods.
2012-04-12 11:53:00 +02:00
Alexander Saprykin
feb19b6f60
toc: fix memory leaks while copying content
2012-04-11 09:58:05 +02:00
Sreerenj Balachandran
fd2ebb5365
buffer: Clean up header files
2012-04-11 09:53:45 +02:00
Wim Taymans
393c758a1c
Merge remote-tracking branch 'origin/0.10'
...
Conflicts:
gst/gst.c
plugins/elements/gstqueue2.c
2012-04-10 12:55:31 +02:00
Wim Taymans
fd9c328260
gst: add toc entry ref/unref
2012-04-10 12:49:04 +02:00
Sebastian Dröge
91e13d4970
Merge remote-tracking branch 'origin/0.10'
2012-04-09 16:04:22 +02:00
Sebastian Dröge
1484a211f1
element: Fail if a pad for a non-request template is requested
2012-04-09 16:01:02 +02:00
Tim-Philipp Müller
4f1df6d094
element: use quarks when storing standard metadata in structures
2012-04-09 13:40:35 +01:00
Tim-Philipp Müller
bca1ae8fb0
element: add gst_element_class_{set,add}_static_metadata()
...
Add gst_element_class_{add,set}_metadata() variants for static strings,
so we can avoid unnecessary g_strdup()s.
API: gst_element_class_add_static_metadata()
API: gst_element_class_set_static_metadata()
2012-04-09 12:49:38 +01:00
Tim-Philipp Müller
0cfc3cf8a2
task: remove gst_task_set_priority()
...
It doesn't actually do anything.
2012-04-08 21:17:46 +01:00
Tim-Philipp Müller
94696f4bd9
gst: don't export private TOC functions
2012-04-07 16:04:14 +01:00
Wim Taymans
f251e3073b
atomicqueue: fix race
...
After a writer has written to its reserved write location, it can only make the
location available for reading if all of the writers with lower locations have
finished.
2012-04-07 15:30:12 +01:00
Wim Taymans
930c019721
atomicqueue: fix subtle race
...
Fix a race where the reader would see the updated the tail pointer before the
write could write the data into the queue. Fix this by having a separate reader
tail pointer that is only incremented after the writer wrote the data.
2012-04-07 15:24:53 +01:00
Stefan Sauer
7709f5514e
controlbinding: chain up on dispose and finalize
2012-04-05 21:56:05 +02:00
Stefan Sauer
3e92876b84
gstobject: unparent the controlbinding on dispose
2012-04-05 21:55:07 +02:00
Sebastian Dröge
aca083c56d
gst: Change name parameter of GST_PLUGIN_DEFINE() to not take a string anymore
...
This will be needed when we later add support for static linking
of plugins without introducing new API or changing existing API.
2012-04-05 14:17:16 +02:00
Sebastian Dröge
079b2cb0c7
gstplugin: Add hack for handling 0.11.9X and 0.11.89.X with X>0 the same as 1.0.0
...
Also update the version number to 0.11.89.1
2012-04-05 13:25:09 +02:00
Mark Nauwelaerts
515a1ad0f7
tocsetter: clear mutex upon free
2012-04-05 12:22:23 +02:00
Sebastian Dröge
f6848ad337
registry: Set registry version to 1.0.0 too
2012-04-05 10:57:29 +02:00
Alessandro Decina
e603d08e87
gstbuffer: fix compile warning
2012-04-05 09:07:18 +02:00
Sebastian Dröge
b0d89da6b6
gst: Change versioning
...
Remove GST_MAJORMINOR and replace it by GST_API_VERSION
Also set GST_VERSION_{MAJOR,MINOR,MICRO,NANO} explicitely
now.
All versions are at 1.0.0 now for the release soon but
API/ABI can still change until the 1.0.0 release.
Next release versions until 1.0.0 will be 0.10.9X and
these will be release candidates. GST_VERSION_* will
nonetheless stay at 1.0.0.0.
2012-04-04 14:28:55 +02:00
Wim Taymans
b15bcb66b4
buffer: improve _set_size()
2012-04-04 09:33:13 +02:00
Wim Taymans
8428d3e295
buffer: make get_sizes and _resize with ranges
...
Make the _get_sizes and _resize methods work on a range of memory to make them
more powerfull.
2012-04-04 09:33:13 +02:00
Stefan Sauer
e0ab66cf55
tocsetter: use new glib mutex api
2012-04-03 15:59:18 +02:00
Tim-Philipp Müller
fcaa6e3c48
gst: ref new entry enum types
...
Fixes 'make check', again.
2012-04-02 23:28:15 +01:00
Tim-Philipp Müller
730c263842
toc: don't export private functions
2012-04-02 23:23:46 +01:00
Stefan Sauer
3b0af8df9e
toc: port to 0.11
2012-04-02 22:09:07 +02:00
Alexander Saprykin
3f30c73443
Add new GstTocSetter interface
2012-04-02 21:50:55 +02:00
Alexander Saprykin
6e65daa4d1
Add new TOC query
2012-04-02 21:50:55 +02:00
Alexander Saprykin
03d0f569b3
Add new TOC message
2012-04-02 21:50:55 +02:00
Alexander Saprykin
c3f97992c4
Add new TOC and TOC select events
2012-04-02 21:50:55 +02:00
Alexander Saprykin
1f7096b52a
Add generic table of contents (TOC) support
2012-04-02 21:50:55 +02:00
Stefan Sauer
1074a4e99a
Merge branch '0.10'
...
Conflicts:
docs/gst/gstreamer-sections.txt
gst/Makefile.am
gst/gst.c
gst/gst.h
gst/gstevent.c
gst/gstevent.h
gst/gstmessage.h
gst/gstquark.c
gst/gstquark.h
gst/gstquery.c
gst/gstquery.h
tests/check/Makefile.am
2012-04-02 21:33:10 +02:00
Alexander Saprykin
566025b993
Add new GstTocSetter interface
2012-04-02 10:49:38 +02:00
Alexander Saprykin
105330784c
Add new TOC query
2012-04-02 10:49:38 +02:00
Alexander Saprykin
af85bd8dbf
Add new TOC message
2012-04-02 10:49:38 +02:00
Alexander Saprykin
2cb82d42fb
Add new TOC and TOC select events
2012-04-02 10:49:38 +02:00
Alexander Saprykin
63256d271d
Add generic table of contents (TOC) support
2012-04-02 10:49:38 +02:00
Wim Taymans
f3aad8b430
buffer: reuse more code
2012-04-01 12:02:40 +02:00
Wim Taymans
0e9241cfc6
buffer: make function to find memory in a buffer
...
Make a function to find the memory blocks for a region in a buffer.
2012-04-01 12:02:40 +02:00
Stefan Sauer
7f628113e4
childproxy: fix more missing GST_OBJECT -> G_OBJECT use
2012-03-31 21:26:56 +02:00
Wim Taymans
113b9dc535
buffer: add peek_memory method
...
Add a peerk_memory method that simply fetches the memory at an offset without
refcounting or merging.
2012-03-31 17:10:35 +02:00
Wim Taymans
3db0ce476f
grammar.y: fix childproxy code
...
It takes GObject and not GstObject now
2012-03-31 12:00:56 +02:00