Commit graph

908 commits

Author SHA1 Message Date
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
Edward Hervey
a4ee1abb15 examples: Add descriptor dumping 2013-09-28 13:15:43 +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
Kerrick Staley
df287fe250 examples: port directfb example to 1.0
gst_pad_get_negotiated_caps was removed from 1.0;
gst_pad_get_current_caps should be used instead. See
http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/random
/porting-to-1.0.txt

https://bugzilla.gnome.org/show_bug.cgi?id=707074
2013-08-29 20:13:48 +01:00
Edward Hervey
5d06aed3e2 mpegts: ABI/API break: Use GPtrArray instead of GArray
While it was a great idea, various g-i based bindings don't support
GArray with entries greater than sizeof(gpointer) :(

So let's just make everybody happy by just using GPtrArray.

And since we're breaking the API, also rename the various descriptor fields
to no longer have the descriptor_ prefix.

It does cost a bit more in terms of memory/cpu usage, but makes it usable
from bindings.
2013-08-21 08:59:42 +02: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
0a6ca026d1 examples: remove another obsolete example 2013-08-15 20:12:42 +01:00
Tim-Philipp Müller
d0ab9172c5 examples: remove prehistoric examples 2013-08-14 19:43:52 +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
Edward Hervey
0ef3e3c7d2 examples: Add BAT support to mpegts example 2013-07-09 12:25:11 +02:00
Edward Hervey
057d24811d mpegts: Properly handle UTC time in sections
* don't unref inexistant GstDateTime
* Fine-tune hour/min/sec BCD reading code
* Update example code accordingly
2013-07-06 12:39:49 +02:00
Edward Hervey
b4e2261749 examples: Registration descriptor support
And output the length of the descriptors
2013-07-06 10:59:55 +02: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
Edward Hervey
4fe26740c7 mpegts: Add registered mpeg-ts stream types
These are the values officially registered in the base specification
(H.222.0/13818-1). Later on we can add other enums for other variants

Note that the enum is not used in the structure fields (such as a pmt
stream stream_type field) since it can contain values from other
variants.
2013-07-04 08:45:32 +02:00
Thiago Santos
8babffc750 camerabin: examples: add missing lib to makefile
Fixes initialization of sample application
2013-07-04 02:12:30 -03:00
Edward Hervey
6a611e5d3d mpegts: Fix TOT section parsing
And use it in example
2013-07-03 18:44:54 +02:00
Edward Hervey
61a8cbae41 examples: Fix a leak 2013-07-03 18:00:55 +02:00
Edward Hervey
b99a91deed examples: GstMpegTS => GstMpegTs 2013-07-03 14:00:58 +02:00
Edward Hervey
dc160e7ca7 examples: Add an example of a mpeg-ts SI extractor
Serves as an example of usage of the new mpegts library from an
application.

Will parse/dump all sections received on a bus.

Usage is ./tsparse <any gst-launch line using tsdemux or tsparse>

Examples:
  ./tsparse file:///some/mpegtsfile ! tsparse ! fakesink
  ./tsparse dvb://CHANNEL ! tsparse ! fakesink
  ./tsparse playbin uri=dvb://CHANNEL
  ./tsparse playbin uri=file:///some/mpegtsfile
  ...

https://bugzilla.gnome.org/show_bug.cgi?id=702724
2013-07-03 09:17:25 +02:00
Sebastian Dröge
36e3426c73 build: Fix some automake warnings 2013-06-14 14:53:52 +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
Tim-Philipp Müller
ae3313df2c tests: fix up mpegtsmux unit test after collectpads change
It was passing expected flow returns (which might be negative)
in the buffer timestamp field, which was maybe not the best
idea.
2013-03-13 00:40:42 +00:00
Tim-Philipp Müller
c2446a70f6 Remove DTMF plugin, moved to -good
https://bugzilla.gnome.org/show_bug.cgi?id=687416
2013-03-09 01:06:31 +00:00
Olivier Crête
1bf472f0cd tests: Add unit tests for shmsink/shmsrc 2013-03-01 15:58:40 -05:00
Sreerenj Balachandran
757e7c25bf opencv: port handdetect element to 1.0 and add to build
https://bugzilla.gnome.org/show_bug.cgi?id=685655
2013-03-01 00:14:54 +00:00
Andol Li
7faa44057e opencv: add handdetect plugin, initial implementation
The handdetect plugin is for detecting hand gestures using
opencv.

It was created in the course of the Google Summer of Code.

https://bugzilla.gnome.org/show_bug.cgi?id=685655
2013-03-01 00:14:54 +00:00
Tim-Philipp Müller
15610ca447 tests: camerabin: report element creation failures better and fix up LIBS 2013-02-28 20:21:16 +00:00
Tim-Philipp Müller
9940ae090e tests: update some element names for 1.0 2013-02-28 20:09:29 +00:00
Tim-Philipp Müller
9aa78b1061 tests: find uninstalled gst-libav plugins for unit tests 2013-02-28 20:02:16 +00:00
Jonas Holmberg
c6612bbd9b tests: use relative include for out-of-tree builds in dtmf test 2013-02-28 12:30:51 +00:00
Olivier Crête
a51b239167 tests: Add tests for dtmfsrc 2013-02-27 18:56:56 -05:00
Olivier Crête
8b30362783 tests: Fix ref leak in dtmf test 2013-02-27 16:15:33 -05:00
Tim-Philipp Müller
e6e1479b75 tests: fix h264 caps in mpegtsmux test
Needs to be stream-format=byte-stream, not format=byte-stream.
2013-02-14 10:43:42 +00:00
Tim-Philipp Müller
5fddf3f4d6 tests: fix faad unit test for gst_caps_is_subset() fix in core
Need to specify the stream-format.
2013-02-14 10:40:36 +00:00
Tim-Philipp Müller
a4590bbc1e tests: port uvch264 test to 1.0
Fixes 'make check' build.
2013-02-13 15:00:09 +00:00
Sebastian Dröge
1025274bdf videoparsers: Use complete and valid caps in the tests 2013-02-13 12:51:58 +01:00
Tim-Philipp Müller
e3afe460a4 Add cog to cruft list and remove some more leftover files 2013-02-11 22:50:15 +00:00
Sjoerd Simons
a8abba802b uvch264 test: Use string instead of fourcc in glade caps 2013-02-11 22:05:00 +01:00
Sjoerd Simons
6ce751442b uvch264: Remove the _ from the element names
Rename uvch264_src to uvch264src and uvch264_mjpgdemux to
uvch264mjpgdemux
2013-02-11 22:04:59 +01:00
Sjoerd Simons
040626c473 uvch264: Port test to gstreamer 1.0 2013-02-11 22:04:59 +01:00
David Schleef
d50abd6186 cog: remove last remnants 2013-02-11 12:57:06 -08:00
Tim-Philipp Müller
023ab8da33 tests: fix mxfdemux pull unit test hanging forever
Our test source pad needs to answer SCHEDULING queries
properly for mxfdemux to activate in pull mode.

https://bugzilla.gnome.org/show_bug.cgi?id=691843
2013-02-11 20:19:51 +00:00
Tim-Philipp Müller
82ccfa19ea tests: fix compilation of dtmf test in uninstalled setup 2013-02-11 12:34:47 +00:00
Olivier Crête
423de0fccd tests: Add test for rtpdtmfdepay and rtpdtmfsrc 2013-01-25 21:05:39 -05:00
Tim-Philipp Müller
cf695c6da9 insertbin, tests: fix printf format compiler warnings 2013-01-25 12:25:15 +00:00
Olivier Crête
d1023646f9 insertbin: Add bin to dynamically insert elements in a running pipeline
This element automatically links in any element added using it's
action signals. These elements must have a single source pad and a single
sink pad.
2013-01-23 21:13:03 -05:00
Arnaud Vrac
8d837cbac4 assrender: reenable unit tests and up rank to primary again 2013-01-22 00:24:52 +00:00
Martin Pitt
e358ec6ddd 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:38:52 +00:00
Tim-Philipp Müller
02ab609c11 rtpmux: remove rtpmux plugin, moved to -good
Move rtpmux and rtpdtmfmux into rtpmanager plugin in -good.

https://bugzilla.gnome.org/show_bug.cgi?id=629117
2012-12-16 17:36:45 +00:00
Tim-Philipp Müller
7ab936fa7e scaletempo: remove scaletempo plugin, moved to -good
https://bugzilla.gnome.org/show_bug.cgi?id=687262
2012-12-15 13:37:23 +00:00
Krzysztof Konopko
13910f5154 mpegtsmux: crashes when trying to re-use the element
A crash occured after pushing buffers and changing mpegtsmux state to
NULL/READ and then back to PLAYING/PAUSED.

The crash was caused by holding a dangling pointer in the MpegTsMux
program table.

Additionally stream headers were leaked when resetting the element:
mux->streamheader set to NULL in mpegtsmux_reset() before it's released
later in the same function.

Added a unit test: test_multiple_state_change

https://bugzilla.gnome.org/show_bug.cgi?id=689107
2012-11-27 19:00:25 +00:00
Krzysztof Konopko
76b8e8be51 mpegtsmux: propagate flow returns
And add a unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=688870
2012-11-23 00:14:53 +00:00
Tim-Philipp Müller
9e1b75fda3 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
cf1f4871d7 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
92118c0b11 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
32ba17cd0f Use gst_element_class_set_static_metadata()
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Wim Taymans
380b23af90 replace some playbin2 -> playbin 2012-10-10 14:14:43 +02:00
Tim-Philipp Müller
167d44a978 tests: disable assrender unit test
Doesn't work, needs fixing.
2012-09-23 21:08:57 +01:00
Sebastian Dröge
1419862c50 vp8: Remove plugin, moved to gst-plugins-good 2012-09-16 15:48:02 +02:00
Mark Nauwelaerts
5fad6e86d7 use gst_element_factory_get_metadata to replace obsolete API 2012-09-15 19:13:47 +02:00
Mark Nauwelaerts
578861abea replace gst_element_class_set_details_simple with gst_element_class_set_metadata 2012-09-14 17:27:49 +02:00
Wim Taymans
b8f913555d ffmpegcolorspace is no more 2012-09-14 16:45:34 +02:00
Jan Schmidt
3ff18504fc check: Verify the DTS emerging from the parser, not PTS
PTS doesn't increment linearly in parsers with frame re-ordering, but
DTS does. Verify that instead.
2012-09-13 13:44:05 -07:00
Jan Schmidt
e4e016097a check: Fix mpegvideoparser PAR expectation
The parser (correctly) now interprets the test header using
MPEG-1 semantics, so fix the test expectation.
2012-09-13 13:34:56 -07:00
Tim-Philipp Müller
ad14b96c79 tests: disable yet another mxf tests until the elements are ported 2012-09-13 01:40:42 +01:00
Tim-Philipp Müller
98bfa4a1e0 tests: skip mxf tests while elements haven't been ported yet 2012-09-13 00:55:28 +01:00