Sebastian Dröge
4046a880de
videoconvert: Fix compiler warning in unit test
...
error: implicit conversion from enumeration type
'GstFormat' to different enumeration type 'GstVideoFormat'
2014-02-08 17:11:04 +01:00
Sebastian Dröge
856d27338b
playback-test: Fix types for comparisons
...
Storing a 64 bit integer in a 32 bit integer and then checking
for the error cases might not be ideal.
error: comparison of constant -9223372036854775808 with
expression of type 'guint' (aka 'unsigned int') is always true
2014-02-08 17:07:15 +01:00
Wim Taymans
428f10cf57
playback-test: allow seeking outside of the range
...
For download buffer, allow seeking outside of the already downloaded
area.
2014-02-07 15:35:38 +01:00
Wim Taymans
c6915ea785
check: add some more checks
...
Add header and payload length check in case of CSRCs.
See https://bugzilla.gnome.org/show_bug.cgi?id=723196
2014-02-04 14:32:48 +01:00
Sebastian Rasmussen
0f8f852776
jsseek: Add missing HAVE_X check
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723507
2014-02-04 13:58:47 +01:00
Thiago Santos
1ae733fd4e
tests: audioencoder: add tests analogous to the videoencoder ones
2014-01-29 12:33:59 -03:00
Thiago Santos
4fefd48f05
tests: videoencoder: check that tags are pushed before eos
...
Check that if a new tag event is received right before eos it
is pushed before the eos
2014-01-29 12:33:59 -03:00
Thiago Santos
6684aa42cd
tests: videoencoder: basic videoencoder base class test
...
Adds a single test for video encoding
2014-01-29 12:33:59 -03:00
Sebastian Rasmussen
fa393e5d60
rtpbasepayload: Add statistics property
...
This property allows for an atomically retrieved set of properties that
can e.g. be used to generate RTP-Info headers.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=719415
2014-01-27 15:11:09 +01:00
Sebastian Dröge
5dd8e9cdd4
examples: Port Qt examples to Qt5
2014-01-20 09:46:15 +01:00
Thiago Santos
1d75bdca92
tests: videodecoder: plug a few leaks
...
Remove leaks of caps and events references
2014-01-17 11:21:33 -03:00
Thiago Santos
36efe20679
tests: audiodecoder: add another test for negotiation with gap event
...
Check that even if the subclass doesn't call set_output_format, the base
class should use upstream provided caps to fill the output caps that is
pushed before the gap event is forwarded, otherwise it ends again fixating
the rate and channels to 1.
https://bugzilla.gnome.org/show_bug.cgi?id=722144
2014-01-15 15:20:39 -03:00
Thiago Santos
bbbd9f7d49
tests: audiodecoder: check that negotiation works buffers and gaps
...
Adds 2 tests to verify that output caps are the expected value, reusing
input structure values for both buffers and gaps
https://bugzilla.gnome.org/show_bug.cgi?id=722144
2014-01-14 09:34:44 -03:00
Thiago Santos
755414ed1e
tests: audiodecoder: add basic playback test for audio decoder
...
Simple test that just check that audio decoding works as expected
https://bugzilla.gnome.org/show_bug.cgi?id=722144
2014-01-14 09:34:44 -03:00
Wim Taymans
d899e6df5a
video: rename NV12T -> NV12_64Z32
...
Is a bit more descriptive and allows us to add more tiled types
later.
https://bugzilla.gnome.org/show_bug.cgi?id=707361
2014-01-13 10:46:52 -05:00
Wim Taymans
12eedf86e8
tests: fix videoscale test for NV12T
...
https://bugzilla.gnome.org/show_bug.cgi?id=707361
2014-01-13 10:46:24 -05:00
Thiago Santos
561a4fff15
tests: videodecoder: check that segment events are not dropped
...
Adds a test that simulates a scenario where the first buffers after
a segment can't be decoded and the decoder asks for those frames
to be released. The videodecoder base class should make sure that
the events attached to those first buffers are pushed even if the
buffers aren't going to be.
https://bugzilla.gnome.org/show_bug.cgi?id=721835
2014-01-13 06:11:09 -03:00
Thiago Santos
b1e728a854
tests: videodecoder: add test for reverse playback
...
Checks that buffers are pushed backwards in reverse playback
https://bugzilla.gnome.org/show_bug.cgi?id=721666
2014-01-13 06:11:09 -03:00
Thiago Santos
c564d5b2c9
tests: videodecoder: add check for serialization of events
...
Tests that events are properly serialized with buffers, also checks
that the usual events are sent (stream start, caps, segment and eos).
2014-01-07 22:08:14 -03:00
Thiago Santos
27530a0196
tests: videodecoder: add simple playback test
...
Add a simple playback test that makes sure that video decoder pushes
buffers in the same order it receives and that it respects the
set timestamps and durations
2014-01-07 22:08:14 -03:00
Sebastian Dröge
230307f842
Revert "test-effect-switch: Change one of the pad blocks to and idle probe"
...
This reverts commit 40fe5dcc84
.
Using an idle probe here is not ideal because we'll send an EOS event
from the application thread... which might block for quite some time.
Go back to a block probe.
2013-12-31 09:37:36 +01:00
Sebastian Dröge
eff2119e6a
test-effect-switch: Don't put two format fields into the first capsfilter
2013-12-30 19:40:29 +01:00
Sebastian Dröge
40fe5dcc84
test-effect-switch: Change one of the pad blocks to and idle probe
...
Just because we can.
2013-12-30 19:13:37 +01:00
Tim-Philipp Müller
d24f554a3c
tests: make git ignore new test binary
2013-12-22 22:07:43 +00:00
Sebastian Dröge
4f4ff6bda6
subparse: Add unit test for LRC subtitles
2013-12-18 15:52:53 +01:00
Stefan Sauer
51038d70aa
pbutils: add typefinder and descriptions for audio/x-xi
...
xi files can be read by libsndfile.
2013-12-17 18:06:12 +01:00
Sebastian Rasmussen
1966b85b20
tests: Add test for rtpbasepayload/-depayload
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=720162
2013-12-10 14:42:13 +01:00
Sebastian Rasmussen
c734f9fba8
rtpbuffer: Allow subbuffering of empty buffers
...
See https://bugzilla.gnome.org/show_bug.cgi?id=720162
2013-12-10 12:38:56 +01:00
Tim-Philipp Müller
60e87090eb
tests: add unit test for samiparser issue
...
https://bugzilla.gnome.org/show_bug.cgi?id=712805
2013-11-21 16:34:25 +00:00
Tim-Philipp Müller
92967c3d2a
tests: fix input-selector-test
...
Update for pad template name changes.
2013-11-18 19:27:14 +00:00
Tim-Philipp Müller
b79d6b1c09
tests: fix appsrc test with latest GLib version
...
With the latest GLib, g_source_remove() complains about not finding
the timeout source with the given ID here, since it was already
destroyed by returning FALSE from the timeout callback. Also return
FALSE from the bus watches when we don't want to be called any more.
2013-11-18 16:03:07 +00:00
Tim-Philipp Müller
7509343e53
tests: fix race in streamsynchronizer test
...
Wait for thread to exit before starting to free the
to_push list, otherwise thread might check the final
to_push->next node only after we've freed it already.
2013-11-12 19:03:19 +00:00
Sebastian Dröge
2b9118f58c
adder: Free consistency checker instance in test_live_seeking test
2013-11-06 12:16:31 +01:00
Sebastian Dröge
69e95ffb24
adder: Release some request pads properly in the unit test
2013-11-06 12:01:14 +01:00
Sebastian Dröge
2dda08478a
audio: Add unit test for filling memory with silence samples
2013-11-03 15:58:35 +01:00
Julien Isorce
973d1dcf39
examples/overlay: handle the case when xvimagesink is not found
...
So that ximagesink can have a chance to be found.
In qtgv-videooverlay.
2013-10-10 16:14:07 +01:00
Julien Isorce
e0dfbe9dfa
examples/overlay: unref sink only when found
...
In gtk-videooverlay and qt-videooverlay examples.
2013-10-10 16:14:07 +01:00
Thiago Santos
7dfb903cb4
videotestsrc: improve test for backwards playback
...
Improve test by checking that timestamps are decreasing
2013-10-08 16:20:03 -03:00
Thiago Santos
c2eb3d4e71
videotestsrc: implement duration query
...
Add duration query to videotestsrc, it can answer this query when
the num-buffers property is set.
https://bugzilla.gnome.org/show_bug.cgi?id=709646
2013-10-08 16:10:54 -03:00
Thibault Saunier
8bcd1a2f8d
tests: test videotestsrc in reverse playback
...
https://bugzilla.gnome.org/show_bug.cgi?id=701813
2013-10-08 11:17:17 -03:00
Tim-Philipp Müller
953a3479ff
tests: fix uridecodebin signal used in playback test6
...
"new-decoded-pad" no longer exists.
2013-08-17 16:59:07 +01:00
Tim-Philipp Müller
001e08e5a4
tests: add test-header-compile script
...
https://bugzilla.gnome.org/show_bug.cgi?id=695889
2013-08-16 14:14:07 +01:00
Edward Hervey
2cf8ac87aa
check: Update .gitignore
2013-08-13 17:39:34 +02:00
Sebastian Dröge
8d65deb7ed
playbin-complex: Set fakesink as audio-sink to not use a real audio device
...
https://bugzilla.gnome.org/show_bug.cgi?id=705157
2013-08-13 13:44:21 +02:00
David Schleef
b851a6dacc
tests: move orc removal to distclean
2013-08-02 16:57:43 -07:00
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