Commit graph

506 commits

Author SHA1 Message Date
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
Thiago Santos 3e99c06ad0 tests: vorbis: adds missing lib
Adds missing lib to vorbis check tests makefile
2010-10-11 18:06:18 -03:00
Thiago Santos 8818ea08bd tests: rtp: No need to unref buffer from bufferlist
Buffers obtained from buffer list iterators don't need to
be unreffed.

Test was failing due to this.
2010-10-06 16:19:49 -03:00
Wim Taymans 77c78a6a9d check: fix rtp checks
Fix the checks for the extension support in RTP.
2010-10-05 17:13:09 +02:00
Olivier Crête 96aa439867 tests: Test the manipulations of bufferlists containing RFC 5285 header extensions 2010-10-05 16:19:14 +02:00
Olivier Crête 7612c137bd tests: Add test for RTP header extension functions 2010-10-05 16:19:14 +02:00
Thiago Santos 97d49406dc More makefile Fixes
Removing some not needed lines added in the last makefile
fixes commit (previous commit).

Also adds some more makefile files to check tests
2010-09-28 09:58:15 -03:00
Tim-Philipp Müller d236f9185f .gitignore: ignore new appsrc unit test 2010-09-24 12:19:43 +01:00
Thiago Santos 10f0319d62 tags: exif: Add mapping for _HORIZONTAL_ERROR
Maps GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR to the
GPSHPositionError tag in exif.

Tests included.
2010-09-23 10:16:07 -03:00
Thiago Santos 24b523e129 appsrc: Do not override buffer caps if appsrc caps is null
Make appsrc not set caps on buffers when its own caps is NULL.

This avoids calling make_metadata_writable on all buffers and
prevents losing buffer caps in case we are not replacing it
with something meaningful.

https://bugzilla.gnome.org/show_bug.cgi?id=630353
2010-09-23 08:23:47 -03:00
Thijs Vermeir 2a868b70ec tests: use gst-check API in videotestsrc
use gst_check_drop_buffers in videotestsrc to
clear the global buffers list.
2010-09-16 15:07:15 +02:00
Thijs Vermeir 36e8018ca7 tests: Fix unit test of videotestsrc
Use UYVY for unit tests, it's exactly the same as Y422.
(which is currently disabled in videotestsrc)
2010-09-16 15:00:22 +02:00
Sebastian Dröge 7ac1938f0f video: Add a destroy notify parameter to gst_video_convert_frame_async()
Binding generators apparently need this as they can't really know
that the callback is guaranteed to be called exactly once and that
the user_data can be freed at the end of it.
2010-09-15 11:26:48 +02:00
Sebastian Dröge 1e29e528c7 video: Add unit test for gst_video_convert_frame_async() 2010-09-14 08:42:44 +02:00