Commit graph

629 commits

Author SHA1 Message Date
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
Stefan Kost b72c29a834 tests: allow running state tests for all elements
Now one can use GST_NO_STATE_IGNORE_ELEMENTS=1 make generic/states.check
to try elements that would normaly be skipped.
2010-09-09 21:49:43 +03:00
Wim Taymans 5a5c0d6911 tests: fix rtpjpegpay test
Make the data we send to the jpeg payloader be a valid jpeg file because the
payloader now expects this.
2010-09-09 18:48:54 +02:00
Sebastian Dröge 89bb403ffc imagefreeze: Add test for checking if imagefreeze correctly returns UNEXPECTED after the first buffer 2010-09-04 14:52:08 +02:00
Sebastian Dröge 6b705ba6f5 imagefreeze: Add test for bufferalloc passthrough 2010-09-04 14:52:08 +02:00
Sebastian Dröge 5cd240952e imagefreeze: Fix race conditions in the unit test
If setting the pipeline to PLAYING before issuing the seek, buffers
are already arriving at the sink before the seek is handled and
will have the wrong timestamps and everything.

Fixes bug #625547.
2010-09-04 14:52:08 +02:00
Jonathan Matthew debe2d5634 id3v2mux: write beats-per-minute tag using TBPM frame
https://bugzilla.gnome.org/show_bug.cgi?id=621520
2010-08-05 00:04:48 +01:00
Stefan Kost 0a9a3e4b26 examples: no need to set the color for each frq-band 2010-08-02 23:17:46 +03:00
Mark Nauwelaerts f5adfaed23 tests: rtp payloading: fix pad leak 2010-08-02 13:04:37 +02:00
Sebastian Dröge a978c1a03d examples: Destroy the cairo context after usage 2010-07-24 10:29:01 +02:00
Sebastian Dröge bba463be38 examples: Use cairo instead of to-be-deprecated GDK API
Fixes bug #625002.
2010-07-24 10:26:31 +02:00
Guido Günther 496ed42bbd examples: Make demos -DSEAL safe to fix build with GTK+ 3.0 2010-06-27 07:28:22 +02:00
Tim-Philipp Müller 8afc8a7398 tests: add plugin loading whitelist to test environment
Only want to load core/base/good plugins here.

Fixes #619717.
2010-06-24 15:17:11 +01:00
Tim-Philipp Müller 1acafecb2c tests: ignore sub-directory with orc tests 2010-06-17 16:41:56 +01:00
Zaheer Abbas Merali e49c31fd25 matroskamux: revert change that set a reserved flag on the Block.
So matroska's Block structure has no keyframe flag, only the SimpleBlock has it.
To detect keyframes in Blocks, it is just the BlockGroup container that needs
to have a ReferenceBlock attached if it is a delta frame in video.
2010-06-14 14:28:53 +01:00
Sebastian Dröge aa9dc41a6b tests: Add clean rule for the orc tests 2010-06-12 14:12:50 +02:00
Sebastian Dröge 20b589c793 tests: Add autogenerated orc tests 2010-06-12 14:12:04 +02:00
Sebastian Dröge 307e7f7a21 matroskamux: Fix unit test for changed key-frame behaviour
All audio frames are marked as keyframe now instead of marking
them all as delta unit...
2010-06-10 22:55:17 +02:00
Mark Nauwelaerts 4e5c985ba4 matroskamux: adjust unit test to modified behaviour 2010-06-01 15:55:24 +02:00
Mark Nauwelaerts b967b035a9 matroskamux: unit test checks version 1 files 2010-05-20 17:32:24 +02:00
Tim-Philipp Müller 14305e4f9b tests: fix leak in souphttpsrc unit test
Unref server objects when done. Fixes check-valgrind.
2010-05-14 18:16:45 +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 5fcbea7e7e Move imagefreeze plugin from -bad to -good
Hook up build infrastructure, docs and unit test for new plugin.

Fixes #613786.
2010-05-11 14:31:44 +01:00
Benjamin Otte e258a91f8b Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2010-05-11 14:31:44 +01:00
Sebastian Dröge f152f6e20f imagefreeze: Add some unit tests 2010-05-11 14:31:43 +01:00
Tim-Philipp Müller f9ced7df94 Move capsfilter element from -bad to -good
Hook up moved files to the build infrastructure and docs.

Fixes #617739.
2010-05-11 14:31:43 +01:00
Benjamin Otte a200ec01b8 Add -Wold-style-definition
and fix the warnings
2010-05-11 14:31:43 +01:00
Mark Nauwelaerts 0eee8477df capssetter: add unit test 2010-05-11 14:31:43 +01:00
Mark Nauwelaerts 798ccb7e97 y4menc: adjust unit test to element behaviour 2010-04-30 13:54:41 +02:00
Sebastian Dröge 88451daa03 deinterlace: Fix unit test that checks caps handling
deinterlace now always adds the interlaced field to the output caps,
if it wasn't present in the input caps the output caps will still
contain interlaced=false.
2010-04-29 19:28:23 +02:00
Sebastian Dröge f9edd9b169 videofilter: Extend the unit test to test different color formats 2010-04-29 19:28:21 +02:00
Sebastian Dröge d214820001 videofilter: Add some more tests
These check different property combinations
2010-04-29 19:28:21 +02: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
Edward Hervey 62bd0cd0fa check: Ignore osx audio/video src/sinks in state change tests
And make the line readable for those mere mortals that don't own a 30" screen
2010-04-12 18:22:39 +02:00
Edward Hervey 552f790e84 check: Don't re-declare 'GList *buffers' in the tests
It's an external which lives in gstcheck.c. Redeclaring it makes some
compilers/architectures think the 'buffers' in the individual tests are
a different symbol... and therefore we end up comparing holodecks with
oranges.
2010-04-12 18:03:20 +02:00
Edward Hervey d11998247c check: Ignore jpegenc test 2010-04-12 11:17:34 +02:00
Thiago Santos f5dba3a7a3 tests: jpegenc: Adds some getcaps test
Adds tests for the jpegenc getcaps function, to avoid
having it returning non-subset caps
2010-04-05 16:10:06 -03:00
Tim-Philipp Müller d756bab488 build: build plugins and examples in parallel where possible 2010-03-29 11:00:57 +01:00
Tim-Philipp Müller c4a9ed774e tests: use loop test for long-running videocrop check
This should avoid timeouts on slow machines.

Fixes #597739.
2010-03-23 00:19:29 +00:00
Benjamin Otte 412cc10314 Add -Wold-style-definition flag
And fix the warnings
2010-03-21 15:17:46 +01:00
Benjamin Otte 3f511ec361 Add -Wwrite-strings to the configure flags
... and fix all warnings
2010-03-21 14:17:47 +01:00
Tim-Philipp Müller 073201b329 build: Makefile.am cleanups
Mostly add $(GST_BASE_CFLAGS) where it was missing, but also fix up
order of flags and libs if needed (see docs/random/moving-plugins).
2010-03-18 21:34:24 +00:00
Benjamin Otte c76e72a7f5 Add -Wundef to configure flags
and fix the resulting warnings
2010-03-17 21:33:28 +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
Tim-Philipp Müller a18164d56e tests: fix metadata not writable warnings in interleave and deinterleave tests 2010-03-11 15:51:40 +00:00
Tim-Philipp Müller df2c773e7d tests: fix metadata not writable warnings with apev2mux and id3v2mux tests 2010-03-11 15:38:19 +00:00
Benjamin Otte 21f66635e8 Update for recent changes to common submodule
This just replaces every "$ERROR_CFLAGS" usage with a usage of
"$WARNING_CFLAGS $ERROR_CFLAGS" to get the same functionality as
previously.

Actually using that separation will happen later.
2010-03-10 21:53:51 +01:00
Tim-Philipp Müller 27569e53e8 Make git ignore shapewipe examples and tests 2010-02-19 12:13:08 +00:00
Sebastian Dröge 5196ee5148 shapewipe: Fix unit test for latest changes
Now the alpha is multiplied with the already existing alpha
value instead of simply ignoring it and the luma/chroma values
are kept, even if the output is 100% transparent.
2010-02-15 00:50:27 +01:00
Sebastian Dröge 9ba1aaef67 shapewipe: Improve unit test output on errors 2010-02-15 00:47:08 +01:00
Sebastian Dröge bc611043a9 Moved 'shapewipe' from -bad to -good
Fixes bug #584536.
2010-02-12 11:24:38 +01:00
Sebastian Dröge a59bc8a240 [MOVED FROM BAD 26/29] shapewipe: Print some more details on error/warning messages 2010-02-12 11:12:35 +01:00
Sebastian Dröge 9b70be59c7 [MOVED FROM BAD 09/29] shapewipe: Increase timeout of the unit test 2010-02-12 11:12:33 +01:00
Sebastian Dröge aeca13bac2 [MOVED FROM BAD 07/29] shapewipe: Add unit test for shapewipe 2010-02-12 11:12:32 +01:00
Sebastian Dröge 88f4bd4efd [MOVED FROM BAD 04/29] shapewipe: Divide the border value by two, otherwise we use a twice a wide border 2010-02-12 11:12:32 +01:00
Sebastian Dröge c0f9553707 [MOVED FROM BAD 03/29] shapewipe: Add border property to allow smooth borders
...and use a border of 0.01 in the example application.
2010-02-12 11:12:32 +01:00
Sebastian Dröge b7f83c6b80 [MOVED FROM BAD 02/29] shapewipe: Fix Makefile of the example application 2010-02-12 11:12:32 +01:00
Sebastian Dröge 12a27a46f9 [MOVED FROM BAD 01/29] shapewipe: Add a simple shapewipe transition filter & example application 2010-02-12 11:12:32 +01:00
Tim-Philipp Müller f40b016ec3 checks: ignore deinterlace check binary 2010-01-27 01:49:49 +00:00
Stefan Kost 8576a11dae Revert "v4l2src: don't deref NULL"
This reverts commit 3d9d34bd60.
2010-01-25 17:21:13 +02:00
Stefan Kost 3d9d34bd60 v4l2src: don't deref NULL
Error out when the pool gets shutdown.
2010-01-25 14:16:22 +02:00
Stefan Kost 498b62c5ba build: no unused variables when disabling asserts 2010-01-22 16:48:01 +02:00
Thiago Santos 62900a4c13 deinterlace: Improve passthrough tests
Improve passthrough tests by forcing more specific
interlaced/deinterlaced caps to be tested
2010-01-05 19:04:23 -03:00
Thiago Santos 096c759427 deinterlace: Adds some docs to the new tests
Adds some docs explaining the utility functions of the check
tests of deinterlace
2010-01-05 18:23:33 -03:00
Thiago Santos 80e66a5db4 deinterlace: Adds tests for passthrough
Adds tests for checking if the element really does
passthrough in disabled mode and in auto (if the input is
not interlaced)
2010-01-05 18:23:32 -03:00
Thiago Santos 8ba4d1b683 deinterlace: Adds tests for caps acceptance
Adds check unit tests for deinterlace for validating
caps accepting and the expected caps output on the
other pad
2010-01-05 18:23:32 -03:00
Thiago Santos 2370c452ca deinterlace: Adds basic check test
Adds a basic check test for deinterlace element
2010-01-05 18:23:32 -03:00
Olivier Crête e8dcea17fc tests: Add G.729 RTP payloader/depayloader test
https://bugzilla.gnome.org/show_bug.cgi?id=606050
2010-01-05 13:23:26 -05:00
Wim Taymans f85ebb389c tests: use right type when passing vararg value 2009-12-24 17:01:15 +01:00
Wim Taymans 5c8527bb20 check: fix jitterbuffer check
Make sure we set a base_time on the element.
Fix the timeout to at least twice the jitterbuffer latency.
Enable previously failing tests.
Remove impossible checks.
2009-11-28 12:25:06 +01:00
Stefan Kost 0079f98632 rtpjitterbuffertest: add one more test and file a bug now
CHange the backwards test to always send first buffer first to have a define
basetime. Add another test that sends buffers backwards to assert that only
first sent buffer is keep and used as basetime. Disabled those tests still,
as its not passing/failing consitently and file a bug for jitterbuffer.
2009-11-25 16:05:10 +02:00
Stefan Kost 38bd5e5106 jitterbuffertest: improve the test
the tests are a bit more solid now but still not produce reliable results.
Wonder if they are still flawky or if its a bug in jitterbuffer.
2009-11-25 10:19:12 +02:00
Sebastian Dröge a68d676fb1 wavpackparse: Fix unit test for recent position reporting changes 2009-11-20 09:58:26 +01:00
Michael Smith e98c682732 rtp examples: remove executable bits from C files. 2009-10-23 17:25:17 -07:00
Tim-Philipp Müller 4fb9720cd7 tests: disable all jitterbuffer tests for now
Since even the one enabled seems to fail.
2009-10-23 11:21:44 +01:00
Stefan Kost 347caecbe9 tests: also include the new test for prev commit 2009-10-22 13:39:58 +03:00
Stefan Kost e43eb89449 tests: add a jitterbuffer test
Tests pushing a few buffers in various order and asserting the order sent by the
jitterbuffer. Contains two disabled tests that need more work.
2009-10-22 13:35:57 +03:00
Stefan Kost 3503cfa456 tests: include stdio.h for sscanf 2009-10-20 17:34:34 +03:00
Marvin Schmidt 2543d9c28c flvmux: Use loop test to prevent timeout on slow machines
Partially fixes bug #597739.
2009-10-15 06:03:17 +02:00
Edward Hervey f81575cf26 tests/pipeline/flac: Fix build on macosx 10.5 2009-10-13 18:33:34 +02:00
Jan Schmidt 993a29a390 check: Make the level unit test succeed on Solaris 10
Add a configure check for functional isinf() and fpclass(), and
use fpclass() where possible when isinf() is not available.
2009-10-09 00:14:07 +01:00
Jan Schmidt 0f5711d1dc check: Link against LIBM and include math.h for isinf() 2009-10-08 16:17:13 +01:00
Stefan Kost e0cdd879b4 build: fprintf, sprintf, sscanf need stdio.h 2009-10-07 14:03:20 +03:00
Sebastian Dröge 1a291a126a rtp: Use autoaudio{sink,src} instead of alsa in the examples 2009-09-30 18:46:57 +02:00
Jan Schmidt 7c2489ca77 check: Fix a couple of tests.
The souphttpsrc test wasn't compiling. The soup-misc.h header is needed for
soup_ssl_supported.
Fix the y4menc test to use a 'progressive' header for the test data now that
the element outputs correct interlacing info.
2009-09-12 00:13:04 +01:00
Marvin Schmidt ffa63329cb checks: only run HTTPS test if libsoup has SSL support 2009-09-08 15:28:07 +02:00
Tim-Philipp Müller 80e43452a1 checks: add test for leak to rtpbin unit test
See #591476.
2009-08-14 13:47:18 +01:00
Tim-Philipp Müller 4701696a92 Move rtpmanager from -bad to -good.
Hook up build infrastructure (autotools, docs, unit test).
2009-08-11 02:43:09 +01:00
Wim Taymans 512ba93159 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-08-11 02:30:46 +01:00
Branko Subasic 779f67adc4 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-08-11 02:30:45 +01:00
Wim Taymans 57653143c3 tests: add receive rtpbin unit test 2009-08-11 02:30:44 +01:00
Wim Taymans 02b34602c4 tests: more rtpbin checks 2009-08-11 02:30:44 +01:00
Wim Taymans 232624c908 tests: add more rtpbin tests 2009-08-11 02:30:44 +01:00
Wim Taymans 1710d8a3a5 tests: add rtpbin unit test
Add the beginnings of an rtpbin unit test
Add some more stuff to .gitignore
2009-08-11 02:30:43 +01:00
Tim-Philipp Müller 04efc92897 check: fix flvmux unit test on big endian machines
flvmux only accepts raw audio in little endian, but audiotestsrc
produces audio in the native endianness, which makes linking
between audiotestsrc and flvmux fail on big endian machines. Add
an audioconvert element in between the two to fix this.
2009-08-09 01:28:40 +01:00
Tim-Philipp Müller 2e05af3876 id3demux: fix parsing of unsync'ed ID3 v2.4 tags and frames
Reversing the unsynchronisation seems to work slightly differently
for ID3 v2.3 tags and v2.4 tags: v2.3 tags don't have syncsafe frame
sizes in the frame header, so the unsynchronisation is applied to
the whole frame data including all the frame headers. v2.4 frames
have sync-safe sizes, however, so the unsynchronisation only needs
to be applied to the actual frame data, and it seems that's what's
being done as well. So we need to undo the unsynchronisation on a
per-frame basis for v2.4 tags for things to work properly.

Fixes extraction of coverart/images from APIC frames in ID3 v2.4
tags (#588148).

Add unit test for this as well.
2009-08-07 16:02:23 +01:00
Sebastian Dröge 56850099a6 flvmux: Enable unit test now that it passes 2009-08-04 07:08:45 +02:00
Sebastian Dröge a931c67597 flvmux: Fix unit test to correctly handle request pads
Request pads are removed by the element instance in PAUSED->READY
so we need to re-request pads for every run and link them again.

Last fix for bug #590447.
2009-08-03 20:08:33 +02:00
Tim-Philipp Müller 8c230e08f5 checks: add basic unit test for flvmux, but disable it for now
Basic unit test for flvmux. Fails miserably, hence disabled for now.
2009-08-01 12:19:41 +01:00
Tim-Philipp Müller 6227a6118e check: add basic unit test for flvdemux
In particular, test re-use of flvdemux in both pull and push mode
(see #583030).
2009-07-31 23:55:01 +01:00
Jan Schmidt 988123b186 gitignore: Ignore some new binaries 2009-07-19 11:42:12 +01:00
Sebastian Dröge e382514818 effectv: Add unit test for all effectv elements 2009-07-16 12:55:49 +02:00
Filippo Argiolas 6105fa5b5e v4l2src: add a simple test case for device probing 2009-07-13 16:16:22 +02:00
Ognyan Tonchev 11b7016f7d tests: add unit tests for buffer-list payloaders
See #585559
2009-06-19 18:12:27 +02:00
Wim Taymans d1606beaca tests: add some debug, send newsegment 2009-06-16 15:25:54 +02:00
Wim Taymans ff34ca9682 tests: turn g_print into debug 2009-06-16 15:06:25 +02:00
Ognyan Tonchev 375523be71 multiudpsink: add support for buffer lists
Add support for BufferList and add a unit test.

Fixes #585842
2009-06-16 15:04:15 +02:00
Tim-Philipp Müller 7ade32216f Remove a few old example apps from the 0.8 days
Some have been replaced by newer ones, others are demoing elements that
don't exist any longer (not in -good anyway), and others have not been
touched in many years and it seem pointless to keep them around.

Removing these files makes sure we don't have any code in our repository
that uses Gtk+ symbols which are to be removed for GNOME3, and as such
will make some script that greps for this kind of stuff give us a clean
bill of code health. Fixes #585757.
2009-06-14 19:19:19 +01:00
Marvin Schmidt e284f0cb29 tests: Don't run the flacdec test if the plugin isn't built. Fixes #585630 2009-06-13 10:43:55 +02:00
Stefan Kost 501f4fe13e makefile: idea about makeing more sources/sinks testable again 2009-05-26 16:29:46 +03:00
Jan Schmidt bdd5f4f2d9 check: Don't change directory in the test
Changing directory invalidates the paths the registry has picked
up for our plugins, because the test environment specifies relative
paths. Fixing that is a separate problem, in the meantime, build a
path to the test files instead of changing directory. Fixes the
distcheck.
2009-05-16 02:37:06 +01:00
Jan Schmidt fa15557bf5 check: Remove assertion that breaks check again git master
Remove the assertion that the sender of the tags message is the
element until we decide whether that's going to be true or not.
2009-05-16 01:21:34 +01:00
Jan Schmidt bf58596e16 ignores: Ignore the flacdec check binary 2009-05-16 00:18:34 +01:00
Jan Schmidt 135e61f753 Moved 'y4menc' from -bad to -good 2009-05-16 00:16:31 +01:00
Tim-Philipp Müller c014c4a621 checks: move files required by unit tests into tests/files and make sure they're disted
Move unit test data into the directory where it belongs and make in particular
the flacdec unit test cd into the directory with the test files instead of making
assumptions about the current working directory in that unit test. As a side effect
of movng those files, there's only one EXTRA_DIST in tests/check/Makefile.am now,
which is likely to work better than having two. Hopefully fixes #582753.
2009-05-15 17:17:20 +01:00
Tim-Philipp Müller 0c4b6ee286 checks: fix flacdec unit tests on big-endian machines and under valgrind
Flacdec outputs 16-bit samples, so let's check if the value of the first
sample is what we expect rather than just the first byte, which may be
different from what we expect depending on the host's endianness. Fixes
the flacdec unit tests on PPC. Also fix a bunch of leaks in the unit
tests to make valgrind happy. Fixes #582420.
2009-05-13 09:24:26 +01:00
Sebastian Dröge 633c940362 rganalysis: Remove invalid unit test
The test creates buffers with non-silence, sets the GAP
flag on it and expects rganalysis to ignore the content and assume silence.

That's not the way how GAP buffers should be used, if the GAP flag is set
elements *can* assume that they only contain silence but they're not *required*
to assume that. The GAP flag must only be set on silence buffers.

Fixes bug #582252.
2009-05-12 11:18:03 +02:00
Jan Schmidt fd1580cc57 checks: dist id3-577468-unsynced-tag.tag test file 2009-05-11 23:13:20 +01:00
Sebastian Dröge e0f4244336 gdkpixbuf: Use the libs and cflags of gdk pixbuf instead of gtk
This fixes the build if gdk-pixbuf is found but gtk isn't
2009-05-11 10:15:00 +02:00
Jan Schmidt a32be6f170 id3v2mux: Make the test failure slightly more informative 2009-05-06 14:24:35 +01:00
Tim-Philipp Müller 356e863c9c tests: don't build examples if --disable-examples was passed to configure 2009-05-05 13:23:45 +01:00
Tim-Philipp Müller 0ff1b18cbb id3demux: add unit test file for unsynced id3 tags 2009-04-24 02:11:28 +01:00
Jan Schmidt 06a4b80918 check: Check whether threads are already initialised before g_thread_init() 2009-04-18 14:05:16 +01:00
Thomas Vander Stichele 5f802dad4e add debug and an assert 2009-04-04 15:14:31 +02:00
Thomas Vander Stichele be94a147ba add a test to check that we get all decoded bytes
from a 10-buffer audiotestsrc flac, in the case of:
 - a full decode
 - a decode of a seek for the full file
 - a decode of a seek for a small part, smaller than the first buffer

The test fails because flacdec drops the first outgoing buffer on a seek
2009-04-04 15:14:31 +02:00
Jonathan Matthew 9b7c9208c3 id3v2mux: write RVA2 frames containing peak/gain volume data 2009-04-02 00:20:02 +01:00
Tim-Philipp Müller c885b3d027 .gitignore: ignore more 2009-03-20 01:06:14 +00:00
Peter Kjellerstedt c83635d42c check: gst-plugins-good.supp needs to be distributed. 2009-03-04 16:15:05 +01:00
Sebastian Dröge 08123cc318 Fix audioecho unit test on 32 bit systems
Cast the new value for the "delay" property to GstClockTime.
Integers without type are passed to vararg functions with
an integer type that can hold a pointer.
2009-02-03 17:12:46 +01: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
Stefan Kost 00fdca0c14 Fix example apps by drawing in the main-loop. 2009-01-27 23:10:36 +02:00
Tim-Philipp Müller 3c1f1b195f tests: fix build of aspectratio crop unit test in uninstalled environment. 2009-01-27 20:33:02 +00:00
Thijs Vermeir 27093c19a4 Add unit test for aspectratiocrop Fixes bug #527951
Add unit test for aspectratiocrop and refactor this element. Added
finalize function to cleanup leaking mutex.
2009-01-25 18:40:42 +01:00
Jan Schmidt bff7e4bea8 Ignore check binaries 2009-01-25 14:35:20 +00:00
Jan Schmidt 093e555473 More entries for the gitignores 2009-01-23 23:38:10 +00:00
Thijs Vermeir 3733a2ef8c skip video/x-raw-gray in videocrop unit test
A recent commit added video/x-raw-gray support to videocrop. However
this lets the videocrop unit test fail. Because videotestsrc can't
generate this format.
2009-01-23 20:36:27 +01:00
Sebastian Dröge 99753365c6 Rename audioreverb to audioecho. Fixes bug #568395.
The element can add an echo and a simple reverb effect to
an audio stream but for a real reverb filter it would need
some additional filtering to prevent a metallic-sounding
result.
2009-01-22 13:27:56 +01:00
Sebastian Dröge 344a9f4229 Add an echo/reverb filter to the audiofx plugin, with configurable echo delay, intensity and feedback. Fixes bug #567...
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/inspect/plugin-audiofx.xml:
* docs/plugins/inspect/plugin-spectrum.xml:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofx.c: (plugin_init):
* gst/audiofx/audioreverb.c: (gst_audio_reverb_base_init),
(gst_audio_reverb_class_init), (gst_audio_reverb_init),
(gst_audio_reverb_finalize), (gst_audio_reverb_set_property),
(gst_audio_reverb_get_property), (gst_audio_reverb_setup),
(gst_audio_reverb_stop), (gst_audio_reverb_transform_ip):
* gst/audiofx/audioreverb.h:
* tests/check/Makefile.am:
* tests/check/elements/audioreverb.c: (setup_reverb),
(cleanup_reverb), (GST_START_TEST), (audioreverb_suite):
Add an echo/reverb filter to the audiofx plugin, with configurable
echo delay, intensity and feedback. Fixes bug #567874.
2009-01-19 11:19:08 +00:00
Sebastian Dröge 75c1c9f378 Add audioiirfilter and audiofirfilter elements which allow generic IIR/FIR filters to be implemented by providing the...
Original commit message from CVS:
* configure.ac:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofirfilter.c: (gst_audio_fir_filter_base_init),
(gst_audio_fir_filter_class_init),
(gst_audio_fir_filter_update_kernel), (gst_audio_fir_filter_init),
(gst_audio_fir_filter_setup), (gst_audio_fir_filter_finalize),
(gst_audio_fir_filter_set_property),
(gst_audio_fir_filter_get_property):
* gst/audiofx/audiofirfilter.h:
* gst/audiofx/audiofx.c: (plugin_init):
* gst/audiofx/audioiirfilter.c: (gst_audio_iir_filter_base_init),
(gst_audio_iir_filter_class_init),
(gst_audio_iir_filter_update_coefficients),
(gst_audio_iir_filter_init), (gst_audio_iir_filter_setup),
(gst_audio_iir_filter_finalize),
(gst_audio_iir_filter_set_property),
(gst_audio_iir_filter_get_property):
* gst/audiofx/audioiirfilter.h:
Add audioiirfilter and audiofirfilter elements which allow
generic IIR/FIR filters to be implemented by providing the
filter coefficients. Fixes bug #567577.
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.signals:
* docs/plugins/inspect/plugin-alaw.xml:
* docs/plugins/inspect/plugin-audiofx.xml:
* docs/plugins/inspect/plugin-avi.xml:
* docs/plugins/inspect/plugin-flac.xml:
* docs/plugins/inspect/plugin-mulaw.xml:
* docs/plugins/inspect/plugin-video4linux2.xml:
* docs/plugins/inspect/plugin-wavparse.xml:
Add documentation for the audioiirfilter and audiofirfilter
elements.
* tests/check/Makefile.am:
* tests/check/elements/audiofirfilter.c: (on_message),
(on_rate_changed), (on_handoff), (GST_START_TEST),
(audiofirfilter_suite):
* tests/check/elements/audioiirfilter.c: (on_message),
(on_rate_changed), (on_handoff), (GST_START_TEST),
(audioiirfilter_suite):
* tests/examples/Makefile.am:
* tests/examples/audiofx/Makefile.am:
* tests/examples/audiofx/firfilter-example.c: (on_message),
(on_rate_changed), (main):
* tests/examples/audiofx/iirfilter-example.c: (on_message),
(on_rate_changed), (main):
Add unit tests and example applications for the two filter
elements.
2009-01-13 19:23:57 +00:00
Wim Taymans 89060e8696 tests/examples/rtp/server-alsasrc-PCMA.c: Add some example code for printing the RTP manager stats.
Original commit message from CVS:
* tests/examples/rtp/server-alsasrc-PCMA.c: (print_source_stats),
(print_stats), (main):
Add some example code for printing the RTP manager stats.
2009-01-13 17:49:07 +00:00
Sebastian Dröge 0016658ace gst/audiofx/: Implement a base class for generic audio FIR filters.
Original commit message from CVS:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofxbasefirfilter.c:
(gst_audio_fx_base_fir_filter_dispose),
(gst_audio_fx_base_fir_filter_base_init),
(gst_audio_fx_base_fir_filter_class_init),
(gst_audio_fx_base_fir_filter_init),
(gst_audio_fx_base_fir_filter_push_residue),
(gst_audio_fx_base_fir_filter_setup),
(gst_audio_fx_base_fir_filter_transform),
(gst_audio_fx_base_fir_filter_start),
(gst_audio_fx_base_fir_filter_stop),
(gst_audio_fx_base_fir_filter_query),
(gst_audio_fx_base_fir_filter_query_type),
(gst_audio_fx_base_fir_filter_event),
(gst_audio_fx_base_fir_filter_set_kernel):
* gst/audiofx/audiofxbasefirfilter.h:
* gst/audiofx/audiofxbaseiirfilter.c:
Implement a base class for generic audio FIR filters.
* gst/audiofx/audiowsincband.c:
(gst_gst_audio_wsincband_mode_get_type),
(gst_gst_audio_wsincband_window_get_type),
(gst_audio_wsincband_base_init), (gst_audio_wsincband_class_init),
(gst_audio_wsincband_init), (gst_audio_wsincband_build_kernel),
(gst_audio_wsincband_setup), (gst_audio_wsincband_set_property),
(gst_audio_wsincband_get_property):
* gst/audiofx/audiowsincband.h:
* gst/audiofx/audiowsinclimit.c:
(gst_audio_wsinclimit_mode_get_type),
(gst_audio_wsinclimit_window_get_type),
(gst_audio_wsinclimit_base_init),
(gst_audio_wsinclimit_class_init), (gst_audio_wsinclimit_init),
(gst_audio_wsinclimit_build_kernel), (gst_audio_wsinclimit_setup),
(gst_audio_wsinclimit_set_property),
(gst_audio_wsinclimit_get_property):
* gst/audiofx/audiowsinclimit.h:
* tests/check/elements/audiowsincband.c: (GST_START_TEST):
* tests/check/elements/audiowsinclimit.c: (GST_START_TEST):
Use this new base class for audiowsincband and audiowsinclimit.
Also cleanup both elements.
2009-01-11 19:03:38 +00:00
Mark Nauwelaerts 7958cf82ab gst/matroska/: Some cleanups, refactoring and minor enhancements in caps handling.
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_video_pad_setcaps):
Some cleanups, refactoring and minor enhancements in caps handling.
* gst/matroska/matroska-mux.c: (gst_matroska_mux_class_init),
(gst_matroska_mux_init), (gst_matroska_pad_reset),
(gst_matroska_pad_free), (gst_matroska_mux_reset),
(gst_matroska_mux_video_pad_setcaps),
(gst_matroska_mux_request_new_pad):
* tests/check/elements/matroskamux.c: (teardown_src_pad):
Only remove, release or reset what is appropriate upon state change.
2009-01-08 15:56:46 +00:00
Wim Taymans 996fb72681 tests/examples/rtp/server-decodebin-H263p-AMR.sh: Add example RTP transcoding pipeline from any file decodedable with...
Original commit message from CVS:
* tests/examples/rtp/server-decodebin-H263p-AMR.sh:
Add example RTP transcoding pipeline from any file decodedable with
uridecodebin.
2009-01-02 16:31:13 +00:00
Wim Taymans 9f46e70477 tests/examples/rtp/: Add two C examples of using gstrtpbin as a sender and a receiver.
Original commit message from CVS:
* tests/examples/rtp/.cvsignore:
* tests/examples/rtp/Makefile.am:
* tests/examples/rtp/client-PCMA.c: (pad_added_cb), (main):
* tests/examples/rtp/server-alsasrc-PCMA.c: (main):
Add two C examples of using gstrtpbin as a sender and a receiver.
2009-01-02 15:20:48 +00:00
Sebastian Dröge 71dec960dd tests/check/elements/deinterleave.c: Increase timeout to 3 minutes to prevent timeouts.
Original commit message from CVS:
* tests/check/elements/deinterleave.c: (deinterleave_suite):
Increase timeout to 3 minutes to prevent timeouts.
2008-12-16 13:14:39 +00:00
Sebastian Dröge 1b9cecf68b tests/check/elements/interleave.c: Increase timeout to 3 minutes to prevent timeouts.
Original commit message from CVS:
* tests/check/elements/interleave.c: (interleave_suite):
Increase timeout to 3 minutes to prevent timeouts.
2008-12-16 12:52:24 +00:00
Sebastian Dröge 2a21dd6d8e tests/check/Makefile.am: Also ignore pulsemixer for the states unit test.
Original commit message from CVS:
* tests/check/Makefile.am:
Also ignore pulsemixer for the states unit test.
2008-12-09 14:30:03 +00:00
Sebastian Dröge c979a9cdc3 tests/check/elements/videocrop.c: Update the unit test for the new color values for BT.601 red.
Original commit message from CVS:
* tests/check/elements/videocrop.c: (check_1x1_buffer):
Update the unit test for the new color values for BT.601 red.
Fixes bug #563510.
2008-12-09 10:47:14 +00:00
Sebastian Dröge 20fbc666a8 tests/check/elements/souphttpsrc.c: The ports in libsoup are unsigned integers and not signed integers.
Original commit message from CVS:
* tests/check/elements/souphttpsrc.c: (GST_START_TEST),
(run_server):
The ports in libsoup are unsigned integers and not signed
integers.
2008-12-09 09:09:25 +00:00
Ron McOuat 24e30c8834 Add support for basic and digest authentication in souphttpsrc.
Original commit message from CVS:
Patch by: Ron McOuat <rmcouat at smartt dot com>
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_class_init),
(gst_soup_http_src_init), (gst_soup_http_src_dispose),
(gst_soup_http_src_set_property), (gst_soup_http_src_get_property),
(gst_soup_http_src_authenticate_cb), (gst_soup_http_src_start):
* ext/soup/gstsouphttpsrc.h:
* tests/check/elements/souphttpsrc.c: (basic_auth_cb),
(digest_auth_cb), (run_test), (GST_START_TEST),
(souphttpsrc_suite), (run_server):
Add support for basic and digest authentication in souphttpsrc.
Fixes bug #561775.
2008-11-27 16:43:24 +00:00
Stefan Kost 6f13524166 tests/examples/level/level-example.c: Set fakesink to sync. Otherwise people might question the message interval. Nev...
Original commit message from CVS:
* tests/examples/level/level-example.c:
Set fakesink to sync. Otherwise people might question the message
interval. Nevertheless the timestamp in the message is what matters.
2008-11-26 21:19:47 +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
Jan Schmidt 968bee1f95 tests/check/Makefile.am: Just keep disabling elements that hang the states test until it works.
Original commit message from CVS:
* tests/check/Makefile.am:
Just keep disabling elements that hang the states test until it
works.
2008-11-20 13:58:43 +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
Jan Schmidt cbeb0d1d49 tests/check/Makefile.am: Don't run the states test on pulsesrc and pulsesink
Original commit message from CVS:
* tests/check/Makefile.am:
Don't run the states test on pulsesrc and pulsesink
2008-10-16 15:30:22 +00:00
Edward Hervey 8e8e2bf451 gst/qtdemux/qtdemux.c: Remove previous wrong commit
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: Remove previous wrong commit
* tests/check/elements/icydemux.c: (icydemux_found_pad):
Remove problematic and useless refcount check.
Fixes #556381
2008-10-15 09:39:27 +00:00
Wim Taymans a3dd91a4ae tests/examples/rtp/: Add some more H263p server and client examples.
Original commit message from CVS:
* tests/examples/rtp/client-H263p.sdp:
* tests/examples/rtp/client-H263p.sh:
* tests/examples/rtp/server-VTS-H263p.sh:
Add some more H263p server and client examples.
2008-10-07 09:58:13 +00:00
Jan Schmidt a236a2df36 gst/: Fix build flags order.
Original commit message from CVS:
* gst/interleave/Makefile.am:
* gst/matroska/Makefile.am:
Fix build flags order.
* tests/check/elements/audioamplify.c: (GST_START_TEST):
* tests/check/elements/audiodynamic.c: (GST_START_TEST):
* tests/check/elements/audioinvert.c: (GST_START_TEST):
* tests/check/elements/audiopanorama.c: (GST_START_TEST):
Format fixes.
* tests/check/elements/multifile.c:
Pull in unistd.h
2008-09-17 13:49:04 +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 cc3f301d40 tests/check/elements/level.c: Fix compilation some more.
Original commit message from CVS:
* tests/check/elements/level.c: (GST_START_TEST):
Fix compilation some more.
2008-08-14 12:47:09 +00:00
Stefan Kost e6663a01f2 tests/check/elements/level.c: Add a test for level in stereo mode.
Original commit message from CVS:
* tests/check/elements/level.c:
Add a test for level in stereo mode.
2008-08-10 19:40:27 +00:00
Stefan Kost 0f6a6dc73a tests/examples/spectrum/: Demo how to draw analyzer results synced to the clock.
Original commit message from CVS:
* tests/examples/spectrum/demo-audiotest.c:
* tests/examples/spectrum/demo-osssrc.c:
Demo how to draw analyzer results synced to the clock.
2008-08-10 19:35:05 +00:00
Wim Taymans 0f4317db20 gst/rtsp/URLS: Add another URL.
Original commit message from CVS:
* gst/rtsp/URLS:
Add another URL.
* tests/check/elements/id3v2mux.c: (test_taglib_id3mux_with_tags):
* tests/check/elements/rglimiter.c: (GST_START_TEST):
Add some more debug info.
2008-08-05 08:43:45 +00:00
Wouter Cloetens 6b188cbf2c ext/soup/gstsouphttpsrc.c: Fix Soup HTTP source seeking.
Original commit message from CVS:
* ext/soup/gstsouphttpsrc.c:
Fix Soup HTTP source seeking.
Patch By: Wouter Cloetens  <wouter at mind be>
Fixes: #540300
* tests/check/elements/.cvsignore:
Ignore new check programs.
2008-07-19 13:08:42 +00:00
Jan Schmidt f505a291ff Move replaygain and interleave plugins 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/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.interfaces:
* docs/plugins/gst-plugins-good-plugins.prerequisites:
* docs/plugins/inspect/plugin-interleave.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* tests/check/Makefile.am:
Move replaygain and interleave plugins from -bad.
Fixes: #543406
Fixes: #536228
2008-07-19 01:01:13 +00:00
Sebastian Dröge 20111b55b2 tests/check/elements/: Don't use declarations after statements.
Original commit message from CVS:
* tests/check/elements/cmmldec.c: (GST_START_TEST):
* tests/check/elements/rtp-payloading.c: (rtp_pipeline_create),
(rtp_pipeline_run):
* tests/check/elements/souphttpsrc.c: (souphttpsrc_suite):
Don't use declarations after statements.
2008-07-14 17:15:42 +00:00
Sebastian Dröge 92ed8f6a74 Don't use declarations after statements and variable length arrays.
Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_uri_set_uri):
* ext/speex/gstspeexenc.c: (gst_speex_enc_sink_getcaps):
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_set_wp_config):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_fixate):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format):
* tests/examples/equalizer/demo.c: (message_handler):
* tests/examples/spectrum/demo-audiotest.c: (message_handler):
* tests/examples/spectrum/demo-osssrc.c: (message_handler):
Don't use declarations after statements and variable length arrays.
2008-07-08 12:51:34 +00:00
Mark Nauwelaerts cb0b3da393 tests/check/elements/avimux.c: Adjust avimux unit test according to increased streamheader size.
Original commit message from CVS:
* tests/check/elements/avimux.c: (check_avimux_pad):
Adjust avimux unit test according to increased streamheader size.
2008-06-28 19:31:46 +00:00
Sebastian Dröge b2c97f7bc6 tests/check/pipelines/wavpack.c: Remove workaround for a bug in identity that is fixed in 0.10.20.
Original commit message from CVS:
* tests/check/pipelines/wavpack.c: (bus_handler):
Remove workaround for a bug in identity that is fixed in 0.10.20.
2008-06-25 07:57:26 +00:00
Wim Taymans 198224ef58 gst/rtsp/URLS: Some more urls.
Original commit message from CVS:
* gst/rtsp/URLS:
Some more urls.
* gst/smpte/barboxwipes.c:
Add a comment
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Fix typo, add audioresample to the pipeline.
2008-06-17 10:14:47 +00:00
Sebastian Dröge 35a5e9d33f gst/interleave/interleave.*: Allow setting channel positions via a property and allow using the channel positions on ...
Original commit message from CVS:
* gst/interleave/interleave.c: (gst_interleave_pad_get_type),
(gst_interleave_finalize), (gst_audio_check_channel_positions),
(gst_interleave_set_channel_positions),
(gst_interleave_class_init), (gst_interleave_init),
(gst_interleave_set_property), (gst_interleave_get_property),
(gst_interleave_request_new_pad), (gst_interleave_release_pad),
(gst_interleave_sink_setcaps), (gst_interleave_src_query_duration),
(gst_interleave_src_query_latency), (gst_interleave_collected):
* gst/interleave/interleave.h:
Allow setting channel positions via a property and allow using the
channel positions on the input as the channel positions of the output.
Fix some broken logic and memory leaks.
* tests/check/Makefile.am:
* tests/check/elements/interleave.c: (src_handoff_float32),
(sink_handoff_float32), (GST_START_TEST), (interleave_suite):
Add unit tests for checking correct handling of channel positions.
2008-06-02 12:42:14 +00:00
Jan Schmidt b47679bd95 Ignore some more generated things
Original commit message from CVS:
* docs/plugins/.cvsignore:
* tests/check/elements/.cvsignore:
Ignore some more generated things
* tests/check/Makefile.am:
Ignore OSS elements in the state changes test too.
2008-05-28 20:01:32 +00:00
Sebastian Dröge 22b3fb381c gst/interleave/deinterleave.c: Add another example launch line.
Original commit message from CVS:
* gst/interleave/deinterleave.c:
Add another example launch line.
* gst/interleave/interleave.c: (interleave_24),
(gst_interleave_finalize), (gst_interleave_base_init),
(gst_interleave_class_init), (gst_interleave_init),
(gst_interleave_request_new_pad), (gst_interleave_release_pad),
(gst_interleave_change_state), (__remove_channels),
(__set_channels), (gst_interleave_sink_getcaps),
(gst_interleave_set_process_function),
(gst_interleave_sink_setcaps), (gst_interleave_sink_event),
(gst_interleave_src_query_duration), (gst_interleave_src_query),
(forward_event_func), (forward_event), (gst_interleave_src_event),
(gst_interleave_collected):
* gst/interleave/interleave.h:
Major rewrite of interleave using GstCollectpads. This new version
also supports almost all raw audio formats and has better caps
negotiation. Fixes bug #506594.
Also update docs and add some more examples.
* tests/check/elements/interleave.c: (interleave_chain_func),
(GST_START_TEST), (src_handoff_float32), (sink_handoff_float32),
(interleave_suite):
Add some more extensive unit tests for interleave.
2008-05-26 10:28:47 +00:00
Wim Taymans 52bc66555f Don't use _gst_pad().
Original commit message from CVS:
* examples/switch/switcher.c: (switch_timer):
* gst/replaygain/gstrgvolume.c: (gst_rg_volume_init):
* gst/rtpmanager/gstrtpclient.c: (create_stream):
* gst/sdp/gstsdpdemux.c: (gst_sdp_demux_stream_configure_udp),
(gst_sdp_demux_stream_configure_udp_sink):
* tests/check/elements/deinterleave.c: (GST_START_TEST),
(pad_added_setup_data_check_float32_8ch_cb):
* tests/check/elements/rganalysis.c: (send_eos_event),
(send_tag_event):
Don't use _gst_pad().
2008-05-26 09:57:40 +00:00
Wim Taymans 707191104d tests/check/elements/: Don't use gst_element_get_pad(), it's a bad, bad method.
Original commit message from CVS:
* tests/check/elements/avimux.c: (setup_src_pad),
(teardown_src_pad):
* tests/check/elements/icydemux.c: (icydemux_found_pad),
(GST_START_TEST):
* tests/check/elements/matroskamux.c: (setup_src_pad),
(teardown_src_pad), (setup_sink_pad), (teardown_sink_pad):
* tests/check/elements/videocrop.c: (video_crop_get_test_caps),
(GST_START_TEST):
* tests/check/elements/wavpackparse.c: (wavpackparse_found_pad),
(setup_wavpackparse), (cleanup_wavpackparse):
Don't use gst_element_get_pad(), it's a bad, bad method.
2008-05-21 17:51:09 +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
Sebastian Dröge b08811d150 tests/check/elements/deinterleave.c: Set keep-positions property to TRUE for the 8 channel test to ensure that the or...
Original commit message from CVS:
* tests/check/elements/deinterleave.c: (GST_START_TEST):
Set keep-positions property to TRUE for the 8 channel test to ensure
that the original channel position is set on the output.
2008-05-19 12:32:06 +00:00
Sebastian Dröge 8c254cffdc gst/interleave/: Add support for all raw audio formats and provide better negotiation if the caps are changing.
Original commit message from CVS:
* gst/interleave/Makefile.am:
* gst/interleave/deinterleave.c: (deinterleave_24),
(gst_deinterleave_finalize), (gst_deinterleave_base_init),
(gst_deinterleave_class_init), (gst_deinterleave_init),
(gst_deinterleave_add_new_pads), (gst_deinterleave_set_pads_caps),
(gst_deinterleave_set_process_function),
(gst_deinterleave_sink_setcaps), (__remove_channels),
(__set_channels), (gst_deinterleave_getcaps),
(gst_deinterleave_process), (gst_deinterleave_chain),
(gst_deinterleave_sink_activate_push):
* gst/interleave/deinterleave.h:
Add support for all raw audio formats and provide better negotiation
if the caps are changing.
Don't allow changes of the channel positions and set the position of
the corresponding channel on the src pad caps.
General cleanup and smaller bugfixes.
* tests/check/elements/deinterleave.c: (float_buffer_check_probe):
Check the channel positions on the output buffer caps.
2008-05-16 21:56:24 +00:00
Jan Schmidt e9370329dd Fix some compiler warnings.
Original commit message from CVS:
* ext/wavpack/gstwavpackstreamreader.c:
* tests/examples/spectrum/demo-audiotest.c:
* tests/examples/spectrum/demo-osssrc.c:
Fix some compiler warnings.
2008-05-16 17:50:20 +00:00
Tim-Philipp Müller e9f6ff6888 tests/check/Makefile.am: Add deinterleave unit test to VALGRIND_TO_FIX, since it causes weird invalid free errors in ...
Original commit message from CVS:
* tests/check/Makefile.am:
Add deinterleave unit test to VALGRIND_TO_FIX, since it causes
weird invalid free errors in valgrind/libc after _exit for some
reason.
* tests/check/elements/deinterleave.c: (pads_created),
(set_channel_positions), (src_handoff_float32_8ch),
(float_buffer_check_probe),
(pad_added_setup_data_check_float32_8ch_cb),
(make_fake_src_8chans_float32), (GST_START_TEST),
(deinterleave_suite):
Add some more deinterleave unit test bits I had locally.
2008-05-14 14:19:47 +00:00
Sebastian Dröge afe112e121 gst/interleave/: Split definitions into separate header files for better documentation generation.
Original commit message from CVS:
* gst/interleave/Makefile.am:
* gst/interleave/deinterleave.h:
* gst/interleave/interleave.h:
* gst/interleave/plugin.h:
Split definitions into separate header files for better documentation
generation.
* gst/interleave/deinterleave.c: (gst_deinterleave_base_init),
(gst_deinterleave_class_init), (gst_deinterleave_sink_setcaps),
(gst_deinterleave_process):
Don't use alloca, allow caps changes as long as the number of channels
does not change, don't use g_warning, return NOT_NEGOTIATED as early
as possible and some other cleanup.
* gst/interleave/interleave.c: (gst_interleave_base_init),
(gst_interleave_class_init):
Do some random cleanup.
* tests/check/Makefile.am:
* tests/check/elements/deinterleave.c: (GST_START_TEST),
(deinterleave_chain_func), (deinterleave_pad_added),
(deinterleave_suite):
Add unit tests for the deinterleave element.
2008-05-14 07:32:44 +00:00
Wim Taymans 81ec7c45ce tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh: Remove test sync-offset by default.
Original commit message from CVS:
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Remove test sync-offset by default.
2008-04-25 18:45:33 +00:00
Wim Taymans bd8c40c014 gst/avi/gstavidemux.c: Fix typo in comments.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_combine_flows):
Fix typo in comments.
* tests/examples/rtp/client-H263p-PCMA.sdp:
* tests/examples/rtp/client-H263p-PCMA.sh:
* tests/examples/rtp/client-H264-PCMA.sdp:
* tests/examples/rtp/client-H264-PCMA.sh:
* tests/examples/rtp/client-H264.sdp:
* tests/examples/rtp/client-H264.sh:
* tests/examples/rtp/client-PCMA.sdp:
* tests/examples/rtp/client-PCMA.sh:
* tests/examples/rtp/server-alsasrc-PCMA.sh:
* tests/examples/rtp/server-v4l2-H263p-alsasrc-AMR.sh:
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Add some more docs and fix examples.
2008-04-25 07:56:12 +00:00
Sebastian Dröge 4a7cf24fcd tests/check/elements/multifile.c: Include stdlib.h and unistd.h for mkdtemp. Some platforms have it declared in the f...
Original commit message from CVS:
* tests/check/elements/multifile.c:
Include stdlib.h and unistd.h for mkdtemp. Some platforms have it
declared in the former, some have it declared in the latter.
2008-04-24 22:04:57 +00:00
Sebastian Dröge d2af0c69a1 tests/check/elements/rganalysis.c: Don't leak a tag list. Fixes bug #529285.
Original commit message from CVS:
* tests/check/elements/rganalysis.c: (GST_START_TEST):
Don't leak a tag list. Fixes bug #529285.
2008-04-21 21:54:11 +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
Jan Schmidt 430bd1c7ec tests/check/Makefile.am: Disable some more elements in the state test.
Original commit message from CVS:
* tests/check/Makefile.am:
Disable some more elements in the state test.
Add a define so the soup test can find the test files
it needs at runtime.
* tests/check/elements/souphttpsrc.c: (run_server):
Add a define so the soup test can find the test files
it needs at runtime.
2008-04-17 22:32:16 +00:00
Jan Schmidt 2bdd92b2be tests/check/Makefile.am: Add soup test certificates to the dist.
Original commit message from CVS:
* tests/check/Makefile.am:
Add soup test certificates to the dist.
2008-04-13 23:13:32 +00:00
Jan Schmidt 8bc076ee6e Move soup plugin from -bad (Fixes: #523124)
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/gst-plugins-good-plugins.args:
* docs/plugins/inspect/plugin-soup.xml:
* ext/Makefile.am:
* tests/check/Makefile.am:
Move soup plugin from -bad (Fixes: #523124)
2008-04-12 23:30:54 +00:00
Sebastian Dröge 3392728608 tests/check/elements/souphttpsrc.c: Increase the timeout for the internet tests to 250 seconds and check for NULL cap...
Original commit message from CVS:
* tests/check/elements/souphttpsrc.c: (got_buffer),
(souphttpsrc_suite):
Increase the timeout for the internet tests to 250 seconds
and check for NULL caps instead of just crashing.
The real fix would be to implement an shoutcast server for the unit test
instead of relying on a working internet connection.
Fixes bug #521749.
2008-04-10 07:11:51 +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 401159a255 tests/check/: Add unit test for gdkpixbufsink element.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/gdkpixbufsink.c:
Add unit test for gdkpixbufsink element.
2008-04-03 22:59:44 +00:00
Sebastian Dröge de38811fbe tests/check/pipelines/wavpack.c: Bump timeout from 3 to 60 seconds.
Original commit message from CVS:
* tests/check/pipelines/wavpack.c: (wavpack_suite):
Bump timeout from 3 to 60 seconds.
2008-04-03 20:25:34 +00:00
Sebastian Dröge 04951615bb tests/check/pipelines/.cvignore: Remove useless file.
Original commit message from CVS:
* tests/check/pipelines/.cvignore:
Remove useless file.
* tests/check/pipelines/.cvsignore:
Add new test to .cvsignore.
2008-04-03 20:21:15 +00:00
Sebastian Dröge ec1a826cc8 tests/check/: Add unit test that encodes and decodes some data, checks that it is still the same and that all timesta...
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/pipelines/wavpack.c: (bus_handler),
(identity_handoff), (fakesink_handoff), (GST_START_TEST),
(wavpack_suite), (main):
Add unit test that encodes and decodes some data, checks that it
is still the same and that all timestamps/offsets are perfect.
2008-04-03 20:05:31 +00:00
Rene Stadler 4271a5523d Make rganalysis and rglimiter elements GAP-flag aware.
Original commit message from CVS:
* gst/replaygain/gstrganalysis.c (gst_rg_analysis_init),
(gst_rg_analysis_transform_ip):
* gst/replaygain/gstrglimiter.c (gst_rg_limiter_init),
(gst_rg_limiter_transform_ip):
Make rganalysis and rglimiter elements GAP-flag aware.
* tests/check/elements/rganalysis.c: (test_gap_buffers),
(rganalysis_suite):
* tests/check/elements/rglimiter.c (test_gap), (rglimiter_suite):
Add tests to verify gap-awareness.
2008-03-24 12:32:59 +00:00
Sebastian Dröge d86bfe1f36 ext/soup/gstsouphttpsrc.c: Don't autoplug souphttpsrc for dav/davs. This is better handled by
Original commit message from CVS:
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_got_headers_cb),
(gst_soup_http_src_chunk_allocator),
(gst_soup_http_src_got_chunk_cb),
(gst_soup_http_src_uri_get_protocols):
Don't autoplug souphttpsrc for dav/davs. This is better handled by
GIO and GnomeVFS as they provide authentication.
Don't leak the icy caps if we already set them and get a new
icy-metaint header.
Try harder to set the icy caps on the output buffer to have correct
caps for the first buffer already.
* tests/check/elements/souphttpsrc.c: (got_buffer),
(GST_START_TEST):
Check that we get a buffer with application/x-icy caps if iradio-mode
is enabled and we have an icecast URL.
2008-03-22 19:26:04 +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
Wouter Cloetens c99b95d8cb Add support for specifying a list of cookies to be passed in the HTTP request. Fixes bug #518722.
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_class_init),
(gst_soup_http_src_init), (gst_soup_http_src_dispose),
(gst_soup_http_src_set_property), (gst_soup_http_src_get_property),
(gst_soup_http_src_create):
* ext/soup/gstsouphttpsrc.h:
* tests/check/elements/souphttpsrc.c: (run_test), (GST_START_TEST),
(souphttpsrc_suite):
Add support for specifying a list of cookies to be passed in
the HTTP request. Fixes bug #518722.
2008-02-26 05:36:17 +00:00
Sebastian Dröge 2a424ead41 tests/check/Makefile.am: Ignore gconfaudiosrc for the states unit test too. It will fallback to alsasrc if the gconf ...
Original commit message from CVS:
* tests/check/Makefile.am:
Ignore gconfaudiosrc for the states unit test too. It will fallback
to alsasrc if the gconf settings can't be read and not everybody has
alsa.
2008-02-22 06:22:39 +00:00
Jens Granseuer 73a4369e0e tests/examples/equalizer/demo.c: C89 fix, moving variable declarations to the beginning of the block. Fixes bug #517933.
Original commit message from CVS:
Patch by: Jens Granseuer <jensgr at gmx dot net>
* tests/examples/equalizer/demo.c: (main):
C89 fix, moving variable declarations to the beginning of
the block. Fixes bug #517933.
2008-02-22 05:39:01 +00:00
Stefan Kost fa6c3c178c tests/examples/spectrum/spectrum-example.c: Add missing include to fix compilation when libxml usage is disabled.
Original commit message from CVS:
* tests/examples/spectrum/spectrum-example.c:
Add missing include to fix compilation when libxml usage is disabled.
Fixes: #516371
2008-02-14 14:50:30 +00:00
Wim Taymans 4a7cbe8489 fixes: #514889
Original commit message from CVS:
patch by:  Wim Taymans  <wim.taymans@collabora.co.uk>
fixes: #514889
* gst/rtp/gstrtph264pay.c:
* gst/rtp/gstrtpmp4gdepay.c:
* gst/rtp/gstrtpmp4gpay.c:
* gst/rtp/gstrtpmp4gpay.h:
* gst/rtp/gstrtptheorapay.c:
* gst/rtp/gstrtpvorbispay.c:
Fix various leaks shown up in valgrind
- free sprops and buffer in error cases in H264 payloader
- fix leak in mp4g depayloader when construction the caps
- don't leak config string in the mp4g payloader
- don't leak buffers and headers in theora and vorbis payloaders
* tests/check/elements/rtp-payloading.c:
Fix the RTP data test
- Actually send valid amr data to the payloader instead of 20
zero-bytes
- The mp4g payloader expects codec_data on the caps
2008-02-12 23:38:19 +00:00
Sebastian Dröge a0a9fe66fe tests/check/elements/souphttpsrc.c: Include glib/gprintf.h for g_vasprintf(). Fixes bug #515564.
Original commit message from CVS:
* tests/check/elements/souphttpsrc.c:
Include glib/gprintf.h for g_vasprintf(). Fixes bug #515564.
2008-02-12 05:21:46 +00:00
Sebastian Dröge 4358811258 Add a few libjpeg suppressions and initialize a variable to make smokeenc valgrind clean. Fixes bug #515701.
Original commit message from CVS:
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain):
* tests/check/Makefile.am:
* tests/check/gst-plugins-good.supp:
Add a few libjpeg suppressions and initialize a variable to
make smokeenc valgrind clean. Fixes bug #515701.
2008-02-12 05:14:16 +00:00
Sebastian Dröge 0f180098a1 Close some memory leaks spotted by the unit test. Fixes bug #515697.
Original commit message from CVS:
* gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_create):
* tests/check/elements/multifile.c: (GST_START_TEST):
Close some memory leaks spotted by the unit test. Fixes bug #515697.
2008-02-11 14:01:52 +00:00
Jan Schmidt 1ba01acdc0 Add a simple example application for the spectrum element, include it in the docs, and fix some documentation ambigui...
Original commit message from CVS:
* docs/plugins/Makefile.am:
* gst/spectrum/gstspectrum.c:
* tests/examples/spectrum/.cvsignore:
* tests/examples/spectrum/Makefile.am:
* tests/examples/spectrum/spectrum-example.c:
Add a simple example application for the spectrum element, include it
in the docs, and fix some documentation ambiguities.
Fixes: #348085
2008-02-09 01:45:32 +00:00
Jan Schmidt 6afa17d8f0 gst/: Fix includes order
Original commit message from CVS:
* gst/equalizer/Makefile.am:
* gst/spectrum/Makefile.am:
Fix includes order
* tests/check/Makefile.am:
Exclude v4l2src from the states test - it takes too long to start.
* tests/check/elements/spectrum.c:
Make the test run properly with CK_FORK=no
2008-02-09 00:15:25 +00:00
Jan Schmidt 49d2efed86 tests/check/elements/.cvsignore: Spell the new tests correctly in .cvsignore
Original commit message from CVS:
* tests/check/elements/.cvsignore:
Spell the new tests correctly in .cvsignore
2008-02-08 10:19:33 +00:00
Tim-Philipp Müller 0e176540b5 gst/multifile/gstmultifilesrc.c: Need to use gsize here for the size, fixes compiler warning.
Original commit message from CVS:
* gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_create):
Need to use gsize here for the size, fixes compiler warning.
* tests/examples/equalizer/.cvsignore:
* tests/examples/equalizer/Makefile.am:
* tests/examples/spectrum/.cvsignore:
* tests/examples/spectrum/Makefile.am:
Add missing files to fix the build.
2008-02-08 10:09:33 +00:00
Jan Schmidt 26a52d2733 Move multifile plugin 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/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/inspect/plugin-multifile.xml:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
Move multifile plugin from -bad.
Fixes: #490283
2008-02-08 04:25:32 +00:00
David Schleef da83e9f450 gst/multifile/: Use g_file_[sg]et_contents() instead of using stdio functions.
Original commit message from CVS:
* gst/multifile/gstmultifilesink.c:
* gst/multifile/gstmultifilesrc.c:
Use g_file_[sg]et_contents() instead of using stdio functions.
Should be less error prone.
* tests/check/elements/multifile.c:
Create a temporary directory using standard functions instead of
creating a directory in the current dir.
2008-02-08 03:44:12 +00:00
Jan Schmidt 1d5d8e1397 Move spectrum plugin 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/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/inspect/plugin-spectrum.xml:
* gst/spectrum/Makefile.am:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/examples/Makefile.am:
Move spectrum plugin from -bad.
Move examples into tests/examples/spectrum.
2008-02-08 03:28:57 +00:00
Jan Schmidt 5aa6c44ee8 Move the equalizer plugin across 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/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.interfaces:
* docs/plugins/inspect/plugin-equalizer.xml:
* gst/equalizer/Makefile.am:
* tests/check/Makefile.am:
* tests/examples/Makefile.am:
Move the equalizer plugin across from -bad
* tests/check/elements/.cvsignore:
Add equalizer, audiosincwband and audiosincwlimit
* tests/check/elements/equalizer.c:
Fix compiler warnings
2008-02-08 02:49:20 +00:00
Jan Schmidt c54301aabe docs/plugins/gst-plugins-bad-plugins.*: Remove equalizer plugin docs
Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
Remove equalizer plugin docs
* tests/check/Makefile.am:
Add GST_OPTION_CFLAGS, to get -Werror -Wall into the tests as for
other modules.
* tests/check/elements/multifile.c:
* tests/check/elements/rganalysis.c:
* tests/check/elements/rglimiter.c:
Fix compiler warnings from -Wall -Werror
2008-02-08 02:48:54 +00:00
Jan Schmidt 6fe3c141d7 Move the lpwsinc and bpwsinc elements from gst-plugins-bad into the audiofx plugin, and rename to audiowsinclimit and...
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/inspect/plugin-audiofx.xml:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofx.c:
* gst/audiofx/audiowsincband.c:
* gst/audiofx/audiowsincband.h:
* gst/audiofx/audiowsinclimit.c:
* gst/audiofx/audiowsinclimit.h:
* tests/check/Makefile.am:
* tests/check/elements/audiowsincband.c:
* tests/check/elements/audiowsinclimit.c:
Move the lpwsinc and bpwsinc elements from gst-plugins-bad into
the audiofx plugin, and rename to audiowsinclimit and audiowsincband
respectively.
Fixes: #467666
2008-02-07 21:57:54 +00:00
Tim-Philipp Müller 6d166987a0 Return GST_FLOW_NOT_NEGOTIATED if we get a buffer without caps, and add a somewhat useful debug message. Plus test.
Original commit message from CVS:
* gst/icydemux/gsticydemux.c: (gst_icydemux_chain):
* tests/check/elements/icydemux.c:
Return GST_FLOW_NOT_NEGOTIATED if we get a buffer without
caps, and add a somewhat useful debug message. Plus test.
2008-02-07 21:17:36 +00:00
Jan Schmidt 22bea9fec3 Rename audiochebyshevfreqband -> audiochebband and audiochebyshevfreqlimit -> audiocheblimit and do the requisite CVS...
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/inspect/plugin-audiofx.xml:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiochebband.c:
* gst/audiofx/audiochebband.h:
* gst/audiofx/audiocheblimit.c:
* gst/audiofx/audiocheblimit.h:
* gst/audiofx/audiochebyshevfreqband.c:
* gst/audiofx/audiochebyshevfreqband.h:
* gst/audiofx/audiochebyshevfreqlimit.c:
* gst/audiofx/audiochebyshevfreqlimit.h:
* gst/audiofx/audiofx.c:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/audiochebband.c:
* tests/check/elements/audiocheblimit.c:
* tests/check/elements/audiochebyshevfreqband.c:
* tests/check/elements/audiochebyshevfreqlimit.c:
Rename audiochebyshevfreqband -> audiochebband and
audiochebyshevfreqlimit -> audiocheblimit and do the requisite CVS
surgery.
Closes: #491811
2008-02-06 23:44:43 +00:00
Tim-Philipp Müller cf1135694d tests/check/Makefile.am: Add rtp-payloading test to VALGRIND_TO_FIX.
Original commit message from CVS:
* tests/check/Makefile.am:
Add rtp-payloading test to VALGRIND_TO_FIX.
* tests/check/elements/rtp-payloading.c:
Add semicolons after GST_TEST_END so gst-indent gets the
formatting right; make test less verbose in general, but
more verbose in the error case (which should probably
make the test fail anyway).
2008-02-02 18:06:19 +00:00
Wouter Cloetens f9eb6432ff tests/check/: Add missing files for the unit test.
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* tests/check/test-cert.pem:
* tests/check/test-key.pem:
Add missing files for the unit test.
2008-01-30 13:08:45 +00:00
Wouter Cloetens 70841f17aa docs/plugins/: Add souphttpsrc to the docs.
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
Add souphttpsrc to the docs.
* configure.ac:
* ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_class_init),
(gst_souphttp_src_init), (gst_souphttp_src_dispose),
(gst_souphttp_src_set_property), (gst_souphttp_src_get_property),
(gst_souphttp_src_cancel_message),
(gst_souphttp_src_queue_message),
(gst_souphttp_src_add_range_header),
(gst_souphttp_src_session_unpause_message),
(gst_souphttp_src_session_pause_message),
(gst_souphttp_src_session_close),
(gst_souphttp_src_got_headers_cb), (gst_souphttp_src_got_body_cb),
(gst_souphttp_src_finished_cb), (gst_souphttp_src_got_chunk_cb),
(gst_souphttp_src_response_cb), (gst_souphttp_src_parse_status),
(gst_souphttp_src_create), (gst_souphttp_src_start),
(gst_souphttp_src_stop), (gst_souphttp_src_unlock),
(gst_souphttp_src_unlock_stop), (gst_souphttp_src_get_size),
(gst_souphttp_src_is_seekable), (gst_souphttp_src_do_seek),
(gst_souphttp_src_set_location), (gst_souphttp_src_set_proxy),
(plugin_init):
* ext/soup/gstsouphttpsrc.h:
Add support for libsoup2.4 and require it. Also implement redirection
and manual proxy specification. Fixes bug #510708.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/souphttpsrc.c:
Add unit test for souphttpsrc.
2008-01-30 13:06:01 +00:00
Stefan Kost 956ae25e78 tests/check/: Add add testsuite for the rtp-payloader that tries simulating dataflow. Needs more test data.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/rtp-payloading.c:
Add add testsuite for the rtp-payloader that tries simulating
dataflow. Needs more test data.
2008-01-29 15:45:48 +00:00
Stefan Kost bf1c0af30f tests/check/elements/alphacolor.c: Remove two unused variables.
Original commit message from CVS:
* tests/check/elements/alphacolor.c:
Remove two unused variables.
2008-01-29 15:27:02 +00:00
Jan Schmidt 23b5b27e1c tests/check/Makefile.am: Fix up some CFLAGS sets.
Original commit message from CVS:
* tests/check/Makefile.am:
Fix up some CFLAGS sets.
Don't include gconfvideosrc in the states test.
* tests/check/elements/autodetect.c: (GST_START_TEST):
Add some error strings to fail_unless arguments to fix some weird
compiler errors on Solaris.
2008-01-21 19:41:45 +00:00
Sebastian Dröge 3ded44b66d tests/check/: Add some minimal tests for the equalizer plugin.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/equalizer.c: (setup_equalizer),
(cleanup_equalizer), (GST_START_TEST), (equalizer_suite), (main):
Add some minimal tests for the equalizer plugin.
2008-01-18 08:49:59 +00:00
David Schleef 4fa1b883df Ignore more files for the buildbot.
Original commit message from CVS:
* docs/plugins/.cvsignore:
* tests/check/pipelines/.cvsignore:
Ignore more files for the buildbot.
2008-01-12 02:32:35 +00:00
Tim-Philipp Müller a206c7bd3e tests/check/elements/: It's "endianness", not "endianess". Fixes unit tests.
Original commit message from CVS:
* tests/check/elements/rganalysis.c: (test_buffer_const_float_mono),
(test_buffer_const_float_stereo), (test_buffer_const_int16_mono),
(test_buffer_const_int16_stereo), (test_buffer_square_float_mono),
(test_buffer_square_float_stereo), (test_buffer_square_int16_mono),
(test_buffer_square_int16_stereo):
* tests/check/elements/rglimiter.c: (create_test_buffer):
* tests/check/elements/rgvolume.c: (test_buffer_new):
It's "endianness", not "endianess". Fixes unit tests.
2008-01-11 19:16:53 +00:00
Edward Hervey 5cebc8f01c ignore some more
Original commit message from CVS:
ignore some more
2008-01-11 18:56:06 +00:00
Edward Hervey 42d01006ac ignore some more
Original commit message from CVS:
ignore some more
2008-01-11 18:54:31 +00:00
Tim-Philipp Müller d53e4a60b1 tests/check/elements/icydemux.c: Don't use deprecated GST_PLUGIN_DEFINE_STATIC.
Original commit message from CVS:
* tests/check/elements/icydemux.c: (GST_START_TEST), (icydemux_suite):
Don't use deprecated GST_PLUGIN_DEFINE_STATIC.
2008-01-11 17:12:37 +00:00
Tim-Philipp Müller 8188edf4a6 tests/check/elements/avisubtitle.c: Small unit test fix (has no practical impact at the moment, since we're only feed...
Original commit message from CVS:
* tests/check/elements/avisubtitle.c: (check_correct_buffer):
Small unit test fix (has no practical impact at the moment,
since we're only feeding utf8 and hence just create a sub-
buffer for the output).
2007-12-18 23:17:14 +00:00
Thijs Vermeir 587583b4fe Add seeking support for avi subtitle
Original commit message from CVS:
* gst/avi/gstavisubtitle.c:
* tests/check/elements/avisubtitle.c:
Add seeking support for avi subtitle
2007-12-18 21:13:05 +00:00
Thijs Vermeir d0c62e9108 Add avi subtitle element for bug #442034. Need seeking support and more support for character conversion.
Original commit message from CVS:
* gst/avi/Makefile.am:
* gst/avi/gstavi.c:
* gst/avi/gstavisubtitle.c:
* gst/avi/gstavisubtitle.h:
* tests/check/Makefile.am:
* tests/check/elements/avisubtitle.c:
* win32/common/config.h:
Add avi subtitle element for bug #442034. Need seeking support
and more support for character conversion.
2007-12-18 09:13:12 +00:00
Stefan Kost 07fc6b7f49 tests/check/pipelines/simple-launch-lines.c: Improve the tests by allowing to set a target state.
Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c:
Improve the tests by allowing to set a target state.
2007-11-26 09:13:48 +00:00
Sebastian Dröge 859e8028ab tests/check/elements/wavpackenc.c: Don't check the caps of the output buffer if they're equal some other caps. The ca...
Original commit message from CVS:
* tests/check/elements/wavpackenc.c: (GST_START_TEST):
Don't check the caps of the output buffer if they're equal some
other caps. The caps can change in a backward compatible way
and did at this point.
2007-11-26 09:04:17 +00:00