summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-08-08devicemonitor: add method to show all devicesHEADmasterWim Taymans3-13/+119
Add a property to see all devices, even duplicate ones from hidden providers.
2015-08-08deviceprovider: Add method to hide devices from a providerWim Taymans4-7/+236
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-05basesink: Only drop buffer if their PTS is out of segmentNicolas Dufresne1-2/+13
As of now, even for stream completly inside segment, there is no guarantied that the DTS will be inside the segment. Specifically for H.264 with B-Frames, the first few frames often have DTS that are before the segment. Instead of using the sync timestamp to clip out of segment buffer, take the duration from the start/stop provided by the sub-class, and check if the pts and pts_end is out of segment. https://bugzilla.gnome.org/show_bug.cgi?id=752791
2015-08-05harness: don't run code inside g_assertLuis de Bethencourt1-34/+63
Even though asserts can't be disabled in GstHarness, Coverity still complains about running code inside them. Moving the code to outside the g_asserts(). CID #1311326, #1311327, #1311328
2015-08-04devicemonitor: get a list of currently monitored providersWim Taymans3-0/+48
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-04queue2: not update upstream size with negative valueEunhae Choi1-1/+7
upstream_size can be negative but queue->upstream_size is unsigned type. to get a chance to update queue->upstream_size in gst_queue2_get_range() it should keep the default value. https://bugzilla.gnome.org/show_bug.cgi?id=753011
2015-08-04buffer: Remove extra debug symbol from exportsJan Schmidt2-2/+1
Don't export the debug variable for the parent_buffer_meta. This was accidentally exported and shouldn't be public
2015-08-04filesink: use GST_INFO_OBJECT for more detailStefan Sauer1-2/+2
Helps to distiguish multiple filesinks.
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-30tests: baseparse: fix buffer leak in unit testTim-Philipp Müller1-0/+1
Fixes make check-valgrind
2015-07-28doc/seekflags: Fix cross referencesNicolas Dufresne1-16/+17
This fixes miss-use of @ instead of % to refer to enumeration values.
2015-07-28docs: add a few more new symbols and definesTim-Philipp Müller1-0/+12
2015-07-28doc/capsfilter: Document filtering modesNicolas Dufresne1-0/+7
This is documentation for the HTML documentation.
2015-07-28doc/filesink: Add BufferMode enumerationNicolas Dufresne3-8/+26
This is purely for documentation purpose. This way the values will show up in the HTML documentation.
2015-07-28doc/gsthardness: Fix typo in GstAllocationParamsNicolas Dufresne1-5/+4
It's not GstAllocatorParams but GstAllocationParams.
2015-07-28doc/gstharness: Remove unknown parameterNicolas Dufresne1-1/+0
sink_elenment_name is not a parameter of gst_harness_add_sink_harness() function, but still it show up in documentation.
2015-07-28capsfilter: Only remember previous filter caps if they were actually used ↵Sebastian Dröge2-2/+8
for something If nobody ever saw the previous filter caps, nothing could've negotiated with them and we can just pretend they never existed at all.
2015-07-28capsfilter: When switching caps change modes, forget all previous capsSebastian Dröge1-1/+13
2015-07-27basetransform: Return FLOW_FLUSHING if negotiation fails during shutdownOlivier Crête1-0/+2
https://bugzilla.gnome.org/show_bug.cgi?id=752800
2015-07-22harness: Fix indendationOlivier Crête1-2/+2
2015-07-22basetransform: Avoid increasing query referenceNicolas Dufresne1-4/+14
gst_query_find_allocation_meta() requires the query to be writable to work. This patch ensure avoids taking a reference on the query, so we can now check if a certain allocation meta is present. https://bugzilla.gnome.org/show_bug.cgi?id=752661
2015-07-22docs: fix description of gst_buffer_extract_dup()Tim-Philipp Müller1-2/+2
No GBytes involved.
2015-07-21concat: dot not reset pad states too earlyThiago Santos1-20/+10
Resetting the flushing state of the pads at the end of the PAUSED_TO_READY transition will make pads handle serialized queries again which will wait for non-active pads and might cause deadlocks when stopping the pipeline. Move the reset to the READY_TO_PAUSED instead. https://bugzilla.gnome.org/show_bug.cgi?id=752623
2015-07-20harness: add functions for adding sub-harnesses directlyHavard Graff4-30/+70
By introducing gst_harness_add_src_harness and gst_harness_add_sink_harness we collect all sub-harness setup in one function, making the previous sub-harness creation functions now calls these directly, and making it much easier (and less error-prone) to add your own src or sink-harness using the more generic harness-creation functions.
2015-07-17baseparse: Don't override gst_segment_do_seek()Nicolas Dufresne1-2/+0
This line has no purpose, clearly gst_segment_do_seek() is doing the right job, also, having the start time (a timestamp) be that same as time (the stream time) is quite odd. https://bugzilla.gnome.org/show_bug.cgi?id=750783
2015-07-17baseparse: Fix extrapolation of seeksegment.stopNicolas Dufresne1-4/+6
The stop shall be relative to start if extrapolated from the duration. https://bugzilla.gnome.org/show_bug.cgi?id=750783
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-16harness: fix indentationTim-Philipp Müller1-5/+5
2015-07-16harness: fix pad template leakTim-Philipp Müller1-1/+5
2015-07-16docs: drop reference to sourceforge mailing list adressTim-Philipp Müller1-2/+1
2015-07-16harness: don't re-establish the harness sink and src padsHavard Graff1-2/+6
Given that the element has the possibility to have one, they should already be there. https://bugzilla.gnome.org/show_bug.cgi?id=752498
2015-07-16harness: Improve detection of element typeStian Selnes2-36/+66
The element flag does not indicate wether a bin should be tested as a source or as a sink, eg. a bin with the sink flag may still have a source pad and a bin with the source flag may have a sink pad. In this case it is better to determine the element type by looking at the available pads and pad templates. Also rename srcpad and sinkpad where it actually represents element_srcpad_name and element_sinkpad_name. https://bugzilla.gnome.org/show_bug.cgi?id=752493
2015-07-16harness: Forward sticky events to sink harnessStian Selnes1-0/+10
Fixes issue where if a sink harness was added late the sticky events would not be forwared. https://bugzilla.gnome.org/show_bug.cgi?id=752494
2015-07-16harness: make header nicer to readTim-Philipp Müller1-87/+187
2015-07-16docs: add new function to API docsTim-Philipp Müller1-0/+1
2015-07-15device: add generic struct with propertiesWim Taymans3-14/+55
Add a generic structure to hold any additional properties about the device.
2015-07-14tee: fix typo in allow-not-linked property descriptionTim-Philipp Müller1-2/+2
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-10baseparse: estimate duration on EOSVineeth TM1-0/+3
For files which are smaller than 1.5 seconds, the duration estimation does not happen. So the duration will always be displayed as 0. Updating the duration on EOS when the estimation has not happened already https://bugzilla.gnome.org/show_bug.cgi?id=750131
2015-07-10adapter: change log message properlyHyunjun Ko1-6/+6
https://bugzilla.gnome.org/show_bug.cgi?id=752116
2015-07-08docs: add StreamidDemux to documentationJustin Joy2-3/+18
https://bugzilla.gnome.org/show_bug.cgi?id=749873
2015-07-08adapter: fix to get valid (buffer_)listHyunjun Ko1-9/+40
get_list/get_buffer_list should be done with buffers in adapter remaining while take_list/take_buffer_list flushes each buffer one by one. https://bugzilla.gnome.org/show_bug.cgi?id=752116