Tim-Philipp Müller
4b5c8cada2
sample: some more g-i annotations
2012-06-23 17:04:53 +01:00
Tim-Philipp Müller
bc28ebf08d
sample: add compare function for GstSample
...
Should make gst_tag_list_is_equal() work properly with image tags.
https://bugzilla.gnome.org/show_bug.cgi?id=672637
2012-06-23 16:59:10 +01:00
Tim-Philipp Müller
533ecb8840
value: fix buffer compare function
2012-06-23 16:30:03 +01:00
Tim-Philipp Müller
2f46207ec7
parse: update for gst_element_make_from_uri() change
2012-06-23 14:43:21 +01:00
Tim-Philipp Müller
f8445bd293
uri: add error argument to gst_element_make_from_uri()
...
So callers can differentiate between there not being a
handler for the protocol, and them not accepting the URI
for some reason.
https://bugzilla.gnome.org/show_bug.cgi?id=645467
2012-06-23 14:43:17 +01:00
Tim-Philipp Müller
b5a064850e
memory: annotate GstMapInfo data as array for g-i
2012-06-23 12:39:10 +01:00
Wim Taymans
7da1d23a9b
info: add destroy notify to gst_debug_add_log_function()
2012-06-20 13:28:08 +02:00
Wim Taymans
d2c632fcda
pad: improve introspection annotation
2012-06-20 13:27:33 +02:00
Wim Taymans
6efb5c9b6b
bus: add GDestroyNotify to set_sync_handler()
2012-06-20 12:29:35 +02: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
76e8b2ecda
task: add GDestroyNotify to _new
...
Add a GDestroyNotify to the user_data we pass to gst_task_new()
Change gst_pad_start_task() to also take the notify
2012-06-20 10:31:49 +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
Evan Nemerson
870d631f51
task pool: set scope of gst_task_pool_push callback to async
2012-06-19 17:37:59 -07:00
Evan Nemerson
b70aefdb85
introspection: add missing return value annotations
2012-06-19 17:33:45 -07:00
Evan Nemerson
8620b30df9
introspection: rename some "data" arguments to "user_data"
...
GObject Introspection will automatically treat "user_data" arguments
as closure data.
2012-06-19 16:09:10 -07:00
Evan Nemerson
4e89ecd4d1
toc: add some missing element-type annotations
2012-06-19 16:08:46 -07:00
Evan Nemerson
d5c54b07fc
buffer pool: put GstBufferPoolAcquireParams typedef before struct
...
Works around https://bugzilla.gnome.org/show_bug.cgi?id=581525
2012-06-19 16:06:49 -07:00
Sebastian Dröge
de37675e3a
memory: Fix docs typo
2012-06-19 14:31:03 +01:00
Wim Taymans
fb874e2104
clock: assert about timestamp overflows
...
Assert when converting to timeval and timespec about overflows. This can happen
on platforms with 32bits long.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=678181
2012-06-19 14:09:02 +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
85feb64912
utils: fix some docs
2012-06-18 16:13:22 +02:00
Sebastian Rasmussen
74cf810392
clock: fix compiler warning
...
Cast to the right value, it might indeed overflow but we want the compiler to
ignore that.
2012-06-18 15:28:20 +02:00
Wim Taymans
2cb9eba560
miniobject: hide qdata array layout
2012-06-18 15:22:26 +02:00
Evan Nemerson
c29168ed5e
atomic queue: register as boxed type
2012-06-18 13:15:03 +02:00
Evan Nemerson
6c6bb0e217
introspection: assorted introspection and documentation fixes
...
These changes are to clean up syntax issues such as missing colons,
missing spaces, etc., and minor issues such as argument names in
headers not matching the implementation and/or documentation.
2012-06-18 13:11:40 +02:00
Evan Nemerson
49ba9ef056
toc setter: change GstTocSetterIFace to GstTocSetterInterface
...
Without this GObject Introspection does not recognize the connection
to GstTocSetter.
2012-06-18 13:10:34 +02:00
Wim Taymans
95f016b795
bufferpool: update docs a little
2012-06-18 12:15:57 +02:00
Wim Taymans
2d19ed41c8
bufferpool:check caps argument
...
Caps should be NULL or fixed when configured in a bufferpool
2012-06-18 10:13:38 +02:00
Wim Taymans
c066ea8c69
caps: NULL is not a valid caps anymore
2012-06-15 17:01:37 +02:00
Wim Taymans
2cab15c9f6
docs: improve API docs
2012-06-15 12:57:24 +02:00
Tim-Philipp Müller
34895ae332
alllocator: no need to store structure size inside the structure
2012-06-15 10:27:18 +01:00
Tim-Philipp Müller
16e5684486
query: no need to store the size of the structure inside the structure
2012-06-15 10:26:57 +01:00
Tim-Philipp Müller
7eecd8f56f
event: no need to store the size of the structure inside the structure
2012-06-15 10:26:57 +01:00
Tim-Philipp Müller
b4a9a2f79e
bufferlist: no need to store the size of the structure inside the structure
2012-06-15 10:26:56 +01:00
Tim-Philipp Müller
463268b21f
caps: no need to store the size of the caps structure inside the structure
2012-06-15 10:26:56 +01:00
Tim-Philipp Müller
2677f9b56d
message: no need to store size of the message structure inside the structure
2012-06-15 10:26:56 +01:00
Tim-Philipp Müller
fcd6e1f89c
sample: no need to store the size of the sample structure inside the structure
2012-06-15 10:26:56 +01:00
Tim-Philipp Müller
e560d7a364
taglist: no need to store the size of the tag list structure inside the structure
2012-06-15 10:26:56 +01:00
Wim Taymans
eea41eb3a2
miniobject: expand docs a little
...
Add blurb about qdata and weak refs.
2012-06-15 11:24:46 +02:00
Wim Taymans
2a4079954a
miniobject: add qdata
...
Keep track of qdata for miniobjects. Reuse the weak ref array for this because
we can.
2012-06-15 11:01:29 +02:00
Wim Taymans
e57cda1429
miniobject: fix error in the weak ref handling
...
When 2 weak refs are added, the array is not resized big enough.
Simplify the weak ref handling code.
Free memory when we remove all weak refs.
Allow installing the same weak ref multiple times, like in gobject.
2012-06-15 10:58:21 +02:00
Wim Taymans
12aefaa078
miniobject: remove the size field
...
The size field is used by subclasses to store the total allocated size of the
memory for this miniobject. Because miniobject doesn't really do anything with
this field we can move it to the subclasses.
2012-06-14 17:11:11 +02:00
Wim Taymans
a1c5b00e72
memory: make GstMemory a miniobject
2012-06-14 16:34:28 +02:00
Wim Taymans
ec8ac0bb16
trace: always print miniobject refcount
2012-06-14 16:34:28 +02:00
Wim Taymans
db204ea24a
memory: fix copy function
...
Make the copy function map to ref because we can't safely copy the user_data.
2012-06-14 16:34:28 +02:00
Wim Taymans
a7793f1fd7
memory: make GstAllocator a miniobject
2012-06-14 16:34:28 +02:00
Vincent Penquerc'h
c65eebe28c
element: fix pad transfer annotation from none to full
...
since the pad will be unreffed.
2012-06-14 14:06:12 +01:00
Wim Taymans
7b6ebd4b5b
message: add the running-time to the async-done message
...
Add the running-time of the buffer that caused the async operation to complete
to the async-done message.
Update bin to handle the new async-done message.
2012-06-14 09:04:33 +02:00
Wim Taymans
9c8ee44f9b
pipeline: use reset_time message to reset the start time
...
Use the new RESET_TIME message to reset the start-time of the pipeline to the
requested time.
Make basesink request a new running-time when the flush-stop message tells it to
insteasd of waiting for preroll.
2012-06-14 09:04:33 +02:00
Wim Taymans
8118767c82
message: add a new message to reset time
...
Add a new message to reset the pipeline running_time. Currently reseting the
pipeline can only be requested in the async_done message which means that the
pipeline needs to be prerolled. It is better to move this to a separate message.
2012-06-14 09:04:28 +02:00