Commit graph

453 commits

Author SHA1 Message Date
Wim Taymans
a58ecc50e0 tests: port some more unit tests 2012-01-04 11:28:36 +01:00
Edward Hervey
f70a623418 Merge remote-tracking branch 'origin/master' into 0.11-premerge
Conflicts:
	docs/libs/Makefile.am
	ext/kate/gstkatetiger.c
	ext/opus/gstopusdec.c
	ext/xvid/gstxvidenc.c
	gst-libs/gst/basecamerabinsrc/Makefile.am
	gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c
	gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h
	gst-libs/gst/video/gstbasevideocodec.c
	gst-libs/gst/video/gstbasevideocodec.h
	gst-libs/gst/video/gstbasevideodecoder.c
	gst-libs/gst/video/gstbasevideoencoder.c
	gst/asfmux/gstasfmux.c
	gst/audiovisualizers/gstwavescope.c
	gst/camerabin2/gstcamerabin2.c
	gst/debugutils/gstcompare.c
	gst/frei0r/gstfrei0rmixer.c
	gst/mpegpsmux/mpegpsmux.c
	gst/mpegtsmux/mpegtsmux.c
	gst/mxf/mxfmux.c
	gst/videomeasure/gstvideomeasure_ssim.c
	gst/videoparsers/gsth264parse.c
	gst/videoparsers/gstmpeg4videoparse.c
2011-12-30 11:41:17 +01: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
d5aaefa59f tests: camerabin2: porting to 0.11 2011-12-24 14:32:32 -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
Tim-Philipp Müller
77361e2919 Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	ext/opus/gstopusdec.c
	ext/opus/gstopusparse.c
	gst-libs/gst/video/gstbasevideodecoder.c
	gst-libs/gst/video/gstbasevideodecoder.h
2011-11-26 15:37:25 +00:00
Mark Nauwelaerts
d3fda8a644 tests: add unit test for voamrwbenc 2011-11-25 15:52:57 +01:00
René Stadler
c41b5d016c tests: fix caps usage in parser test helper
Fixes previous commit; users can call this with NULL caps.
2011-11-24 21:52:55 +01:00
René Stadler
30b40510ab tests: update for gstcheck API change 2011-11-24 21:42:39 +01:00
Wim Taymans
0a9387c43c Merge branch 'master' into 0.11
Conflicts:
	ext/opus/gstopusdec.c
	ext/opus/gstopusenc.c
	ext/opus/gstopusparse.c
	gst/audiovisualizers/gstwavescope.c
	gst/filter/Makefile.am
	gst/filter/gstfilter.c
	gst/filter/gstiir.c
	gst/playondemand/gstplayondemand.c
2011-11-23 11:08:39 +01:00
Vincent Penquerc'h
ff7375f2e6 opus: add test 2011-11-22 19:08:39 +00:00
Wim Taymans
bc6ed0bf97 Merge branch 'master' into 0.11
Conflicts:
	ext/celt/gstceltdec.c
	ext/opus/gstopusdec.c
	ext/opus/gstopusdec.h
	ext/opus/gstopusenc.c
	ext/opus/gstopusenc.h
	ext/opus/gstopusparse.c
2011-11-17 17:32:42 +01: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
Wim Taymans
dbdaa23742 Merge branch 'master' into 0.11
Conflicts:
	gst/colorspace/colorspace.c
2011-11-09 12:19:04 +01: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
Wim Taymans
eaad7e58b0 more template fixes 2011-11-04 12:31:19 +01:00
Wim Taymans
f4c283a9cc Merge branch 'master' into 0.11 2011-11-04 11:01:42 +01: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
Wim Taymans
769a9791a4 Merge branch 'master' into 0.11 2011-11-02 10:31:24 +01:00
René Stadler
e922dee30b tests: h264parse: fix exit code 2011-11-01 12:12:56 +01:00
Wim Taymans
effab293cb Merge branch 'master' into 0.11 2011-10-18 14:32:05 +02: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
Wim Taymans
be20e84e39 tests: fix some tests 2011-10-04 14:27:08 +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