summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-08-04tests: Add unit tests for GstNetControlMessageMetanetmeta-checkWilliam Manley3-1/+139
2015-08-04tests: Add tests for `GstNetAddressMeta`William Manley2-0/+141
This is a prepatory step for adding tests for `GstNetControlMessageMeta`. `GstNetControlMessageMeta` is likely to be harder to test than `GstNetAddressMeta`, so this commit helps by focusing on the aspects of GstMeta that need to be tested.
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
2015-07-08adapter: unit test for new get_(buffer_)listHyunjun Ko1-0/+98
2015-07-08baseparse: put buffer in a correct state after gst_adapter_get_buffer callArnaud Vrac1-0/+2
We must make the buffer writable to write its PTS and DTS, and also reset its duration. The behaviour is now the same as before commit c3bcbadd, except metas might still be attached to the buffer extracted from the adapter. https://bugzilla.gnome.org/show_bug.cgi?id=752092
2015-07-07harness: fix indentation and replace stress test function macrosTim-Philipp Müller1-119/+164
These screw with indentation and seem a bit trivial. Just copy'n'paste.
2015-07-07meta: transform_func: return FALSE if not supported or failedHyunjun Ko4-4/+16
https://bugzilla.gnome.org/show_bug.cgi?id=751778
2015-07-07identity: refactor and add tests using GstHarnessHavard Graff2-70/+130
Writing a test for unscheduling the gst_clock_id_wait inside the identity element, found an invalid read, caused by removing the clock-id when calling _unschedule instead of letting the code calling _wait remove the clock-id after being unscheduled. https://bugzilla.gnome.org/show_bug.cgi?id=752055