Commit graph

60 commits

Author SHA1 Message Date
Tim-Philipp Müller
7cb9b7ab9d Use new GLib API unconditionally 2012-01-22 23:15:19 +00:00
Sebastian Dröge
93e3ed5a86 Merge branch 'master' into 0.11
Conflicts:
	ext/cairo/gsttextoverlay.c
	ext/pulse/pulseaudiosink.c
	gst/audioparsers/gstaacparse.c
	gst/avi/gstavimux.c
	gst/flv/gstflvmux.c
	gst/interleave/interleave.c
	gst/isomp4/gstqtmux.c
	gst/matroska/matroska-demux.c
	gst/matroska/matroska-mux.c
	gst/matroska/matroska-mux.h
	gst/matroska/matroska-read-common.c
	gst/multifile/gstmultifilesink.c
	gst/multipart/multipartmux.c
	gst/shapewipe/gstshapewipe.c
	gst/smpte/gstsmpte.c
	gst/udp/gstmultiudpsink.c
	gst/videobox/gstvideobox.c
	gst/videocrop/gstaspectratiocrop.c
	gst/videomixer/videomixer.c
	gst/videomixer/videomixer2.c
	gst/wavparse/gstwavparse.c
	po/ja.po
	po/lv.po
	po/sr.po
	tests/check/Makefile.am
	tests/check/elements/qtmux.c
	tests/check/elements/rgvolume.c
2012-01-10 14:32:32 +01:00
Tim-Philipp Müller
72fc3d1bd9 tests: g_thread_init() is deprecated in glib master
It's not needed any longer.
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
330d984288 Use g_thread_try_new() instead of g_thread_crate() with newer glib versions 2011-12-12 09:46:27 +00:00
Wim Taymans
710491109d fix for moved interfaces 2011-11-29 19:10:58 +01:00
Wim Taymans
b2d508ac40 update for _get_caps() -> _query_caps() 2011-11-15 18:04:44 +01:00
Wim Taymans
edcaf20667 fix compilation
hal elements were removed, remove them from docs too
change example for pad-block API (actually remove the pad block, an application
should not be bothered with working around bugs in elements)
2011-08-03 22:57:48 +02:00
Edward Hervey
cfbb591252 test/ickles: Port gdkpixbufsink test 2011-08-03 13:38:18 +02:00
Wim Taymans
7555d0949f Merge branch 'master' into 0.11
Conflicts:
	android/apetag.mk
	android/avi.mk
	android/flv.mk
	android/icydemux.mk
	android/id3demux.mk
	android/qtdemux.mk
	android/rtp.mk
	android/rtpmanager.mk
	android/rtsp.mk
	android/soup.mk
	android/udp.mk
	android/wavenc.mk
	android/wavparse.mk
	configure.ac
2011-04-18 10:23:45 +02:00
Robert Swain
4893678fd1 tests: Address unused but set variables
GCC 4.6.x spits warnings about such usage of variables.
2011-04-16 13:10:58 +01:00
Wim Taymans
8131d1157f build: don't hardcode version number 2011-02-28 11:58:48 +01:00
Tim-Philipp Müller
603c703cf2 .gitignore: ignore moved equalizer test binary 2011-02-17 11:58:42 +00:00
Sebastian Dröge
4f78d85707 icles: Add equalizer-test to the build system 2011-02-16 15:30:19 +01:00
Sebastian Dröge
dd77fddeea [MOVED FROM BAD 5/5] equalizer-test: Initialize debug category after gst_init() to fix segfault 2011-02-16 15:30:19 +01:00
Sebastian Dröge
bece468db4 [MOVED FROM BAD 4/5] tests/icles/equalizer-test.c: Fix gain ranges for the latest equalizer changes.
Original commit message from CVS:
* tests/icles/equalizer-test.c: (do_slider_fiddling):
Fix gain ranges for the latest equalizer changes.
2011-02-16 15:30:19 +01:00
Stefan Kost
04689cdb12 [MOVED FROM BAD 3/5] ChangeLog: ChangeLog surgery. gst/equalizer/gstiirequalizer.c (ARG_BAND_WIDTH, _do_init, ARG_GAIN, _GstIirEqualizerBa...
Original commit message from CVS:
* ChangeLog:
ChangeLog surgery.
* gst/equalizer/gstiirequalizer.c (ARG_BAND_WIDTH, _do_init, ARG_GAIN,
_GstIirEqualizerBand, object, _GstIirEqualizerBandClass,
parent_class, gst_iir_equalizer_band_set_property,
gst_iir_equalizer_band_class_init, gst_iir_equalizer_band_get_type,
gst_iir_equalizer_child_proxy_get_child_by_index,
gst_iir_equalizer_child_proxy_get_children_count,
gst_iir_equalizer_child_proxy_interface_init, setup_filter,
gst_iir_equalizer_compute_frequencies, plugin_init):
* tests/icles/equalizer-test.c:
Add fixme and comment for example.
2011-02-16 15:30:19 +01:00
Stefan Kost
85f78281f3 [MOVED FROM BAD 2/5] tests/icles/equalizer-test.c: Port the example to new equalizer api.
Original commit message from CVS:
* tests/icles/equalizer-test.c: (equalizer_set_band_value),
(equalizer_set_all_band_values),
(equalizer_set_band_value_and_wait),
(equalizer_set_all_band_values_and_wait), (do_slider_fiddling),
(main):
Port the example to new equalizer api.
2011-02-16 15:30:19 +01:00
Tim-Philipp Müller
5dea7172c5 [MOVED FROM BAD 1/5] Fix up to use the newly ported (actually working) GstAudioFilter.
Original commit message from CVS:
* configure.ac:
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init),
(gst_iir_equalizer_class_init), (gst_iir_equalizer_init),
(setup_filter), (gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_set_property), (gst_iir_equalizer_get_property),
(gst_iir_equalizer_transform_ip), (gst_iir_equalizer_setup),
(plugin_init):
* gst/equalizer/gstiirequalizer.h:
Fix up to use the newly ported (actually working) GstAudioFilter.
Bump core/base requirements to CVS for this.
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/equalizer-test.c: (check_bus),
(equalizer_set_band_value), (equalizer_set_all_band_values),
(equalizer_set_band_value_and_wait),
(equalizer_set_all_band_values_and_wait), (do_slider_fiddling),
(main):
Add brain-dead interactive test for equalizer.
2011-02-16 15:30:19 +01:00
Tim-Philipp Müller
1732ce033a Move oss4 plugin from -bad to -good
Hook up build infrastructure, docs and tests.

Fixes #614305.
2010-05-11 19:02:55 +01:00
Tim-Philipp Müller
54986f85c6 tests: fix test-oss4 to treat an empty device name the same as a NULL name 2010-05-11 19:02:54 +01:00
Stefan Kost
9675efa0b2 tests/icles/test-oss4.c: Include stdlib.h.
Original commit message from CVS:
* tests/icles/test-oss4.c:
Include stdlib.h.
2010-05-11 19:02:53 +01:00
Tim-Philipp Müller
b508c0440c tests/icles/: Small oss4 test that probes for available devices and retrieves their caps and mixer tracks and all tha...
Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/test-oss4.c: (opt_show_mixer_messages), (WAIT_TIME),
(show_mixer_messages), (probe_mixer_tracks), (probe_pad),
(probe_details), (probe_element), (main):
Small oss4 test that probes for available devices and retrieves
their caps and mixer tracks and all that. Also allows testing of
mixer change messages on the bus.
2010-05-11 19:02:53 +01:00
Tim-Philipp Müller
219058cc6f tests: don't use GST_PLUGIN_LDFLAGS when building test binaries 2010-04-17 10:03:50 +01:00
Tim-Philipp Müller
cc04850bd8 tests: use LDADD for libs to link to instead of LDFLAGS
Use foo_LDADD instead of foo_LDFLAGS to specify the libraries to link to.
This should make sure arguments are passed to the linker in the right
order, and makes LDFLAGS usable again.

Based on patch by Brian Cameron <brian.cameron@oracle.com>

Fixes #615697.
2010-04-14 20:06:09 +01:00
Benjamin Otte
412cc10314 Add -Wold-style-definition flag
And fix the warnings
2010-03-21 15:17:46 +01:00
Benjamin Otte
3342b1679e Add -Wmissing-declarations -Wmissing-prototypes warning flags
And fix all the warnings.
2010-03-17 18:23:28 +01:00
Stefan Kost
498b62c5ba build: no unused variables when disabling asserts 2010-01-22 16:48:01 +02:00
Wim Taymans
fe0bba045f Fix compiler warnings
fix compiler warnings due to unused return values of scanf.
2009-02-02 13:08:14 +01:00
Sebastian Dröge
a5acb2e1a8 Fix format string compiler warning 2009-01-31 11:09:00 +01:00
Jan Schmidt
fd75e08f45 Fix up some compile flags 2009-01-30 18:04:11 +00:00
Wim Taymans
102a703367 tests/icles/.cvsignore: cvsignore newly generated file.
Original commit message from CVS:
* tests/icles/.cvsignore:
cvsignore newly generated file.
2008-11-25 18:13:25 +00:00
Wim Taymans
6ab4698b95 gst/videocrop/gstvideocrop.*: Fix renegotiation when changing properties using the new basetransform features. Fixes ...
Original commit message from CVS:
* gst/videocrop/gstvideocrop.c: (gst_video_crop_init),
(gst_video_crop_transform), (gst_video_crop_transform_caps),
(gst_video_crop_set_caps), (gst_video_crop_set_property):
* gst/videocrop/gstvideocrop.h:
Fix renegotiation when changing properties using the new basetransform
features. Fixes #561502.
* tests/icles/Makefile.am:
* tests/icles/videocrop2-test.c: (make_pipeline), (main):
Add crazy interactive test unit for dynamically changing properties.
2008-11-25 16:06:22 +00:00
Wim Taymans
2e24acaa5b tests/check/elements/icydemux.c: Add some refcount check
Original commit message from CVS:
* tests/check/elements/icydemux.c: (icydemux_found_pad):
Add some refcount check
* tests/check/elements/rtp-payloading.c: (rtp_pipeline_run):
Don't ignore the result of write(), fixes a  compiler warning for me.
* tests/icles/videobox-test.c: (main):
Make the output a little more pretty.
2008-10-27 10:33:20 +00:00
Stefan Kost
4e2a12368b tests/icles/.cvsignore: Ignore more.
Original commit message from CVS:
* tests/icles/.cvsignore:
Ignore more.
2008-08-26 08:11:26 +00:00
Wim Taymans
3033108c05 gst/videobox/gstvideobox.c: Use new basetransform method to renegotiate. Fixes #544956.
Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_set_property):
Use new basetransform method to renegotiate. Fixes #544956.
* tests/icles/Makefile.am:
* tests/icles/videobox-test.c: (make_pipeline), (main):
Add videobox renegotiation example.
2008-08-20 10:59:52 +00:00
Wim Taymans
487b784b4f Don't use gst_element_get_pad(), it's a bad method.
Original commit message from CVS:
* ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_reset),
(do_toggle_element):
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_reset),
(do_toggle_element):
* ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_reset),
(do_toggle_element):
* ext/gconf/gstswitchsink.c: (gst_switch_commit_new_kid):
* ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_reset),
(do_toggle_element):
* ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_reset),
(do_toggle_element):
* gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_reset),
(gst_auto_audio_sink_detect):
* gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_reset),
(gst_auto_video_sink_detect):
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
(gst_rtspsrc_stream_free), (gst_rtspsrc_stream_configure_udp),
(gst_rtspsrc_stream_configure_udp_sink), (gst_rtspsrc_skip_lws),
(gst_rtspsrc_unskip_lws), (gst_rtspsrc_skip_commas),
(gst_rtspsrc_skip_item), (gst_rtsp_decode_quoted_string),
(gst_rtspsrc_parse_digest_challenge), (gst_rtspsrc_parse_auth_hdr):
* tests/icles/videocrop-test.c: (test_with_caps),
(video_crop_get_test_caps):
Don't use gst_element_get_pad(), it's a bad method.
2008-05-21 17:39:38 +00:00
Tim-Philipp Müller
194229250a tests/icles/gdkpixbufsink-test.c: Add cast to placate gcc 4.1.2.
Original commit message from CVS:
* tests/icles/gdkpixbufsink-test.c:
Add cast to placate gcc 4.1.2.
2008-04-18 18:47:43 +00:00
Tim-Philipp Müller
4c9b1ff733 tests/icles/: Interactive test app for gdkpixbufsink.
Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/gdkpixbufsink-test.c:
Interactive test app for gdkpixbufsink.
2008-04-06 18:28:09 +00:00
Tim-Philipp Müller
2ca4b17892 tests/icles/Makefile.am: Move the -lgstfoo where it belongs.
Original commit message from CVS:
* tests/icles/Makefile.am:
Move the -lgstfoo where it belongs.
2008-03-08 19:29:20 +00:00
Jan Schmidt
2e1747f76d tests/: Hush the buildbots up
Original commit message from CVS:
* tests/check/elements/.cvsignore:
* tests/icles/.cvsignore:
Hush the buildbots up
2007-06-14 14:03:41 +00:00
Jan Schmidt
bbcc24410d Move videocrop and osxvideo from -bad.
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/inspect/plugin-videocrop.xml:
* gst-plugins-good.spec.in:
* sys/Makefile.am:
* tests/check/Makefile.am:
* tests/icles/Makefile.am:
* tests/icles/videocrop-test.c:
Move videocrop and osxvideo from -bad.
2007-06-12 20:15:29 +00:00
Tim-Philipp Müller
51e52ed2cf tests/icles/videocrop-test.c: Default to xvimagesink instead of autovideosink while autovideosink/ghostpads/whatever ...
Original commit message from CVS:
* tests/icles/videocrop-test.c: (main):
Default to xvimagesink instead of autovideosink while
autovideosink/ghostpads/whatever don't handle the way we use it in
the way we expect it to.
2007-06-08 08:12:43 +00:00
Tim-Philipp Müller
726254bdde gst/videocrop/gstvideocrop.c: Fix cropping for packed 4:2:2 formats YUYV/YUY2 and UYVY.
Original commit message from CVS:
* gst/videocrop/gstvideocrop.c:
(gst_video_crop_get_image_details_from_caps),
(gst_video_crop_transform_packed_complex):
Fix cropping for packed 4:2:2 formats YUYV/YUY2 and UYVY.
* tests/icles/videocrop-test.c: (check_bus_for_errors),
(test_with_caps), (main):
Block streaming thread before changing filter caps while the
pipeline is running so that we don't get random not-negotiated
errors just because GStreamer can't handle that yet.
2007-01-28 18:28:33 +00:00
Tim-Philipp Müller
75ccb47468 tests/icles/videocrop-test.c: Catch errors while the test is running.
Original commit message from CVS:
* tests/icles/videocrop-test.c: (test_with_caps):
Catch errors while the test is running.
2007-01-27 16:08:15 +00:00
Tim-Philipp Müller
62621b5e41 tests/icles/videocrop-test.c: Call g_thread_init() right at the beginning. Remove superfluous gst_init() - we've alre...
Original commit message from CVS:
* tests/icles/videocrop-test.c: (main):
Call g_thread_init() right at the beginning. Remove superfluous
gst_init() - we've already been inited via the GOption stuff.
2007-01-05 16:07:12 +00:00
Tim-Philipp Müller
f9b92e2176 tests/icles/: Visual test for videocrop, shows that packed yuv doesn't work right yet. --with-ffmpegcolorspace option...
Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/videocrop-test.c: (quit_mainloop), (tick_cb),
(test_with_caps), (video_crop_get_test_caps), (main):
Visual test for videocrop, shows that packed yuv doesn't work right
yet. --with-ffmpegcolorspace option doesn't work yet for unknown
reasons (another basetransform issue?)
2006-10-04 20:05:07 +00:00
Thomas Vander Stichele
dd50f5265b moap ignore
Original commit message from CVS:
moap ignore
2006-10-03 18:36:29 +00:00
Thomas Vander Stichele
2884ad88ba add icle for v4l2
Original commit message from CVS:
add icle for v4l2
2006-10-03 18:35:34 +00:00
Edgard Lima
2c72b70484 Removed set-undef-fps.
Original commit message from CVS:
Removed set-undef-fps.
2006-09-27 17:47:57 +00:00
Wim Taymans
a9bc7aedaa Small cleanups.
Original commit message from CVS:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_object_set_property_helper),
(gst_v4l2_set_defaults):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_create):
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_open), (gst_v4l2_set_norm),
(gst_v4l2_get_frequency), (gst_v4l2_set_frequency),
(gst_v4l2_signal_strength), (gst_v4l2_get_attribute),
(gst_v4l2_set_attribute), (gst_v4l2_get_input),
(gst_v4l2_set_input):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_grab_frame), (gst_v4l2src_get_capture),
(gst_v4l2src_set_capture), (gst_v4l2src_capture_init),
(gst_v4l2src_capture_start), (gst_v4l2src_capture_stop),
(gst_v4l2src_buffer_new):
* tests/icles/v4l2src-test.c: (my_bus_callback), (main):
Small cleanups.
Fix error messages.
Use locks when getting timestamps.
Fix leaks in test.
Add licensing header to tests.
2006-09-27 16:14:18 +00:00