Tim-Philipp Müller
dbcf68abc9
tests: fix videoscale test after video format addition
2013-07-16 18:50:09 +01:00
Young-Ho Cha
6cea51c962
tests: update sami parser testcases
...
Remove libxml dependency for sami parser
and add more testcases.
https://bugzilla.gnome.org/show_bug.cgi?id=693056
2013-07-16 18:10:37 +01:00
Sebastian Dröge
f2bc24a5a9
playbin: Fix assumptions in the unit test
...
Unused sinks are still set to READY now during autoplugging
to check their caps. Also playsink owns a ref to the sinks too.
2013-07-10 13:20:34 +02:00
Edward Hervey
a9e4750674
pbutils: descriptions: Allow smart codec tag handling
...
We already have internally the information on what type of stream (audio,
video, container, subtitle, ...) a certain caps is.
Instead of forcing callers to specify which CODEC_TAG category a certain
caps is, use that information to make a smart choice.
Does not break previous behaviour of gst_pb_utils_add_codec_description_to_tag_list
(if tag is specified it will be used, if caps is invalid it will be rejected,
...).
https://bugzilla.gnome.org/show_bug.cgi?id=702215
2013-06-28 07:09:53 +02:00
Branko Subasic
4dd5c5b808
rtpbuffer: add gst_rtp_buffer_get_payload_bytes
...
The function gst_rtp_buffer_get_payload can not be used in Python
because it lacks necessary length parameter. This patch adds a new
function, gst_rtp_buffer_get_payload_bytes, to use from Python
bindings. The new function has the advisory "Rename to:" annotation
so it can replace the gst_rtp_buffer_get_payload whan creating
bindings.
The function gst_rtp_buffer_get_extension_bytes is also added. It wraps
gst_rtp_buffer_get_extension_data which doesn't work in Python due to
incomplete annotation and because it returns the length as number of
32-bit words.
https://bugzilla.gnome.org/show_bug.cgi?id=698562
2013-06-18 11:23:40 +02:00
Sreerenj Balachandran
eabd2a5c7b
tests: add more unit test for playbin
...
Add unit test for autoplugging of video_decoder/video_sink combination
based on capsfeatures.
2013-06-11 15:17:37 +02:00
Sebastian Dröge
f763a2364f
playbin: Rename compressed unit test to complex
...
It's not really about compressed streams anymore, but also
about stream switching and stream combiners.
2013-05-29 10:37:55 +02:00
Sebastian Dröge
0dee7777ff
playbin: Set custom stream-combiners to NULL and unref before finalizing
2013-05-29 10:35:11 +02:00
Brendan Long
f45a102c2c
playbin: Add playbin audio-stream-combiner test using adder
2013-05-29 09:53:46 +02:00
Tim-Philipp Müller
1bc94d4aa3
tests: ignore new NV16 format in videoscale unit test
...
https://bugzilla.gnome.org/show_bug.cgi?id=700377
2013-05-16 11:09:11 +01:00
Sebastian Dröge
d8a3895ac9
tests: Fix event order and missing events
2013-05-10 12:29:15 +02:00
Sebastian Dröge
341d67ea94
playbin-compressed: Fix unit test
2013-05-09 18:02:57 +02:00
Patricia Muscalu
b9933dd6a3
tests: add SDP modify test
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=698558
2013-04-24 14:13:43 +02:00
Wim Taymans
1bf3176e26
tests: avoid sdp boxed test leak
2013-04-24 14:12:41 +02:00
Sebastian Dröge
fbe295f275
streamsynchronizer: Create element with gst_element_factory_make()
...
Otherwise plugin_init() is not called and initialization is missing.
2013-04-24 11:11:41 +02:00
Thibault Saunier
fbe80a688d
adder: Do not try to wait for flush_stop after receiving a segment event
...
+ Add a simple test
2013-04-21 16:11:41 +02:00
Jose Antonio Santos Cadenas
ba1e693853
sdp: add boxed type for GstSDPMessage
...
Also added some tests of this improvement.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697808
2013-04-15 14:27:47 +02:00
Jonas Holmberg
4ff3972aa7
tests: avoid assert in adder test if no audio sources work
...
The array of factories should not contain a NULL element at the end
since the number of arguments is determined via G_N_ELEMENTS and the
NULL will be used as an argument to gst_element_factory_make() if
the other sources in the list weren't usable.
2013-04-12 11:06:49 +01:00
Sebastian Dröge
3de4200f61
videoscale: Fix unit test after latest videoconvert changes
2013-04-09 14:04:47 +02:00
Sebastian Dröge
99551d806c
videoconvert: Fix unit test after latest videoconvert changes
2013-04-09 13:59:34 +02:00
Tim-Philipp Müller
61bc909189
tests: fix some printf format compiler warnings
2013-03-31 17:37:36 +01:00
Edward Hervey
b3d94bd0e4
encodebin: Add action signal to get pad for a given profile
...
This allows getting a pad for a specific encoding profile, which can
be useful when there are several stream profiles of the same type.
Also update the encodebin unit tests so that we check that the returned
pad has the right caps.
https://bugzilla.gnome.org/show_bug.cgi?id=689845
2013-03-31 12:02:05 +02:00
Stefan Sauer
8fe9f5a6ea
adder: cleanup and reenable adder live source test
...
The test now passed a few rounds of nice -n19 make elements/adder.torture.
2013-03-29 11:49:47 +01:00
Wim Taymans
b1950b6409
Revert "videoconvert: prevent bad interlaced conversions"
...
This reverts commit adc9694ed7
.
No need to restrict the conversion, we can handle interlace correctly. We
basically unpack each field, then convert each field to the target colorspace
and pack and interleave each field to the target format. We also disable any
fast path that can't deal with interlaced formats.
2013-03-24 00:21:36 +01:00
David Schleef
adc9694ed7
videoconvert: prevent bad interlaced conversions
...
Don't allow conversion that changes vertical subsampling if video
is interlaced.
2013-03-22 17:24:43 -07:00
Wim Taymans
2f2e3676b1
playback-test: wait for buffering after seek
...
Wait for buffering to finish before setting the element to the playing state
after a seek.
2013-03-15 10:12:23 +01:00
Tim-Philipp Müller
5127d31cce
tests: fix appsrc unit test spam
...
spam 1 spam 2 spam 3 spam 4 spam 5
2013-03-13 01:00:45 +00:00
Nicola Murino
2a1dc7ca56
appsrc: fix deadlock setting pipeline in NULL state with block=true
2013-03-12 11:16:57 +01:00
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
Tim-Philipp Müller
a1d1bd0517
tag: extract year from ID3v1 tag as GstDateTime instead of GDate
...
So we can signal properly that only the year is valid.
2012-07-14 15:34:56 +01:00
Stefan Sauer
7921f4b26e
tests: use more expressive check assertion macros
2012-07-09 19:59:53 +02:00
Tim-Philipp Müller
31a5359fb7
tests: update GstVideoFilter structure size for ABI check on x86
2012-07-09 14:37:11 +01:00
Mark Nauwelaerts
bcc5a89a98
videooverlaycomposition: make API meta oriented
...
... and as such more consistent with other buffer meta components.
2012-07-03 14:27:35 +02:00
Mark Nauwelaerts
d37422da2b
tests: video: port video overlay composition test to 0.11
2012-07-02 14:34:14 +02:00
Mark Nauwelaerts
563d3dd0f6
tests: video: ensure initialization and plug sample leak
2012-07-02 14:34:14 +02:00
Mark Nauwelaerts
c849c9c66b
tests: video: tweak RGB caps test
2012-07-02 14:34:14 +02:00
Tim-Philipp Müller
1046936be5
tests: add test for switching video effects at run time
...
Bases on test app in bug #614296 . Doesn't work reliably yet,
leads to not-negotiated errors sooner or later, even when
it's the same element being re-plugged.
2012-06-30 18:40:20 +01:00
Tim-Philipp Müller
01270a447e
examples: update for new force-aspect-ratio default
2012-06-29 11:46:23 +01:00
Tim-Philipp Müller
3a1b53c117
tests: update unit test for vorbistag change to GST_TAG_DATE_TIME
...
https://bugzilla.gnome.org/show_bug.cgi?id=677712
2012-06-27 23:50:07 +01:00
Tim-Philipp Müller
43e4b44bb1
uridecodebin, tests: update for gst_element_make_from_uri() changes
2012-06-23 14:55:31 +01:00
Wim Taymans
fcc1e1f457
update for bus api changes
2012-06-20 12:34:01 +02:00
Andreas Frisch
92c04f12cc
fix compiler warning
2012-06-20 12:34:01 +02:00
Tim-Philipp Müller
d155b83d03
examples: make play button in playback test have focus after startup
...
So you can just press Enter to start playback.
2012-06-14 23:18:20 +01:00
Vincent Penquerc'h
f211cda2fc
playback-test: expose seek snap flags
...
https://bugzilla.gnome.org/show_bug.cgi?id=676639
2012-06-11 12:35:24 +01:00
Sebastian Dröge
233622437f
elements: Use gst_pad_set_caps() instead of manual event fiddling
2012-06-08 15:51:06 +02:00
Sebastian Dröge
d21591ff36
video: Fix build of unit test
2012-06-04 13:07:36 +02:00
Tim-Philipp Müller
fa832bedb8
tests: don't use GstStructure API on tag lists
2012-05-26 19:56:48 +01:00
Edward Hervey
d7fff5e023
check: Update video test for GST_VIDEO_FORMAT_ENCODED
2012-05-25 16:07:01 +02:00
Edward Hervey
f840383a1a
tests: Update ABI libs structure
2012-05-25 16:07:01 +02:00
Wim Taymans
29d24d4658
playbin: add current-*uri properties
...
Make the uri property getter return the next uri, like it was configured in the
setter.
Make a new current-uri and current-suburi property that reflects the currently
playing uri and suburi.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676665
2012-05-25 15:18:46 +02:00
Andoni Morales Alastruey
e8355ce908
playback: Fix compilation with the GDK Quartz backend
2012-05-21 13:15:12 +02:00
Stefan Sauer
db3a4b424c
playback-test: remove not needed state-change
...
We go back to paused if needed (scrubbing in paused) in stop_seek().
2012-05-21 11:38:09 +02:00
Sreerenj Balachandran
d172962082
tests/icles: fix type of format field in 0.11 video caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=676344
2012-05-19 11:17:04 +01:00
Vivia Nikolaidou
a5d8bce395
playback: Display subseconds as proper milliseconds instead of the last 2 digits of the milliseconds
2012-05-03 17:16:36 +02:00
Tim-Philipp Müller
7e00aca2eb
tests: update audiocdsrc test for stricter URI protocol checking incore
2012-05-01 23:09:22 +01:00
Tim-Philipp Müller
f342d956af
tests: fix libscpp compilation
...
Don't include marshaller headers that have gone away and/or
aren't public headers anyway so don't need to be tested for
C++ compiler compatibility.
2012-04-28 19:16:52 +01:00
Stefan Sauer
ad090a612d
volume: add a control point for the test
2012-04-25 20:09:17 +02:00
Stefan Sauer
bcbb58ccbd
volume: cast outputs to correct type before comparing
2012-04-25 20:09:17 +02:00
Stefan Sauer
0d50fc03cc
tests: initialize variables
2012-04-25 09:23:28 +02:00
Sebastian Dröge
a0e3a9e32d
Merge remote-tracking branch 'origin/0.10'
...
Video base classes and theora plugin still needs to be ported again
Conflicts:
docs/libs/gst-plugins-base-libs-docs.sgml
docs/libs/gst-plugins-base-libs-sections.txt
docs/libs/gst-plugins-base-libs.types
ext/theora/gsttheoradec.c
ext/theora/gsttheoradec.h
ext/theora/gsttheoraenc.c
ext/theora/gsttheoraenc.h
gst-libs/gst/video/Makefile.am
gst-libs/gst/video/video.c
gst-libs/gst/video/video.h
gst/playback/gsturidecodebin.c
tests/check/libs/video.c
tests/check/pipelines/theoraenc.c
win32/common/libgstvideo.def
2012-04-24 18:14:31 +02:00
Edward Hervey
416029a006
tests: Remove theoraenc discont test
...
It should be fixed differently, see
https://bugzilla.gnome.org/show_bug.cgi?id=663262
2012-04-24 17:03:41 +02:00
Edward Hervey
8f00d76c97
video: Backport GstVideoInfo/GstVideoFormatInfo from 0.11
2012-04-24 10:44:44 +02:00
Mark Nauwelaerts
8f2a048e5f
Revert "tests: TEMP"
...
This reverts commit e9fbabbb86
.
2012-04-16 17:03:01 +02:00
Mark Nauwelaerts
e9fbabbb86
tests: TEMP
2012-04-16 16:30:46 +02:00
Tim-Philipp Müller
91b8f10a92
tests: fix navigation test linking
2012-04-15 23:04:07 +01:00
Sebastian Dröge
69b18ab09d
gst-libs: Remove interfaces libs and mixer/tuner interfaces
...
The navigation interface is now in the video library.
2012-04-13 13:14:13 +02:00
Mark Nauwelaerts
67b29f85a2
tests: videorate: remove obsolete color-matrix caps field
2012-04-13 12:21:34 +02:00
Edward Hervey
5fd3f8f2c1
check: Fix one leak in volume test
2012-04-12 15:06:15 +02:00
Wim Taymans
84b69fa921
tests: remove GstNetAddress
...
Really, really remove all mention of GstNetBuffer
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=673510
2012-04-11 16:59:25 +02:00
Alban Browaeys
6c8abf24cf
libs: Link against internal tag library
2012-04-11 09:58:49 +02:00
Alban Browaeys
8e8c18233a
pbutils: Link against internal gst video
...
Link pbutils and encoding tests against internal version of libgstvideo.
2012-04-11 09:56:17 +02:00
Mark Nauwelaerts
8da252a21c
tests: plug some more object and caps leaks
2012-04-04 19:57:35 +02:00
Sebastian Dröge
65307dd132
gst: Update versioning
2012-04-04 14:55:15 +02:00
Mark Nauwelaerts
0acef1dbe9
tests: various fixes
...
... such as setting input caps, ensuring to unmap and bearing in
mind that gst_buffer_make_writable usually does not provide
a separate memory copy/area.
2012-04-03 18:31:27 +02:00
Mark Nauwelaerts
fd9b69fb33
tests: videoscale: fix passthrough unit test
...
... to really only test the indicated scaling method rather than
all of them.
2012-04-02 17:03:48 +02:00
Wim Taymans
345dc31f20
update for buffer api change
2012-03-30 18:15:30 +02:00
Mark Nauwelaerts
9289476e77
tests: plug various caps leaks
2012-03-30 16:56:45 +02:00
Edward Hervey
8d90932ad4
tests: Check return value of byte write methods
2012-03-30 12:06:09 +02:00
Edward Hervey
4935af23e7
tests: Fix subparse test
...
It wasn't checking the srt_input2
2012-03-30 11:56:18 +02:00
Edward Hervey
2325a2beae
videoscale: Fix comparision
2012-03-30 11:56:18 +02:00
Edward Hervey
7ed834ced7
test: Enable ABI check and update 64bit file
2012-03-29 17:42:50 +02:00
Edward Hervey
71166456d0
tests: Properly disable non-ported tests
2012-03-29 17:42:50 +02:00
Sebastian Dröge
9e13d70b2c
Merge remote-tracking branch 'origin/0.10'
...
Conflicts:
gst-libs/gst/video/video-overlay-composition.c
tests/check/libs/video.c
2012-03-29 15:00:22 +02:00
Sebastian Dröge
affd142d33
playback-test: Some minor grid layout improvements
2012-03-26 09:16:01 +02:00
Sebastian Dröge
5e87247937
playback-test: Make grid children sizes non homogeneous
...
This only takes space for no good reason and doesn't even look good.
2012-03-26 09:16:01 +02:00
Sebastian Dröge
07d41dd346
playback-test: Rename advanced playback to advanced seeking
...
It's about seeking, not general playback.
2012-03-26 09:16:01 +02:00
Tim-Philipp Müller
3242f55861
test: fix leak in video overlay composition unit test
...
gst_buffer_set_qdata() will leak the structure passed to it
when called incorrectly (e.g. on a non-metadata-writable buffer).
This is expected, but we must avoid doing that in valgrind.
2012-03-25 13:35:23 +01:00
Holger Kaelberer
9d1b331004
tests: add unit test for video overlay composition global alpha support
...
https://bugzilla.gnome.org/show_bug.cgi?id=668483
2012-03-25 11:27:24 +01:00
Wim Taymans
32bd12dba9
Merge branch 'master' into 0.11
...
Conflicts:
.gitignore
common
configure.ac
ext/vorbis/gstvorbisdeclib.h
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/riff/riff-read.c
gst/playback/gstplaysink.c
gst/playback/gstplaysinkconvertbin.c
tests/check/libs/video.c
2012-03-22 11:35:13 +01:00
Wim Taymans
8e13d30a5a
tests: don't include element header files
2012-03-21 13:19:50 +01:00
Wim Taymans
a619d3a8b0
update for memory api changes
2012-03-20 13:20:36 +01:00
Tim-Philipp Müller
87a9e5634e
tests: add unit test for premultiplied alpha handling of video overlay rectangles
...
https://bugzilla.gnome.org/show_bug.cgi?id=668483
2012-03-14 18:04:38 +00:00
Tim-Philipp Müller
f234923c07
tests: remove ASSERT_CRITICAL disablement in overlay composition unit test
...
No idea why that was there.
2012-03-14 18:04:37 +00:00
Wim Taymans
679b9b166f
tests: update for caps api changes
2012-03-12 17:16:46 +01:00
Wim Taymans
d5ace1d855
tests: fix for caps change
2012-03-12 12:40:09 +01:00
Wim Taymans
cc80ab6b2e
tests: fix for caps _normalize changes
2012-03-12 12:22:54 +01:00
Tim-Philipp Müller
29c266ccff
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
common
docs/libs/gst-plugins-base-libs.types
ext/pango/gsttextoverlay.c
ext/vorbis/gstvorbisdec.c
gst/playback/gstplaysink.c
gst/playback/gstplaysinkconvertbin.c
sys/ximage/ximagesink.c
sys/xvimage/xvimagesink.c
2012-03-08 20:31:34 +00:00
Edward Hervey
752ba3149f
check: Disable another lanczos videoscale test
...
Segfaults hard
2012-03-08 15:25:02 +01:00
Wim Taymans
591ff74d7d
tests: deal with lists of formats
2012-03-08 10:59:48 +01:00
Tim-Philipp Müller
85a7b8f562
tests: add test to check discoverer return code for missing plugins case
...
https://bugzilla.gnome.org/show_bug.cgi?id=671047
2012-03-03 13:54:53 +00:00
Sebastian Dröge
ac91f44747
playback-test: Link to libgstvideo too
2012-03-02 12:11:25 +01:00
Sebastian Dröge
32bb92f2fa
Merge branch 'master' into 0.11
...
Conflicts:
tests/examples/Makefile.am
tests/examples/playback/playback-test.c
2012-03-02 12:07:22 +01:00
Sebastian Dröge
55ed216911
playback: Only requires GTK, not GTK-X11
2012-03-02 12:06:53 +01:00
Sebastian Dröge
06135dcf7b
playback-test: Rename everything from seek to playback-test internally too
2012-03-02 12:01:37 +01:00
Sebastian Dröge
f8d67ef805
playback: Rename file from seek.c to playback-test.c
2012-03-02 11:58:30 +01:00
Sebastian Dröge
83e0c28488
examples: Move seek example into its own directory
2012-03-02 11:57:34 +01:00
Sebastian Dröge
f7939bb43f
Merge branch 'master' into 0.11
...
Conflicts:
NEWS
RELEASE
configure.ac
docs/plugins/gst-plugins-base-plugins.args
docs/plugins/gst-plugins-base-plugins.hierarchy
docs/plugins/gst-plugins-base-plugins.interfaces
docs/plugins/inspect/plugin-adder.xml
docs/plugins/inspect/plugin-alsa.xml
docs/plugins/inspect/plugin-app.xml
docs/plugins/inspect/plugin-audioconvert.xml
docs/plugins/inspect/plugin-audiorate.xml
docs/plugins/inspect/plugin-audioresample.xml
docs/plugins/inspect/plugin-audiotestsrc.xml
docs/plugins/inspect/plugin-cdparanoia.xml
docs/plugins/inspect/plugin-encoding.xml
docs/plugins/inspect/plugin-ffmpegcolorspace.xml
docs/plugins/inspect/plugin-gdp.xml
docs/plugins/inspect/plugin-gio.xml
docs/plugins/inspect/plugin-gnomevfs.xml
docs/plugins/inspect/plugin-libvisual.xml
docs/plugins/inspect/plugin-ogg.xml
docs/plugins/inspect/plugin-pango.xml
docs/plugins/inspect/plugin-playback.xml
docs/plugins/inspect/plugin-subparse.xml
docs/plugins/inspect/plugin-tcp.xml
docs/plugins/inspect/plugin-theora.xml
docs/plugins/inspect/plugin-typefindfunctions.xml
docs/plugins/inspect/plugin-uridecodebin.xml
docs/plugins/inspect/plugin-videorate.xml
docs/plugins/inspect/plugin-videoscale.xml
docs/plugins/inspect/plugin-videotestsrc.xml
docs/plugins/inspect/plugin-volume.xml
docs/plugins/inspect/plugin-vorbis.xml
docs/plugins/inspect/plugin-ximagesink.xml
docs/plugins/inspect/plugin-xvimagesink.xml
gst-libs/gst/app/gstappsink.c
gst-libs/gst/audio/mixer.c
gst-libs/gst/audio/mixer.h
gst-libs/gst/tag/gstxmptag.c
gst-libs/gst/video/colorbalance.c
gst-libs/gst/video/colorbalance.h
gst/adder/gstadder.c
gst/playback/gstplaybasebin.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysink.c
gst/videoscale/gstvideoscale.c
tests/check/elements/videoscale.c
tests/examples/seek/seek.c
tests/examples/v4l/probe.c
win32/common/_stdint.h
win32/common/audio-enumtypes.c
win32/common/config.h
2012-03-02 10:00:55 +01:00
Sebastian Dröge
87d41b87a0
seek: Add support for setting a subtitle URI
2012-03-01 13:24:45 +01:00
Sebastian Dröge
ad1b38a7f1
seek: Add support for changing the remaining playbin2 properties
...
Including video/audio/text sinks.
2012-03-01 12:52:21 +01:00
Sebastian Dröge
3d32372e8b
seek: Add advanced seek ability
...
This allows to seek to a specific value in a specific format and
also lists the current position and duration in a specific format.
2012-03-01 10:49:42 +01:00
Sebastian Dröge
dbeeade504
seek: Some more variable moving
2012-03-01 10:49:42 +01:00
Sebastian Dröge
3e16ee0af1
seek: Move seek flags/settings into its own expander
2012-03-01 10:49:42 +01:00
Stefan Sauer
22bef18b96
test: improve adder test on event handling
...
Use new consitency checker api to test event handling in more detail.
2012-02-29 21:51:00 +01:00
Edward Hervey
59918e841f
Suppress deprecation warnings in selected files, for g_value_array_* mostly
2012-02-27 14:28:15 +01:00
Tim-Philipp Müller
2b0b1e4ece
tests: add some videoscale tests for new Lanczos-based method
...
Some crash. Others show invalid memory access in valgrind.
2012-02-26 23:46:50 +00:00
Tim-Philipp Müller
63d1316c0f
videoscale: fix negotiation after addition of new formats and methods
...
Now that we no longer support all methods for all formats, we
need to cater for that in the transform function: we can't
transform formats not supported by the currently-selected
mehod.
make check, folks. It's da bomb.
2012-02-26 23:46:50 +00:00
Tim-Philipp Müller
92ebd6bd2a
videoscale: fix videoscale test for new methods
...
Not all scaling methods are supported for all formats, so
can't just iterate over the template caps.
2012-02-26 23:46:50 +00:00
Tim-Philipp Müller
7bf7b32cd5
tests: add multisocketsink test binary to .gitignore
2012-02-25 13:01:53 +00:00
Tim-Philipp Müller
290605451a
tests: fix capsfilter-renegotiation test
...
videotestsrc has no peer-alloc property any longer, and
renegotiation should work regardless in 0.11.
2012-02-25 01:04:07 +00:00
Tim-Philipp Müller
8f6d23d6ed
tests: fix multisocketsink unit test
...
Activate pad properly before using it.
2012-02-25 00:49:27 +00:00
Sebastian Dröge
9a627ed071
seek: Let the XOverlay element handle events
...
Need for proper resizing.
2012-02-24 12:09:31 +01:00
Sebastian Dröge
8e46431836
seek: Use the same adjustment for the color balance scales as for the seek scale
2012-02-24 12:03:34 +01:00
Sebastian Dröge
c672ffea77
seek: Change the volume/mute widgets from the main thread
...
And also connect to notify::mute to get notified about mute changes.
2012-02-24 12:00:41 +01:00
Sebastian Dröge
ed25febef9
seek: Refactor and cleanup seek example application
2012-02-24 11:48:00 +01:00
Sebastian Dröge
e3a1535930
seek: Fix mistake in last commit
2012-02-23 14:46:07 +01:00
Sebastian Dröge
db66b501fe
seek: The volume property signals are proxied in playbin2 since some time already
2012-02-23 13:39:33 +01:00
Sebastian Dröge
03eab90fe8
seek: Use colorbalance of playbin2 directly
2012-02-23 13:32:00 +01:00
Sebastian Dröge
3ab387cd91
seek: Directly use navigation interface on playbin2
2012-02-23 11:59:17 +01:00
Sebastian Dröge
99d7aa6556
seek: Directly use the XOverlay interface on playbin2
2012-02-23 11:43:09 +01:00
Sebastian Dröge
55aaec3102
seek: Make navigation/colorbalance settings work with non-playbin2 pipelines too
2012-02-22 15:52:04 +01:00
Sebastian Dröge
6aa08ec716
seek: Add checkboxes for the remaining playbin2 flags and refactor code a bit
2012-02-22 15:43:25 +01:00
Sebastian Dröge
8e36830dab
seek: Only show colorbalance expander for playbin2 pipelines
2012-02-22 15:01:15 +01:00
Sebastian Dröge
d85a8a6e7e
seek: Add UI for setting the colorbalance interface properties on playbin2
2012-02-22 14:58:38 +01:00
Wim Taymans
63f3f27164
update for new memory api
2012-02-22 02:05:24 +01:00
Wim Taymans
d2ea46cdbf
Merge branch 'master' into 0.11
...
Conflicts:
tests/examples/seek/seek.c
2012-02-21 10:01:30 +01:00
Stefan Sauer
0c85bb60ea
seek: fix format strings
2012-02-20 20:39:59 +01:00
Sebastian Dröge
98b7177aa3
seek: Add support for sending navigation commands
2012-02-20 16:44:07 +01:00
Sebastian Dröge
a24c72ccca
seek: Make the seek-bar insensitive for DVD menus
2012-02-20 15:29:49 +01:00
Sebastian Dröge
e87f71245f
seek: Add support for the navigation interface
2012-02-20 14:57:36 +01:00
Sebastian Dröge
4262e93019
seek: Keep a reference to the xoverlay element
2012-02-20 14:57:11 +01:00
Sebastian Dröge
775d851d66
seek: Add window-embedding support for OS X/Quartz
...
osxvideosink implements the GstXOverlay interface since some time now.
2012-02-20 14:37:18 +01:00
Sebastian Dröge
662830c21d
seek: Explicitely call gst_x_overlay_expose() from the GtkDrawingArea expose/draw signal
2012-02-20 14:09:28 +01:00
Tim-Philipp Müller
a350c28aed
tests: activate pad in multifdsink test before pushing on it
2012-02-17 19:29:10 +00:00
Wim Taymans
d1beba8b6d
tests: fix after baseparse api change
2012-02-14 10:50:45 +01:00
Thomas Vander Stichele
a69a438d6c
fix up tests
2012-02-12 22:28:31 +01:00
Thomas Vander Stichele
029b9b49de
multihandle: rename num-fds/-sockets to num-handles
2012-02-12 22:23:45 +01:00
Thomas Vander Stichele
d4429ecef9
tests multihandle: verify number of handles
2012-02-12 22:23:45 +01:00
Thomas Vander Stichele
14ac8bb585
multihandlesink: rework to use GST_TYPE_FORMAT
2012-02-12 22:23:44 +01:00
Thomas Vander Stichele
8b6ade8113
multisocketsink: fix tests by setting units properly
2012-02-12 22:23:44 +01:00
Thomas Vander Stichele
16a675081d
test: use more literal enums
2012-02-12 22:23:44 +01:00
Thomas Vander Stichele
020739664a
multihandlesink: further refactoring
2012-02-12 22:23:44 +01:00