summaryrefslogtreecommitdiff
path: root/gst
AgeCommit message (Collapse)AuthorFilesLines
2015-08-08devicemonitor: add method to show all devicesHEADmasterWim Taymans2-13/+117
Add a property to see all devices, even duplicate ones from hidden providers.
2015-08-08deviceprovider: Add method to hide devices from a providerWim Taymans3-7/+233
Add methods to add/remove the providers that should be hidden by this provider. Also make a method to get a list of hidden providers. This makes it possible to have multiple systems monitor the same devices and remove duplicates.
2015-08-07value: free caps during failureVineeth TM1-7/+3
While calling gst_value_deserialize_sample, if there is a failure after caps is ref'ed, then caps is getting leaked. Hence checking for caps in fail: goto condition and unref'ing it https://bugzilla.gnome.org/show_bug.cgi?id=753338
2015-08-05registry: Add plugins to the registry we are loading and not default oneThibault Saunier3-4/+17
When running gst_registry_scan_plugin_file we were losing the information about the registry being loaded and ended up adding the plugin to the default registry which was not correct. https://bugzilla.gnome.org/show_bug.cgi?id=752662
2015-08-04devicemonitor: get a list of currently monitored providersWim Taymans2-0/+47
Get a list of the currently monitored providers.
2015-08-04pad: fix invalid unref after IDLE probe on non-OK flow returnGeorge Kiagiadakis1-0/+1
In case there is an IDLE probe fired from gst_pad_push_data and it doesn't return GST_FLOW_OK, the code jumps to the probe_stopped label which tries to unref the data object. However, at this point the data object belongs downstream and must not be touched. By setting data = NULL, the code skips this unref. https://bugzilla.gnome.org//show_bug.cgi?id=753151
2015-08-04buffer: Fix the name of the parentbuffermeta debug category.Jan Schmidt1-2/+2
Don't use 'glbufferrefmeta' as the debug category for the parent buffer meta.
2015-08-04buffer: Remove extra debug symbol from exportsJan Schmidt1-1/+1
Don't export the debug variable for the parent_buffer_meta. This was accidentally exported and shouldn't be public
2015-07-30docs: info: remove 0.8 terminology from log level descriptionTim-Philipp Müller1-4/+4
We don't "iterate" bins or pipelines any more.
2015-07-28doc/seekflags: Fix cross referencesNicolas Dufresne1-16/+17
This fixes miss-use of @ instead of % to refer to enumeration values.
2015-07-22docs: fix description of gst_buffer_extract_dup()Tim-Philipp Müller1-2/+2
No GBytes involved.
2015-07-16devicemonitor: do start and stop outside of the lockWim Taymans1-13/+71
Release the monitor lock when calling the provider start/stop methods. Because we release the lock now, We need to make sure we check the cookie again and keep track of started and removed providers.
2015-07-16deviceprovider: small cleanupsWim Taymans2-8/+14
Protect against wrong arguments. Clean up the header file indentation.
2015-07-16devicemonitor: keep order of providers and devicesWim Taymans1-2/+2
The deviceproviders are added to the array sorted by their rank. Make sure we keep this ordering when removing a provider. We use _prepend to collect the devices, use g_list_reverse to get the devices in the right order; sorted by rank and in the same order as returned by the provider.
2015-07-16docs: drop reference to sourceforge mailing list adressTim-Philipp Müller1-2/+1
2015-07-15device: add generic struct with propertiesWim Taymans2-14/+54
Add a generic structure to hold any additional properties about the device.
2015-07-13docs: bus: mention main loop requirement in gst_bus_add_watch() docsTim-Philipp Müller1-0/+4
2015-07-13task: add function guard for _set_lock() and fix guard for _join()Prashant Gotarne1-2/+4
Should only access the object structure after checking it's valid in gst_task_join(). https://bugzilla.gnome.org/show_bug.cgi?id=746385 https://bugzilla.gnome.org/show_bug.cgi?id=746431
2015-07-11protection: implement meta transform functionPhilippe Normand1-2/+23
Copy the GstMeta contents over to the new buffer. https://bugzilla.gnome.org/show_bug.cgi?id=749590
2015-07-07meta: transform_func: return FALSE if not supported or failedHyunjun Ko1-0/+3
https://bugzilla.gnome.org/show_bug.cgi?id=751778
2015-07-06pad: Clarify pad probe return type documentationArun Raghavan1-7/+11
2015-07-03pad: Enforce NEED_PARENT flag also for chainOlivier Crête1-1/+12
The check for the presence of the parent in the presence of the NEED_PARENT flag was missing for the chain function. Also keep a ref on the parent in case the pad is removed mid-chain.
2015-07-03memory: Add missing field initializers to GstMapInfoStian Selnes1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=751881
2015-07-01buffer: Don't copy "memory" metas unconditionallySebastian Dröge1-1/+11
Don't copy memory metas if we only copied part of the buffer, didn't copy memories or merged memories. In all these cases the memory structure has changed and the memory meta becomes meaningless. https://bugzilla.gnome.org/show_bug.cgi?id=751712
2015-07-01Revert "buffer: Don't copy POOLED and memory metadata unconditionally"Sebastian Dröge1-19/+1
This reverts commit 7a08fa5ec4804f104e9aa9f458322f6eb49a7e49.
2015-06-30buffer: Don't copy POOLED and memory metadata unconditionallySebastian Dröge1-1/+19
https://bugzilla.gnome.org/show_bug.cgi?id=751712
2015-06-25task: guard against NULL task functionPrashant Gotarne1-0/+2
https://bugzilla.gnome.org/show_bug.cgi?id=746439
2015-06-24bufferpool: Fixed compiler warningJonas Holmberg1-4/+2
The pool variable was unused when buidling with debug disabled.
2015-06-24bufferlist: Warn if copying a buffer fails in gst_buffer_list_copy_deep()Sebastian Dröge1-1/+10
2015-06-24bufferlist: add new api gst_buffer_list_copy_deepHyunjun Ko2-0/+31
https://bugzilla.gnome.org/show_bug.cgi?id=751420
2015-06-23pad: Clear EOS flag after received STREAM_START eventSong Bing1-0/+19
Clear EOS flag after received STREAM_START event https://bugzilla.gnome.org/show_bug.cgi?id=750761
2015-06-22utils: use caps when getting a compatible pad by templateThiago Santos1-1/+6
Do not ignore the caps argument when requesting a pad by template. This is particularly harmful when the pad caps query by default returns ANY so it will match the first template instead of the one that actually intersects with the caps. https://bugzilla.gnome.org/show_bug.cgi?id=751235
2015-06-23gstsample.h: Include gstbufferlist.h now that it uses GstBufferListJan Schmidt1-0/+1
2015-06-22sample: add gst_sample_set/get_buffer_list apisHyunjun2-0/+53
Allowed to set/get buffer list to sample if needed https://bugzilla.gnome.org/show_bug.cgi?id=751026
2015-06-18doc: Unify Since mark for attribute and enumNicolas Dufresne4-10/+10
As this show up as prose in the doc, simply make it consistent and "arguable" nicer to read.
2015-06-18doc: Remove parenthesis around Since:Nicolas Dufresne1-1/+1
This confuse the parser, hence it does not endup in the doc and the index properly.
2015-06-19Add GstParentBufferMetaJan Schmidt2-2/+183
A core meta which helps implement the old concept of sub-buffering in some situations, by making it possible for a buffer to keep a ref on a different parent buffer. The parent buffer is unreffed when the Meta is freed. This meta is used to ensure that a buffer whose memory is being shared to a child buffer isn't freed and returned to a buffer pool until the memory is. https://bugzilla.gnome.org/show_bug.cgi?id=750039
2015-06-16gi: Use INTROSPECTION_INIT for --add-init-sectionNicolas Dufresne1-1/+1
This new define was added to common. The new init section fixed compilation warning found in the init line that was spread across all files.
2015-06-15clock: Fix _STIME_FORMAT macrosNicolas Dufresne1-9/+2
This macro didn't work well as it relied on the sign on the last divided number (number of days). This value is most of the time zero, and zero is considered positive in printf. Instead, deal with the sign manually, and resuse the original macros for the rest. This actually simplify the macro a lot.
2015-06-14doc: More doc warning fixesNicolas Dufresne4-5/+5
So from this point, the remaining warning for libgstreamer are about protected member not showing in the doc. This may need some discussion with upstream gtk-doc people. * Remove % in from of none macro * Fixed GST_TYPE_FAGS -> GST_TYPE_FAG_SET * Minor wording fix * Can't link to GstUri.port, so split the .port part
2015-06-14doc: In GstUri we meant nul-terminated, not %NULLNicolas Dufresne1-1/+1
%NULL refers to the pointer. I've written it this way in one word as this is what GLib uses.
2015-06-13doc: Cannot reference GST_PACKAGE_RELEASE_DATETIMENicolas Dufresne1-1/+1
So simply remove the % sign.
2015-06-13doc: Fix typo in ref _clock_wait_for_sync()Nicolas Dufresne1-1/+1
2015-06-13doc: Fix GstUri doc typosNicolas Dufresne1-3/+3
* Use &perctn; instead of reserved character % * NULL take two L
2015-06-13doc: Fix Since: marksNicolas Dufresne9-16/+16
There was few Since: mark missing their column. Also unify the way we set the Since mark on enum value and structure members. These sadly don't show up in the index.
2015-06-13doc: Add gst_buffer_copy_deep()Nicolas Dufresne1-0/+2
2015-06-13doc: Remove uneeded protectionevent sectionNicolas Dufresne1-21/+13
These functions are part of gstevent section already. Keep the doc, since it's good.
2015-06-13taglist: Add missing scope to func paramNicolas Dufresne1-2/+2
This tell GI if this function is for actions (call) or is the answer of this method being asynchronous (async). In this case it's a call. This also silence warning from the GI scanner.
2015-06-13gstprotection: Add missing Since 1.6 markNicolas Dufresne1-0/+2
2015-06-13gstprection: _add_protection_meta() is transfer noneNicolas Dufresne1-1/+1
Just like gst_buffer_add_meta() this function should also be transfer none. This also silence a gi warning about returning a copy of a non boxed bare structure.