Commit graph

38 commits

Author SHA1 Message Date
Seungha Yang
15d90f1bf9 tests: Add audio/video encoder test
Add simple encoder drain test case

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/100>
2020-10-07 19:08:34 +09:00
Edward Hervey
2b2fce9970 build: Re-enable unit tests
Looks like they weren't ported when we switched to meson

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/100>
2020-10-07 19:08:30 +09:00
Tim-Philipp Müller
ca478e7546 Remove autotools build system 2019-10-13 14:36:06 +01:00
Josep Torra
410b0e3842 build: silence error about pthread for 'make check' in osx
Fixes "clang: error: argument unused during compilation: '-pthread'"
2016-08-26 21:47:04 +02:00
Tim-Philipp Müller
1a4c54a6aa tests: use AM_TESTS_ENVIRONMENT
Needed by new automake test runner.
2016-05-31 20:29:32 +01:00
Edward Hervey
4da9692f4c 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:32:55 +02:00
Sebastian Dröge
15a9e62abd tests: Enable avdemux_ape test again, it works now
https://bugzilla.gnome.org/show_bug.cgi?id=684684
2013-08-20 15:58:35 +02:00
Tim-Philipp Müller
7d1798e49f tests: use GST_*_1_0 environment variables everywhere
The _1_0 suffixed environment variables override the
non-suffixed ones, so if we're in an environment that
sets the _1_0 suffixed ones, such as jhbuild, we need
to set those to make sure ours actually always get
used.
2013-01-16 12:09:39 +00:00
Tim-Philipp Müller
d0ef33d463 Fix FSF address 2012-11-04 00:22:16 +00:00
Tim-Philipp Müller
d932e6b179 tests: skip broken tests 2012-09-24 14:55:16 +01:00
Tim-Philipp Müller
710229887a Remove -DGST_USE_UNSTABLE_API 2012-09-17 17:53:29 +01:00
Edward Hervey
f4532d9135 remove postproc element
libpostproc is gone from upstream libav.
2012-09-10 17:18:30 +02:00
Tim-Philipp Müller
ea1eb123ef Update .gitignore for ff->av 2012-08-04 16:19:37 +01:00
Tim-Philipp Müller
241419b46d gst_tag_list_free -> gst_tag_list_unref 2012-08-04 16:19:29 +01:00
Wim Taymans
d96cffb10a update for bus api changes 2012-06-20 12:32:21 +02:00
Sebastian Dröge
5d88a67e2f tests: Don't run the postproc test if compiled as an LGPL plugin 2012-05-15 14:41:18 +02:00
Sebastian Dröge
e49c069995 Rename everything from gst-ffmpeg to gst-libav
Also change elements factory names to avenc_*, avdec_*,
avmux_* and avdemux_*. The actual filenames, type names,
function/variable names are not touched to make merging
with 0.10 easier at this point. Once 0.10 is not supported
anymore everything should be renamed.
2012-04-12 19:41:52 +02:00
Wim Taymans
d155f3028d test: fix unit test 2012-03-21 12:54:44 +01:00
Wim Taymans
6651c908a1 tests: make tests compile 2012-01-04 10:17:01 +01:00
Edward Hervey
9c044ac66e tests: Fix for pad probe API change 2011-11-04 10:15:32 +01:00
Tim-Philipp Müller
487175f573 tests: port to 0.11
Some still fail though, for various reasons. ffmpeg warning:
"get_buffer() cannot be called after ff_thread_finish_setup()".
2011-10-30 12:24:59 +00:00
Tim-Philipp Müller
7b7928082b tests: add simple test for creating postproc elements
https://bugzilla.gnome.org/show_bug.cgi?id=654634
2011-09-03 12:32:06 +01:00
Sebastian Dröge
36e0b54e61 tests: Fix compiler warning 2010-03-24 13:15:18 +01:00
Tim-Philipp Müller
30da9c07da checks: add minimal unit test for adpcm decoder
The sample file is so small, we may just as well add a little
unit test for the previously fixed bug.
2009-08-20 01:48:32 +01:00
Tim-Philipp Müller
6c0205c316 check: remove unused variable from unit test 2009-07-28 23:58:02 +01:00
Tim-Philipp Müller
d917f59a84 ffmpegdemux: cache events from upstream and re-send them later
Cache any events we get from upstream before we're open, especially
tag events we may be getting from apedemux/id3demux or the like, and
push them downstream later when we've added our pads instead of just
dropping them silently. Fixes transcoding tags for Monkey's Audio
Files with preceding APE or ID3v2 tags (#586957). Add minimal unit
test for this.

Also push stream tags later after the global tags and the newsegment
event rather than right after creating the pad.
2009-07-28 23:58:02 +01:00
Wim Taymans
6d643a134e check: add registry rescan test 2009-06-05 13:17:09 +02:00
Jan Schmidt
a3d1cfe247 check: Add a simple test that the FFmpeg plugin loads
Check that the ffmpeg plugin actually exists after building.
2009-04-17 13:46:39 +01:00
Stefan Kost
24bb88b85f configure.ac: Fix type in error messgae.
Original commit message from CVS:
* configure.ac:
Fix type in error messgae.
* tests/check/.cvsignore:
Ignore more files.
2008-09-06 09:55:12 +00:00
Stefan Kost
033751e57e tests/check/generic/libavcodec-locking.c: Print message name and not just number.
Original commit message from CVS:
* tests/check/generic/libavcodec-locking.c:
Print message name and not just number.
2007-10-03 14:51:49 +00:00
Stefan Kost
907d7e40f5 ext/ffmpeg/: Free strings atleast when finalizing elements.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_install_property),
(gst_ffmpeg_cfg_finalize):
* ext/ffmpeg/gstffmpegcfg.h:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_finalize),
(ffmpegenc_setup_working_buf), (gst_ffmpegenc_chain_video),
(gst_ffmpegenc_flush_buffers):
Free strings atleast when finalizing elements.
* tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
(simple_launch_lines_suite):
Fix some leaks.
2007-08-01 17:43:39 +00:00
Jan Schmidt
489e66f5d5 Remove bogus check for libcheck, since we check for gstreamer-check and it pulls in the required info from there, and...
Original commit message from CVS:
* configure.ac:
* tests/Makefile.am:
Remove bogus check for libcheck, since we check for
gstreamer-check and it pulls in the required info from there, and we
weren't actually _using_ the information for libcheck ourselves
anyway.
2007-07-13 16:35:45 +00:00
Tim-Philipp Müller
312fb9aad9 Spaces => tab
Original commit message from CVS:
* docs/Makefile.am:
* tests/check/Makefile.am:
Spaces => tab
2006-12-15 13:58:17 +00:00
Jan Schmidt
019c52a459 tests/check/generic/libavcodec-locking.c: Fix the filter caps string for the test. Limit it to 10 fps, which means en...
Original commit message from CVS:
* tests/check/generic/libavcodec-locking.c: (GST_START_TEST):
Fix the filter caps string for the test. Limit it to 10 fps, which
means encoding ~ 50 frames before timeout
2006-12-06 17:58:24 +00:00
Tim-Philipp Müller
4edb41e367 tests/check/gst-ffmpeg.supp: Add missing file (which prepare-ChangeLog didn't pick up because it's empty).
Original commit message from CVS:
* tests/check/gst-ffmpeg.supp:
Add missing file (which prepare-ChangeLog didn't pick up
because it's empty).
2006-05-09 16:44:33 +00:00
Tim-Philipp Müller
98a68aa648 tests/check/generic/libavcodec-locking.c: Only run test when encoder element is available (we might have been configu...
Original commit message from CVS:
* tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
(simple_launch_lines_suite), (main):
Only run test when encoder element is available (we might
have been configured with --disable-encoders).
2006-05-09 16:33:20 +00:00
Luca Ognibene
72362cb208 tests/check/: Add test case for libavcodec locking
Original commit message from CVS:
Patch by: Luca Ognibene  <luogni at tin dot it>
* tests/check/Makefile.am:
* tests/check/generic/libavcodec-locking.c: (setup_pipeline),
(run_pipeline), (GST_START_TEST), (simple_launch_lines_suite),
(main):
Add test case for libavcodec locking
2006-05-09 16:18:17 +00:00
Tim-Philipp Müller
10e4f37d31 Add test infrastructure to gst-ffmpeg (#324279).
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* tests/Makefile.am:
* tests/check/.cvsignore:
* tests/check/Makefile.am:
* tests/check/generic/.cvsignore:
Add test infrastructure to gst-ffmpeg (#324279).
2006-05-09 16:15:39 +00:00