Commit graph

869 commits

Author SHA1 Message Date
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
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
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
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
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
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
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