Age | Commit message (Collapse) | Author | Files | Lines |
|
Replace subbuffer and copy vmethods by a more generic transform function that
can then be parametrised by transform specific data. This should allow us to
implement make-writable and more future transform functions.
|
|
|
|
|
|
Move one test from gstelement suite.
|
|
|
|
No need to check for media_type!=NULL as the function we call that actual create
the structure does a full check anyway.
|
|
|
|
Check if structure has been created before appending it to the caps. Free the
caps in the case of an error to not conceal it be returning empty caps.
Fixes #642271
|
|
Our helloworld example thatw e reference from the manual has been a bit
complicated to serve a first contact with gstreamer. Since we have and
promote playbin2 as a playback api use it here.
Based on work from Mathias Hasselmann <mathias.hasselmann@gmx.de>
Fixes #424143
|
|
|
|
Now that we don't subclass buffers anymore, the FIXME about limited
functionality of the copy function is irrelevant.
|
|
|
|
Move the preroll lock to basesink where it belongs.
|
|
|
|
|
|
|
|
|
|
Add the caps to the configuration parameters of the pool.
Initialize the private data
|
|
|
|
Use the dispose method to release the buffer to the pool when it is configured.
|
|
Keep a pointer to the bufferpool. Release the buffer to the pool when
finalizing. Make sure the pool sets itself as the pool member of buffers that it
sends out.
|
|
|
|
|
|
Move some methods around.
Make sure we check for config parsing errors.
Increment the outstanding buffers before calling acquire so that we can be sure
that set_active() doesn't free the pool from under us.
|
|
Add start/stop methods to allow for bulk allocation of buffers.
Free buffers only when all outstanding buffers returned.
Make things more threadsafe wrt flushing and starting/stopping by
keeping track of start and stop method calls.
|
|
Use a lock to protect concurrect execution of set_config and set_active.
Start freeing the buffers when flushing and all buffers are returned to the
pool.
Make a copy of the config to avoid crashing with concurrent access.
|
|
|
|
Keep track if the buffer is configured and block activation when not configured
yet.
Keep track of outstanding buffers and disallow configuration when not all
buffers are returned to the pool. We need to do this or else we might end up
with wrong buffers in the pool.
Add return value to set_active.
Small cleanups. Fix finalize.
|
|
Rename the flushing variable and methods to active to better match
the other gstreamer name conventions
|
|
According to the design doc we need to prealloc buffers when we unset the
flushing state, not in set_config.
Set the flushing state better.
|
|
|
|
Use a GstStructure to provide the pool with the right configuration. Also
provide some helper methods to configure such a structure.
don't pass the config in alloc_buffer, pool implementation will already have
parsed it during set_config.
Update defs
|
|
|
|
|
|
Conflicts:
gst/gstregistry.h
|
|
fd.o requires RSA keys, and in general, users would probably want to
make a per-server key file rather than overwrite id_rsa, id_rsa.pub.
|
|
Fixes #642504.
|
|
From 1de7f6a to 6aec6b9
|
|
convinience -> convenience
|
|
elements with sometimes pads
It's often not obvious to people that elements like e.g. uridecodebin
(or demuxers) automatically support the standard signals of the
GstElement class, so let's print the useful pad-related ones for
elements with sometimes pads.
|
|
Link from convinience api to the underlying api.
|
|
|
|
|
|
|
|
|
|
Add a metadata implementation for normall malloced memory.
|
|
Make separate api for getting and adding metadata. This allows us to pass extra
parameters to the init functions when creating metadata, which is needed for
specific API implementations.
Add beginnings of memory metadata.
|
|
|
|
Remove the method to retrieve metadata by api. One will always use the
GstMetaInfo to get metadata.
|
|
Now that we have metadata we can remove the owner_priv field.
|