Commit graph

441 commits

Author SHA1 Message Date
Vincent Penquerc'h
750cc41994 tests: fix buffer leaks in opus tests 2012-01-11 13:32:36 +00:00
Tim-Philipp Müller
3c69286db9 tests: remove temporary files when done in camerabin, camerabin2 and jifmux tests 2012-01-04 19:14:14 +00:00
Thiago Santos
d465188879 tests: remove comment for already fixed issues on makefile
Some issues on camerabin2 and jifmux tests were fixed some
time ago, remove the comments about them
2011-12-28 16:59:15 -03:00
Thiago Santos
2df5760a79 tests: camerabin2: Fix message leak in tests 2011-12-28 16:57:25 -03:00
Thiago Santos
d64e833a07 tests: camerabin2: fix mainloop leaks 2011-12-27 16:40:38 -03:00
Thiago Santos
24407f0aa6 tests: camerabin2: enable tests
Tests are passing now, enable them
2011-12-20 15:05:23 -03:00
Thiago Santos
05a710b3ad tests: jifmux: re-enable jifmux's tests
Fix for its test is now available on -base module.

Enabling again.
2011-12-15 11:24:52 -03:00
Thiago Santos
9d33df291f tests: mpegtsmux: remove unused variable 2011-12-14 08:54:32 -03:00
Tim-Philipp Müller
d34187594c tests: disable failing jifmux, camerabin2, and colorspace tests
jifmux: general:test_jifmux_tags:0: Assertion 'entry->components == 2' failed
camerabin2: test_multiple_video_recordings:0: gst_caps_get_structure: assertion `GST_IS_CAPS (caps)
colorspace: bad memory accesses in orc code for odd width buffers (see bug #663248)
2011-12-11 15:29:31 +00:00
Tim-Philipp Müller
f760b3318a tests: fix g_usleep() in camerabin2 test
g_usleep() takes a microsecond value, GST_SECOND is nanoseconds, so
we were sleeping for more than 3 minutes here instead of 200ms.
2011-12-11 15:03:17 +00:00
Edward Hervey
d8367300ae tests: Add more files to .gitignore 2011-12-05 19:04:17 +01:00
Alessandro Decina
777c1f034f mpegtsmux: add support for force key unit events
Handle force key unit events outputting PAT and PMT when all_headers=TRUE
2011-11-30 08:56:48 +01:00
Vincent Penquerc'h
7521b597f4 various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00:00
Mark Nauwelaerts
d3fda8a644 tests: add unit test for voamrwbenc 2011-11-25 15:52:57 +01:00
Vincent Penquerc'h
ff7375f2e6 opus: add test 2011-11-22 19:08:39 +00:00
Thiago Santos
316091d452 camerabin2: Fix some racyness in tests
Fix some racyness as the test was checking the idle property
right after it got the preview message for video recordings. In some
conditions, it might happen that camerabin2 still hasn't decremented
the processing counter after posting the preview and/or the image/video-done
message and the test will get idle=false and fail.

The approach for checking for the idle property was a busy loop with
a sleep. Far from elegant, but good enough for these tests.
2011-11-14 18:39:42 -03:00
Thiago Santos
09d53c8fed camerabin2: update tests to set post-previews to true
Makes most of camerabin2 tests pass again
2011-11-08 07:33:59 -03:00
Vincent Penquerc'h
758df04f0e tests: mark test input data const
https://bugzilla.gnome.org/show_bug.cgi?id=663235
2011-11-07 11:12:44 +00:00
Vincent Penquerc'h
20bbba3c84 tests: allow building with older versions of glib (g_list_free_full)
https://bugzilla.gnome.org/show_bug.cgi?id=663234
2011-11-07 11:12:44 +00:00
Vincent Penquerc'h
0a170110ea tests: make const data const
https://bugzilla.gnome.org/show_bug.cgi?id=662776
2011-11-03 09:46:08 +01:00
René Stadler
e922dee30b tests: h264parse: fix exit code 2011-11-01 12:12:56 +01:00
Gwenole Beauchesne
ef5b8ef581 codecparsers: vc1: Implement bitplanes handling properly
Add a new GstVC1BitPlanes API.
2011-10-17 13:17:39 +02:00
Thibault Saunier
fc09e45108 codecparsers: VC1: Implement Sequence Layer Data Structures
Instead of having a single VC1SequenceHeader structure, use the 3 structs
from the "Table 265: Sequence Layer Data Structure" of the specification
for the library to be more flexible.

Implement the functions to parse them
2011-10-17 13:17:38 +02:00
Thibault Saunier
2b5e7c1f0f codecparsers: VC1: compute MB height and width
Add them to GstVC1SequenceHdr
2011-10-17 13:17:38 +02:00
Thibault Saunier
8ca7640663 codecparsers: VC1: Fix after GstVC1ParserResult renaming 2011-10-17 13:17:38 +02:00
Thiago Santos
009c440f44 tests: camerabin2: Refactor tests a little
Refactor camerabin2 tests a little
2011-09-29 18:21:06 -03:00
Thiago Santos
f6c0e2cd26 tests: camerabin2: adding tests to check for preview message filenames
Preview messages now have filenames, add tests to check that they are
correct
2011-09-29 18:21:06 -03:00
Thibault Saunier
705a80d957 codecparser: VC1: Implement a VC1 parsing library 2011-09-26 08:46:37 -03:00
Thibault Saunier
2c928aba19 codecparsers: Declare the new APIs as unstable for the time being 2011-09-26 08:11:45 -03:00
Thibault Saunier
edebb4ed92 codecparsers: h264: Implement the nal_parser_free function 2011-09-09 15:02:35 -03:00
Thibault Saunier
949ba4e895 codecparsers: h264: Use g_slice instead of g_malloc in nal_parser_new 2011-09-09 15:02:34 -03:00
Thibault Saunier
a1cfba43f6 codecparsers: h264: Add an h.264 bitstream parsing library 2011-09-02 15:46:02 +02:00
Thibault Saunier
a983b29a49 mpegvideoparse: Port to the new mpeg parsing library 2011-09-02 15:46:02 +02:00
Thibault Saunier
c64b99339c codecparsers: mpeg: Add an mpeg video bitstream parsing library
Create a new codecparsers library
2011-09-02 15:46:02 +02:00
Vincent Penquerc'h
60442079f3 tests: make camerabin2 test build
https://bugzilla.gnome.org/show_bug.cgi?id=657363
2011-08-25 16:46:58 -03:00
Thiago Santos
011eddcd0e camerabin2: Remove from experimental
Remove camerabin2 from experimental, allowing it to be built
without needing to pass --enable-experimental on configure.
2011-08-23 19:26:31 -03:00
Thiago Santos
6b26aa270f tests: camerabin2: Use audiotestsrc on tests
Use audiotestsrc on tests instead of using the system's default
audiosrc, avoiding any problems that a local audio setup might
have.
2011-08-21 18:23:16 -03:00
Thiago Santos
63d79a3aea tests: camerabin2: Improving tests
Adding some additional checks for custom camerabin2 messages

Also improves reliability of the tests by waiting for the preview-buffer message.
This message is generated from the preview pipeline, and might arrive later than the
image/video-done from the main camerabin2 pipeline, the tests need to wait for it even
after getting the image/video-done.
2011-08-21 18:23:16 -03:00
Thiago Santos
84ee1c4d58 tests: camerabin2: Add test for audio-filter property
Checks that the audio-filter is properly plugged in the pipeline
and receives buffers when recording a video.
2011-08-13 15:55:35 -03:00
Tim-Philipp Müller
b6723d092c tests: fix compiler warning in faad unit test 2011-07-29 21:27:28 +01:00
Raluca Elena Podiuc
736aebc37e tests: camerabin2: fix name of 'image-done' bus message
Use the correct bus message for camerabin2 image done and removes
check that is no longer needed for these tests.
2011-07-15 10:01:33 -03:00
Tim-Philipp Müller
04f0b55609 tests: add some more unit test binaries to .gitignore 2011-07-14 14:37:14 +01:00
Thiago Santos
f1fa6c6531 camerabin2: Use a single location for both modes
Implement the location property just like it works in camerabin, the
same location is used for both images and videos
2011-06-23 00:05:13 -03:00
Thiago Santos
18f6859037 tests: camerabin2: Adds new test to check image location correctness
This new test checks that images are saved with the filename setting
on location on the moment of the start-capture
2011-06-23 00:05:13 -03:00
Mark Nauwelaerts
af1fca6d7d tests: add colorspace unit test
Compares colorspace result with ffmpegcolorspace output using SSIM.
Also probes for possible crashes for odd width and height image by applying
all possible colorspace transformations.
2011-06-17 12:26:15 +02:00
Stefan Kost
b6844bc730 tests: add a test for baseaudiovisualizer 2011-06-06 15:25:14 +03:00
Thiago Santos
65d74fa2bf tests: camerabin2: remove unused var 2011-06-02 16:24:03 -03:00
Thiago Santos
cff308eba2 camerabin2: Use full names in properties
Improve API by using source instead of src in properties
2011-06-02 16:24:03 -03:00
Sebastian Dröge
9fae436b68 faac: Fix unit test after latest faac changes 2011-05-31 13:09:57 +02:00
Stefan Kost
d8eb9f127f tests: blacklist more sys elements from the state tests
Also wrap the list of blacklisted elements and trim some whitespace.
2011-05-25 23:28:46 +03:00