Sebastian Dröge
eadebb172d
baseparse: Rename ::event() to ::sink_event() for consistency
2012-03-30 12:03:40 +02:00
Edward Hervey
00feec6068
basesink: lower GST_BASE_SRC_FLAG_LAST
...
It wouldn't leave that much room for subclass users
2012-03-30 11:49:16 +02:00
Edward Hervey
5e554fde91
win32: Update defs file
2012-03-30 08:55:33 +02:00
Sebastian Dröge
4bffd22394
bytewriter: Actually commit the .c file changes too
2012-03-29 18:03:35 +02:00
Sebastian Dröge
d4dcb87c69
bytewriter: Add unchecked/inline variant of gst_byte_writer_put_buffer()
2012-03-29 18:01:11 +02:00
Edward Hervey
16bf133566
gstquery: Fix annotation
2012-03-29 17:53:47 +02:00
Edward Hervey
2bdd71a710
queue: Flush the internal queue when we see GST_FLOW_FLUSHING
...
Ensures that we don't end up with stale contents (like GstQuery) in
the internal GQueue after any blocking upstream thread returns.
2012-03-29 17:46:35 +02:00
Edward Hervey
c36748177f
queue: Don't unref GstQuery travelling through the queue
...
Unlike events and buffers, the reference is not given to us
2012-03-29 17:46:35 +02:00
Mark Nauwelaerts
617a8b3811
query: parsing allocation query need not provide reffed caps
...
... in line with other query parsing function.
2012-03-29 17:08:57 +02:00
Fabrizio (Misto) Milo
31c450a5d5
caps: spelling fixes
2012-03-29 15:46:15 +02:00
Edward Hervey
2d95de113e
gstelement: lower GST_ELEMENT_FLAG_LAST
...
It wouldn't leave that much room for subclass users
2012-03-29 15:28:44 +02:00
Edward Hervey
31ca9f9216
gstbuffer: Fix unitialized variable
...
gcc 4.5 complains otherwise :(
2012-03-29 15:18:33 +02:00
Sebastian Dröge
4b6c3c7fea
Merge remote-tracking branch 'origin/0.10'
...
Conflicts:
plugins/elements/gstmultiqueue.c
2012-03-29 14:54:53 +02:00
Sebastian Dröge
9441e711df
multiqueue: Wake up all not-linked streams when a stream switches from linked to not-linked
...
We reset all the waiting streams, let them push another buffer to
see if they're now active again. This allows faster switching
between streams and prevents deadlocks if downstream does any
waiting too.
Also improve locking a bit, srcresult must be protected by the
multiqueue lock too because it's used/set from random threads.
2012-03-29 14:49:53 +02:00
Sebastian Dröge
17e691421f
multiqueue: Recompute high-time too when flushing, not only high-id
2012-03-29 14:47:57 +02:00
Sebastian Dröge
d03e3d7772
inputselector: Only wait until the active pad's running time is reached if the active pad already saw data
...
Otherwise we might block forever because upstream (e.g. multiqueue) is waiting
for the previously active stream to return forever (which is waiting here
in inputselector) before pushing something on the newly selected stream.
2012-03-29 14:47:57 +02:00
Wim Taymans
ce67b0e539
docs: update more documentation
2012-03-29 13:34:50 +02:00
Wim Taymans
9aa9751938
review some docs
2012-03-28 18:12:23 +02:00
Wim Taymans
3e6238135d
buffer: simplify and refactor _span and _merge
...
Unify the _span and _merge code paths and simplify now that we only use this
internally.
2012-03-28 16:48:51 +02:00
Wim Taymans
315e77bf81
buffer: we always call _span with the buffer size
2012-03-28 16:48:51 +02:00
Wim Taymans
127074986c
buffer: move some code around
2012-03-28 16:48:51 +02:00
Wim Taymans
8fc290a27f
buffer: we call _span always with 0 offset
2012-03-28 16:48:51 +02:00
Wim Taymans
a4c861a4d3
buffer: remove always FALSE function argument
2012-03-28 16:48:50 +02:00
Mark Nauwelaerts
1af261169c
buffer: delay buffer unref until buffer no longer needed
2012-03-28 16:39:54 +02:00
Wim Taymans
bb876588ac
buffer: unify buffer merge methods
...
Add gst_buffer_append() which appends the memory blocks from one buffer to
another. Remove the old inefficient _merge() and _join() methods which forced a
premature memcpy in most cases.
Remove the _is_span() and _span() methods they are not needed anymore now that
we can _append(). Merging and spanning will be delayed until mapping or maybe
not at all when the element can deal with the different memory blocks.
2012-03-28 12:51:58 +02:00
Olivier Crête
fd675fa385
gstpad: Fix typo in docstring
2012-03-27 15:25:58 -04:00
Olivier Crête
37db4eefbf
gstpad: Fix typo in docstring
2012-03-27 15:24:49 -04:00
Wim Taymans
a137002ef1
buffer: re-enable _span offset calculations
...
when we _span two complete buffers, we can copy offsets and timestamps.
2012-03-27 15:16:55 +02:00
Wim Taymans
a080b81808
trace: add refcount to trace debug
2012-03-27 15:00:38 +02:00
Wim Taymans
8ff7a0978d
buffer: add more _is_writable checks
...
Add some checks to assert on writability for functions that modify metadata.
2012-03-27 14:59:06 +02:00
Wim Taymans
08f33d8d93
bufferpool: remove const from get/set_param
...
Remove the const from the GstCaps in get/set_param. set_param modifies
the refcount of the caps.
Don't increment the refcount of the caps result of get_param like we
do with other objects.
Update some annotiations.
2012-03-27 12:48:59 +02:00
Wim Taymans
f09ab3b007
bufferpool: fix annotation for _release
...
_release takes ownership of the buffer
2012-03-27 12:48:59 +02:00
Sebastian Dröge
9c4c9e3b6b
bus: Change the timeout argument type of gst_bus_poll() from GstClockTimeDiff to GstClockTime
...
This is more consistent with the other GstBus methods that have a timeout.
2012-03-27 12:31:18 +02:00
Wim Taymans
e08956907c
caps: remove old code
...
Remove attempt to delay _make_writable
2012-03-26 19:13:21 +02:00
Mark Nauwelaerts
7a7119ec99
caps: ensure writable caps prior to modification
2012-03-26 18:08:10 +02:00
Wim Taymans
3776eb9e25
bufferpool: check min/max_buffers
2012-03-26 17:38:50 +02:00
Wim Taymans
ce90970be2
query:fix copy-and-paste problem
2012-03-26 17:35:18 +02:00
Wim Taymans
afc63df3e0
Replace master with 0.11
2012-03-26 11:54:59 +02:00
Mark Nauwelaerts
5077f4c958
utils: add and improve debug messages
...
... so they end up in a more expected debug category rather than oblivion.
2012-03-23 18:52:11 +01:00
Wim Taymans
003e89d44b
back to devel
2012-03-22 16:05:07 +01:00
Wim Taymans
11787940df
Release 0.11.3
2012-03-22 16:05:06 +01:00
Mark Nauwelaerts
41e9ca9b17
basetransform: remove automatic and undocumented setting of always_in_place
...
... which controls how to (forcibly) deal with (non-)writable data and
is not necessarily related to identical caps.
In particular, it is also not so helpful anymore with a more advanced
GstVideoFilter subclass which always has a transform_ip method currently,
even though its subclass may not have a corresponding _ip method.
2012-03-22 15:24:08 +01:00
Wim Taymans
007a00cd1b
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
2012-03-22 10:45:06 +01:00
Stefan Sauer
f08d942795
gst-launch: don't shadow global variable
2012-03-22 08:36:50 +01:00
Wim Taymans
ab7d8886f0
dist net directory only once
2012-03-21 12:10:21 +01:00
Sebastian Dröge
73e91b2ce3
query: Only allow fixed caps in the accept-caps query
2012-03-21 09:00:45 +01:00
Wim Taymans
e017498cb0
baseparse: do queries more directly
...
Just call our internal query function instead of going through the pad and the
query handler etc.
2012-03-20 17:11:19 +01:00
Wim Taymans
f3f209c919
adapter: add some performance debug
2012-03-20 17:11:12 +01:00
Wim Taymans
f9c85a53dc
pad: improve docs of get/pull_range
...
Improve the docs of the get/pull_range functions, define the lifetime of the
buffer in case of errors and short reads.
Make sure the code does what the docs say.
2012-03-20 13:14:55 +01:00
Wim Taymans
7bcc3baf64
buffer: improve gst_buffer_new_wrapped_full()
...
Make it possible to wrap all kinds of memory by exposing all properties to
gst_buffer_new_wrapped_full(). This makes it possible to also create writable
memory without a free function or memory with extra padding.
2012-03-20 10:20:29 +01:00