Commit graph

17 commits

Author SHA1 Message Date
Tim-Philipp Müller
3f184c3abc tests: include config.h and don't include unix headers
In many cases the unistd.h includes weren't actually needed.

Don't build tests that need it on windows with MSVC
(multifdsink, multisocketsink, pipelines/tcp).

Preparation for making tests work on Windows with MSVC.
2018-01-16 18:14:59 +00:00
Jimmy Ohn
6335a074e2 opusdec: Fix memory leak in test code
gst_caps_to_string function returned allocated memory.
So, It should be free using g_free function.

https://bugzilla.gnome.org/show_bug.cgi?id=772500
2016-10-06 13:29:22 +03:00
Mikhail Fludkov
27e7ca3389 opusdec: test for PLC timestamp when FEC is enabled. 2016-06-16 11:01:06 +01:00
Thiago Santos
60c765174f opusdec: intersect with the filter before returning on getcaps
So upstream gets a smaller set to decide upon as it is what it requested
with the filter

https://bugzilla.gnome.org/show_bug.cgi?id=765684
2016-05-02 14:29:25 -03:00
Thiago Santos
7a5797d3a6 opusdec: improve getcaps to return all possible rates
The library is capable of converting to different rates.

Includes tests.

https://bugzilla.gnome.org/show_bug.cgi?id=765684
2016-05-02 14:29:25 -03:00
Thiago Santos
8375ed7763 tests: opus: remove apparently useless macro in tests 2016-05-02 14:23:54 -03:00
Sebastian Dröge
387839c57e opus: Remove invalid unit test
Opus headers should never be in-band, so don't test for correct
handling of that.
2015-11-04 00:14:13 +02:00
Edward Hervey
ee3135c4a6 check: Use GST_CHECK_MAIN () macro everywhere
Makes source code smaller, and ensures we go through common initialization
path (like the one that sets up XML unit test output ...)
2015-06-02 16:04:40 +02:00
Sebastian Dröge
97d0927a9c opus: Remove unused variable from unit test 2014-02-08 20:08:29 +01:00
Sebastian Dröge
061b3e5fec opus: Fix event handling in unit test 2013-05-15 10:18:01 +02:00
Tim-Philipp Müller
3e208df632 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Olivier Crête
24fa2ac653 test: Flush opus encoder between tests 2012-09-11 18:02:28 -04:00
Olivier Crête
f4f714fc6b test: Flush opus encoder between tests 2012-09-11 18:01:58 -04:00
Mark Nauwelaerts
9c90e728ad tests: port some more to 1.0 2012-04-10 17:29:12 +02:00
Wim Taymans
c3672b88f1 tests: fix more caps 2012-03-08 11:32:27 +01:00
Vincent Penquerc'h
3cb98f2674 tests: fix buffer leaks in opus tests 2012-01-11 13:32:36 +00:00
Vincent Penquerc'h
e7228fc0b3 opus: add test 2011-11-22 19:08:39 +00:00