Wim Taymans
dc3d3674b1
queue2: add test for ringbuffer deadlock
2012-04-11 12:45:43 +02:00
Alexander Saprykin
932e063ec2
tocsetter: fix memory leaks in unit test
2012-04-11 10:02:21 +02:00
Alexander Saprykin
43c5930d17
toc: fix memory leaks in unit test
2012-04-11 10:02:06 +02:00
Tim-Philipp Müller
c31acbe4f9
tests: add new toc test binaries to .gitignore
2012-04-07 16:05:33 +01:00
Alexander Saprykin
4b6969c2a6
gstchecks: Add unit test for the GstTocSetter
2012-04-02 21:50:55 +02:00
Alexander Saprykin
936f524ee5
gstchecks: Add unit test for the GstToc
2012-04-02 21:50:55 +02:00
Tim-Philipp Müller
799d69b038
tests: add minimal basesrc ! sink seeking unit test
...
Should reproduce 'GStreamer-WARNING **: wrong STREAM_LOCK count 0'
warnings (with make pipelines/seek.torture or pipelines/seek.forever
anyway, since it appears to be racy).
https://bugzilla.gnome.org/show_bug.cgi?id=670846
2012-03-08 16:19:55 +00:00
Tim-Philipp Müller
64effe78e7
tests: make datetime test more reliably when comparing two almost identical nows
...
Account for rounding errors in some places, and that two nows are
not always entirely identical, so allow some leeway when comparing
microseconds and seconds. Ran into this too often, esp. when the
system is under load.
2012-02-27 09:37:22 +00:00
Mark Nauwelaerts
4f697df84c
tests: clockstress: perform sanity check on thread number argument
2012-01-19 12:58:29 +01:00
David Schleef
3664bfd367
convert Makefile spaces to tabs
2011-12-31 17:38:15 -08:00
Sebastian Dröge
7d3760b4b7
selector: Push newsegment events before any buffers are pushed in the unit test
2011-12-07 11:04:42 +01:00
Tim-Philipp Müller
a8b79513c1
benchmarks: g_thread_create() is deprecated in GLib master, use g_thread_try_new() instead
2011-12-04 13:09:53 +00:00
Tim-Philipp Müller
33078aaeb7
buffer: add gst_buffer_{set,get}_qdata()
...
Allows people/us to attach arbitrary metadata to buffers.
https://bugzilla.gnome.org/show_bug.cgi?id=664720
API: gst_buffer_set_qdata()
API: get_buffer_get_qdata()
2011-11-25 17:42:07 +00:00
Stefan Sauer
147fa8b1f7
Android: build audio controller example
...
Add buildsystem hooks for building the audiocontroller example
with the NDK.
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@collabora.com>
2011-11-09 09:49:20 -03:00
Stefan Sauer
631d3e6f06
tests: add a subset test for structure
2011-11-09 11:24:26 +01:00
René Stadler
ab8d5874b0
tests: pad: add test to verify flushing behaviour
...
Seems like a trivial case, but this was actually broken in 0.11 recently.
2011-11-08 12:22:21 +01:00
Nicolas Dufresne
391568efde
ghostpad: Don't cache internal proxy pad target
...
The internal proxy pad target is simply a cache of the internal proxy pad
peer. This patch uses the well implement GstPad peer handling to obtain the
target. This fixes issues with target not being set in both direction when
two ghostpads are linked together (empty bin).
https://bugzilla.gnome.org/show_bug.cgi?id=658517
2011-11-03 09:27:00 +01:00
Tim-Philipp Müller
19b4c9c793
pluginfeature: deprecate gst_plugin_feature_type_name_filter()
...
It's only used internally anyway and the helper struct
has namespace issues.
API: deprecated gst_plugin_feature_type_name_filter()
API: deprecated GstTypeNameData
2011-10-30 21:47:26 +00:00
Tim-Philipp Müller
606c53fc94
taglist: add to_string and new_from_string functions
...
We want to make GstTagList opaque and not have people use
GstStructure API on it.
API: gst_tag_list_to_string()
API: gst_tag_list_new_from_string()
2011-10-30 09:58:16 +00:00
Tim-Philipp Müller
cdade325ae
taglist: add gst_tag_list_is_equal()
...
API: gst_tag_list_is_equal()
2011-10-30 01:44:00 +01:00
Tim-Philipp Müller
6ce1fe1bb2
tests: add minimal test for GstAtomicQueue
...
Just new + free.
2011-09-30 14:50:51 +01:00
Tim-Philipp Müller
51764c3f44
examples: fix bogus g_object_unref in helloworld example
...
GMainLoop is not a GObject.
https://bugzilla.gnome.org/show_bug.cgi?id=424143
2011-09-25 16:12:54 +01:00
Tim-Philipp Müller
1051eddd4c
tests: make sure filesrc returns escaped URIs even if the input was unescaped
...
https://bugzilla.gnome.org/show_bug.cgi?id=654673
2011-09-13 21:58:21 +01:00
Piotr Fusik
14f5518f3d
docs, gst: typo fixes
...
https://bugzilla.gnome.org/show_bug.cgi?id=658449
2011-09-07 18:03:17 +01:00
Josep Torra
97379e8f49
stepping: use the proper argument order
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:15 +02:00
Tim-Philipp Müller
5164d5b5bf
tests: make sure non-ASCII chars in filenames are escaped when creating URIs from them
...
https://bugzilla.gnome.org/show_bug.cgi?id=654673
2011-07-16 12:24:01 +01:00
David Schleef
f3eac7de22
Work around changes in g_atomic API
...
See #651514 for details. It's apparently impossible to write code
that avoids both type punning warnings with old g_atomic headers and
assertions in the new. Thus, macros and a version check.
2011-06-04 00:36:26 -07:00
Edward Hervey
c5ae6eed10
check/abi: Ignore GstXML* on arm when not present
2011-06-01 15:29:20 +02:00
Sebastian Dröge
f304196148
caps: Fix subset check for equivalent lists and scalar values
...
For example "{ 1 }" and "1" are not strictly equal but
both are a subset of each other. Also add a unit test
for this.
2011-05-30 07:38:40 +02:00
Sebastian Dröge
d98e9acb0f
caps: Optimize gst_caps_is_subset()
...
..and as a result gst_caps_is_equal() and others.
This now only checks if for every subset structure there is
a superset structure in the superset caps. Previously we were
subtracting one from another, creating completely new caps
and then even simplified them.
The new implemention now is about 1.27 times faster and doesn't
break the -base unit tests are anything anymore.
2011-05-27 13:38:51 +02:00
Sebastian Dröge
0cf2dfd0ba
caps: Fix subset check in gst_caps_merge()
...
Caps A are a subset of caps B even if caps B doesn't
have all fields of caps A.
Also add a unit test for this.
2011-05-27 13:37:06 +02:00
Stefan Kost
e7659aeecd
manual: put generated sources to BUILT_SOURCES and clean them on make clean
2011-05-18 14:59:45 +03:00
Stefan Kost
0df5f9abb9
manual: reinsert missing space to fix previous commit
2011-05-18 14:10:33 +03:00
Stefan Kost
51fc15e99d
manual: simplify the snipet extraction rules
...
Use $< instead of repeating the name of the dependency.
2011-05-18 13:54:42 +03:00
Stefan Kost
12b804f18f
manual: don't extract the xml example anymore, its gone
...
As a followup for commit cda5a353d2
don't try
extracting an example that has been removed.
2011-05-18 12:30:24 +03:00
José Alburquerque
cf671d7b0a
miniobject: Add weak referencing functionality
...
API: gst_mini_object_weak_ref()
API: gst_mini_object_weak_unref()
Add weak referencing functionality to GstMiniObject, which
allows to get notifications when an mini object is destroyed
but doesn't increase the real refcount. This is mostly
useful for bindings.
Fixes bug #609473 .
2011-05-14 11:39:35 +02:00
Sebastian Dröge
a216426bb6
ghostpad: API: Expose gst_proxy_pad_get_internal()
...
This allows to get the internal pad of ghostpads and
proxypads without using gst_pad_iterate_internal_links()
and is much more convenient.
The internal pad of a ghostpad is the pad of the opposite direction
that is used to link to the ghostpad target.
2011-05-14 11:39:34 +02:00
Sebastian Dröge
6e57ce32e5
caps: Merge structures when intersecting instead of appending them
...
This prevents adding duplicates over and over again to the resulting
caps if they already describe the new intersection result.
While this changes intersection from O(n*m) to O(n^2*m), it results in
smaller caps, which in the end will decrease further processing times.
For example in an audioconvert ! audioconvert ! audioconvert pipeline,
when forwarding the downstream caps preference in basetransform
(see e26da72de25a91c3eaad9f7c8b2f53ba888a0394) this results in
16 instead of 191 caps structures.
2011-05-14 11:39:34 +02:00
Miguel Angel Cabrera Moya
f450817d7f
parse: don't unescape inside quotes
...
Escaped characters inside quoted strings are supposed to be unescaped by
deserialization functions, not by parsing functions.
https://bugzilla.gnome.org/show_bug.cgi?id=648025
2011-05-14 11:39:34 +02:00
Tim-Philipp Müller
d72f559d29
tests: fix compiler warning in new miniobject test
...
gst/gstminiobject.c: In function ‘test_dup_null_mini_object’:
gst/gstminiobject.c:459:7: warning: assignment from incompatible pointer type
2011-05-04 15:30:41 +01:00
Thiago Santos
a750aac2dd
miniobject: Fix dup_mini_object function to handle NULL gvalues
...
g_value_dup_object handles gvalues that contain NULL pointers,
gst_value_dup_mini_object should do the same.
https://bugzilla.gnome.org/show_bug.cgi?id=649195
2011-05-03 08:15:51 -03:00
Tim-Philipp Müller
0783046100
tests: clean up properly in the bin test_link_structure_change unit test
...
Don't forget to set the pipeline back to NULL state, which makes
valgrind happy again.
2011-04-24 11:48:21 +01:00
Tim-Philipp Müller
e029aeef9e
tests: add simple pipeline-in-pipeline unit test
...
https://bugzilla.gnome.org/show_bug.cgi?id=648297
2011-04-21 12:33:10 +01:00
Sebastian Dröge
b44d555865
multiqueue: Don't leak pads in the named pads unit test
2011-04-14 09:07:25 +02:00
David Schleef
0b6430f6e8
parser: Allow element names to begin with digits
2011-04-13 12:24:12 -07:00
David Schleef
e9afe72710
tests: Add test for greatest common divisor
2011-04-13 10:31:03 -07:00
Tim-Philipp Müller
0e94961069
tests: fix unusued-but-assigned-variable warnings with gcc 4.6
2011-04-11 15:08:30 +01:00
Tim-Philipp Müller
8ba64e4e5d
tests: disable test_many_bins unit test for now
...
It fails on the OSX bot (both with git and the last release), and
it doesn't really test anything useful, so may just as well disable
it for now.
2011-04-11 13:04:32 +01:00
Tim-Philipp Müller
6ca7284a54
tests: allow more time for the test_many_bins pipeline to preroll
...
Hopefully makes this test work on the OSX build bot and other
not-so-powerful machines.
https://bugzilla.gnome.org/show_bug.cgi?id=646624
2011-04-11 12:04:34 +01:00
Sebastian Dröge
b17537d14d
utils: Fix uninitialized variable compiler warnings
2011-04-08 09:20:28 +02:00