Commit graph

519 commits

Author SHA1 Message Date
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
Tim-Philipp Müller 97f84c1eee encoding-target: change keyfile header to 'GStreamer Encoding Target'
which is more in line with other files such as .desktop files.
2011-01-18 10:40:29 +00:00
Tim-Philipp Müller a266fe8d30 tests: never disable g_assert() and cast checks for the unit tests
The unit tests are riddled with g_assert() and friends, sometimes
containing functional code like set_state() calls in them even
(looking at you, pipeline/capsfilter-renegotiation). Make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts.
2011-01-07 00:43:07 +00:00
Tim-Philipp Müller 1e80f70d7a tests: ignore new rtsp test binary 2011-01-06 20:37:50 +00:00
Edward Hervey 19201c1ab0 encoding: encoding_profile_get_output_caps => _get_input_caps
Makes more sense name-wise
2011-01-05 22:02:35 +01:00
Edward Hervey 777f816ff1 encoding-target: Fixup loading/saving methods 2011-01-05 20:54:21 +01:00
Edward Hervey 3b32566dd4 encoding-target: Change target suffix to .gep
Along with a bunch of other internal cleanups
2011-01-05 20:54:21 +01:00
Edward Hervey a65faf2f3c encoding-target: Add API for list all categories and targets
API: gst_encoding_list_available_categories
API: gst_encoding_list_all_targets
2011-01-05 20:54:21 +01:00
Edward Hervey deea1eb83f encoding-profile: Add convenience method to find a profile
API: gst_encoding_profile_find
2011-01-05 20:54:21 +01:00
Edward Hervey d8f5b6322f encoding-target: Implement save/load feature
Fixes #637735
2011-01-05 20:54:06 +01:00
Edward Hervey c8fa8085ba encoding-target: Add method to get a profile by name
API: gst_encoding_target_get_profile
2011-01-05 20:18:34 +01:00
Edward Hervey 4b3e1403a1 encoding-target: Ensure target names and categories are valid 2010-12-21 16:38:40 +01:00
Edward Hervey 949595a7a3 tests: Update container-less profile checks 2010-12-21 13:23:34 +01:00
Sebastian Dröge 3e35df72b6 rtsp: Fix memory leaks in the gst_rtsp_url_decode_path_components() unit tests 2010-12-19 09:53:08 +01:00
Andy Wingo dd699397c2 add gst_rtsp_url_decode_path_components
* gst-libs/gst/rtsp/gstrtspurl.h:
* gst-libs/gst/rtsp/gstrtspurl.c (gst_rtsp_url_decode_path_components):
  New public function, returns a strv of uri-decoded path components.

* tests/check/Makefile.am:
* tests/check/libs/rtsp.c: Add tests.
2010-12-15 17:51:36 +01:00
Edward Hervey 8a3b45aa1f gst: New encoding plugin
https://bugzilla.gnome.org/show_bug.cgi?id=627476
2010-12-15 11:54:32 +01:00
Edward Hervey 82b4f9bfef pbutils: New Profile library
https://bugzilla.gnome.org/show_bug.cgi?id=627476
2010-12-15 11:54:32 +01:00
Mark Nauwelaerts a0e083a717 tests: audioresample: adjust unit test to relaxed discont checking 2010-12-13 13:05:24 +01:00
Stefan Kost 3dad049359 tests: remove superflous ';' and reindent 2010-12-08 12:28:32 +02:00
René Stadler c05f45f05b tests: add AC-3, E-AC-3 typefind tests 2010-12-07 21:28:20 +02:00
Tim-Philipp Müller a2e896df66 tests: fix video library unit test and skip non-working YUV9/YVU9 parts for now 2010-12-03 00:02:26 +00:00
Tim-Philipp Müller 0d39e2896e tests: fix invalid free and buffer list leak in rtp library unit test 2010-11-02 12:29:05 +00:00
Tim-Philipp Müller 19db1e763f tests: fix leak in tag library unit test 2010-11-02 12:03:21 +00:00
Sebastian Dröge 0750531378 videoscale: Add unit test for working reverse negotiation
See bug #633147.
2010-10-29 13:25:10 +02:00
Thiago Santos 5984ff1086 tag: Adds GST_TAG_CAPTURING_SOURCE
Adds a tag to indicate the source/device used for the capture.

Already maps it in exif and adds tests.

API: GST_TAG_CAPTURING_SOURCE

https://bugzilla.gnome.org/show_bug.cgi?id=631773
2010-10-16 00:50:11 +01:00
Thiago Santos b49f83d738 tag: Adds GST_TAG_CAPTURING_METERING_MODE
Adds a tag to inform what mode was used by a camera to calculate
the picture capturing exposure

Also adds mapping to exif and tests

API: GST_TAG_CAPTURING_METERING_MODE

https://bugzilla.gnome.org/show_bug.cgi?id=631773
2010-10-16 00:42:09 +01:00
Thiago Santos f67e7aacf3 tag: Adds GST_TAG_CAPTURING_SHARPNESS
Adds new tag for tagging sharpness processing used
when capturing an image. Also maps it in the exif
tags.

Tests included.

API: GST_TAG_CAPTURING_SHARPNESS

https://bugzilla.gnome.org/show_bug.cgi?id=631773
2010-10-16 00:31:07 +01:00
David Schleef 24582f3807 tests: Don't dist generated orc code 2010-10-15 13:16:13 -07:00
Thiago Santos 67eb531163 tag: Update with latest datetime from core
Updates datetime functions to latest APIs in core
2010-10-13 12:30:31 -03:00