Jan Schmidt
76e458a119
splitmuxsink: Use muxer reserved space properties if present.
...
If the use-robust-muxing property is set, check if the
assigned muxer has reserved-max-duration and
reserved-duration-remaining properties, and if so set
the configured maximum duration to the reserved-max-duration
property, and monitor the remaining space to start
a new file if the reserved header space is about to run out -
even though it never ought to.
2017-11-25 00:56:11 +11:00
Jan Schmidt
3a813a0dcc
splitmux: Fix file switch-on-caps-change.
...
Switching to a new fragment because the input caps have
changed didn't properly end the previous file. Use the normal
EOS sequence to ensure that happens. Add a test that it works.
2017-11-24 16:56:03 +11:00
Tim-Philipp Müller
bca8ac2cf0
tests: rtp-payloading: add unit test for rtph264pay codec_data
...
Make sure no trailing zero bytes sneak into our SPS or PPS.
https://bugzilla.gnome.org/show_bug.cgi?id=732758
2017-11-23 09:36:15 +01:00
Tim-Philipp Müller
a9e57f3608
tests: rtph264depay: add test for using downstream memory allocator
2017-11-23 09:36:00 +01:00
Nicolas Dufresne
3ea2621036
v4l2-renegotiate: Don't leak the option context
2017-09-13 11:38:44 -04:00
Nicolas Dufresne
22a5f56f2a
v4l2src-renegotiate: Don't leak pipeline desc string
2017-09-13 11:33:33 -04:00
Nicolas Dufresne
3975e87136
v4l2-renegotiate: Change --enable-dmabuf into --io-mode=
...
This gives allow testing dmabuf importation but also exportation buy
letting user pick anything from the io-mode property on v4l2src.
2017-09-13 11:32:09 -04:00
Tim-Philipp Müller
ccd15c0dfd
tests: mpg123audiodec: add files needed by unit tests
2017-08-26 12:59:35 +01:00
Tim-Philipp Müller
9cc395a589
tests: add basic unit test for twolame as well
2017-08-26 10:10:19 +01:00
Tim-Philipp Müller
60b6128d0c
tests: lame: fix build
2017-08-26 09:59:22 +01:00
Tim-Philipp Müller
8fe7dbf8ef
tests: ignore another binary
2017-08-26 09:52:33 +01:00
Tim-Philipp Müller
1473b662de
lame: hook up to build system
...
https://bugzilla.gnome.org/show_bug.cgi?id=774252
2017-08-26 09:14:55 +01:00
Tim-Philipp Müller
53ec444963
Moving lame mp3 encoder plugin from -ugly
...
https://bugzilla.gnome.org/show_bug.cgi?id=774252
2017-08-25 21:13:58 +01:00
Thibault Saunier
97b58bd263
meson: Link mpeg123audiodec test against gstfft
...
Fixing build error:
/run/build/gst-plugins-good/_flatpak_build/../tests/check/elements/mpg123audiodec.c:150: undefined reference to `gst_fft_s32_new'
/run/build/gst-plugins-good/_flatpak_build/../tests/check/elements/mpg123audiodec.c:151: undefined reference to `gst_fft_s32_window'
/run/build/gst-plugins-good/_flatpak_build/../tests/check/elements/mpg123audiodec.c:151: undefined reference to `gst_fft_s32_fft'
/run/build/gst-plugins-good/_flatpak_build/../tests/check/elements/mpg123audiodec.c:147: undefined reference to `gst_fft_s32_free'
2017-08-20 20:41:20 -03:00
Tim-Philipp Müller
32591f5649
tests: tagschecking: remove gst-check-xmp-* temp files when done
...
Also fix temp file creation a bit.
2017-08-20 17:25:25 +01:00
Tim-Philipp Müller
5547901a37
mpg123: hook up to build system
...
https://bugzilla.gnome.org/show_bug.cgi?id=774252
2017-08-20 15:50:22 +01:00
Tim-Philipp Müller
4b1f43ebe3
Moving mpg123 plugin from -ugly
2017-08-20 13:48:48 +01:00
Tim-Philipp Müller
81e5b0bdee
tests: icles: fix build
...
Can't do additions/subtractions on void* pointers.
2017-07-21 19:02:26 +01:00
Thibault Saunier
b028d91439
tests:icles: Fix previous patch by implementing our memmem
...
Using the string version of it will fail on '\0'.
2017-07-21 11:10:00 -04:00
Thibault Saunier
7e8fe2844b
tests:icles: Do not use memmem GNU extension function
...
As it is not avalaible on windows/msvc and we can use pure GLib for that
2017-07-21 10:19:37 -04:00
Sebastian Dröge
7e718d6039
Revert "matroskamux: adjust unit test to modified behaviour"
...
This reverts commit 8fe478c8a7
.
We're back to previous behaviour
2017-07-18 10:08:33 +03:00
Reynaldo H. Verdejo Pinochet
3cfec119b1
examples: v4l2: fix wrong initializations brought by 4e8ad58302
...
https://bugzilla.gnome.org/show_bug.cgi?id=682770
2017-07-07 23:53:01 -07:00
Nicolas Dufresne
4e8ad58302
examples: v4l2: add example for v4l2src renegotiation
...
Based on work from Thiago Santos <thiagoss@osg.samsung.com>
https://bugzilla.gnome.org/show_bug.cgi?id=682770
2017-07-07 17:19:17 -04:00
Tim-Philipp Müller
e5f3e2268d
tests: rtpbin: fix build in uninstalled setup
2017-07-05 14:44:41 +01:00
Olivier Crête
96e71b0286
rtpsession: Send EOS if all internal sources sent bye
...
The ones which are not internal should not matter, and we should
wait for all sources to have sent their BYEs.
And add unit test
https://bugzilla.gnome.org/show_bug.cgi?id=773218
2017-07-04 21:14:10 -04:00
Jan Alexander Steffens (heftig)
aa8ac28d86
tests: souphttpsrc: Avoid deprecated ssl-ca-file property
...
SoupSession's ssl-ca-file property is deprecated. Use the recommended
tls-database property.
This is a bit more complex as it requires creating a GTlsFileDatabase
object for an absolute (!) path to the CA certificates file.
https://bugzilla.gnome.org/show_bug.cgi?id=784005
2017-06-29 15:32:30 -04:00
Jan Alexander Steffens (heftig)
9922091f1b
tests: souphttpsrc: Avoid deprecated server ssl properties
...
The ssl-cert-file and ssl-key-file properties are deprecated. Use the
soup_server_set_ssl_cert_file function to load the files.
https://bugzilla.gnome.org/show_bug.cgi?id=784005
2017-06-29 15:32:30 -04:00
Jan Alexander Steffens (heftig)
27a0ea8cf5
tests: souphttpsrc: Make ssl_cert/key_file static
...
Just a bit of cleanup.
https://bugzilla.gnome.org/show_bug.cgi?id=784005
2017-06-29 15:32:30 -04:00
Jan Alexander Steffens (heftig)
e63a12c77d
tests: souphttpsrc: Update test-cert.pem
...
Recent GnuTLS disregards the Common Name and only looks at the Subject
Alternative Name extension. Since our test-cert has no SAN extension,
validation fails.
Generate a new certificate with SAN. In addition to 127.0.0.1, for good
measure make it valid for localhost and ::1, too.
https://bugzilla.gnome.org/show_bug.cgi?id=784005
2017-06-29 15:32:30 -04:00
Tim-Philipp Müller
9f678898f8
meson: build examples
...
https://bugzilla.gnome.org/show_bug.cgi?id=784134
2017-06-26 11:10:29 +01:00
Tim-Philipp Müller
0fd4a11711
meson: tests: icles: simplify build file
2017-06-26 09:39:13 +01:00
Tim-Philipp Müller
57a6e2ffd4
meson: build tests/icles/
...
https://bugzilla.gnome.org/show_bug.cgi?id=784134
2017-06-26 00:22:56 +01:00
Tim-Philipp Müller
dd23afb6d4
sys: remove sunaudio plugin
...
Even though hooked up to the build system, it's clear that no one
has ever built or used this with GStreamer 1.x. It wants to link
against libgstinterfaces, which no longer exists. And uses 0.10-style
raw audio caps. And the last meaningful change was done in 2009.
Let's just remove it.
2017-06-23 20:02:43 +01:00
Thibault Saunier
d3cbea0919
meson: Do not use path separator in test names
...
Avoiding warnings like:
WARNING: Target "elements/audioamplify" has a path separator in its name.
2017-06-07 12:47:59 -04:00
Nicolas Dufresne
e937a8856d
Fix v4l2 example
2017-06-06 11:30:07 -04:00
Tim-Philipp Müller
c35292505b
meson: add options to set package name and origin
...
https://bugzilla.gnome.org/show_bug.cgi?id=782172
2017-05-20 14:53:42 +01:00
Tim-Philipp Müller
4df3669c0c
tests: rtp-payloading: add test for rtph264depay avc/byte-stream output
...
Make sure avc output doesn't contain SPS/PPS inline, but
byte-stream output does.
2017-04-24 17:31:04 +01:00
Edward Hervey
7e9b7658e5
tests: Add vp9enc to gitignore
2017-04-12 11:33:05 +02:00
George Kiagiadakis
21f532f1c6
tests/check/rtprtx: add checks for rtprtxqueue's max-size-{time,packets} properties
...
https://bugzilla.gnome.org/show_bug.cgi?id=780867
2017-04-11 09:44:33 +03:00
Vincent Penquerc'h
d7212dac2e
tests: fix leak in splitmux test
...
https://bugzilla.gnome.org/show_bug.cgi?id=781025
2017-04-09 11:19:56 +03:00
Thibault Saunier
a7be8815b5
meson: Use get_pkgconfig_variable instead of calling pkg-config ourself
...
It is avalaible in meson 0.36 which is now are requirement
2017-03-28 14:23:16 -03:00
Thibault Saunier
8fab61bd22
meson: test: Fix environment object usage
2017-03-28 11:22:21 -03:00
Olivier Crête
d9cd0e2e44
pulse example: Remove
...
That example only tested the property probe interface, which has been removed.
The same kind of thing can now be done with the generic gst-device-monitor tool.
2017-03-14 16:42:25 -04:00
Jan Schmidt
57939fd98a
splitmux test: Use passed first/last timestamps
...
Don't hard-code the expected timestamp range, use the
values the caller is passing in.
2017-03-14 15:48:08 +11:00
Nicolas Dufresne
27303b5904
tests: Add missing LDADD for libm in tests using math.h
...
Also, remove the math.h include for the one that just prentend to need
it.
2017-03-08 22:55:09 -05:00
Jan Schmidt
4335c4c160
splitmux: Add unit test for reverse playback
...
Ensure that reverse playback works and generates the range
of timestamps (0-3s) we expect, in monotonically descending order.
2017-03-04 00:35:32 +11:00
Edward Hervey
4ac5abcdb9
check: Fix splitmux test CFLAGS
...
Needs to know where the gstapp headers are
2017-02-28 11:02:54 +01:00
Sebastian Dröge
eefcdc9ee1
rtp-payloading: Add new test for Vorbis renegotiation
...
Check if encoding, payloading, depayloading and decoding works if the
stream configuration (and thus the headers) change.
2017-02-27 19:25:35 +02:00
George Kiagiadakis
e6bd2a5c18
tests: splitmux: add unit test for content with sparse streams
...
https://bugzilla.gnome.org/show_bug.cgi?id=761086
2017-02-27 12:58:21 +02:00
Guillaume Desmottes
0f719af307
tests: matroskamux, qtmux: don't add codec_data buffers to template caps
...
streamheader and codec_data buffers fields are only meant to be
in the negotiated caps, not the template caps.
Fixes false-positive leaks of those buffers detected by the leaks
tracer, as template caps are static, and we decided to not include
code in gstreamer core to handle this unusual case of template caps
having buffers in them.
https://bugzilla.gnome.org/show_bug.cgi?id=768762
2017-02-21 15:47:16 +00:00