Olivier Crête
17d5dbd337
rtsprange: Add function to convert a range between formats
...
Also add unit tests.
2013-03-11 10:41:31 +01:00
Olivier Crête
0353e608f8
rtsprange: Make _to_string() be more in line with RFC 2326
...
Fix various nits to make it more in line with the RFC, also add unit tests.
2013-03-11 10:41:25 +01:00
Tim-Philipp Müller
5455639fc3
tests: update libs ABI check GstRTSPTimeRange structure size on i386
...
https://bugzilla.gnome.org/show_bug.cgi?id=695276
2013-03-07 10:49:30 +00:00
Tim-Philipp Müller
63eda9ddc0
tests: fix leaks in adder unit test
2013-03-03 17:26:03 +00:00
Tim-Philipp Müller
85558575b5
tests: fix leaks in videorate unit test
2013-03-03 17:11:25 +00:00
Tim-Philipp Müller
155468d6ce
tests: fix leak in audioresample unit test
2013-03-03 17:06:38 +00:00
Tim-Philipp Müller
6a0b713b28
tests: fix leak in vorbisdec unit test
2013-03-03 16:55:24 +00:00
Stefan Sauer
37bf14dafd
tests: add a loop test for adder
2013-02-27 22:07:11 +01:00
Tim-Philipp Müller
ed87e77baa
tests: fix encodebin unit test on 32-bit systems
...
Fixes critical warning on x86:
g_object_set_valist: object class `GstOggMux' has no property named `testingoggmux'
2013-02-16 23:55:57 +00:00
Stefan Sauer
cff9fccc69
adder: use the collect_pads_query func
...
We were setting the query-func on the sink-pad, which got overwritten when
adding the new pad to collect pads. Instead register our query-func with the
collect pads object. This fixes filter caps. Add a test for it.
2013-02-13 21:11:41 +01:00
Sebastian Dröge
c7e93ad043
decodebin: Fix MP3 parser unit test
...
The MP3 parser required fields on its caps that it
didn't need and never got from (e.g.) typefind.
2013-02-13 11:25:02 +01:00
Tim-Philipp Müller
804959ac5f
tests: don't use deprecated thread API in streamsynchronizer test
2013-02-09 16:50:05 +00:00
B.Prathibha
8afb9e896c
tests: use g_timeout_add_seconds wherever possible.
...
https://bugzilla.gnome.org/show_bug.cgi?id=692613
2013-01-27 13:37:29 +00:00
Tim-Philipp Müller
cb99c16744
tests: disable ABI checks for architectures with outdated structure size files
2013-01-17 09:50:16 +00:00
Martin Pitt
c472bce8e1
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-15 12:40:40 +00:00
Martin Pitt
6f59c958ca
Set $GST_PLUGIN_PATH_1_0 for tests as well
...
jhbuild already sets $GST_PLUGIN_PATH_1_0 which overrides $GST_PLUGIN_PATH. Set
both for the tests to see the locally built elements. Fixes 'make check' in
jhbuild.
2013-01-15 12:28:33 +00:00
Stefan Sauer
8296b683ca
volume: a return value of FALSE from the controller is not fatal
...
A return value of FALSE here indicates that we don't have control-values. In
0.10 we were returning the default value of the property. Now we don't fill an
array with defaults in the ControlBinding, but leave it up to the element to
handle this case.
2013-01-09 23:15:06 +01:00
Tim-Philipp Müller
42f971c5eb
encoding-profile: add gst_encoding_profile_get_file_extension()
...
API: gst_encoding_profile_get_file_extension()
https://bugzilla.gnome.org/show_bug.cgi?id=636753
2012-12-23 15:26:59 +00:00
Thibault Saunier
e79f0e801e
encodebing: Use the preset_name as the factory name and preset as the name of the preset
...
The naming is not perfect, but at least we can keep the exact same behaviour as
before.
2012-12-17 10:12:11 -03:00
Tim-Philipp Müller
e05abf0ef1
docs: fix up some more GstXOverlay -> GstVideoOverlay
...
https://bugzilla.gnome.org/show_bug.cgi?id=689740
2012-12-10 13:40:26 +00:00
Thibault Saunier
12aef5f47d
tests: encodebin: Properly rename new preset test
2012-12-05 17:53:19 -03:00
Thibault Saunier
7358cba017
encodebin: Make use of the new preset_name when setting a preset
...
The behaviour is sensibly changed here. Instead of purely falling when a
preset is set on the #GstEncodingProfile, we now make sure that the
element that is plugged corresponds to the one specified as preset. Then,
if we have a preset_name, we use it, if it fails, we fail (we might rather
just keep working even without setting the element properties?)
+ Add tests that it behave correctly
2012-12-05 17:48:38 -03:00
Tim-Philipp Müller
0b172593fa
tcp: print warning if someone tries to add clients in NULL state
...
And mention this in docs.
https://bugzilla.gnome.org/show_bug.cgi?id=689326
2012-12-02 12:54:17 +00:00
Tim-Philipp Müller
64c4fa2ca0
test: add test for playbin in combination with appsink
...
Make sure appsink works multiple times in a row.
Disable it though for now though.
https://bugzilla.gnome.org/show_bug.cgi?id=644989
2012-11-29 15:00:39 +00:00
Sebastian Dröge
9e8e3dfef4
videoscale: Fix unit test to ignore unsupported color formats
2012-11-27 10:30:39 +01:00
Wim Taymans
ce904ec551
rtsprange: add string conversion for new formats
2012-11-21 16:25:24 +01:00
Wim Taymans
fdf904db32
rtsprange: add method to convert ranges to GstClockTime
...
Add a method to convert the values of GstRTSPRange to GstClockTime.
Add unit tests for the conversions.
API: gst_rtsp_range_get_times()
2012-11-21 15:35:46 +01:00
Wim Taymans
9746df1ed7
check: update for larger struct
2012-11-20 11:13:01 +01:00
Wim Taymans
b785c66098
rtsp: avoid ABI break
...
Move new fields into structures appended at the end of the GstRTSPRange
to avoid ABI break.
2012-11-20 11:13:01 +01:00
Wim Taymans
fe4b415f98
rtsp: parse UTC ranges
2012-11-19 16:59:48 +01:00
Wim Taymans
b113f9697a
rtsp: parse SMPTE ranges
2012-11-19 16:15:46 +01:00
Wim Taymans
81c1172ded
check: add rtsp range checks
2012-11-19 13:56:53 +01:00
Tim-Philipp Müller
bd22e3c7cb
examples: don't use deprecated API
2012-11-17 00:26:45 +00:00
Tim-Philipp Müller
d730b0c296
tests: add test for video unpack and pack functions
2012-11-09 23:41:16 +00:00
Wim Taymans
02b6e58eef
tests: add NTP64 and ntp56 header extension checks
2012-11-06 09:18:54 +01:00
Tim-Philipp Müller
5f59b4f7ee
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Rasmus Rohde
c286f8ffa2
audioconvert: Prefer output formats with the same depth or at least a higher depth
...
Enhance current code to prefer an exact match on sample depth if
possible. Also ignore GST_AUDIO_FORMAT_FLAG_UNPACK when checking
equality on the flags.
2012-11-01 14:29:43 +01:00
Wim Taymans
3591df23b1
docs: playbin2 -> playbin
2012-10-09 12:20:10 +02:00
Wim Taymans
f70ebca937
tests: fix audio caps
2012-10-09 12:20:10 +02:00
Tim-Philipp Müller
b36dba0577
tests: fix video overlay_composition_premultiplied_alpha test on big-endian machines
...
The unit test was checking for alpha at the wrong position.
2012-10-07 19:46:45 +01:00
Tim-Philipp Müller
49ac84fc32
tests: fix ABI struct headers for x86
...
Not caused by anything we changed recently as
far as I can tell.
2012-10-07 13:35:57 +01:00
Tim-Philipp Müller
c6064e05a1
tests: add ABI structs header for 32-bit powerpc
2012-10-07 13:13:37 +01:00
Tim-Philipp Müller
3bc58b6309
tests: skip adder test_live_seeking test while it's unreliable
...
Was an issue in 0.10 as well.
https://bugzilla.gnome.org/show_bug.cgi?id=617418
2012-10-06 15:35:11 +01:00
Wim Taymans
7b6d465586
tests: fix test-effect-switch
...
Make it into an example of how to dynamically change an element
in a playing pipeline using pad blocking.
2012-10-05 11:03:19 +02:00
Wim Taymans
e873435ce0
tests: don't stop on just warnings
2012-10-04 12:15:39 +02:00
Wim Taymans
6fa859f679
tests: fix scale test for 1.0
...
It needs a basetransform patch that makes it prefer the order of
the caps property instead of passthrough.
2012-10-04 11:20:01 +02:00
Tim-Philipp Müller
6842698f0d
Purge all references to liboil
...
And remove unused ffmpegcolorspace tests in the process.
https://bugzilla.gnome.org/show_bug.cgi?id=673285
2012-09-29 11:47:52 +01:00
Wim Taymans
65b06e18ac
test: fix for new-sample signature
...
The new-sample signal expects a GstFlowReturn as a result.
Add support for external subtitles as well.
2012-09-26 13:31:50 +02:00
Andreas Frisch
6dd8302029
tests: port playbin-text example to 1.0 api
...
https://bugzilla.gnome.org/show_bug.cgi?id=684084
2012-09-19 16:41:48 +01:00
Tim-Philipp Müller
06777095e8
examples: make snapshot example actually compile and work
...
https://bugzilla.gnome.org/show_bug.cgi?id=684063
2012-09-17 16:19:52 +01:00
Javier Jardón
f0d3f33540
tests/examples/snapshot/snapshot.c: get caps from the sample
...
pull-preroll signal returns a GstSample, not a GstBuffer
https://bugzilla.gnome.org/show_bug.cgi?id=684063
2012-09-17 16:05:37 +01:00
Mark Nauwelaerts
e491d24341
use gst_element_factory_get_metadata to replace obsolete API
2012-09-15 18:57:09 +02:00
Mark Nauwelaerts
c629a44162
replace gst_tag_list_free with gst_tag_list_unref
2012-09-14 17:53:21 +02:00
Mark Nauwelaerts
f7c247b6a3
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:02:59 +02:00
Wim Taymans
24bab1e5a8
fix for appsink GstFlowReturn
2012-09-14 13:39:20 +02:00
Wim Taymans
acb3aeebd4
fix caps
2012-09-14 13:22:31 +02:00
Stefan Sauer
2fb27fa463
xmptag: migrate to the _full version of the API and drop the _full postfix
...
Fix up all invocations.
2012-09-12 21:32:04 +02:00
Mark Nauwelaerts
536276eee1
tests: port to the new GLib thread API
2012-09-12 13:09:27 +02:00
Wim Taymans
35441abcde
tests: fix unit test
...
Add support for I422_10
2012-09-12 10:12:25 +02:00
Tim-Philipp Müller
d186109e71
tests: fix up libsabi test structure sizes for x86-64
2012-09-11 01:43:37 +01:00
Tim-Philipp Müller
6b670d701c
gdp: move gdp plugin to -bad
...
It needs to be reworked for 1.0
2012-09-11 01:33:11 +01:00
Tim-Philipp Müller
37f9177817
video/x-3ivx -> video/mpeg, mpegversion=4
2012-09-10 00:28:15 +01:00
Tim-Philipp Müller
202cd3c17c
install-plugins: constify _install_*sync() details array arguments
2012-09-09 18:29:40 +01:00
Tim-Philipp Müller
175bd55a66
tests: fix socket leaks in multisocketsink unit test
2012-09-09 00:18:16 +01:00
Tim-Philipp Müller
fa454a6240
tests: fix audioresample unit test for big-endian systems
2012-09-07 01:39:38 +01:00
Tim-Philipp Müller
b3771378c9
tests: fix audiorate unit test on big-endian systems
2012-09-07 01:26:50 +01:00
Tim-Philipp Müller
a6f2f26ace
tests: fix simple-launch-lines unit test on big-endian systems
...
audiotestsrc only does native endianness.
2012-09-07 01:23:07 +01:00
Mark Nauwelaerts
3dd7e1f3c4
tests: playbin: do not leak uri strings
2012-09-06 15:04:33 +02:00
Mark Nauwelaerts
cd2e795154
videooverlaycomposition: add some _get_argb and _get_ayuv functions
...
... that will handle automatic conversion to indicated format.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683180
2012-09-05 10:15:51 +02:00
Tim-Philipp Müller
f4bd96d899
tests: make git ignore streamsynchronizer test binary
2012-09-03 18:57:00 +01:00
Tim-Philipp Müller
ba7d738d9e
video/x-xvid -> video/mpeg,mpegversion=4
2012-09-03 18:56:26 +01:00
Tim-Philipp Müller
7c2e7b1a4f
text/plain + text/x-pango-markup -> text/x-raw
2012-09-02 02:45:41 +01:00
Edward Hervey
47d132e651
check: Don't fail on GST_MESSAGE_WARNING
...
we will get some because some elements aren't present.
If the availability of those elements was critical, we will
eventually get an error message
2012-08-30 16:54:17 -07:00
Mark Nauwelaerts
89228e911c
videooverlaycomposition: allow more formats for rectangle pixel data
...
... adding AYUV, and allowing for ARGB or RGBA endian-independent.
2012-08-30 12:12:39 +02:00
Wim Taymans
1968127650
rtp: Fix extension data support
...
Allocate header, payload and padding in separate memory blocks in
gst_rtp_buffer_allocate().
don't use part of the payload data as storage for the extension data but store
it in a separate memory block that can be enlarged when needed.
Rework the one and two-byte header extension to make it reserve space for the
extra extension first.
Fix RTP unit test. Don't map the complete buffer or make assumptions on the
memory layout of the underlaying implementation. We can now always add extension
data because we have a separate memory block for it.
2012-08-22 09:56:39 +02:00
Tim-Philipp Müller
5b715cdb90
video/x-dvd-subpicture -> subpicture/x-dvd
2012-08-20 21:36:15 +01:00
Edward Hervey
784ca61ced
check: Add streamsynchronizer unit test
2012-08-14 18:56:14 +02:00
Tim-Philipp Müller
9db720df67
tests: update structure sizes for ABI test for i386
2012-08-12 18:10:02 +01:00
Tim-Philipp Müller
fb0e727f13
tests: update libsABI test to new structure sizes
...
The offset field addition in GstSegment has added
a few bytes.
2012-08-11 08:14:27 +01:00
Tim-Philipp Müller
5adc87c6bd
tests: fix vorbisdec test
...
There won't be a tag messages on the bus, because tags
are now sent downstream for sinks to post on the bus,
and there's no sink involved here that would do that.
Secondly, the audio decoder base class only sends the
tags out once it has received some non-header data as
input, which is not something we're providing here.
2012-08-09 00:54:30 +01:00
Tim-Philipp Müller
fc37cf5779
Silence some 'variable may be used uninitialized' compiler warnings
...
when compiling with -DG_DISABLE_ASSERT
2012-08-08 10:19:20 +01:00
Tim-Philipp Müller
17c839c8a1
No statements with side-effects in g_assert() or g_return_*() please
2012-08-08 10:11:48 +01:00
Tim-Philipp Müller
6422f2d085
Update .gitignore
2012-08-08 09:06:30 +01:00
Tim-Philipp Müller
910e497421
tests: remove custom tcase_skip_broken_test define which is now in core
2012-08-05 17:25:59 +01:00
Tim-Philipp Müller
d4f582edd6
tests: silence FIXMEs when running videoscale unit test
2012-08-05 17:21:31 +01:00
Tim-Philipp Müller
ec13933aaa
tests: add adder test to check that caps are sent downstream
2012-08-04 22:25:08 +01:00
Tim-Philipp Müller
7892e1e22f
videoscale: fix 4-tap scaling for 64-bpp formats
...
Fix invalid memory access caused by broken pointer arithmetic.
If we have a uint16_t *tmpbuf and add n * dest->stride to it, we
skip twice as much as we intended to because dest->stride is in
bytes and not in pixels. This made us write beyond the end of
our allocated temp buffer, and made the unit test crash.
2012-08-04 22:05:21 +01:00
Tim-Philipp Müller
063dc1712e
tag: fix up EXIF writer for GstBuffer -> GstSample
2012-07-28 11:54:38 +01:00
Wim Taymans
dfbe9b43c7
tests: add audio and video orc tests
2012-07-24 09:26:42 +02:00
Tim-Philipp Müller
90d86b542b
tests: use multifdsink for streamheader test
...
Use multifdsink for pipes instead of multisocketsink,
to avoid "creating GSocket from fd 9: Socket operation
on non-socket "criticals from Gio. Test still fails,
but it fails in a different way now.
2012-07-20 10:05:03 +01:00
Wim Taymans
9eb8b64bb0
playback-test: fix buffering query
...
It was using the wrong values from the buffering query.
2012-07-19 12:51:25 +02:00
Wim Taymans
c88b55c3a9
tests: update for step event changes
2012-07-18 17:50:28 +02:00
Mark Nauwelaerts
f89c7b605f
videooverlaycomposition: replace API parameters with required video meta on pixel data
2012-07-17 18:08:11 +02:00
Wim Taymans
11a494d5c9
rtp: Add support for multiple memory blocks in RTP
...
Add support RTP buffers with multiple memory blocks. We allow one block for the
header, one for the extension data, N for data and one memory block for the
padding.
Remove the validate function, we validate now when we map because we need to
parse things in order to map multiple memory blocks.
2012-07-17 16:41:36 +02:00
Tim-Philipp Müller
a0a9ebba43
tests: add videoconvert test that checks formats in template caps
2012-07-17 00:35:28 +01:00
Tim-Philipp Müller
94a9bf10f3
tests: no need to blacklist 64-bit formats in videoscale test any longer
...
Since we now use videoconvert, which supports these.
Unfortunately videoscale still crashes with 64-bit formats
right now because of a too small temp buffer, but I'm sure
someone is going to fix this real soon now, just like the
other unit tests.
2012-07-17 00:31:57 +01:00
Tim-Philipp Müller
73330fc568
tests: add videoscale test to check pad template formats
2012-07-17 00:31:14 +01:00
Stefan Sauer
2f8b9829c7
adder: add a tests for the aggregation of durations
2012-07-16 11:27:57 +02:00
Stefan Sauer
ff120f6aa9
adder: cleanup test
...
Use right type for StateChangeReturn and avoid needless G_OBJECT casts.
2012-07-16 11:27:57 +02:00
Tim-Philipp Müller
f46c383818
tag: use GST_TAG_DATE_TIME for storing dates instead of GST_TAG_DATE
...
So we can express partial dates.
2012-07-15 00:14:36 +01:00