Commit graph

471 commits

Author SHA1 Message Date
Tim-Philipp Müller
fc09fe78af 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.
2011-04-08 18:06:57 +01:00
Stefan Kost
c3faaa2daa tests/check/: Add unit tests for new parsers.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/aacparse.c:
* tests/check/elements/amrparse.c:
Add unit tests for new parsers.
2011-04-08 18:06:56 +01:00
Sebastian Dröge
9f256d81db rtpbin: Don't try to request the same request pad twice 2011-03-29 16:34:53 +02:00
Tim-Philipp Müller
2a8103553d tests: enable more formats in videofilter unit test, check more resolutions 2011-03-15 20:23:25 +00:00
Tim-Philipp Müller
3e1c707495 tests: in videofilter unit test also check with 'odd' widths and heights
And only use one test suite.
2011-03-15 09:45:23 +00:00
Stefan Kost
9bfa7defdf tests: order state-test blacklist and add jack elements
Jack audio src/sink elements recently got moved from bad and should be excluded
from the test (like the other device specific source and sinks).

Fixes #644288
2011-03-11 17:01:03 +02:00
Sebastian Dröge
1a8aa16612 cairooverlay: Add a bus handler to the example to handle EOS/ERROR/WARNING
Also clean up the pipeline properly.
2011-03-07 10:54:22 +01:00
Sebastian Dröge
7f85827bf7 examples: Always dist the cairo example 2011-03-07 10:47:23 +01:00
Sebastian Dröge
8b9183c633 cairooverlay: Use LDADD instead of LDFLAGS for libs and add $(GST_LIBS) 2011-03-07 10:46:12 +01:00
Jon Nordby
92808b1010 cairooverlay: Remove unnecessary gtk/gtk-x11 use in example.
This removes code, and allows the example to be used on any platform.

Fixes bug #643981.
2011-03-07 10:44:48 +01:00
Sebastian Dröge
08232b470e cairooverlay: The example always requires gtk-x11
Check for gtk-x11 and only build the example if it's available.
2011-03-02 23:21:15 +01:00
Jon Nordby
32dff9df75 cairooverlay: Add generic Cairo overlay video element.
Allows applications to connect to the "draw" signal of
the element and do their custom drawing there.
Includes an example application demonstrating usage.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=595520
2011-03-02 22:55:52 +01:00
Stefan Kost
4e9daf0e49 example: fix the variable name for the ip-address
Fix the name in the launch pipeline and use a value of "localhost" by default.
2011-03-01 22:40:19 +02:00
Stefan Kost
f73cc87239 rtp-examples: move capsfilter behind converters
We need to have the capsfilter behin the converters to make the converters
convert from the formats v4l2src can do to what we request with the
capsfilter.
2011-02-22 14:54:28 +02:00
Stefan Kost
768dbfaf92 rtp-examples: fix ascii-art
Some boxes where misaligned due to long "audiotetssrc" name. Trim trailing
whitespace.
2011-02-22 14:54:28 +02: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
Thiago Santos
cb527623a3 deinterlace: Handle image caps without asserting
Images might have framerate=0/1 in the caps, which caused an
assertion on deinterlace. I don't know of interlaced image formats
but deinterlace might be hardcoded on some generic pipelines and
it shouldn't assert.

The fix was to set field_duration to 0 if the input has a framerate
with a 0 numerator.

This patch also adds checks for this situation on the unit tests.

https://bugzilla.gnome.org/show_bug.cgi?id=641400
2011-02-04 09:38:35 -03:00
Ognyan Tonchev
0add79cbf1 matroskamux: don't leak ebml writer caps when re-using matroskamux
https://bugzilla.gnome.org/show_bug.cgi?id=640542
2011-01-26 08:51:04 +00:00
Tim-Philipp Müller
285235a10a examples: autoaudisink -> autoaudiosink in RTP examples 2011-01-24 13:39:58 +00:00
Tim-Philipp Müller
8f501521c7 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-07 01:11:02 +00:00
Tim-Philipp Müller
67f4489cd0 jack: new jackaudiosrc and jackaudiosink elements, moved from gst-plugins-bad
https://bugzilla.gnome.org/show_bug.cgi?id=621929
2011-01-02 15:26:30 +00:00
Tristan Matthews
13957deeed examples: add test to demonstrate jack_client_t usage 2011-01-02 14:30:08 +00:00
David Schleef
7b8981766b Change M_PI to G_PI 2010-12-30 14:20:52 -08:00
Wim Taymans
17c45a8869 examples: add example RTP stats
Add some more RTP examples for how to retrieve RTP stats in a receiver.
2010-12-23 13:58:30 +01:00
Thiago Santos
dde7af4b9d jpegenc: Adds another test case
Adds a test for jpegenc to check that is possible to negotiate and
push buffers with different resolution one after another.

https://bugzilla.gnome.org/show_bug.cgi?id=637686
2010-12-21 15:23:11 -03:00
Sebastian Dröge
4ae9f125f0 wavenc: Fix memory leaks in the unit test 2010-12-19 11:02:41 +01:00
Edward Hervey
1d0f79478f check: Fixup the shutting down order
First bring down everything to NULL before attempting to unlink
or unref anything.

Avoids the tests just hanging there for ever waiting to acquire a
lock that doesn't exist anymore.
2010-12-05 14:45:07 +01:00
Edward Hervey
e75c11eb7d tests: Fix previously unbuildable/untested wavenc test 2010-12-03 15:04:26 +01:00
Edward Hervey
f8b8c0476a check: Use fail_unless_equals_int instead of fail_if
Makes the error message more interesting
2010-12-03 14:52:42 +01:00
Stefan Kost
a97c77177e tests: makefile cleanup
Fix indentation. Use $(GST_MAJORMINOR) instead of hardcoded 0.10.
2010-12-03 09:49:26 +02:00
Stefan Kost
4843424da3 tests: add a test for wav muxing 2010-12-03 09:49:26 +02:00
Stefan Kost
35232cd490 tests: remove newlines between variable decls (old gst-indent failure) 2010-12-03 09:49:26 +02:00
Wim Taymans
fdfe76ac53 examples: improve RTP examples
Make the examples use autovideosink and ffmpegcolorspace for better
compàtibility.
Make some more variables for the sink and the decoders.
Set zerolatency tuning on x264enc for better realtime results.
2010-12-02 19:16:47 +01:00
David Schleef
0e721b81f4 tests: Don't dist generated orc files 2010-10-15 14:02:57 -07:00
Sebastian Dröge
96fb89f86c examples: Fix build with GTK+ 3.0 2010-10-12 11:37:40 +02:00
Wim Taymans
1e310bc1ee test: add python version of the audio sender
Add a python version of the audio sender pipeline.

Ported by Sp4rc on IRC.
2010-10-04 17:56:57 +02:00
Wim Taymans
b50ce27b14 tests: Add python RTP client example
Add a python version of the PCMA client app.

Ported by Sp4rc on IRC.
2010-10-04 17:52:22 +02:00
Thijs Vermeir
9c429de37a examples: fix indentation on rtp client example 2010-09-30 11:38:38 +02:00
Thijs Vermeir
92a1adfde8 examples: fix typo in port of rtp examples 2010-09-30 11:38:38 +02:00
Wim Taymans
0236b2efc3 pulse: add test app for pulse device probe 2010-09-22 19:02:35 +02:00
Stefan Kost
78d0353745 shapewipe: add optional border parameter and slowdown animation
Allow to play with the border property (sharp/soft edges).
2010-09-21 23:35:38 +03:00
Sebastian Dröge
e20663bf89 shapewipe: Force the input to AYUV to prevent negotiation failures in videomixer
The second videotestsrc chain might produce YUY2 because everything is
accepted downstream before the first shapewipe chain gets negotiated.
2010-09-21 19:15:22 +02:00
Stefan Kost
bbb7943942 camctrl: add license header to demo 2010-09-15 18:44:31 +03:00
Stefan Kost
9338395bc5 example: add v4l2 example, demonstrating the use of gst controller 2010-09-10 17:00:58 +03:00