Commit graph

648 commits

Author SHA1 Message Date
Thiago Santos
e9a253640e tests: gdppay: refactor and add missing bits
Most of the tests weren't updated after the sticky events order
and stream start. Fix that and refactor those tests check that
are the same to some common functions.

Those functions still don't actually test the content but at
least now they are in a single place and can be improved
without replication
2014-01-30 19:45:22 -03:00
Thiago Santos
68a19b5c7b tests: gdppay: Do not forget to send stream-start event on test
Even if we don't want to push the caps event, a stream-start must
be present before any data in 1.x
2014-01-30 18:18:18 -03:00
Thiago Santos
8255f0bb10 tests: camerabin: improve preview handling in tests
Always erase the preview image data to allow the next check for
it to operate properly
2014-01-30 03:29:25 -03:00
Thiago Santos
68ce96a9e4 tests: h264parse: fix tests after leading 0x00 removal
Commit 6af387cd5a made h264parse
strip a leading 0x00 byte from some output scenarios. This broke
tests as bs_to_nal test expects one more byte on the output.

Fix this by comparing the output with the expected stripped version,
too.
2014-01-24 12:48:43 -03:00
Haridass Selvaraj
23ab7d8c49 curlftpsink: Optionally create a temporary file during FTP transfer/upload
https://bugzilla.gnome.org/show_bug.cgi?id=711620
2013-12-17 12:18:01 +01:00
Sebastian Dröge
430175f3c9 audiomixer: Add test for the ORC code 2013-11-09 12:18:02 +01:00
Sebastian Dröge
21a6adf53c audiomixer: Add unit test for handling unaligned buffers
That is, buffers that start or end in the middle of an output block.
2013-11-07 14:12:17 +01:00
Sebastian Dröge
c4092d4575 audiomixer: Add test for the discont handling 2013-11-07 13:57:35 +01:00
Sebastian Dröge
1d2a9348a1 audiomixer: Refactor sync test to be more reusable 2013-11-07 13:55:32 +01:00
Sebastian Dröge
b66ac0dea4 audiomixer: Remove some racy-ness from the unit test
We might already be EOS when we start the mainloop, so only
set the pipeline to PLAYING from the main loop.
2013-11-07 13:48:06 +01:00
Sebastian Dröge
69525a1477 audiomixer: Add test to the .gitignore file 2013-11-06 15:35:46 +01:00
Sebastian Dröge
e2e4e8e741 audiomixer: Add simply synchronization test 2013-11-06 15:35:45 +01:00
Sebastian Dröge
caeaade700 audiomixer: Add new element based on adder that does synchronized audio mixing 2013-11-06 15:35:38 +01:00
L. Sorin
15717842e4 curl: curlsftpsink - new libcurl-based sink element for SFTP
Note: SFTP = SSH File Transfer Protocol
The sink acts as a client and uploads data to the SFTP server.

https://bugzilla.gnome.org/show_bug.cgi?id=709795
2013-11-01 17:20:04 +01:00
Reynaldo H. Verdejo Pinochet
980f5b4702 cdaudio: Remove cdaudio plugin
This element is being removed due to it been
considered obsolete and the functionaily it
provides no longer needed.

Details on the decision can be found here:

https://bugzilla.gnome.org/show_bug.cgi?id=711223

Fixes:

https://bugzilla.gnome.org/show_bug.cgi?id=711232
2013-11-01 07:21:56 -07:00
Edward Hervey
e9373604d6 check: Update uvch264demux for behaviour change
Since 006e7a3428 we no longer error out on
incomplete aux segment.
2013-09-28 13:15:44 +02:00
Alex Ashley
31d1c05871 h264parse: Add support for stream-format=avc3
When outputting in AVC3 stream format, the codec_data should not
contain any SPS or PPS, because they are embedded inside the stream.

In case of avc->bytestream h264parse will push the SPS and PPS from
codec_data downstream at the start of the stream, at intervals
controlled by "config-interval" and when there is a codec_data change.

In the case of avc3->bytstream h264parse detects that there is
already SPS/PPS in the stream and sets h264parse->push_codec to FALSE.
Therefore avc3->bytstream was already supported, except for the stream
type.

In the case of bystream->avc h264parse will generate codec_data caps
from the parsed SPS/PPS in the stream. However it does not remove these
SPS/PPS from the stream. bytestream->avc3 is the same as bytestream->avc
except that the codec_data must not have any SPS/PPS in it.

|--------------+-------------+-------------------|
|stream-format | SPS in-band | SPS in codec_data |
|--------------+-------------+-------------------|
| avc          | maybe       | always            |
|--------------+-------------+-------------------|
| avc3         | always      | never             |
|--------------+-------------+-------------------|

Amendment 2 of ISO/IEC 14496-15 (AVC file format) is defining a new
structure for fragmented MP4 called "avc3". The principal difference
between AVC1 and AVC3 is the location of the codec initialisation
data (e.g. SPS, PPS). In AVC1 this data is placed in the initial MOOV box
(moov.trak.mdia.minf.stbl.stsd.avc1) but in AVC3 this data goes in the
first sample of every fragment.

https://bugzilla.gnome.org/show_bug.cgi?id=702004
2013-09-04 13:32:36 +02:00
Tim-Philipp Müller
adc17aa879 tests: ignore new aiffparse test binary 2013-09-02 12:19:12 +01:00
Tim-Philipp Müller
1648c0ba6a test: fix compiler warning in aiffparse test on 32-bit x86 2013-08-20 00:26:06 +01:00
Matthieu Bouron
2e5b1d1cac aiffparse: fix copyright 2013-08-19 10:31:59 +01:00
Tim-Philipp Müller
ef85572496 tests: fix some leaks in aiffparse unit test 2013-08-17 00:28:42 +01:00
Tim-Philipp Müller
1d35549d60 tests: fix state change order in aiffparse test
Do state changes from sink to src. Fixes race condition in
pull mode test where the source will start up and push buffers
to queue/identity or aiffparse before the main thread has
managed to set them to playing yet.
2013-08-17 00:25:50 +01:00
Matthieu Bouron
2bed61ee2f aiffparse: add tests
https://bugzilla.gnome.org/show_bug.cgi?id=705993
2013-08-17 00:25:49 +01:00
Tim-Philipp Müller
c2092d9272 tests: uvch264demux: send stream-start events and fix event order 2013-08-10 21:35:17 +01:00
Tim-Philipp Müller
86acf25ffc tests: mplex: fix 'Got data flow before stream-start event' failure 2013-08-10 20:02:01 +01:00
Tim-Philipp Müller
08a918ec5f tests: mpeg2enc: fix 'Got data flow before stream-start event' failure 2013-08-10 19:54:57 +01:00
David Schleef
b456878697 tests: create/remove orc directory at proper time
Before automake creates .deps directories, and during distclean.

https://bugzilla.gnome.org/show_bug.cgi?id=705350
2013-08-09 20:14:03 +01:00
Tim-Philipp Müller
edb114c4bc tests: fix build of baseaudiovisualizer test with subdir-objects option
https://bugzilla.gnome.org/show_bug.cgi?id=705350
2013-08-09 20:14:03 +01:00
Gwenole Beauchesne
daddc1d7d6 codecparsers: mpeg2: update test program with new GstMpegVideoPacket API.
This is the lost hunk from:
https://bugzilla.gnome.org/show_bug.cgi?id=692933

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2013-07-05 18:50:59 +02:00
Sebastian Dröge
366339e4b2 mpegtsmux: Fix event handling in unit test 2013-05-15 11:37:14 +02:00
Sebastian Dröge
14cd3a0dc4 mxfdemux: Fix event handling in unit test 2013-05-15 11:31:14 +02:00
Sebastian Dröge
167e11b176 insertbin: Fix event handling in unit test 2013-05-15 11:28:56 +02:00
Sebastian Dröge
97e42f82dc schroenc: Fix event handling in unit test 2013-05-15 11:26:25 +02:00
Sebastian Dröge
869bb69dd3 mpg123audiodec: Fix event handling in unit test 2013-05-15 11:25:07 +02:00
Sebastian Dröge
53c22085d9 parser: Fix event handling in unit tests 2013-05-15 11:15:24 +02:00
Sebastian Dröge
0b6898caea gdp: Fix event handling in unit test
gdp elements still needs to be fixed for all the event related
changes and generally properly ported to 1.0.
2013-05-15 11:12:42 +02:00
Sebastian Dröge
d35cba1d6a baseaudiovisualizer: Fix event handling in unit test 2013-05-15 11:04:23 +02:00
Sebastian Dröge
71c131b63c asfmux: Fix event handling in unit test 2013-05-15 10:56:20 +02:00
Sebastian Dröge
bc9747b323 autoconvert: Fix event handling in unit test 2013-05-15 10:23:49 +02:00
Sebastian Dröge
214c0d2e71 shm: Fix event handling in unit test 2013-05-15 10:22:44 +02:00
Sebastian Dröge
99832846a3 curlfilesink: Fix event handling in unit test 2013-05-15 10:19:24 +02:00
Sebastian Dröge
d03a38c684 opus: Fix event handling in unit test 2013-05-15 10:18:01 +02:00
Sebastian Dröge
edcfb4d307 kate: Fix event handling in unit test 2013-05-15 10:14:33 +02:00
Sebastian Dröge
bca7bdc27e vo{amr,aac}enc: Fix event handling in unit test 2013-05-15 09:42:58 +02:00
Sebastian Dröge
75bb160459 faad/faac: Fix event handling in unit test 2013-05-15 09:41:54 +02:00
Tim-Philipp Müller
16ed8840ea tests: blacklist some more tests from the generic state change test 2013-05-13 00:08:42 +01:00
Tim-Philipp Müller
020c93b973 ofa: port to 1.0 2013-05-12 23:42:06 +01:00
Tim-Philipp Müller
8c7ed7ccea tests: fix some leaks in kate unit test 2013-04-27 12:06:53 +01:00
Tim-Philipp Müller
4b256e729e tests: fix remaining kate tests
https://bugzilla.gnome.org/show_bug.cgi?id=697071
2013-04-23 01:17:56 +01:00
Brendan Long
f26827c3c8 tests: port Kate tests to 1.0
https://bugzilla.gnome.org/show_bug.cgi?id=697071
2013-04-23 00:04:10 +01:00