Commit graph

27 commits

Author SHA1 Message Date
Lasse Laukkanen
17617758c3 examples: camerabin: add viewfinder-filter and filter caps properties
Adds support for setting filter-caps and viewfinder-filter
properties in the gst-camerabin-test application
2010-04-13 12:00:36 -03:00
Teemu Katajisto
0176533c02 camerabin: add gst-camerabin-test command line test tool
gst-camerabin-test tool can be used to capture still images and
video clips using camerabin element.
2010-04-13 12:00:35 -03:00
Benjamin Otte
240f494aa7 Add -Wold-style-definition
and fix the warnings
2010-03-22 16:56:03 +01:00
Benjamin Otte
33c2f5fb01 Add -Wwrite-strings
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte
25a54fc391 gst-camera: Add a header declaring the functions from the ui file 2010-03-21 22:46:00 +01:00
Benjamin Otte
e54cbf7850 examples: Call gst_ensure_native_window() for gst-camera
Fixes spurious SEGVs due to multithreading conflicts in
client-side-window Gtk versions.
2010-02-14 15:22:05 +01:00
Benjamin Otte
a04c2db340 examples: Use gtk functions instead of libX11 functions in camerabin
Gets around the need to link to libX11 directly and provides the same
functionality.
To boost, it's more portable, too!
2010-02-14 13:43:04 +01:00
Stefan Kost
0713748e1b camerabin-example: cleanups for mainloop and state-changes. Fixes #608042
Start camerabin via idle handler to have the mainloop already running. Avoid
some unnecessary state changes. Cleanup the bus usage when restarting.
2010-01-28 15:02:23 +02:00
Stefan Kost
e2b3edbc97 camerabin-example: remove maemo comment and log filename
The maemo fixme is not needed anymore. Log the choosen filename to help
people finding the files.
2010-01-25 23:06:59 +02:00
Tim-Philipp Müller
3eaa8c7673 tests: refactor weird bus sync handler code in camerabin example 2010-01-22 02:25:44 +00:00
Sebastian Dröge
be9ca4d5e1 examples: Fix build and signal connection for GtkBuilder stuff 2010-01-16 11:41:20 +01:00
Javier Jardón
878ccf4a56 tests: Port from libglade to GtkBuilder
Fixes bug #601108.
2010-01-16 11:14:55 +01:00
Tim-Philipp Müller
31ab47e03b examples: make camerabin test application handle errors when starting up
Instead of hanging forever in a _get_state() in case an error occurs when
starting up camerabin, bail out and print an error message. Also remove
unnecessary _get_state() when shutting down the pipeline.
2010-01-06 01:56:40 +00:00
Stefan Kost
8c0203ec36 camerabin: remove abbreviations from the property names. Fixes #573370 (partialy)
Also rename their use in tests and examples.
2009-10-24 15:14:26 +03:00
Stefan Kost
3333ab473c gitignore: ignore more 2009-10-24 15:14:26 +03:00
Stefan Kost
0a13cfdaf1 camerabin: set camerabin to READY before accessing the elements 2009-10-24 15:14:26 +03:00
Stefan Kost
b7b8b7f407 build: fprintf, sprintf, sscanf need stdio.h 2009-10-07 15:26:12 +03:00
Stefan Kost
2390d3a31c build: add missing stdlib include to fix the build 2009-10-02 19:12:32 +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
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
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
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
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