Commit graph

269 commits

Author SHA1 Message Date
Thiago Santos
7fa5cba6f0 asfmux: First basic check unit tests
Adds simple asfmux unit tests, that test pad creation and pushing a
single buffer through them
2009-07-28 22:51:39 -03:00
Stefan Kost
7e7c63737e camerabin: more perf-test cleanups
Remove some obsolete exmaples. Add video-width/height. Use proper api for
setting still image resolution. Fix stopping random tests on bin-state-changes.
Remove the memdup in snapshot again, as its not needed (pixbuf goes out of
scope with the buffer).
2009-07-22 18:04:18 +03:00
Stefan Kost
b3753116d2 camerabin: we need to copy the data in the example
gdk_pixbuf_new_from_data does not copy the data.
2009-07-21 17:52:33 +03:00
Tim-Philipp Müller
ced14a1ff7 katedec: only put primary language tag in GST_TAG_LANGUAGE
Only put primary language into GST_TAG_LANGUAGE, and convert to lower case,
ie. only use "en" of "en_GB". This is per our tag documentation and hence
what apps expect. Also add example to kateenc property description so people
know a language code is wanted here.
2009-07-21 01:02:06 +01:00
ogg.k.ogg.k
265b75ca38 kate: fix some minor memory leaks
Makes 'make check-valgrind' work for the kate unit test (#525743)
2009-07-20 23:45:47 +01:00
Stefan Kost
8ac16a90e4 camerabin: add code in test to store snapshots for manual verification
Use gdk_pixbuf to save the image in perf-test. Also remove some obsolute
commented out code.
2009-07-20 16:42:44 +03:00
Stefan Kost
cae6b621aa camerabin: improve perf test robustness and add comments 2009-07-20 16:42:43 +03:00
Tim-Philipp Müller
0d16612717 checks: add kate unit tests to valgrind blacklist for now
And add check binary to ignore list.
2009-07-19 23:30:55 +01:00
Tim-Philipp Müller
71efbb1e73 kate: fix up for additional subtitle/x-kate media type 2009-07-19 22:29:19 +01:00
Vincent Penquerc'h
e88984ccbd add new Kate plugin, for Kate overlay streams
katedec: Kate decoder (text only)
kateenc: Kate encoder (text and DVD SPU only)
katetag: Kate tagger
kateparse: Kate parser
tiger: Kate renderer using the Tiger rendering library

Fixes #525743.
2009-07-19 16:04:32 +01:00
Stefan Kost
b1d353e2de camerabin: implemnet two more tests
Add tests for videorecording startup and capture startup delay.
2009-07-17 15:50:19 +03:00
Jan Schmidt
8b2035982e dist: Add the camerabin examples subdirectory to the dist 2009-06-29 21:46:29 +01:00
Wim Taymans
4bc5e2f61e rtpbin: do better cleanup of the src ghostpads
Connect to the pad-removed signal of the ptdemux elements so that we remove the
ghostpads for them. Fixes cleanup when going to NULL as well as when releasing
the sinkpads.

Fixes #561752
2009-06-29 18:48:33 +02:00
Stefan Kost
e4bc1e31ef camerabin: make shot2shot test more reliable
We can only trigger next shot (in the test) when current is captured and saved.
2009-06-26 18:36:25 +03:00
Stefan Kost
aaec6a730d camerabin: sync first test more safely
Don't use gst_element_get_state() to wait for PLAYING, Use the bus-handler
insteader and asynchronously schedule next test.
2009-06-25 19:34:27 +03:00
Stefan Kost
fa78a0f125 camerabin: add target-times option to specify test times
Have some reasonable default times. Add a commandline option to override
defaults. Interpret target-time=0 as skip-test.
2009-06-24 19:16:45 +03:00
Stefan Kost
8f1b3d3ec2 camerabin: debug log only change 2009-06-22 22:01:22 +03:00
Stefan Kost
b1367a95ca camerabin: more cleanup in tests
Add more debug logging. Remove unused mutex and cond.
2009-06-22 13:41:16 +03:00
Stefan Kost
11a78399d8 camerabin: add camerabin examples
gst-camera is a gtk-test app to play with the imagecapture and videorecording.
gst-camera-perf is a tool to run various scenarios and take time meassurements
(e.g. shot-to-shot). Also sort the output files in configure.ac a bit to be
in alphabetical order.
2009-06-22 13:40:36 +03:00
Branko Subasic
c70dbe94b5 rtpbin: add support for buffer-list
Add support for sending buffer-lists.
Add unit test for testing that the buffer-list passed through rtpbin.

fixes #585839
2009-06-19 19:10:35 +02:00
Stefan Kost
1658384381 camerabin: cleanups in the tests
Sprinkle more logging to make it easier to follow. Specify a low framerate and
capture resolution to avoid tests timing out. Make the sinks sync to test closer
to reality. Fix Makefile to use uninstalled interface.
2009-06-14 10:56:38 +03:00
Edward Hervey
34100ce1c7 tests/metadata: Don't try tags we can't handle. Fixes #584945 2009-06-07 10:55:59 +02:00
Jan Schmidt
833a81af75 examples: Don't build the mxf example if GTK isn't present. 2009-06-06 13:53:04 +01:00
Jan Schmidt
743bd6cc10 gitignore: Ignore shapewipe unit test binary 2009-06-05 19:53:09 +01:00
Jan Schmidt
271788c9ae Moved 'x264enc' from -bad to -ugly 2009-06-05 19:52:40 +01:00
Stefan Kost
4d9a0e832c camerabin: fix link order
Move local version up in the link order.
2009-06-05 21:29:46 +03:00
Lasse Laukkanen
6a47f6f594 camerabin: preview image sending optimization
* decouple image capturing from image post-processing and encoding
 * post image-captured message after image is captured
 * post preview-image message with snapshot of captured image
2009-06-05 15:51:31 +03:00
Sebastian Dröge
5c112d4286 shapewipe: Increase timeout of the unit test 2009-06-04 08:57:25 +02:00
Tim-Philipp Müller
f5a03ec2a6 aacparse: set channels and rate on output caps, and keep codec_data
Create output caps from input caps, so we maintain any fields we
might get on the input caps, such as codec_data or rate and channels.
Set channels and rate on the output caps if we don't have input caps
or they don't contain such fields. We do this partly because we can,
but also because some muxers need this information. Tagreadbin will
also be happy about this.
2009-06-02 00:56:52 +01:00
Sebastian Dröge
7f1c2f3a28 shapewipe: Add unit test for shapewipe 2009-06-01 21:25:13 +02:00
Sebastian Dröge
332dae7198 shapewipe: Divide the border value by two, otherwise we use a twice a wide border 2009-05-29 16:55:25 +02:00
Sebastian Dröge
19b4c4f335 shapewipe: Add border property to allow smooth borders
...and use a border of 0.01 in the example application.
2009-05-29 16:52:21 +02:00
Sebastian Dröge
8d1166bb85 shapewipe: Fix Makefile of the example application 2009-05-29 16:00:16 +02:00
Sebastian Dröge
febef56cf2 shapewipe: Add a simple shapewipe transition filter & example application 2009-05-29 15:34:03 +02:00
Jan Schmidt
f8fef34fcb states: Ignore the camerabin for the states test
It accesses the video device, which isn't generally desirable for the
state test.
2009-05-26 15:31:51 +01:00
Wim Taymans
1abaa6f78c tests: add receive rtpbin unit test 2009-05-25 13:33:20 +02:00
Wim Taymans
51c07ac626 tests: more rtpbin checks 2009-05-22 15:37:29 +02:00
Wim Taymans
50d9bc92fb tests: add more rtpbin tests 2009-05-22 13:44:17 +02:00
Wim Taymans
300f02af2a tests: add rtpbin unit test
Add the beginnings of an rtpbin unit test
Add some more stuff to .gitignore
2009-05-22 12:23:27 +02:00
Jan Schmidt
48e32a0890 Moved 'y4menc' from -bad to -good 2009-05-16 00:17:00 +01:00
Rov Juvano
165ccb04e7 scaletempo: Don't require gconfaudiosink in the demo
Fixes bug #537700.
2009-05-07 13:13:39 +02:00
Tim-Philipp Müller
6ab14af5aa tests: make git ignore new unit tests binaries 2009-04-25 00:44:15 +01:00
Jan Schmidt
08c3d2b702 check: exclude rsndvdbin from the states test 2009-04-24 14:51:00 +01:00
Lasse Laukkanen
65ddcd6d5d camerabin: change img-done signal parameter from GString* to const gchar*
Don't allow setting filename via img-done signal parameter but force app
use filename property. Don't stop capture when setting filename property.
Update check unit test based on the change.
2009-04-16 15:19:20 +03:00
Sebastian Dröge
96d4ee8086 mxf: Add unit tests for checking if mxfmux ! mxfdemux pipelines are working without errors 2009-04-07 15:50:37 +02:00
Sebastian Dröge
031ecef2f5 mxfmux: Add unit tests 2009-04-02 12:48:38 +02:00
Stefan Kost
6a350e52bf tests: reenable metadata test 2009-03-22 21:02:45 +02:00
Stefan Kost
c726a3712c metadata: reenable test 2009-03-22 21:02:45 +02:00
Edward Hervey
cf92e49a32 check: Disabling metadata unit test until #574401 is fixed. 2009-03-12 20:13:11 +01:00
Jan Schmidt
81a950ddf8 camerabin: Make the tests pass when the camerabin can't initialise.
The camerabin tests were throwing glib errors and hanging when
gst-plugins-good elements (jpegenc, videocrop) can't found.
2009-03-07 00:31:07 +00:00