summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-08meta: implement transform functiontrans-metaWim Taymans4-89/+144
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.
2011-03-08Merge branch 'master' into 0.11Wim Taymans8-165/+225
2011-03-08tests: add test to create a factoryStefan Kost1-0/+56
2011-03-08tests: start a new test suite for element factoriesStefan Kost4-47/+87
Move one test from gstelement suite.
2011-03-08padtemplate: add missing ; in example (and trim whitespace)Stefan Kost1-10/+10
2011-03-08structure: gst_structure_empty_new() does better error checkingStefan Kost1-4/+0
No need to check for media_type!=NULL as the function we call that actual create the structure does a full check anyway.
2011-03-08caps,structure: trim trailing whitespaceStefan Kost2-9/+9
2011-03-08caps: don't create broken caps for invalid media typesJonathan Matthew1-1/+4
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
2011-03-08examples: update hello world exampleStefan Kost1-94/+59
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
2011-03-04docs: update metadata draftWim Taymans1-24/+39
2011-03-04miniobject: remove FIXMEWim Taymans1-14/+0
Now that we don't subclass buffers anymore, the FIXME about limited functionality of the copy function is irrelevant.
2011-03-04gst: add flag registrationWim Taymans1-0/+2
2011-03-04pad: more preroll lock to basesinkWim Taymans4-60/+54
Move the preroll lock to basesink where it belongs.
2011-03-04docs: update bufferpool draftWim Taymans1-63/+40
2011-03-04bufferpool: add more debug infobufferpool-0.11Wim Taymans2-2/+16
2011-03-04bufferpool: add debugWim Taymans1-0/+5
2011-03-04bufferpool: add some more debug infoWim Taymans1-0/+5
2011-03-04bufferpool: add caps to the configWim Taymans4-22/+28
Add the caps to the configuration parameters of the pool. Initialize the private data
2011-03-02defs: update defsWim Taymans1-1/+2
2011-03-02buffer: release buffer to pool in disposeWim Taymans1-1/+17
Use the dispose method to release the buffer to the pool when it is configured.
2011-03-02buffer: add pool to buffer structureWim Taymans4-4/+21
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.
2011-03-02gst: add pool flags typeWim Taymans1-0/+2
2011-03-02docs: update bufferpool docsWim Taymans3-1/+35
2011-03-02bufferpool: Refactor stopping of the poolWim Taymans1-72/+93
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.
2011-03-02bufferpool: Rework buffer management a littleWim Taymans2-58/+147
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.
2011-03-02bufferpool: memory management cleanupsWim Taymans2-58/+104
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.
2011-03-02bufferpool: also allow NULL params in _acquireStefan Kost1-1/+1
2011-03-02bufferpool: more updatesWim Taymans2-48/+91
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.
2011-03-02bufferpool: rename 'flushing' to 'active'Wim Taymans2-26/+26
Rename the flushing variable and methods to active to better match the other gstreamer name conventions
2011-03-02bufferpool: prealloc when unset flushingWim Taymans1-24/+29
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.
2011-03-02bufferpool: use quarks for structure fieldsWim Taymans3-20/+32
2011-03-02bufferpool: use GstStructure to configure the poolWim Taymans3-54/+141
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
2011-03-02fix defsWim Taymans1-0/+8
2011-03-02bufferpool: add simple bufferpool helper objectWim Taymans4-0/+544
2011-03-02Merge branch 'master' into 0.11Wim Taymans21-21/+526
Conflicts: gst/gstregistry.h
2011-03-02faq: Minor update to ssh key generation commandsArun Raghavan1-2/+2
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.
2011-02-28configure.ac: export plugin description more platform independentMark Nauwelaerts1-1/+1
Fixes #642504.
2011-02-28Automatic update of common submoduleMark Nauwelaerts1-0/+0
From 1de7f6a to 6aec6b9
2011-02-28docs: typo fixesTim-Philipp Müller3-4/+4
convinience -> convenience
2011-02-28tools: print "pad-added", "pad-removed" and "no-more-pads" signals for ↵Tim-Philipp Müller1-5/+27
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.
2011-02-28docs: small updates as suggested on a blogStefan Kost1-1/+6
Link from convinience api to the underlying api.
2011-02-28meta: add timing metadataWim Taymans2-1/+80
2011-02-28miniobject: fix whitespaceWim Taymans1-7/+7
2011-02-28tests: add memory unit testWim Taymans1-26/+96
2011-02-27meta: simplify a bitWim Taymans2-15/+16
2011-02-27meta: add default memory metadataWim Taymans3-3/+105
Add a metadata implementation for normall malloced memory.
2011-02-27meta: separate add and get methodsWim Taymans5-35/+94
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.
2011-02-27docs: update docs and defsWim Taymans3-84/+90
2011-02-26buffer: remove useless methodWim Taymans2-41/+12
Remove the method to retrieve metadata by api. One will always use the GstMetaInfo to get metadata.
2011-02-25buffer: remove owner_priv now that we have metadatabuffermetaWim Taymans2-3/+0
Now that we have metadata we can remove the owner_priv field.