Thiago Santos
77353dad21
tag: xmp: Keep compatibility with our old generated xmp
...
We used to add a trailing \n to the end of generated xmp packets.
Windows viewer was unhappy with it and we fixed it in
96d2120c2b
The problem is that this caused xmp generated before this fix
to not be recognized and parsed anymore. This patch makes it
recognize xmp with the trailing \n and without, fixing the
regression. Also adds tests for it.
2011-12-22 08:12:28 -03:00
Tim-Philipp Müller
5037b39883
video: add seqnum getters for overlay compositions and rectangles
...
API: gst_video_overlay_composition_get_seqnum()
API: gst_video_overlay_rectangle_get_seqnum()
2011-12-07 17:57:08 +00:00
Tim-Philipp Müller
b58b8b1ba5
tests: fix calculation of last pixel offset in video unit test
...
And check the right buffer (pix2) in one case.
2011-12-06 20:31:54 +00:00
Tim-Philipp Müller
d59648a47f
examples: fix build of fft example
...
Should link against our own libgstfft-0.10.
2011-12-06 15:01:05 +00:00
Tim-Philipp Müller
8b8dd06de4
examples: dist fft sub-directory
2011-12-05 15:37:04 +00:00
Tim-Philipp Müller
00d6ffd9f5
tests: add basic unit test for video overlay composition and rectangles
2011-12-05 15:37:02 +00:00
Tim-Philipp Müller
ff6cc8af82
tools, tests: g_thread_init() is deprecated in glib master
...
It's not needed any longer.
2011-12-04 17:16:36 +00:00
Stefan Sauer
5398950012
fft-example: re-add Makefile.am
2011-12-04 13:43:06 +01:00
Stefan Sauer
3fb41e2cc3
tests: add a test for fft result value-ranges
...
Add a small example that uses ffts of various types and parameters and check the
result value ranges.
2011-12-02 23:34:47 +01:00
Piotr Fusik
14644457b0
various: typo fixes
...
Fix typos in code and docs. Fixes. #658984
2011-12-02 12:03:27 +01:00
Tim-Philipp Müller
3c87d7dc77
tests: fix caps leak in audioresample tests
2011-12-01 01:22:19 +00:00
Tim-Philipp Müller
c58d4f54d6
tests: fix memory leak in basetime test
2011-12-01 01:07:26 +00:00
Vincent Penquerc'h
96374054ac
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:09:02 +00:00
Tim-Philipp Müller
12aab2cdcc
tests: require Gtk+ 3.0 for examples and Gtk-based test apps
...
The Gtk+ dependency is entirely optional, we're just not
supporting Gtk+ 2.x any longer.
2011-11-12 15:51:52 +00:00
Tim-Philipp Müller
c6c6c2e75e
examples: sprinkle GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS in seek test utility
...
https://bugzilla.gnome.org/show_bug.cgi?id=630497
2011-11-07 23:41:33 +00:00
Vincent Penquerc'h
e13ff2521c
valgrind: add ALSA leaks fixed by snd_config_update_free_global
...
If they go when calling snd_config_update_free_global, they're
not really bug leaks, but more like intentional ones we don't
want to get told about.
https://bugzilla.gnome.org/show_bug.cgi?id=615342
2011-11-07 12:20:12 +00:00
Jan Schmidt
1a7acdc99e
build: Fix build for moved volume subdir
2011-10-27 23:39:31 +11:00
Stefan Sauer
92d1f5251e
volume: move volume example to audio
2011-10-27 09:51:46 +02:00
Stefan Sauer
3a3b3a5b3b
audio examples. fix the makefile
2011-10-27 09:42:36 +02:00
Stefan Sauer
76d455825d
volume: make global vars static
2011-10-27 09:35:06 +02:00
Stefan Sauer
69fc8e9ffc
audiomix: add a simple audiomix example
2011-10-27 09:35:06 +02:00
Mark Nauwelaerts
7b56261acf
tests: vorbisenc: adjust discontinuity checking to audioencoder behaviour
...
... which still detects gaps and marks DISCONT, depending on configuration,
but may come up with somewhat different timestamps when crossing the gap.
2011-10-08 20:50:10 +02:00
Mark Nauwelaerts
9e72c4790c
tests: vorbisdec: properly configure audiodecoder when requiring perfect ts
2011-10-08 20:50:08 +02:00
Mark Nauwelaerts
12b54cccd1
tests: vorbisdec: remove empty header buffer check
...
... as empty buffers are discarded, and header buffers are now
also optionally retrieved from caps anyway.
2011-10-08 20:50:06 +02:00
Vincent Penquerc'h
be39ab28c3
tests: actually test what we said we would
...
All tests were testing the default sine wave
https://bugzilla.gnome.org/show_bug.cgi?id=661106
2011-10-06 20:46:03 +02:00
Sjoerd Simons
8ab3947733
videorate: Add tests for the max-rate case
2011-09-21 11:24:59 +01:00
Sjoerd Simons
8c9e6346b4
videorate: Print which caps didn't match up
2011-09-21 11:24:59 +01:00
Sjoerd Simons
ee3dfd4471
videorate: Add test for caps negotiation
2011-09-21 11:24:59 +01:00
Sebastian Dröge
7e1e169b1b
decodebin2: Fix unit test by strictly implementing parser behaviour instead of relying on basetransform
2011-09-20 13:46:41 +02:00
Sebastian Dröge
0e54d2c343
decodebin2: Don't use bufferalloc in the test elements
...
This will cause not-linked errors that usually don't happen
because normal decoders/parsers will set srcpad caps before
allocating buffers from downstream.
2011-09-07 16:44:59 +02:00
Sebastian Dröge
2d1dd857aa
audiorate: Use complete audio caps, including the endianness field
2011-09-07 14:10:46 +02:00
Sebastian Dröge
490518cfa6
decodebin2: Add unit test for correct parser/converter negotiation
2011-09-06 13:16:44 +02:00
Sebastian Dröge
a883ecfc31
decodebin2: Add Tim as author for the parser test
2011-09-06 13:16:44 +02:00
Stefan Sauer
81c9459771
tests: supress ERROR log output for some tests
...
Be nice when we tests for correct error handling and don't spam stdout.
2011-09-05 15:52:41 +02:00
Jan Schmidt
33d491a04f
seek: Accept pipeline descriptions for audiosink/videosink
...
Make the element_factory_make_or_warn utility function try parsing
the input string as a bin if element_factory_make() fails. This makes
the --audiosink/--videosink commandline options accept a pipeline
string.
2011-08-30 18:21:31 +10:00
Tim-Philipp Müller
6d875c5ccd
tag: id3: avoid some more relocations in genre table
2011-08-16 12:27:25 +01:00
Vincent Penquerc'h
505bae099e
audioresample: add FFT based checks
...
Send a few simple tones through audioresample and check
that the main frequency spot is the same for the input and
the resampled output.
https://bugzilla.gnome.org/show_bug.cgi?id=656392
2011-08-16 08:14:18 +02:00
Thiago Santos
436c533624
tests: tag: exif: Add tests for 'non-trivial' chars
...
Adds two new cases to check that characters are properly
converted to ascii when writen to exif and parsed correctly
back to utf8 when read.
2011-08-10 17:46:01 -03:00
Tim-Philipp Müller
54e143c5e7
tag: add unit test for new license API
...
https://bugzilla.gnome.org/show_bug.cgi?id=646868
2011-08-10 10:34:22 +01:00
Stefan Sauer
7ca9c4ec40
basetime: fix failing test
...
Always use audiotestsrc as it seems to have been the intention according to the
comment header. The test does not work with live-audiosources.
2011-07-26 14:15:18 +02:00
Stefan Kost
4019e919f6
tests: rename the test suite to match the binary
...
This unbreaks determining the name for make elements/playbin2-compressed.check
from the test output.
2011-07-26 12:37:11 +02:00
Stefan Sauer
ed1f02e2a1
test: print actual timestamp on failure
2011-07-23 14:04:14 +02:00
Tim-Philipp Müller
69dcacf148
tests: add decodebin2 test for parser autoplugging
...
Make sure decodebin2 doesn't try to plug the same parser twice
in a row.
2011-07-15 16:47:44 +01:00
Tim-Philipp Müller
b3a39daed6
tests: add decodebin1 test for parser autoplugging
...
Make sure decodebin1 doesn't try to plug the same parser twice
in a row (so we can change all parsers to accept parsed input as
well without breaking applications still using the old decodebin1
element).
2011-07-15 16:41:10 +01:00
Thiago Santos
96d2120c2b
tag: xmp: Remove extra chars from end of xmp packet
...
Windows picture viewer is unhappy with extra trailing chars at the
end of the xmppacket footer. So remove them as they aren't needed.
2011-06-29 10:18:23 -03:00
Tim-Philipp Müller
dd97ccc293
tests: the navigation interface isn't GstImplementsInterface-wrapped
2011-06-26 21:07:52 +01:00
Christian Fredrik Kalager Schaller
9994945e70
Add missing dist subdir
2011-06-15 14:49:41 +01:00
David Schleef
4db89c82bb
convert M_PI to G_PI, for msvc
2011-06-10 23:56:34 -07:00
Tim-Philipp Müller
c692191c33
GST_PLUGINS_BASE_LIBS is not defined in -base.
2011-06-08 12:21:43 +01:00
Christophe Fergeau
a9b979d45f
examples: don't link testchannels example with system libgstaudio
...
The testchannels audio test program is using -lgstaudio-0.10 to link
with libgstaudio which won't use the gstaudio library that was just
built but the one from the system. This is an issue since it means
we won't be testing the code from the current source tree, and it
also breaks the build when building on a system which don't have
a libgstaudio yet.
https://bugzilla.gnome.org/show_bug.cgi?id=652100
2011-06-08 12:14:20 +01:00
Edward Hervey
974b7bd4ed
check: ... and don't forget to add the new arm header
...
Forgot it in my previous commit
2011-06-01 17:31:35 +02:00
Edward Hervey
fa298d13eb
libsabi: Add structure sizes for arm
2011-06-01 17:26:25 +02:00
Sebastian Dröge
8f967e9e70
volume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats
...
Also add a unit test for this. Previously volumes bigger than 4.0
would have resulted in overflows in the fixed point processing.
Fixes bug #649642 .
2011-05-31 11:07:11 +02:00
Tim-Philipp Müller
4f6da2bcbc
tests: fix some more unused-but-set-variable warnings with gcc 4.6
2011-05-29 13:32:04 +01:00
Tim-Philipp Müller
0a9600be50
Ignore new playbin2-compress test binary
...
And add old testchannels binary to CRUFT_FILES.
2011-05-28 12:39:06 +01:00
Stefan Kost
940291dd38
audio: move testchannels example to 'tests/examples' dir
...
Also fix it up a little to not include 'c' file but link to the libs instead.
2011-05-27 15:09:25 +03:00
Vladimir Eremeev
4c8fd85e8e
seek: set selected/default audio/video sinks on playbin and playbin2
...
https://bugzilla.gnome.org/show_bug.cgi?id=630322
2011-05-25 19:36:02 +01:00
Tim-Philipp Müller
2b12546e02
seek: add --audiosink and --videosink command line options
2011-05-25 19:25:34 +01:00
Tim-Philipp Müller
ee6fbc2874
seek: use the right GDK defines to differentiate between the backends
2011-05-25 19:25:34 +01:00
Tim-Philipp Müller
2ff8c8777f
seek: use gst_filename_to_uri() to convert a filename to a uri
2011-05-25 19:25:34 +01:00
Vladimir Eremeev
882ffb3b5b
seek: make seek example work in win32
...
https://bugzilla.gnome.org/show_bug.cgi?id=630322
2011-05-25 19:25:34 +01:00
Robert Swain
ad2010d379
gstvideo: Add gst_video_get_size_from_caps function
...
gst_video_get_size_from_caps () allows easy calculation of the raw video
buffer size from some fixed video caps.
API: gst_video_get_size_from_caps()
2011-05-18 14:13:46 +02:00
Thiago Santos
3c3a78f34a
encodebin: examples: Add missing base libs to makefile
2011-05-15 13:02:39 -03:00
Thiago Santos
f7c9f953cb
tests: xmp: New tests for the Iptc4xmpExt tags
2011-05-15 13:02:39 -03:00
Sebastian Dröge
b0e608e308
playbin2: Disable some compressed stream tests that are racy without a stream-activate event
2011-05-14 11:42:33 +02:00
Sebastian Dröge
0e9203df11
playbin2: Reset buffer counter in playbin2-compressed tests every time when going to READY
2011-05-14 11:42:33 +02:00
Sebastian Dröge
22dae31c2d
playbin2: Add unit test for compressed stream support in playbin2/playsink
2011-05-14 11:42:32 +02:00
Tim-Philipp Müller
0b5e203b19
tests: add unit test for basetransform/videoscale negotiation regression
...
Turn Rene's test pipeline into a unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=648220
2011-04-21 14:11:49 +01:00
Sebastian Dröge
37b3878047
oggmux: Remove bus GSource to prevent a valgrind warning
2011-04-18 10:19:52 +02:00
Sebastian Dröge
5d38f0d398
gio: Remove the bus GSource from the main context
...
Prevents a valgrind warning about possibly leaked memory,
see bug #647763 .
2011-04-18 09:20:30 +02:00
Tim-Philipp Müller
08a14d45b9
tests: list libs/struct*h files explicitly in Makefile.am
...
Hopefully makes the gentoo buildbot happy again.
2011-04-15 21:09:00 +01:00
Sebastian Dröge
86f679aaac
encodebin: Unref encoding profiles after usage in the test
2011-04-14 13:15:08 +02:00
Sebastian Dröge
10e0b85a56
encodebin: Release pads after setting the state to NULL in the unit test
...
See bug #647756 .
2011-04-14 12:55:00 +02:00
Thiago Santos
1b5a6395d2
tests: tag: Fix typo
2011-04-14 00:04:52 -03:00
Thiago Santos
e57473178b
tag: xmp: Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
...
Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION for xmp
library.
Includes unit tests.
2011-04-14 00:04:52 -03:00
Thiago Santos
dae1c37dfe
tag: exif: Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
...
Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION for exif
library.
Includes unit tests.
2011-04-14 00:04:52 -03:00
Tim-Philipp Müller
05dce4e2ac
tests: fix unused-but-set-variable warnings with gcc 4.6
...
https://bugzilla.gnome.org/show_bug.cgi?id=647294
2011-04-14 00:24:26 +01:00
Tim-Philipp Müller
53ed133354
tests: dist all struct_*.h files for libs ABI test
...
Should fix distcheck on x86_64.
2011-04-11 14:29:35 +01:00
Stefan Kost
d3d8d5c2cc
tests: add basic unit tests for discoverer
2011-04-05 18:16:25 +03:00
David Schleef
5f61df82da
video: Fix YUV9 and YVU9 again
2011-04-04 16:01:20 -07:00
Tim-Philipp Müller
80952f6aa4
tests: ignore xmpwriter unit test binary
2011-04-04 23:23:37 +01:00
David Schleef
629cac4cad
video: Fix height calculation for YUV9/YVU9
2011-04-01 13:55:56 -07:00
Edward Hervey
bb081770c8
tests: Fixes libsabi for MacOSX/32bit.
...
GStaticRecMutex is 60bytes on macosx/32bit (As opposed to 40).
Fixes #644996
2011-03-31 12:37:32 +02:00
Sebastian Dröge
209188b5c9
libsabi: Add structure sizes for x86-64
2011-03-31 10:39:37 +02:00
Tim-Philipp Müller
2e220e352f
tests: add typefind test for application/x-hls
...
To make sure we don't break detection when we add typefinding
for normal m3u8 playlists.
2011-03-30 15:47:38 +01:00
Thiago Santos
b5246da456
tagxmpwriter: Add check tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=645167
2011-03-29 17:11:30 -03:00
Sebastian Dröge
f1f0625e97
encodebin: Requesting a pad again now gives a g_return_val_if_fail()
...
Before the behaviour was undefined and implemented differently by elements,
now core checks for this (and other problems) and returns NULL and an assertion.
2011-03-29 15:42:50 +02:00
Tim-Philipp Müller
03ea1bea4e
tests: ignore new libsabi test binary
2011-03-26 12:01:05 +00:00
Thiago Santos
8f2aea0fe4
tests: video: Uncommenting test
...
Pushed a commented test by accident, uncommenting it.
2011-03-23 12:42:04 -03:00
Thiago Santos
2ab592bac9
tests: video: Add a test for checking rgb caps creation
...
This new test for checking rgb caps creation exposes a regression
2011-03-23 12:21:55 -03:00
Mart Raudsepp
83679ef8f8
check: Really fix the linking order of libs/tag
...
Follow-up to commit 5f5c52c
, which only fixed the CFLAGS order.
Fix the linker order as well.
2011-03-16 14:33:31 +00:00
Tim-Philipp Müller
fae2e1bc2d
tests: add libscpp unit test to make sure g++ likes our library headers
2011-03-12 17:51:41 +00:00
Thiago Santos
40eaac6191
tests: encodebin: Add reuse test case
...
Adds a test case to check if encodebin can be reused
https://bugzilla.gnome.org/show_bug.cgi?id=644416
2011-03-10 15:12:01 -03:00
Stefan Kost
fa300aee20
tests: add ABI test suite for libs
2011-02-28 10:14:16 +02:00
Sebastian Dröge
eb91fe7162
encodebin: Fix double unref in unit test
2011-02-24 21:00:34 +01:00
Tim-Philipp Müller
2835a9e45c
checks: add a simple unit test for the source-setup signal
2011-02-24 17:47:15 +00:00
Sebastian Dröge
dc87e8698e
encodebin: Fix memory leaks related to request pads
...
Request pads have to be released by the caller and must be
unreffed after releasing them.
2011-02-24 16:02:50 +01:00
Tim-Philipp Müller
01168b83cf
tests: fix videoscale test by ignoring newly-added 64-bit formats
...
They probably fail because ffmpegcolorspace can't handle those formats.
2011-02-21 17:59:40 +00:00
Tim-Philipp Müller
33a5e3e06f
appsink: add buffer fallback in case the application doesn't handle buffer lists
...
We shouldn't assume the application handles buffer lists, for
ease-of-use reasons and for backwards compatibility reasons.
2011-01-31 18:06:18 +00:00
Tim-Philipp Müller
fc608d4dcd
tests: don't run encodebin test if vorbis or theora plugins aren't available
2011-01-26 15:43:20 +00:00