summaryrefslogtreecommitdiff
path: root/gst
AgeCommit message (Collapse)AuthorFilesLines
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.
2015-06-13gstprotection: Add missing namespace to macroNicolas Dufresne2-6/+11
GST_PROTECTION_SYSTEM_ID_CAPS_FIELD was missing the GST_ namespace. Add it before its too late.
2015-06-13doc: Keep SECTION: after the ifdefNicolas Dufresne1-3/+4
Otherwise GTK doc will see it as often as we include that files and warn about duplicated SECTION:
2015-06-13gi: Skip mini object method that play with refcountingNicolas Dufresne1-5/+5
It make no sense to allow using that. Any use would lead to leak of crash. Note that GMiniObject is entirely unusable as you cannot cast from let's say GstBuffer to GstMiniObject.
2015-06-13doc: Fix annoation for GstMiniObjectNicolas Dufresne1-5/+1
Replacing reprecated "Ref Func:", "Unref Fun:" etc. comment block with appropriate (ref-func name) etc. annotation.
2015-06-13doc: Fix unbalanced parenthesisNicolas Dufresne1-1/+1
2015-06-13doc: Fix more typoNicolas Dufresne1-1/+1
2015-06-13doc: Fix type in previous commitNicolas Dufresne1-1/+1
Marker is (value .. not (alue.
2015-06-13doc: Don't use deprecated Value: and Type: commentNicolas Dufresne2-48/+12
Instead use appropriate annotation. Annotations can be added to the right of the constant name in a comment block.
2015-06-12clock: Add signed time utilitiesNicolas Dufresne1-0/+52
Add utility to print signed value of time. This is useful to trace running time values in gint64 or GstClockTimeDiff values. Additionally, define GST_CLOCK_STIME_NONE to indicate an invalid signed time value and validation macro. New macros are: GST_CLOCK_STIME_NONE GST_CLOCK_STIME_IS_VALID GST_STIME_FORMAT GST_STIME_ARGS https://bugzilla.gnome.org/show_bug.cgi?id=740575
2015-06-12message: add allow-none to gst_message_new_ functionThiago Santos1-26/+26
No restriction for creating messages without a source
2015-06-12memory: provide a mem_map_full that takes the GstMapInfoMatthew Waters3-10/+32
Follow up of 7130230ddb349d0ca7942abdba26b7558df055d1 Provide the memory implementation the GstMapInfo that will be used to map/unmap the memory. This allows the memory implementation to use some scratch space in GstMapInfo to e.g. track different map/unmap behaviour or store extra implementation defined data about the map in use. https://bugzilla.gnome.org/show_bug.cgi?id=750319
2015-06-11pipeline: Add gst_pipeline_set_latency(), getter and GObject propertySebastian Dröge2-1/+155
This overrides the default latency handling and configures the specified latency instead of the minimum latency that was returned from the LATENCY query. https://bugzilla.gnome.org/show_bug.cgi?id=750782
2015-06-08Add GST_BUFFER_FLAG_SYNC_AFTER flag, and implement in filesink.Jan Schmidt1-0/+4
Makes it possible to get filesink to fsync() after rendering a buffer.
2015-06-03clock: Add GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC and related APISebastian Dröge2-1/+152
gst_clock_wait_for_sync(), gst_clock_is_synced() and gst_clock_set_synced() plus a signal to asynchronously wait for the clock to be synced. This can be used by clocks to signal that they need initial synchronization before they can report any time, and that this synchronization can also get completely lost at some point. Network clocks, like the GStreamer netclientclock, NTP or PTP clocks are examples for clocks where this is useful to have as they can't report any time at all before they're synced. https://bugzilla.gnome.org/show_bug.cgi?id=749391
2015-06-03memory: provide a mem_unmap function that takes the flags to unmapMatthew Waters3-10/+24
There are gstmemory's available that operate in two memory domains and need to ensure consistent access between these domains. Imagine a scenario where e.g. the GLMemory is mapped twice in both the GPU and the CPU domain. On unmap or a subsequent map, it would like to ensure that the most recent data is available in the memory domain requested. Either by flushing the writes and/or initiating a DMA transfer. Without knowing which domain is being unmapped, the memory does not know where the most recent data is to transfer to the other memory domain. Note: this still does not allow downgrading a memory map. https://bugzilla.gnome.org/show_bug.cgi?id=750319
2015-06-03memory: gst_memory_share may fail to exclusively lock the parent memoryMatthew Waters1-0/+21
Now that locking exclusively dows not always succeed, we need to signal the failure case from gst_memory_init. Rather than introducing an API or funcionality change to gst_memory_init, workaround by checking exclusivity in the calling code. https://bugzilla.gnome.org/show_bug.cgi?id=750172
2015-06-03buffer: locking memory exclusively may failMatthew Waters1-14/+52
Attempt to return a copy of the memory instead. https://bugzilla.gnome.org/show_bug.cgi?id=750172
2015-06-03miniobject: disallow a double write/exclusive lockMatthew Waters1-4/+6
gst_memory_lock (mem, WRITE | EXCLUSIVE); gst_memory_lock (mem, WRITE | EXCLUSIVE); Succeeds when the part-miniobject.txt design doc suggests that this should fail: "A gst_mini_object_lock() can fail when a WRITE lock is requested and the exclusive counter is > 1. Indeed a GstMiniObject object with an exclusive counter 1 is locked EXCLUSIVELY by at least 2 objects and is therefore not writable." https://bugzilla.gnome.org/show_bug.cgi?id=750172
2015-06-02uri: match return type of get_uri_type() implementation to declarationTim-Philipp Müller1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=750292
2015-06-03gstbuffer: Add a note about metas needing to be copied lastJan Schmidt1-0/+3
2015-06-03gstvalue: Implement gst_value_is_subset() for flagsetsJan Schmidt1-0/+28
2015-05-31structure: add note about missing field creation on _set()Reynaldo H. Verdejo Pinochet1-1/+2
2015-05-27gst/gst.c: Add a warning about DllMain to prevent misuseNirbheek Chauhan1-0/+11
DllMain should not be relied on for anything except storing the DLL handle. It should also not be defined for static builds, but doing so is not straightforward and is mostly harmless, so let's just add a comment about that for now.
2015-05-25gstvalue: Add GstFlagSet typeJan Schmidt4-81/+648
GstFlagSet is a new type designed for negotiating sets of boolean capabilities flags, consisting of a 32-bit flags bitfield and 32-bit mask field. The mask field indicates which of the flags bits an element needs to have as specific values, and which it doesn't care about. This allows efficient negotiation of arrays of boolean capabilities. The standard serialisation format is FLAGS:MASK, with flags and mask fields expressed in hexadecimal, however GstFlagSet has a gst_register_flagset() function, which associates a new GstFlagSet derived type with an existing GFlags gtype. When serializing a GstFlagSet with an associated set of GFlags, it also serializes a human-readable form of the flags for easier debugging. It is possible to parse a GFlags style serialisation of a flagset, without the hex portion on the front. ie, +flag1/flag2/flag3+flag4, to indicate that flag1 & flag4 must be set, and flag2/flag3 must be unset, and any other flags are don't-care. https://bugzilla.gnome.org/show_bug.cgi?id=746373
2015-05-20gstvalue: Add a comparision function for GstStructuresThibault Saunier1-1/+13
2015-05-15pad: bump chain function call logs from LOG to DEBUGVincent Penquerc'h1-4/+4
They're really useful compared to other LOG stuff in there, so there is value is including them and not the rest.
2015-05-15gstobject: add gst_object_has_as_ancestor and deprecate previous functionStefan Sauer2-2/+31
The old gst_object_has_ancestor will call the new code. This establishes the symetry with the new gst_object_has_as_parent. API: gst_object_has_as_ancestor()
2015-05-15gstobject: rename gst_object_has_parent to gst_object_has_as_parentStefan Sauer2-3/+3
This avoid confusion with a potential punction that check if a gstobject has-a parent. API: gst_object_has_as_parent()
2015-05-10docs: gst-launch -> gst-launch-1.0 in example pipelinesTim-Philipp Müller1-1/+1
And some small example pipeline fix-ups.
2015-05-01event: remove duplicated includeJimmy Ohn1-1/+0
https://bugzilla.gnome.org/show_bug.cgi?id=748739