Commit graph

879 commits

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