Koop Mast
4fe5dd2b9d
segment: cast to right type
...
See #653137
2011-06-22 16:58:53 +02:00
Wim Taymans
b322a401c7
uri: remove some _full variants
2011-06-22 16:38:04 +02:00
Wim Taymans
6da2a33b7a
tags: Remove crazy tag messages
...
Don't mix messages and pads and tags.
Make the sink post tag messages when a tag event is received.
Since tags are sticky on pads now, they can be retrieved from there
when needed.
2011-06-22 16:16:56 +02:00
Wim Taymans
314a2b961a
caps: Hide implementation details
...
Make the Array of structures private. This should allow us to implement
the array more efficiently or with some preallocated structures when
we want to later.
Add a new method to clean up a static structure so that we can remove some code
that pokes into the private bits of the caps.
2011-06-22 12:28:14 +02:00
Wim Taymans
f8fedb8ff1
docs: update negotiation design doc
2011-06-22 12:26:19 +02:00
Wim Taymans
3884badea6
memory: rename GstMemoryAllocator -> GstAllocator
...
simplify the name of the allocator object.
2011-06-22 11:42:46 +02:00
Wim Taymans
c6a3878369
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
win32/common/config.h
win32/common/gstversion.h
2011-06-21 17:54:38 +02:00
Wim Taymans
7988f4c494
docs: update bufferpool design doc
2011-06-21 17:47:36 +02:00
Wim Taymans
9c3bd65ba7
basesrc: improve debugging
2011-06-21 17:47:23 +02:00
Stefan Kost
63dbb3b383
images: strip images of extra text tags
2011-06-21 15:15:44 +02:00
Wim Taymans
36c111a844
bufferpool: return empty metadata array
...
Return a string array with NULL instead of NULL from the default get_metas
function.
2011-06-21 12:32:46 +02:00
Wim Taymans
872e7d52df
pad: use event function directly
...
We will never go in this code path for CAPS events so directly call the event
function.
2011-06-21 12:31:57 +02:00
Wim Taymans
de3b6e733f
pad: notify caps after we store the new caps
...
notify caps after we store the new caps so that the new caps are actually
visible for the app.
2011-06-21 10:29:51 +02:00
Wim Taymans
69409f1ec8
basetransform: activate the bufferpool
...
always activate the bufferpool, even if we get it from the allocation
query.
2011-06-20 17:32:47 +02:00
Wim Taymans
fc5b0b09da
basesrc: always activate the pool we get
...
Activate the pool when we get it from the allocation query.
2011-06-20 17:32:11 +02:00
Wim Taymans
3822eea7cf
basetransform: inprove allocation handling
...
Add vmethod for subclasses to influence the pool and allocator.
Log when query fails.
Respect negotiated allocator and alignment.
2011-06-20 16:53:04 +02:00
Wim Taymans
9c67925fb7
basesrc: Improve logging
...
Log when things fail.
Fix a query leak.
2011-06-20 16:53:04 +02:00
Wim Taymans
9177367984
ghostpad: improve debug
...
Log a debug line when there is no target pad and when this makes the default
implementation fail.
Take the internal pads directly when we can.
2011-06-20 16:53:03 +02:00
Mark Nauwelaerts
011b8c55a2
configure.ac: bump required GLib to 2.26
2011-06-20 15:40:51 +02:00
Wim Taymans
a22274d7a1
bufferpool: add function to set metadata api
...
Add a function to retrieve an array of supported metadata apis from the the
bufferpool.
Add functions to configure and query the configured metadata apis in a
bufferpool configuration.
2011-06-20 13:26:06 +02:00
Thiago Santos
00c891a823
gstbuffer: Minor fix to docs
...
Adds missing parameter to docs of gst_buffer_copy_region
2011-06-19 13:17:06 -03:00
Edward Hervey
a885082a16
gstpad: Remove unused variable do_event_actions
...
do_event_actions was always used as TRUE
2011-06-18 17:35:41 +02:00
Tim-Philipp Müller
bc39ff3ea8
Bump gobject-introspection requirement to >= 0.6.8
...
For --add-init-section
2011-06-18 14:38:53 +01:00
Tim-Philipp Müller
239461f4a1
Bump git version after unplanned 0.10.35 release
...
Merge remote-tracking branch 'origin/0.10.35'
2011-06-18 12:47:37 +01:00
Philip Jägenstedt
9f0e066102
basesink: Fix typo in documentation
...
Fixes #652577 .
2011-06-17 01:54:31 -07:00
Tim-Philipp Müller
9eee73dcc6
Revert "utils: remove some macros now in glib"
...
This reverts commit de29ae7b92
.
Re-adds GFLOAT_TO_LE, GFLOAT_TO_BE, GDOUBLE_TO_LE, and GDOUBLE_TO_BE.
Turns out these aren't in GLib yet afer all (since we didn't
actually open a bug to get them added..)
2011-06-16 10:55:15 +01:00
Tim-Philipp Müller
783bac2bc4
Release 0.10.35
...
This is an ad-hoc release that is almost identical to 0.10.34:
* work around GLib atomic ops API change
* some minor win32/mingw fixes
* don't use G_CONST_RETURN in public headers
2011-06-15 19:15:24 +01:00
Wim Taymans
c4f35cb2e0
basesrc: fix refcounting problem
2011-06-15 16:56:30 +02:00
Javier Jardón
c32f58ffc8
Use "const" instead G_CONST_RETURN
...
G_CONST_RETURN will be deprecated soon.
https://bugzilla.gnome.org/show_bug.cgi?id=652211
2011-06-14 14:36:49 +01:00
David Schleef
8121bcd18a
Work around changes in g_atomic API
...
See #651514 for details. It's apparently impossible to write code
that avoids both type punning warnings with old g_atomic headers and
assertions in the new. Thus, macros and a version check.
2011-06-14 14:36:36 +01:00
Руслан Ижбулатов
fb6d79bc33
systemclock: Placate gcc by defining EWOULDBLOCK to something
2011-06-14 14:34:25 +01:00
Руслан Ижбулатов
c573f74d34
poll: Fix WAKE_EVENT() to behave posixly on Windows
2011-06-14 14:34:12 +01:00
Wim Taymans
44d45e0b63
docs: update docs
2011-06-14 15:19:21 +02:00
Wim Taymans
1ea2722180
Merge branch 'master' into 0.11
2011-06-13 19:10:00 +02:00
Wim Taymans
54fd50bfe1
buffer: add index to _take_memory()
...
Add an index to gst_buffer_take_memory() so that we can also insert memory at a
certain offset. This is mostly interesting to prepend a header memory block to
the buffer.
2011-06-13 16:31:53 +02:00
Wim Taymans
a59defb90f
pad: don't forward scheduling query
...
The scheduling query should not be forwarded, because elements need to implement
special code to handle different scheduling methods.
2011-06-13 16:30:22 +02:00
Wim Taymans
844e8aefaa
basesrc: Allocator buffers from negotiated allocator
...
Allocate buffers from the negotiated allocator or bufferpool.
Handle the state of the bufferpool when flushing.
Add fill method to pushsrc.
2011-06-13 12:07:03 +02:00
Wim Taymans
d837268a77
buffer: add more debug
2011-06-13 12:04:28 +02:00
Wim Taymans
9b9b758688
bufferpool: small indentation fix
2011-06-13 11:51:08 +02:00
Wim Taymans
468dbbbaaf
buffer: pass the allocator as const
2011-06-13 11:50:42 +02:00
Wim Taymans
3977991c9d
basesrc: negotiate allocation
...
Add vmethod to configure allocation methods.
Remove some unused variables
2011-06-13 10:21:53 +02:00
Wim Taymans
a14623f925
query: add some more checks
...
Make sure that the alignment is valid.
When we have a 0 size (variable buffer size), we can't have a bufferpool.
2011-06-11 20:45:42 +02:00
Wim Taymans
bb2d7241fa
query: set all default values
...
Fill all query values with good defaults.
2011-06-11 19:54:47 +02:00
Wim Taymans
6ca5d44704
bufferpool: remove postfix parameter
...
Remove the postfix parameter, it's not used and can be done differently.
2011-06-11 18:52:42 +02:00
Wim Taymans
2b071ea395
bufferpool: use same alignment values as GstMemory
...
Use the same alignment values for the bufferpool as we use for the GstMemory
API.
2011-06-10 17:50:27 +02:00
Wim Taymans
94ae04f098
basesrc: use new _check_reconfigure() method
2011-06-10 17:32:48 +02:00
Wim Taymans
2d6a59aa83
pad: add _check_reconfigure() method
...
Add a method to check and clear the RECONFIGURE flag on a pad.
2011-06-10 17:32:20 +02:00
Wim Taymans
eeb07b3f3d
buffer: add support for buffer in memory
...
Fix the code to support allocating the buffer and memory in one memory block.
Add an extra variable to store the memory of the buffer.
This code is disabled still because of complications.
2011-06-10 16:47:29 +02:00
Wim Taymans
3e5c5fb034
memory: expose default alignment
...
Export the gst_memory_alignment variable so that others can know the default
configured alignment of the system.
2011-06-10 16:46:12 +02:00
Wim Taymans
7c475cc60f
memory: fix is_span
...
Subtract the offset of the parent from is_span.
2011-06-10 16:19:46 +02:00