Tim-Philipp Müller
f05ea1e6a6
tests: libscpp: test RTP/RTCP buffer init macros with C++ compiler
2016-04-06 17:57:28 +01:00
Mikhail Fludkov
7a206336dd
rtpbasedepayload: look at ssrc before sequence numbers
...
Doing so prevents us dropping buffers in the rare, but possible, situations,
when the stream changes SSRC and new sequence numbers does not differ
much from the last sequence number from previous SSRC. For example:
ssrc - 0xaaaa 101,102,103,104 ssrc - 0xbbbb 102, 103, 104, 105...
In the scenario above we don't want to drop the first 3 packets of
0xbbbb stream.
https://bugzilla.gnome.org/show_bug.cgi?id=764459
2016-04-03 11:49:16 +03:00
Tim-Philipp Müller
778589cd5b
test: fix indentation
2016-03-30 22:41:54 +01:00
Wim Taymans
c0f22132aa
tests: add resample test
2016-03-28 13:25:51 +02:00
Jan Schmidt
fd2a14144a
subparse: WebVTT parsing support
...
WebVTT is a new subtitle format for HTML5 video. In this first
version of the parser the cue settings are parsed but only stored in
the internal parser state structure. Later on these settings could be
part of the GstBuffer metadata.
https://bugzilla.gnome.org/show_bug.cgi?id=629764
2016-03-25 00:58:42 +11:00
Vineeth TM
44b70ca3a1
base: use new gst_element_class_add_static_pad_template()
...
https://bugzilla.gnome.org/show_bug.cgi?id=763075
2016-03-24 14:25:41 +02:00
Stian Selnes
93196092d1
rtcpbuffer: Add API for APP packets
...
https://bugzilla.gnome.org/show_bug.cgi?id=761944
2016-03-24 14:24:11 +02:00
Haakon Sporsheim
d8e9a711a0
rtcpbuffer: Add profile-specific extension API.
...
https://bugzilla.gnome.org/show_bug.cgi?id=761950
2016-03-24 14:22:54 +02:00
Sebastian Dröge
65390b5129
multihandlesink: Remove useless streamheader storage
...
We don't do anything with it but always get them from the caps anyway, so
stop storing them and having complicated logic around that.
https://bugzilla.gnome.org/show_bug.cgi?id=763278
2016-03-14 12:45:33 +02:00
Tim-Philipp Müller
f331412a37
opus: move Opus audio decoder and encoder from -bad to -base
...
Hook into build system after moving history.
https://bugzilla.gnome.org/show_bug.cgi?id=756282
2016-02-26 00:20:10 +00:00
Tim-Philipp Müller
a2eb430010
Merge branch 'plugin-move-opus'
...
Move Opus decoder and encoder from -bad to -base.
https://bugzilla.gnome.org/show_bug.cgi?id=756282
2016-02-25 23:51:42 +00:00
Sebastian Dröge
16e53defe5
audiovisualizer: Use the library instead of including the source file
...
Fixes build now that the shader enum GType has moved to a different file.
2016-02-26 00:02:49 +02:00
Stian Selnes
85f297d648
videoencoder: Fix leak when pre_push does not return OK
...
https://bugzilla.gnome.org/show_bug.cgi?id=761951
2016-02-13 10:09:45 -03:00
Thiago Santos
681b2b8d81
tests: extend the AM_TESTS_ENVIRONMENT from check.mak
...
To get the CK_DEFAULT_TIMEOUT defined for all tests.
Also replaces a 120 timeout that was set.
https://bugzilla.gnome.org/show_bug.cgi?id=761472
2016-02-05 19:15:16 -03:00
Tim-Philipp Müller
183610c035
build: remove nonsensical check for freetype
...
The examples need Gtk+, nothing uses freetype directly.
2016-01-25 17:40:23 +00:00
Tim-Philipp Müller
1e4f67472e
tests: libvisual: make run faster
...
Reduce resolution, which shouldn't make any difference
to what's tested here. Makes test finish in less than
half the time it took before (8s vs. 21s).
2016-01-25 16:22:17 +00:00
Vineeth TM
2aabbc2163
tests:audioconvert: Fix integer overflow build error
...
value of 32768L << 16 and 1L << 31 is 2147483648
but it exceeds the positive range of int which is 2147483647
resulting in integer overflow error. Use G_GINT64_CONSTANT instead of L.
https://bugzilla.gnome.org/show_bug.cgi?id=760769
2016-01-19 09:56:25 +02:00
Koop Mast
17b16e7a83
tests: audioconvert: fix test compilation with clang
...
With clang 3.7.1 on FreeBSD:
elements/audioconvert.c:650:12: error: shifting a negative signed value is
undefined [-Werror,-Wshift-negative-value]
(-32 << 16) + (1 << 15), (-32 << 16) - (1 << 15),
~~~ ^
https://bugzilla.gnome.org/show_bug.cgi?id=760134
2016-01-06 01:13:32 +00:00
Tim-Philipp Müller
e5fb7275c2
tests: fix indentation of various unit tests
2016-01-06 01:12:13 +00:00
Hyunjun Ko
682b523652
sdp: add helper fuctions from/to sdp from/to caps
...
<gstsdpmessage.h>
GstCaps* gst_sdp_media_get_caps_from_media (const GstSDPMedia *media, gint pt);
GstSDPResult gst_sdp_media_set_media_from_caps (const GstCaps* caps, GstSDPMedia *media);
gchar * gst_sdp_make_keymgmt (const gchar *uri, const gchar *base64);
GstSDPResult gst_sdp_message_attributes_to_caps (GstSDPMessage *msg, GstCaps *caps);
GstSDPResult gst_sdp_media_attributes_to_caps (GstSDPMedia *media, GstCaps *caps);
<gstmikey.h>
GstMIKEYMessage * gst_mikey_message_new_from_caps (GstCaps *caps);
gchar * gst_mikey_message_base64_encode (GstMIKEYMessage* msg);
https://bugzilla.gnome.org/show_bug.cgi?id=745880
2015-12-31 17:11:57 +02:00
Stefan Sauer
898940a37f
audioconvert: add a test for gap handling
2015-12-29 14:40:32 +01:00
Stefan Sauer
7bbfa39ada
audioconvert: fix passthrough operation
...
We did not take the sample size into account. Rearrange the tests to have more
conversion test and an extra test case for passthrough operations.
Fixes #759890
2015-12-29 14:40:32 +01:00
Stefan Sauer
267e7ba1d9
tests: remove commented code from audioconvert test
...
This is just what we have in gst_check_buffer_data().
2015-12-27 19:41:43 +01:00
Thiago Santos
8b05f682b0
examples: playback-test: remove unused variables
...
audiosink and videosink string variables are unused
2015-12-18 19:01:09 -03:00
Tim-Philipp Müller
29cd7966b7
tests: rtpbasedepayload: add test for seqnum gap discont setting
...
The problem was triggered only when the input buffers were not
writable, so add extra ref to test this code path.
2015-12-11 10:40:49 +00:00
Tim-Philipp Müller
e8a403d181
tests: tags: add unit test for ID3v2 PRIVATE_DATA tag extraction
...
https://bugzilla.gnome.org/show_bug.cgi?id=730926
2015-11-20 20:20:25 +00:00
Ognyan Tonchev
7a702df863
rtspconnection: Add support for parsing custom headers
...
https://bugzilla.gnome.org/show_bug.cgi?id=758235
2015-11-18 00:15:32 +00:00
Reynaldo H. Verdejo Pinochet
0c95b0a738
Remove unnecessary NULL checks before g_free()
...
g_free() is NULL-safe
2015-11-17 14:50:27 -08:00
Vineeth TM
b0b0536f91
tests:video: Fix overlay rectangle and buffer leak
...
Created overlay rectangle is not being freed in video tests
pix2 buffer is being created and not freed
https://bugzilla.gnome.org/show_bug.cgi?id=757927
2015-11-11 15:47:24 +01:00
Wim Taymans
e3f0f3b91e
audio-converter: move audio converter to audio libs
...
Move the audio-converter helper to the audio library.
2015-11-06 17:53:22 +01:00
Andreas Frisch
4a85438e5b
tests: Add a test for video blending over transparent frames
...
And fix the test_overlay_blend test where we blend over a
transparent frame and where expecting wrong results
https://bugzilla.gnome.org/show_bug.cgi?id=681447
2015-11-04 22:17:35 +01:00
Sebastian Dröge
387839c57e
opus: Remove invalid unit test
...
Opus headers should never be in-band, so don't test for correct
handling of that.
2015-11-04 00:14:13 +02:00
Wim Taymans
9e15c89564
audioconvert: change multiplier for int<->float conversion
...
Use (1 << 31) as the multiplier for int<->float conversions. This makes
sure that int->float conversions always end up with floats between
[-1.0, 1.0].
For the conversion from float to int, this multiplier will give the complete
int range after we perform clipping.
Change the unit test to take this into consideration.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=755301
2015-11-03 12:12:08 +01:00
Luis de Bethencourt
fcfb9a7794
examples: use GST_STIME_FORMAT for GstClockTimeDiff
...
GST_STIME_FORMAT is more appropriate for GstClockTimeDiff since it can
handle negative values better.
https://bugzilla.gnome.org/show_bug.cgi?id=757480
2015-11-02 15:50:50 +00:00
Eunhae Choi
04eeaef7a4
tests: typefindfunctions: fix error leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=757008
2015-10-23 11:48:47 +03:00
Stian Selnes
0a668c1866
rtpbuffer: Add map flag to skip padding
...
Encrypted RTP buffers may contain encrypted padding, hence it's
necessary to have an option to relax the validation in order to
successfully map the buffer.
When the flag GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING is set
gst_rtp_buffer_map() will map the buffer like if padding is not
present.
https://bugzilla.gnome.org/show_bug.cgi?id=752705
2015-10-15 22:42:37 +03:00
Sebastian Dröge
b60ab758e4
Revert "audioencoder: timestamp headers same as first buffer and use duration 0"
...
This reverts commit dd4d6d9ed5
.
It breaks ogg muxing and the vorbisenc unit test.
2015-10-12 14:02:58 +03:00
Havard Graff
dd4d6d9ed5
audioencoder: timestamp headers same as first buffer and use duration 0
...
https://bugzilla.gnome.org/show_bug.cgi?id=754224
2015-10-11 11:04:53 +01:00
Havard Graff
001ca740a7
audioencoder-tests: port to use GstHarness
...
https://bugzilla.gnome.org/show_bug.cgi?id=754223
2015-10-11 11:03:14 +01:00
Havard Graff
6d211eb58b
audiodecoder-test: port to using GstHarness
...
https://bugzilla.gnome.org/show_bug.cgi?id=754196
2015-10-11 11:01:11 +01:00
Sebastian Rasmussen
042e71a117
rtpbasepayload: Implement video SDP attributes
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=726472
2015-10-02 17:44:14 +03:00
Vineeth TM
8e5f7f27f5
gstreamer: base: Fix memory leaks when context parse fails.
...
When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.
And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.
https://bugzilla.gnome.org/show_bug.cgi?id=753852
2015-10-02 17:26:27 +03:00
Jan Schmidt
610ac2f55e
tests: Add baseaudiovisualizer test, moved from -bad
2015-10-02 15:05:33 +10:00
Tim-Philipp Müller
0c992c5065
tests: subparse: add unit test for closing tag detection
...
</ i> should be handled like </i>
https://bugzilla.gnome.org/show_bug.cgi?id=755875
2015-09-30 18:18:15 +01:00
Ravi Kiran K N
53eb6a7502
playback-test: avoid critical on exit
...
Only free vis_entries array when not null on exit.
https://bugzilla.gnome.org/show_bug.cgi?id=755201
2015-09-18 09:02:48 +01:00
Vikram Fugro
bbe967a278
appsrc: retain the latest caps in queue when flushing
...
- Retain the latest caps in the internal queue, when
flushing.
- Add a unit test case for the same.
https://bugzilla.gnome.org/show_bug.cgi?id=754597
2015-09-09 12:27:40 +03:00
Tim-Philipp Müller
917ea30aaf
tests: audiodecoder: add unit test for tag handling
...
https://bugzilla.gnome.org/show_bug.cgi?id=679768
2015-08-16 16:34:31 +01:00
George Kiagiadakis
41cb26b0e9
tests/appsink: add test to ensure that the segment returned by pull-preroll/sample is correct
...
https://bugzilla.gnome.org/show_bug.cgi?id=751147
2015-08-14 19:27:06 +02:00
Edward Hervey
862c85ce4a
check: Rename states unit test
...
Makes it easier to differentiate from other modules states unit test
2015-08-14 11:12:30 +02:00
Thiago Santos
30e9c26b72
tests: audiodecoder: add test to make sure gap is pushed before segment
...
https://bugzilla.gnome.org/show_bug.cgi?id=753360
2015-08-10 00:21:42 -03:00