Commit graph

610 commits

Author SHA1 Message Date
Tim-Philipp Müller f8f4620451 build: fix CFLAGS order and LIBS order
_BAD_CFLAGS should always come first, then GST_PLUGINS_BASE_CFLAGS,
then GST_BASE_CFLAGS then GST_CFLAGS. Same for libs: first plugins
base libs, then GST_BASE_LIB then GST_LIBS.
2012-02-03 00:50:33 +00:00
Vincent Penquerc'h 8147669971 plenty: fixup glib deprecations 2012-01-27 15:47:07 +00:00
Vincent Penquerc'h 750cc41994 tests: fix buffer leaks in opus tests 2012-01-11 13:32:36 +00:00
Vincent Penquerc'h 74952a15bf tests: test for GTK 2.24 for new symbols used in camerabin2 tests
The whole tree is likely to switch to GTK 3.0 at some point, but
we might as well continue building with slightly less new versions
if it's not hard to do.
2012-01-05 11:02:25 +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 b778d8a27e examples: camerabin2: add some error handling for format changing
Check that the format could be initialized and shows a modal dialog
in case it couldn't.
2011-12-29 13:30:13 -03:00
Thiago Santos 0ef2d627be examples: camerabin2: add format selection for camerabin2 example
Adds a combobox for selecting the video profile for recordings.
Useful for testing multiple formats a/v sync when recording.
2011-12-29 12:47:48 -03: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
Arun Raghavan 2c4bc6134c examples: Fixes for compiling with GTK+ 3.0
camerabing example had a missing ')' and the fix to build against GTK+3
that was introduced in commit 516c977c76
is also applied to the camerabin2 example.

The scaletempo demo was using API which has been removed, so that's
wrapped in a version check.
2011-10-06 23:22:51 +05:30
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
Edward Hervey 3d86389e06 examples: Add missing header file 2011-08-04 13:33:56 +02:00
Robert Swain b4c8eb084c gst-camerabin2-test: Add audio capture caps option 2011-08-03 08:01:42 -03:00
Tim-Philipp Müller 7e49dad23b Fix some more variable-set-but-not-used compiler warnings 2011-08-02 22:57:15 +01:00
Robert Jobbagy e8d5e476ef camerabin2: examples: Fix camerabin2 G_OBJECT cast
Adds missing cast to fix build error.
2011-08-02 17:06:48 -03:00
Robert Swain 2609427ada camerabin2: Add flags prop to toggle encodebin conversion elements
A flags property has been added to encodebin to toggle whether the
conversion elements (ffmpegcolorspace, videoscale, audioconvert,
audioresample, audiorate) are created and linked into the appropriate
branches of encodebin.

Not including these elements avoids some slow caps negotiation and
allows the first buffers to flow through encodebin much more quickly.
However, it imposes that the uncompressed input is appropriate for the
target profile and elements selected to meet that profile.
2011-08-02 13:39:17 -03:00