Commit graph

84 commits

Author SHA1 Message Date
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
Stefan Kost
99d23b3905 indexing-example: use proper signal names 2011-02-18 15:00:05 +02: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
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
Stefan Kost
d63365fc5b camerabin2: use g_error_free instead of g_free 2011-01-12 16:56:28 +02: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
Thiago Santos
87c5c7a08b camerabin2: example: gitignore captured files 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
Saleem Abdulrasool
516c977c76 camerabin: fix for latest GTK+ API changes 2010-12-20 21:36:40 +02: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
397f7fcceb examples: camerabin2: Print more info
Add some printing for error/eos cases.
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
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
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
Sebastian Dröge
18f38a747a examples: Fix compilation with GTK+ 3.0 2010-10-12 12:11:37 +02:00
Thiago Santos
55ad3f8816 camerabin: example: make gst-camera use flags
Enable all convertion flags in gst-camera example app
for safety.

Fixes #603063
2010-09-22 23:54:46 -03:00
Thiago Santos
657e80b108 camerabin: examples: do not use deprecated GstXOverlay functions
Replace the deprecated gst_x_overlay_set_xwindow_id with
gst_x_overlay_set_window_handle

Fixes #630255
2010-09-21 10:59:42 -03:00
Lasse Laukkanen
5c92dc23cc camerabin: update tag names in test application to latest gst definitions 2010-09-20 18:26:49 -03:00
Thiago Santos
19981f2787 camerabin: Change zoom property from int to float
Updates zoom property for a more natural type and
makes it consistent with the photography API
2010-09-20 18:26:48 -03:00
Teemu Katajisto
9bace27300 examples: camerabin: use photoiface properties through video-source
Fixes #616923
2010-09-20 18:26:48 -03:00
Teemu Katajisto
638f681f83 examples: camerabin: add --no-xwindow option and fix option handling
Add --no-xwindow option to not to create xwindow. Also fix zoom and
mute option types and filename string handling.
2010-09-20 18:26:47 -03:00
Tim-Philipp Müller
cc705ed7dc tests: fix distcheck by disting new jack example directory
Also add test binary to ignores.
2010-09-07 00:20:56 +01:00
Tristan Matthews
62634b48ed examples: add test to demonstrate jack_client_t usage 2010-09-07 00:33:49 +03:00
Sebastian Dröge
940d253b78 camerabin: Don't install gst-camera.ui
The examples are not meant to be installed and the executables of
them are not installed anyway.

Fixes bug #627918.
2010-08-30 15:20:08 +02:00
Sebastian Dröge
a189cef9c8 tests: Fix build with GTK+ < 2.17.7
gtk_widget_get_allocation() was added in that version.
2010-06-27 10:41:16 +02:00
Sebastian Dröge
4b22f8c136 configure: Require GTK+ >= 2.14 for the example 2010-06-27 10:36:58 +02:00
Sebastian Dröge
44b9b422d8 tests: Don't use deprecated GTK API to fix the build with GTK+ 3.0 2010-06-27 07:40:50 +02:00
Sebastian Dröge
85d3c03d26 configure: Require GLib 2.20 2010-06-14 17:01:03 +02:00
David Schleef
c3d4977761 Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it.  This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs.  If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00
Benjamin Otte
1e399b9838 examples: Don't install camerabin examples 2010-05-15 01:23:36 +02:00
Sebastian Dröge
96b296e6b6 scaletempo: Don't use deprecated GTK symbols in the demo 2010-05-11 10:01:23 +02:00
Sebastian Dröge
3ed0c5f8bc mpegtsmux: Move multi-program muxing example at least to the correct directory
But it doesn't work out of the box because of hardcoded paths.
2010-05-07 08:15:42 +02:00
Tim-Philipp Müller
088df2215f Add new camerabin test binary to .gitignore 2010-05-01 19:06:27 +01:00
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
edbce10db1 examples: Fix warnings 2010-03-21 23:00:48 +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
ecbfd9cc2f Remove gob examples
They were outdated and wouldn't have compiled anymore.
2010-03-18 22:46:41 +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
Benjamin Otte
3c6b0fdfaf examples: Properly link to libm 2010-02-14 13:41:57 +01:00