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
Wim Taymans
759d62bafe
fix for moved interfaces
2011-11-29 19:11:22 +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
Wim Taymans
95cd0b3ba8
update for probe api changes
2011-11-08 11:28:41 +01: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
Stefan Sauer
9f73890892
controller: port to new controller location and api
2011-11-04 20:14:01 +01:00
Edward Hervey
4642c67d30
examples : Port to 0.11
2011-11-04 16:23:03 +01: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
Tim-Philipp Müller
10d31a588d
Update for pad API changes
...
GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*
2011-11-01 00:45:25 +00: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
c16cc4698a
Merge branch 'master' into 0.11
2011-10-08 11:17:11 +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
Wim Taymans
7161b28427
tests: port
2011-10-04 14:30:53 +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
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
Tim-Philipp Müller
b6723d092c
tests: fix compiler warning in faad unit test
2011-07-29 21:27:28 +01:00
Robert Jobbagy
75a6072db8
gstmotioncells_dynamic_test: test tool what can to do dynamic change properties
2011-07-28 10:28:50 +02: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
Olivier Crête
d22d5468a8
examples/camerabin: Fix set-but-unused warnings
2011-07-12 18:22:35 -04: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
Thiago Santos
62c65a49f3
examples: camerabin2: Adds performance measurement to gst-camerabin2-test
...
Adds performance (timing) measure feature to gst-camerabin2-test, it allows
users to specify some target values for commonly measured times and the
application will print out a table of values at the end of its execution
with the measured times and averages of them.
2011-06-23 00:05:12 -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
Lasse Laukkanen
a9c60f3b31
examples: camerabin: Add --image-formatter command-line option
...
Add command-line option to gst-camerabin-test for configuring camerabin
metadata formatter element.
2011-05-31 18:22:02 -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
Mark Nauwelaerts
7751dbb8e1
tests: add unit tests for a number of video parsers
2011-05-25 21:51:56 +02:00
Mark Nauwelaerts
ca1887d3ec
tests: additional offset tracking in parser test helper
2011-05-25 21:51:55 +02:00
Mark Nauwelaerts
91dd0a4f91
tests: additional parameterization for parser test helper
...
Allow context callbacks to perform custom buffer verification
and custom element setup. Also move some static tracking variables
into helper struct and expose the latter struct for use by unit test
(callbacks).
2011-05-25 21:51:55 +02:00
Víctor Manuel Jáquez Leal
288e001e1f
jpegparse: unit test for APP1/exif & comment parsing
...
https://bugzilla.gnome.org/show_bug.cgi?id=648478
2011-05-25 22:18:10 +03:00
Lasse Laukkanen
466ca5d460
camerabin: Add image-formatter property
...
Add image-formatter property in order to let application configure
the formatter element for metadata.
2011-05-23 12:08:37 -03:00
Stefan Kost
a570b3d76f
mxf-example: fix the { } scope
2011-05-20 00:35:55 +03:00
Thiago Santos
e1ddfca8f1
camerabin2: examples: Add video-device argument
...
Adds an argument to select which video device should be used
on the video source element in camerabin2
2011-05-19 15:01:52 -03:00
Thiago Santos
f97d61bbc9
camerabin2: examples: Fix typo from previous commit
...
The property is audio-src and not audio-source
2011-05-19 14:52:22 -03:00
Thiago Santos
6403e6e00f
camerabin2: examples: Add audio-source parameter to gst-camerabin2-test
...
Adds an option to select the audio source to be used on video
recordings on camerabin2 test application
2011-05-19 14:32:02 -03:00
Thiago Santos
5dadb325ae
camerabin2: Remove obsolete imagecapturebin
...
imagecapturebin has been replaced by encodebin, no need
for it anymore
2011-05-16 18:08:41 -03:00
Alessandro Decina
9e9507b645
camerabin2: use encodebin to encode images
2011-05-16 18:08:40 -03:00
Thiago Santos
0bbbbd22d1
examples: camerabin2: Fix GOptionEntry array
...
Use no flags instead of passing G_OPTION_ARG_OPTIONAL to options that
must have an argument
2011-05-16 18:08:40 -03:00
Thiago Santos
7ee207b359
camerabin2: examples: build fixes
...
Add some missing dependencies
2011-05-16 18:08:40 -03:00
Lasse Laukkanen
dfe815e048
examples: camerabin2: Add more arguments
...
Add command-line options for setting image-capture, viewfinder
and video-capture caps as strings.
The width and height properties are now used only if these new caps
properties aren't set.
2011-05-16 18:08:39 -03:00
Thiago Santos
ba9c1f055f
tests: camerabin2: Fix set but unused variable warnings
2011-05-16 18:08:39 -03:00
Thiago Santos
0556d121c4
tests: camerabin2: Fix tags setting tests
...
Fixes the tags setting tests to reveal a bug in camerabin2
tag setting logic.
2011-05-16 18:08:39 -03:00
Thiago Santos
aa4df686eb
examples: camerabin2: Fix compile problem with debug disabled
2011-05-16 18:08:39 -03:00
Robert Swain
11c7d60dbb
gst-camerabin2-test: Allow gst-launch pipelines for sinks
...
Use gst_parse_launch () to parse the sink strings to allow specification
of properties to sinks and of more advanced sink graphs.
2011-05-16 18:08:38 -03:00
benjamin gaignard
31d408e22e
faac: Detect output format from downstream caps change unit test
2011-05-14 12:08:28 +02:00
Sebastian Dröge
31a65287a2
voaaenc: Fix CFLAGS/LIBS of the unit test
2011-05-14 12:08:28 +02:00
benjamin gaignard
988516ca63
voaacenc: Add new plugin for audio AAC encoder based on vo-aacenc lib
...
Add plugin and unit test.
Fixes bug #647748 .
2011-05-14 12:08:27 +02:00
Sebastian Dröge
39ae129aa6
wavpack: Remove bus GSource to prevent a valgrind warning
2011-04-18 12:01:07 +02:00
Sebastian Dröge
c8ae803df9
ofa: Remove bus GSource to prevent a valgrind warning
2011-04-18 11:57:15 +02:00
Sebastian Dröge
93454118c6
assrender: Remove bus GSource to prevent a valgrind warning
2011-04-18 11:50:34 +02:00
Thiago Santos
cee2bc7aa0
test: camerabin: More leak fixes
2011-04-15 07:53:43 -03:00
Thiago Santos
3f7ab0b319
tests: camerabin2: Leak fixes for the unit tests
...
Leak fixes related to not removing the source returned from
gst_bus_add_watch
2011-04-14 14:33:00 -03:00
Thiago Santos
8a9a0cd37e
tests: camerabin: Some leak fixes
...
Leak fixes related to removing the source returned from
gst_bus_add_watch
2011-04-14 14:33:00 -03:00
Thiago Santos
bfc4f70f02
tests: jifmux: Adds test for new exposure compensation tag
...
Adds a test for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION on
jifmux check tests.
2011-04-14 00:04:48 -03:00
Tim-Philipp Müller
6b4e797513
qtmux: remove qtmux plugin, it has moved to -good
...
https://bugzilla.gnome.org/show_bug.cgi?id=636699
2011-04-13 18:24:37 +01:00
Stefan Kost
3a4a0c492e
jpeg: set tags to NULL at init time and after freeing them
2011-04-11 18:30:17 +03:00
Stefan Kost
b67454b44e
jpeg: comment and logging changes
2011-04-11 18:29:28 +03:00
Tim-Philipp Müller
9bfac61f97
Remove audioparsers plugin, it has been moved to -good
2011-04-08 19:34:55 +01:00
David Schleef
9ed93db1d0
logoinsert: Fix memleaks, add test
2011-03-23 21:33:48 -07:00
Robert Swain
4b18a73332
gst-camerabin2-test: Fix premature shutdown
...
We must wait for camerabin2's stop-capture procedures to finish before quitting
the main loop or firing off the next capture. If we get stuck waiting for
camerabin2 to become idle, this is a bug that needs fixing.
2011-03-23 16:50:12 -03:00
Thiago Santos
aa7b962891
camerabin2: Improve idle property usage
...
Use resource warning messages to notify camerabin2 that a capture
as aborted or couldn't be started, making it decrement the
processing counter and making the idle property more reliable.
2011-03-23 16:13:32 -03:00
Thiago Santos
19429aa797
tests: camerabin2: Adds another 'idle' test
...
Adds another test that checks that the idle property works
correctly when bogus start-capture calls are made.
This fails currently, but should remind us of fixing it in
the future by defining a proper error reporting from camera
sources to camerabin2
2011-03-23 16:13:32 -03:00
Thiago Santos
ccd3fd8da5
tests: camerabin2: Sprinkle some 'idle' property checks
...
Adds some checks for 'idle' property in camerabin2 tests
2011-03-23 16:13:32 -03:00
Thiago Santos
8318174cfc
tests: camerabin2: Adds tests for new image capture properties
...
Adds tests to check that changing encoder/muxer for image capture
works
2011-03-23 16:13:32 -03:00
Thiago Santos
1fe76c94f1
tests: camerabin2: Fix number of iteration of tests
...
There are 3 taglist tests, not 2
2011-03-11 18:26:43 -03:00
Robert Swain
5fd15521e2
basecamerasrc: wrappercamerabinsrc: camerabin2: Expose/add floating point
...
zoom property
2011-03-11 18:26:43 -03:00
Tim-Philipp Müller
58ca26b0a4
examples: fix LDADD/LIBS path order for camerabin2 example
2011-03-11 10:40:40 +00:00
Thiago Santos
bbfd1c73dd
camerabin2: tests: Update tests to check for audio streams
...
Add a check that resulting recorded video files have audio streams.
2011-03-10 08:56:48 -03:00
Teemu Katajisto
0633901dd5
examples: camerabin2: add option for setting the wrapper camera source
2011-03-10 08:42:01 -03:00
Teemu Katajisto
2b9b085460
examples: camerabin2: add encoding profile loading
2011-03-10 08:42:01 -03:00
Thiago Santos
ce45c15200
camerabin2: examples: Allow free image dimensions
...
Changes the default width/height of captures so that it will
be autopicked by camerabin2 instead of hardcoding an option
2011-03-10 08:42:00 -03:00
Thiago Santos
7847f6497b
camerabin2: examples: Backport fix from camerabin example
...
We should only check if the xwindow should be created if we already
parsed the arguments of the program
2011-03-10 08:42:00 -03:00
Thiago Santos
9473c390e8
camerabin2: examples: Add gst-camerabin2-test
...
Adds gst-camerabin2-test example application, similar to
gst-camerabin-test for camerabin.
It is useful for taking pictures and recording videos using
camerabin2 and providing arguments for most of camerabin2
properties
2011-03-10 08:42:00 -03:00
Thiago Santos
6526548962
jifmux: tests: Increase bus waiting timeout
...
Double bus waiting timeout as sometimes the test would fail
because it would timeout and get no messages from the bus.
2011-02-24 09:29:51 -03:00
Stefan Kost
99d23b3905
indexing-example: use proper signal names
2011-02-18 15:00:05 +02:00
David Schleef
0b95d97e63
tests: fix baseparse test
2011-02-17 14:43:38 -08:00
Sebastian Dröge
861e06cab8
icles: Completely remove equalizer-test from -bad, it's in -good now
2011-02-16 15:29:29 +01:00
Sebastian Dröge
451bbc4e1b
equalizer-test: Initialize debug category after gst_init() to fix segfault
2011-02-16 15:26:44 +01:00
Teemu Katajisto
ab2b9079f0
examples: camerabin: fix --no-xwindow option handling in gst-camerabin-test
...
--no-window flag is false by default and selection based on the option whether
to create XWindow is done before options are parsed. Therefore XWindow is never
created.
https://bugzilla.gnome.org/show_bug.cgi?id=641712
2011-02-08 09:09:29 -03:00
Stefan Kost
4915493932
camerabin-tests: fix lookup of UI files
...
These are uninstalled examples. Pass $srcdir to cpp to build the correct
location for the UI file.
2011-02-07 11:28:23 +02:00
Thiago Santos
bb0cdda487
tests: camerabin2: Improve preview checking
2011-02-03 19:09:20 -03:00
Thiago Santos
4a7dc81782
tests: camerabin2: preview filter tests
...
Adds tests to the preview-filter property of camerabin2
2011-02-03 19:09:20 -03:00
Thiago Santos
b2a45f6f21
tests: camerabin2: Add tests for custom filters
...
Adds tests to check that custom filters elements receive buffers
2011-02-03 19:09:20 -03:00
Thiago Santos
86ae3777fd
tests: camerabin2: Use the correct for limit
...
There are 3 taglists to be tested, not 2
2011-01-26 14:31:13 -03:00
Thiago Santos
97789fa5bc
examples: camerabin: add timing printing for preview image
...
Measure and print the time taken to generate preview image. And
fix a typo
2011-01-24 18:37:12 -03:00
Lasse Laukkanen
10830c9544
examples: camerabin: Don't set default values for GstPhotography interface settings
...
Don't set any default values for source element GstPhotography interface
settings, source elements should have sane defaults themselves.
Also, setting scene-mode is tricky as it is a superset of other GstPhotography
settings. This might cause problem with defaults e.g. setting scene-mode to
'night' may configure flash-mode as 'on' by definition, and after that
we don't want to override this flash-mode setting with gst-camerabin-test default
value. Moreover, user needs have an option to set scene mode first and then force
some individual setting to a different value from the scene-mode definition.
https://bugzilla.gnome.org/show_bug.cgi?id=639841
2011-01-24 18:05:20 -03:00
Thiago Santos
a715b46c7f
camerabin2: Implement tagsetter interface
2011-01-24 14:50:30 -03:00
Thiago Santos
a90f8210bb
tests: camerabin2: Add preview image to tests
...
Adds tests for checking that preview images are posted with
the correct caps on tests
2011-01-24 14:50:29 -03:00
Thiago Santos
e5f267f682
camerabin2: Removing videorecordingbin
...
Removing videorecordingbin as we now use encodebin for it
2011-01-24 14:50:29 -03:00
Thiago Santos
44e500cf7d
camerabin2: tests: Use mainloops
...
Use mainloops instead of sleeps to read bus messages and catch
errors.
2011-01-24 14:50:28 -03:00
Thiago Santos
162383e6b2
tests: camerabin2: imagecapturebin2: fix warnings
...
Warnings passed me by on the last commits to camerabin2 tests,
fixing them.
2011-01-24 11:55:41 -03:00
Thiago Santos
7944a27ee3
tests: camerabin2: Only run a test if -good 0.10.27 is present
...
A camerabin2 tests depends on the commit
dcbba0932d
for jpegenc on -good
that was released on 0.10.27.
This patch makes it check for this version before running the
test.
2011-01-24 11:07:28 -03:00
Thiago Santos
5dbee0c39c
tests: imagecapturebin: Only run a test if -good is 0.10.27 or newer
...
One test on imagecapturebin requires dcbba0932d
on good that was released on 0.10.27.
https://bugzilla.gnome.org/show_bug.cgi?id=640286
2011-01-24 11:07:28 -03:00
Thiago Santos
f59a1d2868
test: qtmux: Tests qtmux reuse
...
Forces the use of qtmux after it has been put to PLAYING and back
to NULL once
https://bugzilla.gnome.org/show_bug.cgi?id=639338
2011-01-14 00:38:56 +00:00
Stefan Kost
d63365fc5b
camerabin2: use g_error_free instead of g_free
2011-01-12 16:56:28 +02:00
Tim-Philipp Müller
ce83c366fe
tests: Makefile.am clean-up
...
Avoid duplicates GST_CHECK_CFLAGS and GST_OPTIONS_CFLAGS are already in
AM_CFLAGS. Add LDADD instead of GST_CHECK_LIBS for consistency.
2011-01-08 00:32:21 +00:00
Tim-Philipp Müller
2ba964df49
tests: make git ignore new schroenc test binary
2011-01-08 00:18:17 +00:00
Tim-Philipp Müller
0f48601a35
tests: fix CFLAGS and LIBADD order in Makefile.am
2011-01-08 00:17:26 +00:00
Tim-Philipp Müller
a044983745
tests: never disable g_assert() and cast checks for the unit tests
...
The unit tests are riddled with g_assert() and friends, make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts.
2011-01-08 00:08:11 +00:00
Tim-Philipp Müller
3bb1d2937f
examples: dist camerabin2 example as well
...
https://bugzilla.gnome.org/show_bug.cgi?id=638604
2011-01-03 23:56:26 +00:00
Tim-Philipp Müller
a197901b82
jack: move plugin to gst-plugins-good
...
https://bugzilla.gnome.org/show_bug.cgi?id=621929
2011-01-02 15:11:52 +00:00
Tim-Philipp Müller
c6c3d9781b
selector: move input-selector and output-selector to core
...
https://bugzilla.gnome.org/show_bug.cgi?id=614306
2010-12-31 01:41:36 +00:00
Tim-Philipp Müller
222be5f0e9
valve: move valve element/plugin to core
...
https://bugzilla.gnome.org/show_bug.cgi?id=630808
2010-12-31 01:41:18 +00:00
Thiago Santos
87c5c7a08b
camerabin2: example: gitignore captured files
2010-12-29 13:24:06 -03:00
Thiago Santos
bfe1e7f8bc
camerabin2: Add tests for video capture
...
Add a test for capturing multiple videos with different resolutions
in a sequence.
2010-12-29 13:24:06 -03:00
Tim-Philipp Müller
f90b8bdfa0
examples: fix gtk3 code path in camerabin example app
...
Just add rows via the combobox's model, which should work with
both gtk2 and gtk3, instead of using the gtk_combo_box_append_text()
convenience API (which was renamed to gtk_combo_box_text_append_text()).
Fixes compilation against gtk3 (there was a typo in the list store
variable name, spotted by Markus Vartiainen).
2010-12-26 17:12:01 +00:00
Thiago Santos
6e4efe5ad4
camerabin2: Refactor tests
...
Refactor tests case so that the same tests can be run for different
camera sources.
2010-12-23 14:13:53 -03:00
Thiago Santos
65c5b65d6d
tests: gitignore camerabin2 tests
...
Adds more camerabin2 elements tests to gitignore
2010-12-23 13:24:56 -03:00
Thiago Santos
7ed49bda4f
imagecapturebin: Add another test case
...
Adds a test case to check if a sequence of buffers with different
caps can be pushed to imagecapturebin and saved correctly
2010-12-23 13:24:56 -03:00
Thiago Santos
72ef18d535
viewfinderbin: Add basic check test
...
Adds minimum check test. It's not a very useful test, but at least
it allows us to run it under valgrind and check for leaks automatically
2010-12-23 13:24:56 -03:00
Thiago Santos
f10e445995
camerabin2: Small tests update
...
Increases timeout value so that tests won't fail with full
debug output.
Also removes buffer alloc from videotestsrc as this feature
isn't ready on camerabin2
2010-12-23 13:24:56 -03:00
Thiago Santos
1904c1891f
camerabin2: Adds tests for image capture with different caps
...
Adds a test that tries sucessive captures with different caps
2010-12-23 13:24:55 -03:00
Thiago Santos
99210b0a3a
camerabin2: Rename v4l2camerasrc to wrappercamerabinsrc
...
Use a better name for the element that wraps single pad src element
into a 3pad source required by camerabin2.
2010-12-23 13:24:43 -03:00
Thiago Santos
5ce8d0356d
camerabin2: Use videotestsrc on the tests
...
Use videotestsrc to avoid openning the camera device on the tests.
2010-12-23 13:20:36 -03:00
Thiago Santos
4ee773b7dd
camerabin2: Add test for supported caps properties
...
Adds tests for checking that the supported caps properties work
as expected (using the respective pads get caps function)
2010-12-23 13:20:35 -03:00
Thiago Santos
4938c2e9ea
camerabin2: Move basecamerasrc to gst-libs
...
Move the base camera src class to gst-libs/gst/basecamerabinsrc to
allow it to be included from the tests.
2010-12-23 13:20:31 -03:00
Teemu Katajisto
4a28d5f478
camerabin2: add videorecordingbin::video-muxer property
2010-12-23 13:18:58 -03:00
Teemu Katajisto
c76aeb77e5
camerabin2: add videorecordingbin::video-encoder property
2010-12-23 13:18:58 -03:00
Thiago Santos
014b8f97f8
viewfinderbin: Fixes to video-sink handling
...
Handle video-sink more carefully, checking if it should
be already added to the bin, and removing old ones when
replacing.
2010-12-23 13:18:57 -03:00
Teemu Katajisto
89142163b1
camerabin2: add imagecapturebin::image-muxer property
2010-12-23 13:18:57 -03:00
Teemu Katajisto
87e0cbff38
camerabin2: add imagecapturebin::image-encoder property
2010-12-23 13:18:57 -03:00
André Dieb Martins
7c47fc497f
camerabin2: implement viewfinderbin::video-sink property to override default video output
2010-12-23 13:18:56 -03:00
Sebastian Dröge
3c2d4a4b0a
asfmux: Fix buffer leak in the unit test
2010-12-21 17:05:34 +01:00
Saleem Abdulrasool
516c977c76
camerabin: fix for latest GTK+ API changes
2010-12-20 21:36:40 +02:00
Thiago Santos
9a2149cf02
camerabin: Fix caps leaks
...
Fix some caps leaks on unit tests
2010-12-20 11:06:52 -03:00
Thiago Santos
bbf331fb6b
jifmux: Fix leaks on check test
...
Fix leaks in jifmux check test
2010-12-20 09:58:18 -03:00
Olivier Crête
bf00fb84f3
tests: Fix leak in autoconvert test
2010-12-19 17:40:12 +05:30
Sebastian Dröge
7326cb5146
tagschecking: Fix some more memory leaks
2010-12-19 12:12:25 +01:00
Sebastian Dröge
16b1b967ad
imagecapturebin: Don't leak message in the unit test
2010-12-19 12:12:12 +01:00
Sebastian Dröge
0df8460419
states: Ignore more vdpau elements in the generic states test
2010-12-19 11:21:27 +01:00
Sebastian Dröge
1ec5ffbfc9
autovideoconvert: Rename and adjust unit test too
2010-12-19 11:21:27 +01:00
Benjamin Gaignard
8b0c2db425
autocolorspace: Add unit test
2010-12-15 21:19:55 +01:00
Thiago Santos
f62e658c10
camerabin2: Only run tests if experimental is enabled
...
Only run camerabin2 tests and build examples if experimental
plugins are enabled
2010-12-08 15:38:30 -03:00
Thiago Santos
b57405665a
camerabin2: Fix tests capture location creation
...
Fixes capture location creation to use multifilesink location
like strings. E.g. using capture_%d instead of capture_0 to let
camerabin2 handle the %d replacing
2010-12-08 15:38:29 -03:00
Thiago Santos
397f7fcceb
examples: camerabin2: Print more info
...
Add some printing for error/eos cases.
2010-12-08 15:38:29 -03:00
Thiago Santos
fb497590c7
camerabin2: Adding tests for camerabin2
...
Adds some basic tests for camerabin2
2010-12-08 15:38:29 -03:00
Thiago Santos
c7bdfa86af
tests: camerabin2: adds tests for elements
...
Adds basic tests for both imagecapturebin and for
videorecordingbin elements
2010-12-08 15:38:29 -03:00
Thiago Santos
8fb8822532
examples: Adds camerabin2 example
...
Adds gtk camerabin2 example app
2010-12-08 15:38:27 -03:00
Stefan Kost
a8c488aefa
output-selector-test: don't hardcode videosinks and use more colorspace conv.
...
Use autovideosink instead of hardcoded sinks. Use an additional colorspace
converter between videotestsrc and timeoverlay.
2010-12-08 17:39:11 +02:00
Thiago Santos
138023614e
tests: Remove leftover comment
...
Remove comment that doesn't make sense anymore
2010-12-02 03:09:59 -03:00
David Schleef
a55a94e72b
Add a schroenc test
2010-11-30 18:55:25 -08:00
Stefan Kost
c5b0e7c621
make: remove traces or moved/removed plugins
2010-11-22 17:08:05 +02:00
Mark Nauwelaerts
a0e7d6dab4
tests: qtmux: also unit test fragmented file cases
2010-11-19 19:21:38 +01:00
Lasse Laukkanen
6867ec5627
examples: camerabin: Remove gstring leak
...
Simplify gst-camerabin-test by removing GString and replacing
with gchar for the filename handling. Also removes a leak of
the GString data.
2010-11-08 11:07:17 -03:00
Lasse Laukkanen
fe22a3ab5a
examples: add async bus handler to gst-camerabin-test
...
Splits the bus handler into sync and async, keeping the
prepare-xwindow handling at the sync for faster handling and
moving the others to the async handler
2010-11-08 08:56:15 -03:00
Thiago Santos
60a6eca2a1
camerabin: Adds 'idle' property
...
Adds 'idle', a read-only boolean property that tells applications
if there is any capturing/saving/encoding going on in camerabin. If
not, it is safe to set it to NULL and release resources without
losing data.
2010-11-04 22:48:02 -03:00
Lasse Laukkanen
bc1b09c1c4
camerabin: Add "ready-for-capture" property
...
Add "ready-for-capture" property to indicate if preparing a new
capture is possible.
"ready-for-capture" changes before the 'image-done' signal, so
the application can be notified that it can do a new capture
even before the previous one has finished encoding/saving.
2010-11-04 21:41:07 -03:00
Tim-Philipp Müller
c250417078
tests: add very simple zbar unit test
...
Not valgrind clean yet (could be zbar's fault though).
2010-11-05 00:23:45 +00:00
Teemu Katajisto
4503a85d54
examples: camerabin: add support for setting many post-processing elements
...
Instead of taking a single element as input for the image post
processing option, take a list of comma separated elements
that will be used.
2010-11-02 09:16:44 -03:00
Tim-Philipp Müller
90b4ce0b80
tests: fix distcheck a bit more
...
Dist elements/parser.h header file, which fixes the 'make check' build.
2010-10-20 00:07:01 +01:00
Tim-Philipp Müller
9eb9257cc6
tests: fix valve unit test
...
gst_buffer_pad_alloc() needs simple caps or NULL caps,
ANY caps are not allowed.
2010-10-19 23:40:36 +01:00
Thiago Santos
603a3e6677
tests: jifmux: Adds tests for the new tags
...
Adds tests for the new exif tags in -base
2010-10-18 08:38:19 -03:00
Thiago Santos
06c2987d38
tests: jifmux: update tests to the new datetime api
...
Update jifmux tests to use new gstdatetime API in core
2010-10-13 12:16:07 -03:00
Mark Nauwelaerts
b50abfe738
faac: adjust unit test to faac modified output
2010-10-12 16:36:18 +02:00