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
Stefan Sauer
e7b9b68361
childproxy: include the child name in the signal
2012-03-30 22:46:02 +02:00
Stefan Sauer
d93c5c5fd0
parser: update for childproxy api changes
2012-03-30 22:45:04 +02:00
Stefan Sauer
e96c312847
childproxy: fix signal parameter types
2012-03-30 22:36:35 +02:00
Stefan Sauer
f35267bb92
childproxy: use GObject instead of GstObject
...
This makes it prossible to be used more widely. Fix implementations for the API
change.
2012-03-30 22:24:26 +02:00
Stefan Sauer
ef48cff3d0
childproxy: make get_child_by_name virtual
...
Allows implementations to use custom name->object mappings.
2012-03-30 22:13:51 +02:00
Stefan Sauer
bd625b8152
childproxy: fix indentation
2012-03-30 22:01:26 +02:00
Wim Taymans
38b96e6c8c
buffer: improve the buffer memory methods
...
gst_buffer_take_memory -> gst_buffer_insert_memory because insert is what the
method does.
Make all methods deal with ranges so that we can replace, merge, remove and map
a certain subset of the memory in a buffer. With the new methods we can make
some code nicer and reuse more code. Being able to deal with a subset of the
buffer memory allows us to optimize more cases later (most notably RTP headers
and payload that could be in different memory objects).
Make some more convenient macros that call the more generic range methods.
2012-03-30 18:15:24 +02:00
Edward Hervey
16bf133566
gstquery: Fix annotation
2012-03-29 17:53:47 +02:00