Nicolas Dufresne
f3bb4d6b34
vp8dec-test: Send inital events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:24:35 +02:00
Nicolas Dufresne
67ade43a4f
wavpackdec-test: Send initial events
...
https://bugzilla.gnome.org/show_bug.cgi?id=700033
2013-05-10 09:24:28 +02:00
Nicolas Dufresne
8a9a3039fc
videofilter: Unit test send SEGMENT before CAPS
...
https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:08:01 +02:00
Nicolas Dufresne
43f9934ba5
avimux: Unit test sends SEGMENT before caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:07:43 +02:00
Nicolas Dufresne
9bd526ef4a
audiowsincband: Test should send segment after CAPS
...
This makes the unit test pass again.
https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:07:29 +02:00
Nicolas Dufresne
22d64ea3be
audiowsinclimit: Test should send segment after CAPS
...
This makes the unit test pass again.
https://bugzilla.gnome.org/show_bug.cgi?id=699966
2013-05-09 09:07:10 +02:00
Alexander Schrab
3ec9673dfc
mulawdec: change base class to GstAudioDecoder
...
https://bugzilla.gnome.org/show_bug.cgi?id=698894
2013-04-26 08:46:34 +02:00
Sebastian Dröge
fb0384fa0d
mulaw: Some minor memleak fixes and cleanup
2013-04-25 12:44:15 +02:00
Alexander Schrab
f0edb5fb70
mulawenc: change to gstaudioencoder base, added bitrate tags
2013-04-25 12:36:15 +02:00
Tim-Philipp Müller
a8e7cd0860
tests: fix some printf format issues in debug messages
2013-04-11 22:55:58 +01:00
Tim-Philipp Müller
7e91057934
tests: refactor new wavparse test a little
...
Use fakesrc instead of filesrc with /dev/null.
https://bugzilla.gnome.org/show_bug.cgi?id=696684
2013-04-09 00:28:54 +01:00
Alexander Schrab
79d5a7d03c
wavparse: error out if we receive eos before any valid data
...
https://bugzilla.gnome.org/show_bug.cgi?id=696684
2013-04-09 00:27:31 +01:00
Stefan Sauer
2e56032031
level: subdivide buffers for sample accurate interval handling
...
Previously we would skip level message when processing buffers > the requested
interval. Also the message frequency would contain quite some jitter due to only
considering them at the end of buffers.
Cleanup the tests while we're at it.
2013-04-03 21:40:17 +02:00
Jonas Holmberg
08c5a04691
autodetect checktest: Do not fail without videosink
...
If there is no videosink available autovideosink will contain a
fakesink instead which needs special treatment in the unit test.
2013-03-11 10:54:48 +01:00
Tim-Philipp Müller
694dbcc5a0
dtmf: move dtmf plugin from -bad to -good
...
https://bugzilla.gnome.org/show_bug.cgi?id=687416
2013-03-09 01:18:30 +00:00
Tim-Philipp Müller
a4c5aa38ec
Merge branch 'dtmf-moved-from-bad'
...
https://bugzilla.gnome.org/show_bug.cgi?id=687416
2013-03-09 00:30:38 +00:00
Tim-Philipp Müller
0427524d73
tests: re-add suppression for GValueArray warnings to unit test as well
2013-02-28 17:38:47 +00:00
Jonas Holmberg
fba30e3384
tests: use relative include for out-of-tree builds in dtmf test
2013-02-28 12:30:51 +00:00
Olivier Crête
ab2a342f42
tests: Add tests for dtmfsrc
2013-02-27 18:56:56 -05:00
Olivier Crête
0233eb9f79
tests: Fix ref leak in dtmf test
2013-02-27 16:15:33 -05:00
Thomas Vander Stichele
52b7aab711
level: send last message on EOS
2013-02-25 00:19:22 +01:00
Tim-Philipp Müller
7de14c5dbe
tests: fix some h264 caps
...
Doesn't fix anything in particular, but is
still needed here for correctness.
2013-02-16 15:05:34 +00:00
Sebastian Dröge
a7ddbc03fe
rtp-payloading: Fix unit test caps and AMR depayloader sink template caps
...
Fields were missing from the actual caps, or too many fields
existed in the template caps.
2013-02-13 12:02:46 +01:00
Sebastian Dröge
ae291fc40c
aacparse: Fix caps used in the unit test
...
The AAC caps passed were incomplete.
2013-02-13 11:53:01 +01:00
Sebastian Dröge
17513dae66
wavpack: Fix unit tests, width is now called depth in the caps in 1.0
2013-02-13 11:49:40 +01:00
Tim-Philipp Müller
7d02a4dacb
tests: make souphttpsrc unit test work even if http_proxy is set
...
We're testing with an http server on localhost, but don't support
an exception list for the http_proxy, so just unset the environment
variable to make sure we can run this test properly even if the
environment has http_proxy set.
Also, don't skip all tests if there is an issue with the SSL server,
just run the non-SSL tests then.
https://jenkins.qa.ubuntu.com/view/Raring/view/JHBuild%20Gnome/job/jhbuild-amd64-gst-plugins-good/
2013-02-12 23:34:38 +00:00
Olivier Crête
6105510a7a
tests: Add test for rtpdtmfdepay and rtpdtmfsrc
2013-01-25 21:05:39 -05:00
Tim-Philipp Müller
066600c18b
tests: skip souphttpsrc tests if there is no local http server to use
...
Skip tests if the server couldn't be started or we can't connect
to it for some reason (e.g. draconic build bot environments).
2013-01-16 18:03:44 +00:00
Martin Pitt
b46dcf379a
tests: use _1_0 variants for the various registry variables
...
These override the variants without version suffix. Makes 'make check' work
properly in environments that set the suffixed variant for 1.0, such as
jhbuild.
2013-01-16 11:10:19 +00:00
Tim-Philipp Müller
baac8ad663
tests: add test for souphttpsrc error handling with data
...
https://bugzilla.gnome.org/show_bug.cgi?id=678429
2013-01-01 19:14:36 +00:00
Jonas Holmberg
60fa4536e2
tests: add jpegpay unit test
...
See also https://bugzilla.gnome.org/show_bug.cgi?id=684955
2012-12-20 16:15:13 +01:00
Tim-Philipp Müller
3295b5d791
rtpmanager: move rtpmux and rtpdtmfmux elements from -bad
...
https://bugzilla.gnome.org/show_bug.cgi?id=629117
2012-12-16 16:36:39 +00:00
Tim-Philipp Müller
de204ba754
rtpmux: Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-12-16 16:36:39 +00:00
Olivier Crête
15dfdc58d4
rtpmux: Misc fix for 0.11
...
Convert the incoming caps before proxying them
Clear the last_pad when going to ready
tests: Implement accept_caps, don't leak event
2012-12-16 16:36:38 +00:00
Olivier Crête
f20a6b1d16
rtpmux: port to 0.11
2012-12-16 16:35:26 +00:00
Olivier Crête
5bd023fb96
tests: Change tests to not use the priority pads instead of the events
2012-12-16 16:35:14 +00:00
Olivier Crête
8e58646f5c
rtpmux: Aggregate incoming segments
2012-12-16 16:35:14 +00:00
Benjamin Otte
ed35e485b7
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2012-12-16 16:35:14 +00:00
Olivier Crête
f3f1fa80c3
tests: Add test for rtpdtmfmux locking
2012-12-16 16:33:46 +00:00
Olivier Crête
c0806e59bf
tests: Add unit test for rtpmux
2012-12-16 16:33:46 +00:00
Wim Taymans
50391c7773
check: add (but disable) more rtp jitterbuffer tests
...
Tests need to be ported to 1.0 before they can be enabled but added here so they
don't get forgotten.
See https://bugzilla.gnome.org/show_bug.cgi?id=667838
2012-12-13 12:36:20 +01:00
Tim-Philipp Müller
672ab8fb5b
webmux: fix linking with shout2send element
...
Shout2send only accepts webm format, not matroska, but due
to a bug in matroskamux, webmmux's source pad is also created
with the matroska source pad template as pad template, which
makes the link function think it can't link webmmux to shout2send.
Also add unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=689336
2012-11-30 17:22:34 +00:00
Nicolas Dufresne
1ad8ebac44
videocrop: Add support for automatic cropping
...
This change enable automatic cropping using -1 set to left, top, right or
bottom property. In the case both side are set to automatic cropping, the
croping will be done equally on both side (in the odd case, right and
bottom cropping will be 1 pixel more).
https://bugzilla.gnome.org/show_bug.cgi?id=687761
2012-11-07 11:20:24 +01:00
Tim-Philipp Müller
ced45a61bd
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
230cf41cc9
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Tim-Philipp Müller
9564103f81
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 20:40:37 +00:00
Tim-Philipp Müller
49f49a2fbf
tests: add multifilesrc test for fix in previous commit
...
Make sure the stop-index set is honoured.
https://bugzilla.gnome.org/show_bug.cgi?id=654853
2012-10-26 11:04:02 +01:00
Tim-Philipp Müller
ae84696ec5
tests: fix up mpg123 test a little
...
- dist input files
- fix sample leak
- simplify check for elements
- only run mpg123 test if mpg123 is available and selected
- fix build in uninstalled setup
https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:44:07 +01:00
Carlos Rafael Giani
a5ee599af7
tets: add unit test for mpg123audiodec
...
https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:43:29 +01:00
Tim-Philipp Müller
ff33d8d263
tests: remove superfluous g_type_init() call
...
It's deprecated in newer GLib and not needed here.
https://bugzilla.gnome.org/show_bug.cgi?id=686456
2012-10-20 13:01:41 +01:00
Patricia Muscalu
7a863e4d8d
rtph264pay: do not push unmapped data
...
Also do not use a GstBuffer after it has been pushed into the adapter.
https://bugzilla.gnome.org/show_bug.cgi?id=685213
2012-10-04 09:22:50 +01:00
Tim-Philipp Müller
e6d37eb30a
Purge references to liboil
...
https://bugzilla.gnome.org/show_bug.cgi?id=673285
2012-09-29 12:41:37 +01:00
Tim-Philipp Müller
626e0258e3
videomixer: fix warnings when using transparent background
...
gst_video_frame_map() increases the refcount, which makes
the buffer not writable any more technically, so calling
gst_buffer_memset() on it will cause nasty warnings.
Unit test disabled because it very rarely (for me)
fails, possibly negotiation-related.
https://bugzilla.gnome.org/show_bug.cgi?id=684398
2012-09-25 23:31:34 +01:00
Tim-Philipp Müller
df83b4e730
tests: remove g_printerr() that's not needed any longer
...
now that tcase_skip_broken_test() prints it as well.
2012-09-24 11:56:56 +01:00
Tim-Philipp Müller
63c4a29ac0
tests: disable failing replaygain tests
2012-09-23 19:50:42 +01:00
Sebastian Dröge
198a5fd19c
vp8: Add tests to .gitignore
2012-09-16 15:47:16 +02:00
Sebastian Dröge
e6dbdffbfe
vp8enc: Update patch to the new property names
2012-09-16 15:46:31 +02:00
Sebastian Dröge
b0459448b7
vpx: Integrate test into the build system too
2012-09-16 15:46:22 +02:00
Wim Taymans
8337fcfe99
[MOVED FROM BAD 6/6] tests: fix more unit tests
2012-09-16 15:44:00 +02:00
René Stadler
caa34f7bf7
[MOVED FROM BAD 5/6] tests: update for gstcheck API change
2012-09-16 15:44:00 +02:00
Sebastian Dröge
92eae76bdb
[MOVED FROM BAD 4/6] vp8dec: Add simple unit test for vp8dec
2012-09-16 15:44:00 +02:00
Sebastian Dröge
b072086ec0
[MOVED FROM BAD 3/6] vp8enc: Improve unit test a bit
2012-09-16 15:44:00 +02:00
Sebastian Dröge
d983342dbd
[MOVED FROM BAD 2/6] vp8enc: Also check the output caps in the unit test
2012-09-16 15:44:00 +02:00
Sebastian Dröge
63e28498c4
[MOVED FROM BAD 1/6] vp8enc: Add simple unit test
2012-09-16 15:44:00 +02:00
Mark Nauwelaerts
a32398fee5
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:07:40 +02:00
Tim-Philipp Müller
a9e5d1246a
tests: push stream-start and segment events in wavpackenc test
2012-09-14 00:47:38 +01:00
Tim-Philipp Müller
1d586d3bde
tests: fix most of the rganalysis unit tests
...
Before the element would post messages on the bus itself, now
the sinks do that based on the tag events they receive. But
since we don't have proper sink elements in these unit tests,
but just dangling pads, we have to post the tag messages the
test checks for ourselves.
Down from 52/55 failing to 7/52 failing.
2012-09-12 00:16:31 +01:00
Mark Nauwelaerts
538578f345
tests: rtpbin: port to the new GLib thread API
2012-09-11 12:54:41 +02:00
Wim Taymans
f0989b600a
tests: fix id3demux test
2012-09-10 17:16:47 +02:00
Mark Nauwelaerts
7940a29c74
tests: rtp-payloading: adjust to modified bufferlist semantics
...
... now implemented by buffer memory blocks.
2012-09-07 15:25:53 +02:00
Mark Nauwelaerts
397e987c7d
tests: deinterlace: do not leak deinterlace pads
2012-09-06 17:05:49 +02:00
Tim-Philipp Müller
9bf90f47cf
video/x-xvid -> video/mpeg,mpegversion=4
2012-09-03 02:51:24 +01:00
Tim-Philipp Müller
045c4b6ec8
deinterlace: the field in caps is "interlace-mode" not "interlace-method"
...
Fix deinterlace unit test. Need to set right field on output caps.
Also remove right field (not old 0.10 "interlaced" boolean field)
from caps in unit test before comparing old and new.
2012-08-27 21:20:29 +01:00
Tim-Philipp Müller
d35fbcf6f1
tests: fix icydemux unit test
...
Was waiting for a tag message on the bus, which would never
come, because elements don't post those themselves any more
but let sinks post them from tag events. Only that there are
no sinks in this unit test.
2012-08-27 21:20:29 +01:00
Tim-Philipp Müller
a62f9b178d
tests: fix videocrop crop_to_1x1 unit test for GRAY8 format
...
Update table with pixel values with the value actually produced
by videotestsrc.
2012-08-27 21:20:29 +01:00
Stefan Sauer
1f255a585b
equalizer: enable presets for the n-band equalizer
...
Add a test for saving and restoring the preset.
2012-08-17 15:01:40 +02:00
Olivier Crête
264bcf7d6f
rtph264pay: Make it actually work after cleanups
2012-08-08 19:49:05 -07:00
Tim-Philipp Müller
c074bfd0b9
gst_tag_list_free -> gst_tag_list_unref
2012-08-04 16:10:16 +01:00
Sebastian Dröge
0827f54b93
tag: Update for taglist/tag event API changes
2012-07-28 00:19:51 +02:00
Mathias Hasselmann
fc578e7699
tests: drop redundant elements_level_LDADD line
...
https://bugzilla.gnome.org/show_bug.cgi?id=676302
2012-07-08 13:34:08 +01:00
Tim-Philipp Müller
f3f71b9749
tests: minor jpegdec clean-ups and fixes
...
Fix race condition in eos checking and a leak. And
build pipeline without parse_launch.
2012-07-08 13:30:34 +01:00
Mathias Hasselmann
0da9456ba2
tests: Add some basic tests for jpegdec
...
https://bugzilla.gnome.org/show_bug.cgi?id=676302
2012-07-08 12:56:31 +01:00
Tim-Philipp Müller
cf9b2149dd
isomp4: remove gppmux, which was deprecated in favour of 3gppmux
2012-07-06 12:54:02 +01:00
Tim-Philipp Müller
48706beb70
rtph263ppay: accept any h263 input unless downstream forces specific requirements
...
rtph263ppay should accept any input compatible with its sink template
caps if it just outputs to e.g. udpsink or fakesink.
rtph263ppay ! rtph263pdepay should also work with any compatible input.
This would fail before with not-negotiated errors because the get_caps
function would see the encoding-name in the depayloader's template caps
and default to baseline H.263 because there's no profile/level information
in those caps, which is the right thing to do if downstream has filtercaps
from an SDP, but not if those fields are absent because they can be
anything like with the depayloader's template caps. Makes
videotestsrc ! avenc_h263p ! rtph263ppay ! rtph263pdepay ! fakesink
work.
2012-07-06 11:57:38 +01:00
Tim-Philipp Müller
76625d20d7
tests: fix h263p payload ! depayload unit test
...
Need to add h263version field to input caps since the
payloader sink get_caps function will contain it in the
the caps, and the stricter caps subset check requires
this to be present in the input caps as well then.
2012-07-06 11:57:38 +01:00
Tim-Philipp Müller
91d97d31e2
tests: fix rgvolume unit test event handling
...
Must flush after EOS before sending more buffers or
another EOS event, or the event or buffer will be
rejected. Also send a SEGMENT event at the start
of each stream for good measure.
2012-07-05 15:14:33 +01:00
Tim-Philipp Müller
a94c1a7fdb
tests: fix rganalysis unit test event handling
...
Must flush after EOS before sending more buffers or
another EOS event, or the event or buffer will be
rejected. Also send a SEGMENT event at the start
of each stream for good measure.
2012-07-04 23:57:18 +01:00
Tim-Philipp Müller
94e54887fb
tests: disable deinterlace test for now, element still needs to be ported
...
But leave it active and print a FIXME. Porting is in progress.
2012-07-04 12:39:07 +01:00
Wim Taymans
d1b0ff6c06
update for bus api changes
2012-06-20 12:31:01 +02:00
Wim Taymans
f65495d405
update for audio api change
2012-06-08 10:11:12 +02:00
Wim Taymans
443a14bdbf
tests: add test for rtpsession cleanup
2012-06-07 10:44:31 +02:00
Wim Taymans
b5df4f0e62
update for tag event change
2012-06-06 13:02:12 +02:00
Wim Taymans
37df608fdc
fix Y800 format
2012-06-06 13:00:58 +02:00
Tim-Philipp Müller
dd75c21670
annodex: remove annodex plugin and CMML elements
...
This never really took off and is most likely completely
unused. If there is still a need for this, it should
probably be done differently, perhaps inside oggdemux/mux.
2012-05-13 19:21:19 +01:00
Tim-Philipp Müller
95da93fcb7
tests: fix matroskamux unit test after media type changes
2012-04-28 23:14:24 +01:00
Sebastian Dröge
d99eb6d2cb
Update everything for the removal of the interface library and mixer/tuner interfaces
2012-04-13 13:15:11 +02:00
Tim-Philipp Müller
be9baf1a0b
tests: disable simple smokeenc/dec launch lines test
...
Disable test for smoke elements, which aren't ported yet
(and maybe shouldn't be ported).
2012-04-09 12:55:34 +01:00
Tim-Philipp Müller
fa5edd2680
interleave: make channel-poisitions property a GValueArray again
...
Or perhaps it should just be a guint64 channel mask, which would
be nicer in C, but more awkward for bindings (even more so since
we can't add a flags type for it, since that only supports guint
size flags). Fixes wavenc unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=669643
2012-04-09 11:13:05 +01:00
Mark Nauwelaerts
6a0339bf24
tests: make few tests more valgrind-friendly
2012-04-05 19:17:48 +02:00
Mark Nauwelaerts
0c49dcd0c6
(de)interleave: fix ported unit test and enable as ported
2012-04-05 19:17:42 +02:00
Mark Nauwelaerts
ac0d2254f0
tests: cmmldec: adjust to tag events no longer posted on bus by element
2012-04-05 19:17:38 +02:00
Mark Nauwelaerts
732f29dbbe
tests: qtmux: ensure initialized test buffer memory
2012-04-04 21:38:14 +02:00
Sebastian Dröge
5cdd49bf25
gst: Update versioning
2012-04-04 14:37:47 +02:00
Wim Taymans
068ee88862
update for child proxy api change
2012-03-31 15:43:49 +02:00
Wim Taymans
3d61d12e03
update for buffer api change
2012-03-30 18:15:34 +02:00
Mark Nauwelaerts
81c4f56e1b
tests: wavpack: fewer buffers are also adequate and more convenient
2012-03-29 17:22:23 +02:00
Mark Nauwelaerts
fce8f3486b
tests: videocrop: unmap video frame and unref caps
2012-03-29 17:22:19 +02:00
Mark Nauwelaerts
9f93f503a1
tests: audiowsincband: unmap examined output buffers
2012-03-29 17:22:04 +02:00
Mark Nauwelaerts
4ac5eebade
tests: tagschecking: muxers need TIME format
2012-03-28 16:26:56 +02:00
Mark Nauwelaerts
e9c802d834
tests: flacdec: needs flacparse nowadays
2012-03-28 16:26:15 +02:00
Wim Taymans
69002aa24f
update for buffer changes
2012-03-28 12:53:05 +02:00
Mark Nauwelaerts
8f68db9cc3
tests: audiodynamic: correctly port original test to mind in place transform
2012-03-28 12:23:56 +02:00
Mark Nauwelaerts
2ed647a900
tests: audiofirfilter: negotiate the intended raw audio format
2012-03-28 12:23:56 +02:00
Wim Taymans
e310ee8218
caps: improve caps handling
...
Avoid caps copy and leaks
2012-03-27 16:42:41 +02:00
Mark Nauwelaerts
8f52f8c5c8
tests: icydemux: activate internal test helper src pad
2012-03-27 14:05:27 +02:00
Mark Nauwelaerts
117de9fd47
tests: replaygain: misc compatibility fixes
...
Discard caps event when checking for and counting various tag events,
and remove all testing of 8 bits depth in 16 bits width format since
it no longer exists.
2012-03-26 18:38:34 +02:00
Mark Nauwelaerts
85bf98fe1a
tests: rtp: misc compatibiliy fixes
...
... such as always setting pad caps and providing needed caps fields.
2012-03-26 18:38:34 +02:00
Mark Nauwelaerts
9c1787851d
tests: videofilter: ensure initial segment event
2012-03-26 18:38:34 +02:00
Mark Nauwelaerts
e937d38544
tests: imagefreeze: remove extraneous _unref
2012-03-23 18:49:01 +01:00
Mark Nauwelaerts
e94f68fd6b
tests: avimux: adjust to modified sink pad template name
2012-03-23 18:49:01 +01:00
Mark Nauwelaerts
43ceadb0df
tests: qtmux: cleanup element sooner
...
... to avoid stray refs in sticky caps events.
2012-03-23 18:49:01 +01:00
Mark Nauwelaerts
6bb7fdf4c5
tests: arrange for sending an initial segment event
...
... which is needed nowadays since various gst_segment_to_...
no longer automatically set the format to the specified one
(from _UNDEFINED).
2012-03-23 18:49:01 +01:00
Wim Taymans
3e8ae7603c
tests: update for memory api changes
2012-03-21 13:22:43 +01:00
Wim Taymans
ecaea36c3d
update for memory api changes
2012-03-15 13:36:17 +01:00
Wim Taymans
075cd54019
fix for caps _normalize changes
2012-03-12 12:23:15 +01:00
Wim Taymans
bb8bc237b5
tests: improve more tests
2012-03-08 11:36:01 +01:00
Wim Taymans
65d59232b1
tests: fix some more tests
2012-03-08 11:20:43 +01:00
Mark Nauwelaerts
e637cfb212
tests: port wavpack tests to 0.11
2012-03-05 13:44:21 +01:00
Mark Nauwelaerts
f189f62b13
Merge branch 'master' into 0.11
...
Conflicts:
ext/wavpack/gstwavpackenc.c
tests/check/elements/audioiirfilter.c
tests/examples/v4l2/probe.c
2012-03-01 11:29:50 +01:00
Mark Nauwelaerts
a5144cbba0
wavpackdec: adjust to audio format limitations
...
... which does not allow expressing arbitrary depth in a GstAudioFormat.
Also adjust unit test to modified behaviour.
2012-02-27 23:46:15 +01:00
Mark Nauwelaerts
b863df570f
wavpackenc: port to audioencoder
...
Also adjust unit test to slightly modified behaviour.
2012-02-27 23:45:54 +01:00
Edward Hervey
9beda57c3a
Suppress deprecation warnings in selected files, for g_value_array_* mostly
2012-02-27 14:47:25 +01:00
Wim Taymans
ca9532ccc5
update for new memory api
2012-02-22 02:10:33 +01:00
Tim-Philipp Müller
dc3beab0ab
tests: fix up level test for GstValueList -> GValueArray change
...
https://bugzilla.gnome.org/show_bug.cgi?id=670303
2012-02-18 11:38:36 +00:00
Philippe Normand
4945af5eff
interleave: port to 0.11
...
Port of the interleave element and its unittests.
https://bugzilla.gnome.org/show_bug.cgi?id=669643
2012-02-16 14:40:59 +00:00
Wim Taymans
f7faea3915
tests: fix test, use videoconvert
2012-02-14 11:22:46 +01:00
Wim Taymans
63ec4ca38b
Merge branch 'master' into 0.11
...
Conflicts:
tests/check/elements/flacparse.c
2012-02-14 10:51:38 +01:00
Mark Nauwelaerts
ec6b2e8659
tests: flacparse: check and compare intended data
2012-02-13 12:07:17 +01:00
Wim Taymans
225e98d623
Merge branch 'master' into 0.11
...
Conflicts:
ext/flac/gstflacenc.c
ext/jack/gstjackaudioclient.c
ext/jack/gstjackaudiosink.c
ext/jack/gstjackaudiosrc.c
ext/pulse/plugin.c
ext/shout2/gstshout2.c
gst/matroska/matroska-mux.c
gst/rtp/gstrtph264pay.c
2012-02-10 16:23:14 +01:00
Tim-Philipp Müller
dca42d4767
tests: clean up rtp-payloading test a little
...
Feed data into the pipeline using appsrc instead of fdsrc and
a pipe. Store unsigned byte values in guint8 instead of char.
Getting rid of the capsfilter also helps to avoid 'format is
not fully specified' warnings when pushing "video/x-h264" data
into rtph264pay with fully specified h264 caps in the sink template.
2012-02-10 14:07:45 +00:00
Mark Nauwelaerts
507f936778
tests: mpegaudioparse: remove stray declaration
2012-02-09 22:13:11 +01:00
Wim Taymans
9737bf26f0
tests: fix compilation
2012-02-09 18:09:45 +01:00
Philippe Normand
640be49e21
deinterleave: port to 0.11
...
Port of the deinterleave element and its unittests. The interleave
element will be ported as part of another patch, hence disabling it
for now.
https://bugzilla.gnome.org/show_bug.cgi?id=668847
2012-02-08 10:40:39 +01:00
Wim Taymans
412510d6ed
tests: improve tagmux tests
2012-02-07 10:47:19 +01:00
Wim Taymans
3644e23184
tests: fix jpeg test
2012-02-07 10:30:28 +01:00
Wim Taymans
02034ce772
tests: fix more tests
2012-02-07 10:30:28 +01:00
Wim Taymans
92a0c01732
test: fix more tests
2012-02-06 18:35:01 +01:00
Wim Taymans
9a76a00a4d
tests: fix more tests
2012-02-06 15:52:49 +01:00
Wim Taymans
dd26b14930
iirequalizer: fix equalizer and unit test
2012-02-06 15:20:55 +01:00
Wim Taymans
41648135b2
tests: fix some more tests
2012-02-06 13:44:20 +01:00
Wim Taymans
f3f54403b1
tests: fix more unit tests
2012-02-06 13:29:24 +01:00
Wim Taymans
ef0686c52c
tests: fix more tests
2012-02-06 10:07:06 +01:00
Wim Taymans
16cc9b3807
tests: improve some tests
2012-02-06 09:49:38 +01:00
Wim Taymans
f75fa8e3c3
tests: fix jitterbuffer test
2012-02-06 09:23:49 +01:00
Wim Taymans
8f2ef99b5b
tests: fix more tests
2012-02-03 17:23:48 +01:00
Wim Taymans
56eb65babc
tests: fix some more tests
2012-02-03 16:14:08 +01:00
Wim Taymans
a6370cdb50
tests: fix more tests
2012-01-31 15:39:09 +01:00
Wim Taymans
2a91bbbc0b
tests: update some tests for new memory api
2012-01-31 13:42:55 +01:00
Wim Taymans
bb2bd604e0
update for HEADER flag
2012-01-30 17:16:51 +01:00
Sebastian Dröge
0b517ce9fb
Merge branch '0.11' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-good into 0.11
2012-01-25 12:49:34 +01:00
Sebastian Dröge
10554b271f
Merge branch 'master' into 0.11
...
Conflicts:
ext/flac/gstflacdec.c
ext/jpeg/gstjpegenc.c
ext/pulse/pulsesink.c
sys/v4l2/gstv4l2src.c
2012-01-25 12:49:11 +01:00
Wim Taymans
b4630dd3e0
more memory API porting
2012-01-25 12:30:29 +01:00
Tim-Philipp Müller
7cb9b7ab9d
Use new GLib API unconditionally
2012-01-22 23:15:19 +00:00
Wim Taymans
1584806634
port to new gthread API
2012-01-19 11:33:53 +01:00
Vincent Penquerc'h
e9e0bebde3
tests: fix autodetect test not testing correctly for state change success
...
State change to PAUSED can be done async, so if this happens, we need
to wait for the change to be done (or failed).
2012-01-16 16:10:08 +00:00
Vincent Penquerc'h
4c2a2063cf
tests: fix caps leak in videotestsrc test
2012-01-13 15:57:20 +00:00
Tim-Philipp Müller
8580dd86c9
eqMerge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/jack/gstjackaudiosink.c
ext/jack/gstjackaudiosrc.c
gst/matroska/matroska-mux.c
gst/matroska/matroska-read-common.c
gst/rtpmanager/gstrtpssrcdemux.c
2012-01-12 23:48:50 +00:00
Leo Singer
56353e24d2
audiofx: Use most common convention for definitions of IIR filter coefficients.
...
Most signal processing texts, including MATLAB, use the following convention for IIR filter coefficients:
a_0 y[n] + a_1 y[n-1] + ... + a_M y[n-M] = b_0 x[n] + b_1 x[n-1] + ... + b[N] x[n-N]
Usually, a_0 is set to 1 because the coefficients can always be rescaled, giving
y[n] = b_0 x[n] + b_1 x[n-1] + ... + b[N] x[n-N] - a_1 y[n-1] - ... - a_M y[n-M]
The convention that was previously used by audiofxbaseiirfilter and derived class had the a and b coefficients swapped, and did not have the minus signs.
This change makes the audiofx plugin use the more common convention described above.
2012-01-11 15:24:00 +01:00
Tim-Philipp Müller
834e58be9e
tests: fix wavenc test on big endian
...
wavenc only accepts little-endian PCM, but most of our
elements such as audiotestsrc only produce or process
audio in native endianness, so we need to plug a
converter before wavenc on big endian systems.
2012-01-11 01:47:38 +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
12ff707854
tests: fix some leaks and remove files when done in qtmux test
2012-01-04 18:05:41 +00:00
Edward Hervey
63ee1009c2
alphacolor: More fixes/cleanup
2012-01-04 13:26:45 +01:00
Wim Taymans
386ccc52e7
tests: rewrite test a little
...
Rewrite the tag check so that we don't need to deal with tag lists.
2012-01-03 14:42:28 +01:00
Wim Taymans
8e39d52bbb
tests: make more tests compile
2012-01-03 14:16:28 +01:00
Wim Taymans
06b3c265b8
test: make more unit tests compile
2012-01-03 11:56:25 +01:00
Wim Taymans
08d8b81005
tests: fix some unit tests
...
Remove unit test for GstIndex.
Make some other unit tests compile
2012-01-03 10:26:48 +01:00
Tim-Philipp Müller
56c1003f7a
tests: make git ignore new unit test binary
2011-12-27 12:06:25 +00:00
Tim-Philipp Müller
b744ad03cc
udpsrc: add unit test that sends 0-size packet
...
https://bugzilla.gnome.org/show_bug.cgi?id=666644
2011-12-27 11:49:10 +00:00
Tim-Philipp Müller
abd27e2caa
tests: use atexit, g_atexit has been deprecated in glib master
2011-12-12 10:18:14 +00: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
60e53346af
tests: fix up rgvolume test for basetransform event caching
...
Some tests assumed that tag events would always pushed through
immediately, which isn't the case any longer, so push a newsegment
event and an empty buffer first.
2011-12-10 13:05:07 +00:00
Tim-Philipp Müller
d895ac645f
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
docs/plugins/inspect/plugin-esdsink.xml
docs/plugins/inspect/plugin-gconfelements.xml
ext/pulse/pulseaudiosink.c
gst/matroska/matroska-demux.c
gst/matroska/matroska-mux.c
gst/multifile/gstmultifilesink.c
2011-12-02 01:58:30 +00:00
Wim Taymans
f1558baf83
update for tag API changes
2011-12-01 18:55:45 +01:00
Tim-Philipp Müller
f18f238968
tests: fix up LIBS order som more`
2011-12-01 14:13:05 +00:00
Alessandro Decina
5cc1c6c897
tests: fix g_mkdtemp presence check in multifile tests
...
g_mkdtemp was added in glib 2.30 even though the doc claims it was added in
2.26.
2011-12-01 13:25:45 +01:00
Alessandro Decina
ed98755241
multifilesink: add flag to cut after a force key unit event
2011-12-01 13:25:45 +01:00
Vincent Penquerc'h
c0e101e93f
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:30:27 +00:00
René Stadler
17240ac9ec
matroska: port to 0.11
...
Support for TAG_IMAGE and TAG_ATTACHMENT is commented out; this requires caps
on buffers which is gone from 0.11.
Segment handling in the demuxer is a bit complex; I added some FIXME comments
in places where I'm not yet sure if I ported correctly.
2011-11-26 15:01:01 +01:00
Tim-Philipp Müller
be0d6baac5
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/pulse/pulseaudiosink.c
ext/pulse/pulsesrc.c
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstamrparse.c
gst/audioparsers/gstdcaparse.c
gst/audioparsers/gstflacparse.c
gst/effectv/gstradioac.c
gst/effectv/gstradioac.h
gst/effectv/gstripple.c
Some possible FIXMEs remaining in the audio parser getcaps functions.
2011-11-26 13:34:10 +00:00
René Stadler
a806ae2edd
tests: update for gstcheck API change
2011-11-24 21:41:03 +01:00
Thiago Santos
3dc5a09a5c
multifile: fix build of tests
...
Tests fail to build because g_mkdtemp is available from glib since
2.26.
This patch adds a condition around the redefinition of
g_mkdtemp on the tests to only build it if glib is older than
2.26.
2011-11-24 14:18:44 -03:00
Tim-Philipp Müller
32365953c3
tests: update soup test for removed iradio-mode property
2011-11-24 01:48:25 +00:00
Tim-Philipp Müller
09ca5fa910
rtpmanager: rename gstrtp* -> rtp*
...
This was done in 0.10 to avoid conflict with the rtp elements in
farsight, but the gst-prefixing is no longer needed in 0.11
2011-11-24 00:54:08 +00:00
Wim Taymans
c5cad2aff2
Merge branch 'master' into 0.11
2011-11-23 10:23:28 +01:00
Tim-Philipp Müller
38c9fefa01
tests: add basic unit test for matroskaparse
2011-11-23 01:00:17 +00:00
Tim-Philipp Müller
7900933a52
tests: make id3demux test compile
...
Still fails though.
2011-11-14 09:50:08 +00:00
Wim Taymans
a95acb7122
make %u in all request pad templates
2011-11-04 11:58:22 +01:00
Tim-Philipp Müller
713f4bc700
lame: remove lame element, it's been superseded by lamemp3enc
2011-10-30 13:47:26 +00:00
Tim-Philipp Müller
8d43ab15d9
tests: fix compilation of audio tests in uninstalled setup
2011-10-30 11:41:32 +00:00
René Stadler
fb63372713
tests: audioecho: port to 0.11
2011-10-28 21:22:38 +02:00
René Stadler
ad095ae316
tests: audiochebband: port to 0.11
2011-10-28 21:22:38 +02:00
René Stadler
8e0213a47a
tests: audiocheblimit: port to 0.11
2011-10-28 13:08:48 +02:00
René Stadler
0b3f685dbd
tests: audioamplify: port to 0.11
2011-10-28 13:08:48 +02:00
René Stadler
b44647c043
tests: audiodynamic: port to 0.11
2011-10-28 11:25:37 +02:00
René Stadler
24300315e7
tests: spectrum: port to 0.11
2011-10-28 11:25:37 +02:00
René Stadler
f1c471b2b1
tests: audiopanorama: port to 0.11
2011-10-28 11:25:37 +02:00
Thiago Santos
2490d39a90
tests: aspectratiocrop: Port to 0.11
2011-10-13 15:37:47 -03:00
Thiago Santos
12534340fd
tests: alphacolor: Port to 0.11
2011-10-13 15:37:46 -03:00
Thiago Santos
36d069fe37
tests: cmmlenc: Port to 0.11
2011-10-12 08:09:33 -03:00
Thiago Santos
011c3f4d1b
tests: cmmldec: Port to 0.11
2011-10-12 08:09:16 -03:00
Wim Taymans
586ef0babd
Merge branch 'master' into 0.11
...
Conflicts:
ext/speex/gstspeexdec.c
ext/speex/gstspeexenc.c
gst/isomp4/atoms.c
gst/isomp4/gstqtmux.c
2011-10-06 12:23:39 +02:00
Thiago Santos
a4154e9db2
tests: qtmux: Refactor bitrate check test
...
Refactor bitrate check test to accomodate multiple tests
for bitrate
2011-09-30 13:05:24 -03:00
Thiago Santos
e58b0466ec
tests: qtmux: add tests for bitrate average calculation
...
Adds tests to make sure qtmux/mp4mux sets average bitrate
correctly
2011-09-30 13:05:20 -03:00
Wim Taymans
87fbd1e784
Merge branch 'master' into 0.11
...
Conflicts:
common
ext/pulse/pulsesink.c
ext/soup/gstsouphttpclientsink.c
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstac3parse.c
gst/rtp/gstrtph264depay.c
gst/rtpmanager/gstrtpjitterbuffer.c
gst/rtpmanager/rtpjitterbuffer.c
gst/rtsp/gstrtspsrc.c
sys/ximage/gstximagesrc.c
2011-09-28 12:44:59 +02:00
Tim-Philipp Müller
b6b072e948
tests: add unit test to make sure encodebin picks mp4mux for variant=iso
...
https://bugzilla.gnome.org/show_bug.cgi?id=651496
2011-09-20 12:55:31 +01:00
Thiago Santos
c78048bc25
tests: flvmux: Fix flvmux's tests after fix for request pads handling
...
Now that flvmux doesn't release its request pads on PAUSED->READY the
test doesn't need to re-request them for every reuse test start.
2011-09-12 09:21:47 -03:00
Sebastian Dröge
8f1f6d1a57
cmml: Use complete cmml caps in the unit test
2011-09-07 14:30:27 +02:00
Sebastian Dröge
0fd1397921
qtmux: Use complete MPEG caps in the unit test
2011-09-07 14:30:27 +02:00
Wim Taymans
33f18b8ea4
Merge branch 'master' into 0.11
...
Conflicts:
gst/audioparsers/gstamrparse.c
gst/isomp4/qtdemux.c
2011-09-06 16:06:25 +02:00
Mark Nauwelaerts
077a306054
tests: parsers: provide more real data when testing draining of garbage
2011-09-05 15:51:53 +02:00
Wim Taymans
77ad0a1363
port more elements to new audio caps and API
2011-08-19 14:01:45 +02:00
Wim Taymans
dfd91ba704
tests: update for _negotiated_caps() change
2011-08-15 12:19:14 +02:00
Edward Hervey
76b1dac41b
check: Use GST_CFLAGS when building tests
...
Ensures we have the proper define for using unstable API
2011-08-05 12:28:05 +02:00
Wim Taymans
4121021bb2
Merge branch 'master' into 0.11
...
Conflicts:
ext/pulse/pulsesink.c
ext/pulse/pulsesrc.c
gst/audioparsers/gstac3parse.c
gst/rtp/gstrtph264depay.c
gst/rtp/gstrtph264pay.c
gst/rtpmanager/gstrtpssrcdemux.c
2011-08-03 18:25:30 +02:00
Edward Hervey
70fcf510be
Revert "tests/check/Makefile.am: Disable autodetect test temporarily, so that the build bots update -bad and the ranks of unr..."
...
This reverts commit 475aed8af6
.
It won't consider elements from anywhere else anymore
2011-08-03 13:33:59 +02:00
Edward Hervey
a2341918c4
check: Update parser mini-lib to 0.11 API
2011-08-03 13:10:46 +02:00
Arun Raghavan
96972eb462
ac3parse: Add support for IEC 61937 alignment
...
When pushing out buffers over S/PDIF or HDMI, IEC 61937 payloading
requires each buffer to contain 6 blocks from each substream. This adds
code to collect all the frames needed to meet this requirement before
pushing out a buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=650313
2011-07-26 10:40:00 +05:30
Alessandro Decina
072bd74cc4
multifilesink: add max-files property
...
Add max-files property to limit the number of files saved on disk.
API: multifilesink::max-files
2011-07-18 10:21:41 +02:00
Tim-Philipp Müller
728732438b
Remove gconf elements and plugin
...
GConf was deprecated in favour of GSettings etc.
2011-06-15 14:37:29 +01:00
Tim-Philipp Müller
bdb8bbc100
tests: add generic set_index test
2011-04-19 14:34:48 +01:00
Tim-Philipp Müller
c6abc45d27
tests: add index-setting test for baseparse/flacparse
...
https://bugzilla.gnome.org/show_bug.cgi?id=646811
2011-04-19 14:20:37 +01:00
Sebastian Dröge
68da32e735
wavpack: Remove bus GSource to prevent a valgrind warning
2011-04-18 11:29:15 +02:00
Sebastian Dröge
84c3b06353
wavenc: Remove bus GSource to prevent a valgrind warning
2011-04-18 11:14:32 +02:00
Sebastian Dröge
39bb942bb0
tagschecking: Remove bus GSource to prevent a valgrind warning
2011-04-18 11:11:53 +02:00
Sebastian Dröge
dd2ff5a902
imagefreeze: Remove bus GSource to prevent a valgrind warning
2011-04-18 11:10:01 +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
Mark Nauwelaerts
5f051fd996
tests: qtmux: test various dts-methods
2011-04-15 12:49:14 +02:00
Tim-Philipp Müller
025417f124
qtmux: add variant-less video/quicktime to source pad template caps
...
This is needed for automatic transcoding using encodebin. Our typefinder
does not always add a variant to the found caps, and encodebin needs
an *exact* match to the caps on the source pad template, so we need
to add the variant-less video/quicktime caps to the template as well
for encodebin to be able to find it. Add unit test for this as well.
https://bugzilla.gnome.org/show_bug.cgi?id=642879
2011-04-13 15:21:59 +01:00
Tim-Philipp Müller
9648747ce9
tests: ignore new qtmux-related test binaries
2011-04-13 12:45:27 +01:00
Tim-Philipp Müller
4d780297d8
quicktime: move qtmux plugin from -bad to -good
...
https://bugzilla.gnome.org/show_bug.cgi?id=636699
2011-04-13 11:55:59 +01:00
Thiago Santos
3d2280beb9
test: qtmux: Tests qtmux reuse
...
Forces the use of qtmux after it has been put to PLAYING and back
to NULL once
https://bugzilla.gnome.org/show_bug.cgi?id=639338
2011-04-12 20:32:21 +01:00
Sebastian Dröge
7a59a7100b
tagschecking: Fix some more memory leaks
2011-04-12 20:32:20 +01:00
Mark Nauwelaerts
197c3e8a7d
tests: qtmux: also unit test fragmented file cases
2011-04-12 20:32:20 +01:00
Tim-Philipp Müller
0406a69815
tests: don't fail tagschecking test if qtdemux is not available or too old
2011-04-12 20:32:17 +01:00
Thiago Santos
875ac6da5c
tests: tagschecking: New tags tests
...
Adds new tags checking tests.
2011-04-12 20:32:17 +01:00
Benjamin Otte
c4161b3c33
Add -Wwrite-strings
...
and fix its warnings
2011-04-12 20:32:17 +01:00
Benjamin Otte
62be91708f
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2011-04-12 20:32:17 +01:00
Thiago Santos
75fec35743
tests: tagschecking: Improvements and new geo-location tests
...
Makes some improvements to tagschecking.c, making it use
fakesrc instead of videotestsrc and allowing to set input
caps so that more muxers can be used. Previously we could
only use those that accepted raw video caps.
Also adds some tests for geo-location tags
2011-04-12 20:32:17 +01:00
Thiago Santos
96c116147d
check: tagschecking: tests for tags serialization in muxers
...
Adds a check unit test that aims to test tags serialization
and deserialization consistency (in muxers). It provides a
basic function that allows one to easily specify tags, a
muxer and a demuxer and a test will be done to check if
the tags have been consistently muxed and demuxed
2011-04-12 20:32:16 +01:00
Mark Nauwelaerts
2196cf6b49
tests/check/: Add unit test for qtmux.
...
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/qtmux.c: (setup_src_pad),
(teardown_src_pad), (setup_qtmux), (cleanup_qtmux),
(check_qtmux_pad), (GST_START_TEST), (qtmux_suite), (main):
Add unit test for qtmux.
2011-04-12 20:32:09 +01:00
Tim-Philipp Müller
6be6fe5db8
tests: hook up audioparser unit tests
2011-04-08 18:07:18 +01:00
David Schleef
6c9a7f6323
tests: fix baseparse test
2011-04-08 18:07:16 +01:00
Sebastian Dröge
46ea4eaa1f
flacparse: Adjust unit tests to new flacparse behaviour
...
Garbage after frames is now included in the frames because flacparse
has no easy way to detect the real end of a frame. Decoders are
expected to everything after the frame because only decoding the
bitstream will reveal the real end of the frame.
Fixes bug #631814 .
2011-04-08 18:07:11 +01:00
Mark Nauwelaerts
fbbc09e47d
audioparsers: add flacparse unit test
...
... and tweak parser test helper in the process.
2011-04-08 18:07:09 +01:00
Mark Nauwelaerts
f8ec616d9d
audioparsers: add ac3parse and mpegaudioparse unit test
2011-04-08 18:07:08 +01:00
Mark Nauwelaerts
edb495646d
audioparsers: refactor existing unit tests using common helper
2011-04-08 18:07:08 +01:00
Edward Hervey
6bd1be78bf
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.
2011-04-08 18:07:06 +01:00
Benjamin Otte
ead9bd6b62
Add -Wold-style-definition
...
and fix the warnings
2011-04-08 18:07:04 +01:00
Benjamin Otte
50356ade08
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2011-04-08 18:07:04 +01:00
Thiago Santos
13c76e3bc3
Rename aac's stream-format 'none' to 'raw'
...
Renames aac's stream-format from previous commits from none to
raw
2011-04-08 18:07:04 +01:00
Thiago Santos
ed0c1564ca
aacparse: update tests to stream-format changes
...
Updates aacparse unit tests to check for stream-format
correctness as well.
2011-04-08 18:07:04 +01:00
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
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
Tim-Philipp Müller
f7c99b9f5e
tests: add unit test for lamemp3enc negotiation issue
...
https://bugzilla.gnome.org/show_bug.cgi?id=641151
2011-02-03 18:27:05 +00: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
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
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
Wim Taymans
a640bb9939
check: don't use deprecated method
2010-12-07 15:39:32 +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
David Schleef
0e721b81f4
tests: Don't dist generated orc files
2010-10-15 14:02:57 -07: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
Mark Nauwelaerts
f5adfaed23
tests: rtp payloading: fix pad leak
2010-08-02 13:04:37 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jan Schmidt
fd75e08f45
Fix up some compile flags
2009-01-30 18:04:11 +00: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
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
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
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