Commit graph

2168 commits

Author SHA1 Message Date
Olivier Crête
402c0d4c5c audiomixer: Avoid race in caps negotiation
With the current audiomixer, the input caps need to be the same,
otherwise there is an unavoidable race in the caps negotiation. So
enforce that using capsfilters

https://bugzilla.gnome.org/show_bug.cgi?id=742684
2015-01-29 10:24:18 +01:00
Jan Schmidt
836dcd93b8 playback-test: Support new skip seek flags
Support the new SEEK_TRICKMODE_KEY_UNITS and SEEK_TRICKMODE_NO_AUDIO
flags added to core

https://bugzilla.gnome.org/show_bug.cgi?id=735666
2015-01-28 03:29:49 +11:00
Thiago Santos
24b04aade4 examples: playback: add labels with supported seek range
Add the supported seeking range in the advanced seek area.
Also implement seeking querying the pipeline to retrieve those
values and show to the user. It is done in a smaller frequency
compared to the position/duration querying.
2015-01-14 10:35:34 -03:00
Sebastian Dröge
8465c0915e audiomixer: Change blocksize property to output-buffer-duration in time format
This makes the interface of audiomixer independent of the actual caps.
2014-12-23 11:45:50 +01:00
Thiago Santos
dfc82f3466 tests: audiodecoder: tests for caps query implementation
Copied from videodecoder tests and updated to audio features
2014-12-17 19:15:24 -03:00
Thiago Santos
8085352fb3 videodecoder: expose getcaps virtual function
Allows subclasses to do custom caps query replies.

Also exposes the standard caps query handler so subclasses can just
extend on top of it instead of reimplementing the caps query proxying.

https://bugzilla.gnome.org/show_bug.cgi?id=741263
2014-12-17 19:15:23 -03:00
Thiago Santos
f24075887f videodecoder: implement caps query
Refactor the encoder's caps query proxying function to a common place
and use it in the videodecoder to proxy downstream restrictions.

The new function is private to the gstvideo lib.

https://bugzilla.gnome.org/show_bug.cgi?id=741263
2014-12-17 19:15:23 -03:00
Sebastian Dröge
67ef96c82d audiomixer: Add queues after the (live) sources in the unit test 2014-12-17 18:41:41 +01:00
Edward Hervey
ff57f69134 video: Fix non-default usage of gst_video_sink_center_rect
Make sure we take into account non-0 x/y destination rectangles
2014-12-15 14:11:07 +01:00
Tim-Philipp Müller
c77a21b1fa examples: improve playback-test help text a little
And allow pipeline type to be specified as string.
2014-12-15 12:13:08 +00:00
Tim-Philipp Müller
2f7af2d41b tests: rtpbasepayload: fix indentation 2014-12-12 15:09:55 +00:00
Tim-Philipp Müller
091e124950 tests: audiodecoder: fix indentation 2014-12-12 15:09:55 +00:00
Tim-Philipp Müller
c57bb51c03 tests: audiodecoder: fix broken refcounting in unit test
The set_format vfunc does not pass ownership of the caps
to the decoder, so we mustn't unref the caps there.

gst_event_new_caps() does not take ownership of the caps
passed, so we must unref the caps afterwards.

Fixes leaks when running test in valgrind in 1.4 branch.
2014-12-12 15:09:55 +00:00
Jan Schmidt
3c17b86639 reverse-play: fix seek to end when starting reverse
Start reverse playback by actually seeking to the end of
the file.
2014-12-08 18:53:35 +11:00
Mathieu Duponchelle
b2413d46ed audiodecoder: Push pending events before sending EOS.
Segments are added to the pending events, and pushing a segment
is mandatory before sending EOS.

+ Adds a test.

https://bugzilla.gnome.org/show_bug.cgi?id=740853
2014-12-05 12:04:04 +01:00
Sebastian Dröge
90eb93c2ef Don't compare booleans for equality to TRUE and FALSE
TRUE is 1, but every other non-zero value is also considered true. Comparing
for equality with TRUE would only consider 1 but not the others.
2014-12-01 09:51:12 +01:00
Tim-Philipp Müller
b03cfdffb1 tests: remove libs/video and videoconvert test from valgrind blacklist
Seem to work fine.
2014-11-28 13:31:39 +00:00
Tim-Philipp Müller
4bddc9276b tests: don't run orc/* tests under valgrind
They just seem to blow up for some reason that needs investigating.
2014-11-28 13:29:37 +00:00
Jan Schmidt
16b28c0d47 test-reverseplay: Use uridecodebin for input
Work with any installed URI handler
Add some more debug output
2014-11-28 22:03:37 +11:00
Jan Schmidt
b508867795 tests: Add reverse playback verification test
Plays a requested URI forward to EOS, then backward and
checks that the same timestamp range(s) are covered.
2014-11-20 02:08:45 +11:00
Tim-Philipp Müller
dc3d68d9c2 tests: make overlay blending test slightly less boring 2014-11-16 19:28:54 +00:00
Tim-Philipp Müller
07f254e4b2 tests: add visual overlay composition blending test
Shows visual result of blending a logo on top of
a video surface, esp. when the logo is partially
outside of the video surface and needs to be
clipped.

https://bugzilla.gnome.org/show_bug.cgi?id=739281
2014-11-16 16:30:53 +00:00
Tim-Philipp Müller
c61604fd9b tests: fix leak in video unit test 2014-11-16 13:56:16 +00:00
Vineeth T M
7f5aa9af04 tests: video: add video blend test
Add test to check rendering of overlays of different sizes
that are completely or partially outside the video surface.
Once the overlay is blended to the video, verify if the
position of the blended overlay is as expected, by comparing
the pixels of the blended video with the expected values.

https://bugzilla.gnome.org/show_bug.cgi?id=739281
2014-11-16 13:51:34 +00:00
Wim Taymans
b73096ce8c video-color: add gamma encode/decode functions
Add functions to encode and decode gamma.
Add unit test to check that encode and decode are eachothers inverse
and that the limits are respected.
2014-11-11 16:11:15 +01:00
Wim Taymans
6711c50495 test: add scaling test
Sort pack and unpack performance measurements
2014-11-10 14:53:13 +01:00
Wim Taymans
835422b2ea videoscale: port to new API 2014-11-10 11:45:52 +01:00
Sebastian Dröge
480e661618 capsfilter-renegotiation: Use assertions from libcheck for more information on failures 2014-11-09 10:47:14 +01:00
Wim Taymans
39662d0393 video-chroma: ORCify 2x vertical upsampling
Make an ORC version of the 2x vertical upsampling code.
Improve unit tests, test chroma up and down sampling.
memset buffer in conversion to make valgrind happy.
2014-11-07 12:13:28 +01:00
William Manley
5b0ec93e99 tests: Add TCP pipelines test
There don't seem to be any unit tests for the socket handling elements.  As
I am about to attempt some refactorings I've added some basic tests which
exercise some of the happy-paths in tcpclientsrc, tcpserversrc,
tcpserversink and tcpclientsink.  They should let me know if I've caused
serious breakage.

They are far from exhaustive but are sufficient for me to have caught a few
memory-leaks in the existing code.

https://bugzilla.gnome.org/show_bug.cgi?id=739544
2014-11-07 10:14:07 +01:00
Wim Taymans
3fde8dd746 tests: add video conversion test
Go through all conversions and make a list of performance.
2014-11-06 18:19:44 +01:00
Wim Taymans
21f57317bb video-chroma: optimize chroma subsampling a little
Combine multiplies in 4x filters.
Rename conversion functions to make them nicer in orc.
Add ORC versions for various downsampling algorithms
Add unit test chroma resampler
2014-11-06 13:08:42 +01:00
Wim Taymans
64c1303dd0 tests: make pack/unpack test
Make a more complete pack/unpack test, check if the image after
pack/unpack has the same color and precision, and has correctly
duplicated subsampled pixels.
2014-11-06 10:45:13 +01:00
Wim Taymans
4ab5a29e46 tests: get the correct number of video formats
Make a method to get the number of formats (including the last one).
2014-11-06 10:45:13 +01:00
Tim-Philipp Müller
6b1dcd2ec0 tests: dist header file needed for ABI checks on powerpc32
Fixes 'make check' on debian powerpc32 buildbot:
libs/libsabi.c:95:26: fatal error: struct_ppc32.h: No such file or directory
2014-11-06 09:41:38 +00:00
Danny Song
6ccef9d223 test : fix leaks in adder unit test
https://bugzilla.gnome.org/show_bug.cgi?id=739640
2014-11-05 18:08:44 +00:00
Ravi Kiran K N
e0028c77f6 tests/playback: quit from main loop
Listen for eos and error signal to quit main loop.

https://bugzilla.gnome.org/show_bug.cgi?id=739346
2014-10-31 13:50:34 +00:00
Ravi Kiran K N
d86aba27ce tests/playback: correct state change checking
Correct the test apps check if result of state change is not failure as the
state change can happen async

https://bugzilla.gnome.org/show_bug.cgi?id=739346
2014-10-31 13:49:08 +00:00
Wim Taymans
f5b9a26e0d tests: fix test 2014-10-30 14:48:45 +01:00
Wim Taymans
fcc7fbd460 resampler: make shift easier to use 2014-10-29 16:26:10 +01:00
Wim Taymans
32047eaac0 video-scaler: add extra options 2014-10-29 16:26:10 +01:00
Wim Taymans
199fab4b06 video-scaler: add video scaler helper object
Add a video scaler object build on top of the resampler. It has
implementation to deal with interlaced video as well as horizontal and
vertical scaling functions.
2014-10-29 16:26:10 +01:00
Tim-Philipp Müller
cd1f1c4973 examples: add new appsink example to .gitignore 2014-10-26 21:31:36 +00:00
Tim-Philipp Müller
7e75f21a41 tests: fix audiomixer test on big endian systems 2014-10-25 21:09:30 +01:00
Tim-Philipp Müller
a82e99b093 tests: fix playbin-complex test on big endian 2014-10-24 13:09:42 +01:00
Tim-Philipp Müller
1b19290183 tests: fix expected GstRTSPTimeRange structure size for ABI test for ppc32
Also see https://bugzilla.gnome.org/show_bug.cgi?id=695276
2014-10-24 13:04:07 +01:00
Tim-Philipp Müller
7834d733bc tests: fix adder check on big-endian 2014-10-24 12:26:40 +01:00
Aurélien Zanelli
c5224553c4 test: use G_GSIZE_FORMAT in audiomixer test
https://bugzilla.gnome.org/show_bug.cgi?id=738227
2014-10-09 16:20:07 +03:00
Thibault Saunier
183f4b3227 audiomixer: Port to GstAggregator
https://bugzilla.gnome.org/show_bug.cgi?id=737183

Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
2014-10-06 18:57:28 +02:00
Wim Taymans
b2fd20c416 video: move videoconvert code to video library
Move the conversion code used in videoconvert to the video library
and expose a simple but generic API to do arbitrary conversion. It can
currently do colorspace conversion but the plan is to add videoscale to
it as well.

See https://bugzilla.gnome.org/show_bug.cgi?id=732415
2014-09-24 15:59:39 +02:00
Wim Taymans
5edb36415a tests: add orc test for videoconvert 2014-09-22 10:42:47 +02:00
Edward Hervey
03707d0162 example/overlay: Specify minimum gdk version
Avoids deprecation warnings (such as for gtk_widget_set_double_buffered()
which became deprecated from 3.14)
2014-09-22 08:44:08 +02:00
Ognyan Tonchev
5a3ebef605 audiodecoder: extend flush_events test to check for event leaks
https://bugzilla.gnome.org/show_bug.cgi?id=736788
2014-09-17 14:12:24 +03:00
Nicola Murino
646352e959 appsrc: Add example that shows gst_app_src_push_sample() usage 2014-09-12 14:12:28 +03:00
Thiago Santos
2157497405 tests: textoverlay: add test to reproduce fakesink scenario
Adds a new test to textoverlay to make sure it can properly handle
elements that have ANY caps but fail to add the overlay meta in
the allocation query.

This test verifies that textoverlay won't use the caps features even
knowing that the overlay meta is accepted when querying the downstream
caps because it also needs downstream to confirm by putting the meta
in the allocation query.

https://bugzilla.gnome.org/show_bug.cgi?id=735800
2014-09-01 15:25:56 -03:00
Matthieu Crapet
48f7a40078 tests: fix decodebin signal used in icles/playback/ decodetest, test and test5
Since release 1.1.4, "new-decoded-pad" no longer exists.
2014-08-12 09:28:41 +03:00
Thiago Santos
a080c0ebbf basetextoverlay: rework caps negotiation
Make textoverlay negotiate caps more correctly.

1) Check what caps we received in the video-sink
2) If it already has the overlay meta -> use it directly
3) If it doesn't, textoverlay try adding the overlay meta and using it,
   if downstream doesn't support it, just use what is received in the
   video-sink
4) Check if the allocation query also supports the meta to enable
   really using it

Before it wasn't really doing renegotiation of any kind, just
re-checking if it should use the overlay meta or not

Also had to update the caps in the test as memory:SystemMemory seems
to be required when you use a caps feature otherwise intersection/subset
checks will fail.

https://bugzilla.gnome.org/show_bug.cgi?id=733916
2014-08-11 11:40:44 -03:00
Thiago Santos
c9904fb639 encodebin: delay missing encoder error as passthrough is still possible
Set up a fakesink with a pad probe to replace the missing encoder to detect
if encoding was really required and only error out in this case. Otherwise
just let passthrough branch work.

This delays the error posting from the set_state function to when buffers
are really flowing. Unit test updated accordingly

https://bugzilla.gnome.org/show_bug.cgi?id=650652
2014-08-11 10:30:58 -03:00
Sebastian Rasmussen
9995054e80 tests: Add missing unrefs of objects after use
Unreffing the objects returned by gst_bin_get_by_name() and
gst_pipeline_get_use() were missing in several tests, so add these.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734359
2014-08-06 15:18:56 +02:00
Edward Hervey
2ca269ac6b check: Fix include path of rtp checks
Fixes make distcheck
2014-07-31 16:11:25 +02:00
Sebastian Dröge
960f676407 playbin: Fix unit test for last change
It will successfully asynchronously go to PAUSED now and
later fail.
2014-07-21 09:35:36 +02:00
Sebastian Dröge
a67d745de2 playbin-complex: Change template name from %d to the more common %u 2014-07-21 09:35:36 +02:00
Wim Taymans
9a25e59e12 tests: codec-select: fix compilation 2014-07-02 15:50:23 +02:00
Wim Taymans
b108aad77b mikey: make message and payload mini-objects
Make the MIKEY message and payload objects miniobjects so that they have
a GType and are refcounted.
We can reuse the dispose method to clear our payload objects.
Add some annotations.
Implement a copy function for the MIKEY message.
Fix the unit test.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732589
2014-07-02 15:44:12 +02:00
Sebastian Rasmussen
c44a705631 tests: codec-select: Plug element name memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=732593
2014-07-02 09:11:09 +02:00
Wim Taymans
0425f1cf4d rtspconnection: also allow POST before GET
Don't only allow GET and then POST request to setup tunneling over HTTP
but also allow POST and then GET.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732459
2014-07-01 16:30:25 +02:00
Tim-Philipp Müller
8f8f1f9de1 tests: fix vararg handling in rtpbasedepayload unit test
Makes it pass on 32-bit systems.
2014-06-23 01:02:22 +01:00
Tim-Philipp Müller
ec6b178339 tests: fix vararg handling in rtpbasepayload unit test
Makes it pass on 32-bit systems.
2014-06-23 00:33:18 +01:00
Sebastian Dröge
909dd7831b audiodecoder: Don't be too picky about the output frame counter
With most decoder libraries, and especially when accessing codecs via
OpenMAX or similar APIs, we don't have the ability to properly related
the output buffers to a number of input samples. And could e.g. get
a fractional number of input buffers decoded at a time.

Previously this would in the end lead to an error message and stopped
playback. Change it to a warning message instead and try to handle it
gracefully. In theory the subclass can now get timestamp tracking
wrong if it completely misuses the API, but if on average it behaves
correct (and gst-omx and others do) it will continue to work properly.

Also add a test for the new behaviour.

We don't change it in the encoder yet as that requires more internal logic
changes AFAIU and I'm not aware of a case where this was a problem so far.
2014-06-20 11:02:55 +02:00
Thiago Santos
fb3a9d1bc5 video: avoid overflows when doing int operations for size
size is a gsize, so cast the operands to it to avoid overflows
and setting wrong value to the video size.

Includes tests.

https://bugzilla.gnome.org/show_bug.cgi?id=731195
2014-06-09 23:38:39 -03:00
Vincent Penquerc'h
0a49b7050f tests: fix uninitialized variable use in video decoder test 2014-06-06 10:42:11 +01:00
Thibault Saunier
d2ea3260e9 videodecoder: Keep still meaningfull pending events on FLUSH_STOP
Only EOS and segment should be deleted in that case.

+ Add a testcase

https://bugzilla.gnome.org/show_bug.cgi?id=709868
2014-06-03 13:03:49 +02:00
Thibault Saunier
12df7fa49d audiodecoder: Keep still meaningfull pending events on FLUSH_STOP
Only EOS and segment should be deleted in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=709868
2014-06-03 13:03:21 +02:00
Thibault Saunier
2843f358d9 videoencoder: Keep still meaningfull pending events on FLUSH_STOP
Only EOS and segment should be deleted in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=709868
2014-06-03 13:03:19 +02:00
Thibault Saunier
967d1fb982 audioencoder: Keep still meaningfull pending events on FLUSH_STOP
Only EOS and segment should be deleted in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=709868
2014-06-03 13:03:16 +02:00
Thiago Santos
783195ccef decodebin: aggregate buffering messages
Aggregate buffering messages to only post the lower value
to avoid setting pipeline to playing while any multiqueue
is still buffering.

There are 3 scenarios where the entries should be removed from
the list:

1) When decodebin is set to READY
2) When an element posts a 100% buffering (already implemented)
3) When a multiqueue is removed from decodebin.

For item 3 we don't need to handle it because this should only
happen when either 1 is hapenning or when it is playing a
chained file, for which number 2 should have happened for the
previous stream to finish

https://bugzilla.gnome.org/show_bug.cgi?id=726423
2014-05-29 18:59:30 -03:00
Thiago Santos
5d35675a74 tests: videodecoder: audiodecoder: add tests for eos after segment
Tests that pushing a buffer after the segment returns EOS
2014-05-26 23:24:56 -03:00
Sebastian Dröge
7bdaa49fa3 video: And check comparison for real 2014-05-21 10:43:49 +02:00
Sebastian Dröge
f8b367212d video: Fix broken comparison in unit test
libs/video.c:540:50: error: comparison of constant 2 with boolean expression is always false
      [-Werror,-Wtautological-constant-out-of-range-compare]
            && !GST_VIDEO_INFO_N_PLANES (&vinfo) > 2) {
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
2014-05-21 10:40:32 +02:00
Tim-Philipp Müller
e5b4e30baa examples: playback-test: fix crashes when setting buffer-size
playbin's buffer-size property takes a gint, not a gint64,
so only pass the bits expected to the vararg function, or
the terminator might not be found, leading to crashes, esp.
with negative numbers.

Spotted by Ravi Kiran K N <ravi.kiran@samsung.com>

https://bugzilla.gnome.org/show_bug.cgi?id=729617
2014-05-06 08:14:02 +01:00
Tim-Philipp Müller
bb74096870 examples: fix indentation of playback-test 2014-05-06 08:13:52 +01:00
Tim-Philipp Müller
a8396ce5db Revert "playback-test: Set buffer-size only for non-negative size"
This reverts commit 07a637e284.
2014-05-06 08:13:24 +01:00
Ravi Kiran K N
07a637e284 playback-test: Set buffer-size only for non-negative size
https://bugzilla.gnome.org/show_bug.cgi?id=729617
2014-05-06 09:09:13 +02:00
Руслан Ижбулатов
6fd68e0b12 tests: fix printf format compiler warning in playback test on win32
https://bugzilla.gnome.org/show_bug.cgi?id=729515
2014-05-04 18:21:22 +01:00
Tim-Philipp Müller
134f51894a Add new unit test binary to .gitignore 2014-05-04 18:14:54 +01:00
Sebastian Dröge
9e3672d99d textoverlay: Link unit test with the local version of the library, not an installed one 2014-05-03 18:57:38 +02:00
Olivier Crête
bdf8ce286d rtpbasepayload: Implement reconfigure event & renegotiation without subclass
Implement the reconfigure event, also do correct downstream caps negotiation
if the subclass doesn't implementy set_caps.

https://bugzilla.gnome.org/show_bug.cgi?id=725361
2014-05-03 10:21:04 +02:00
Olivier Crête
42e3e22969 tests/check/libs/rtpbasepayload.c: Run gst-indent
https://bugzilla.gnome.org/show_bug.cgi?id=725361
2014-05-03 10:21:04 +02:00
Ognyan Tonchev
6750531504 rtspconnection: Add more tests
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=728907
2014-04-30 16:27:25 +02:00
Sebastian Dröge
13954ce3e5 audioresample: Fix memory leaks in test 2014-04-15 19:31:28 +02:00
Sebastian Dröge
846a4a1038 videotestsrc: Fix memory leak in test 2014-04-15 13:54:45 +02:00
Sebastian Dröge
1822a6b31c encodebin: Fix memory leak in test 2014-04-15 13:48:46 +02:00
Sebastian Dröge
1266fd0046 audioconvert: Fix leaks in unit test 2014-04-15 13:03:34 +02:00
Sebastian Dröge
85c502d626 videoencoder/decoder: Fix memory leaks in the tests 2014-04-15 11:55:22 +02:00
Sebastian Dröge
16275f479f audiodecoder: Actually allocate enough memory for 64 bits, not just 32 bits
Also fix a memory leak.
2014-04-15 11:54:06 +02:00
Sebastian Dröge
2378848240 audioencoder: Fix memory leaks in unit test 2014-04-15 11:43:41 +02:00
Sebastian Dröge
29758da255 rtp: Fix GBytes memory leak in test 2014-04-15 10:29:12 +02:00
Wim Taymans
675d0400e1 mikey: Fix the KEMAC payload
The KEMAC payload actually needs to have subpayloads and the key should
go into the KEY_DATA subpayload. Add support for subpayloads and
implement the KEY_DATA payload.
Add some pointers to the conversion functions that allow us to add
encryption and decryption later.
2014-04-04 17:40:58 +02:00
Wim Taymans
83888d6b13 mikey: add MIKEY parsing helpers
MIKEY is defined in RFC 3830 and is used to exchange SRTP encryption
parameters between a sender and a receiver in a secure way.
This library implements a subset of the features, enough to implement
RFC 4567, using MIKEY in SDP and RTSP.
2014-03-24 17:12:52 +01:00
Thiago Santos
b7cf2fa571 tests: decodebin: port old decodebin2 test for parser and decoder linking
They were in the old decodebin2.c tests file and were never ported.
Now we can get rid of decodebin2.c
2014-03-16 14:36:51 -03:00
Arun Raghavan
f4cab18ec1 playback: Add video-/audio-filter properties
This provides an audio-filter and video-filter property to allow
applications to set filter elements/bins. The idea is that these will
e
applied if possible -- for non-raw sinks, the filters will be skipped.

If the application wishes to force the application of the filters, this
can be done by setting the new flag introduced on playsink -
GST_PLAY_FLAG_FORCE_FILTERS.

https://bugzilla.gnome.org/show_bug.cgi?id=679031
2014-03-16 18:38:29 +01:00
Matthieu Bouron
c904661dc3 tests: add textoverlay passthrough with composition feature unit tests
https://bugzilla.gnome.org/show_bug.cgi?id=721953
2014-03-05 20:39:01 +01:00
Ognyan Tonchev
4220442441 rtspconnection: Call closed() when GET is closed in tunneled mode
This patch adds read source on the write socket in tunneled
mode and we get a callback when client disconnects the GET
channel.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725313
2014-03-03 10:34:56 +01:00
Sebastian Rasmussen
ba9e8f0797 tests: Refactor RTP basepayloading test into pay/depay parts
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723328
2014-02-24 12:12:18 +01:00
Tim-Philipp Müller
3afd5fb3ab tests: add new unit tests to .gitignore 2014-02-21 19:07:59 +00:00
Ognyan Tonchev
6bf215fa09 rtspconnection: New unit test
See https://bugzilla.gnome.org/show_bug.cgi?id=724720
2014-02-21 16:21:45 +01:00
Stefan Sauer
2337311216 encodebin: simplify tests
Also use the profile helper for the ogg profile here.
2014-02-18 20:52:11 +01:00
Stefan Sauer
465dfe4920 encodebin: refactor tests
Add a new test to demo how to get missing plugin message.
Split some tests that unneccesarily munge unrelated checks into one test.
2014-02-16 22:16:17 +01:00
Sebastian Rasmussen
09644d0e4a tests: Don't build disabled plugins' check tests
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723492
2014-02-11 21:00:30 +01:00
Sebastian Dröge
ce59ac561e playbin: Fix memory leak in unit test 2014-02-10 16:33:35 +01:00
Sebastian Dröge
97d0927a9c opus: Remove unused variable from unit test 2014-02-08 20:08:29 +01:00
Sebastian Dröge
e22243b2d0 videoscale: Fix compiler warning in unit test
error: implicit conversion from enumeration type
'GstFormat' to different enumeration type 'GstVideoFormat'
2014-02-08 17:11:54 +01:00
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
5fcc53e552 audiomixer: Add unit test for handling unaligned buffers
That is, buffers that start or end in the middle of an output block.
2013-11-07 14:12:17 +01:00
Sebastian Dröge
6e48dcfe47 audiomixer: Add test for the discont handling 2013-11-07 13:57:35 +01:00
Sebastian Dröge
73854f8c02 audiomixer: Refactor sync test to be more reusable 2013-11-07 13:55:32 +01:00
Sebastian Dröge
b78316dc06 audiomixer: Remove some racy-ness from the unit test
We might already be EOS when we start the mainloop, so only
set the pipeline to PLAYING from the main loop.
2013-11-07 13:48:06 +01:00
Sebastian Dröge
e368bee1a9 audiomixer: Add simply synchronization test 2013-11-06 15:35:45 +01:00
Sebastian Dröge
39459b2f30 audiomixer: Add new element based on adder that does synchronized audio mixing 2013-11-06 15:35:38 +01: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
061b3e5fec opus: Fix event handling in unit test 2013-05-15 10:18:01 +02: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
3e208df632 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00: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
Olivier Crête
24fa2ac653 test: Flush opus encoder between tests 2012-09-11 18:02:28 -04:00
Olivier Crête
f4f714fc6b test: Flush opus encoder between tests 2012-09-11 18:01:58 -04: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
9c90e728ad tests: port some more to 1.0 2012-04-10 17:29:12 +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
c3672b88f1 tests: fix more caps 2012-03-08 11:32:27 +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
Thomas Vander Stichele
99185cc8f5 multisocketsink: fix refcounting bug 2012-02-12 22:17:56 +01:00
Thomas Vander Stichele
d21c42a709 multihandlesink: fix one bug in multisocketsink refactoring 2012-02-12 22:10:51 +01:00
Thomas Vander Stichele
684aa4baaf gst/tcp: Factor out common symbols; fix tests. 2012-02-12 22:07:29 +01:00
Thomas Vander Stichele
3b0fae73ae multifdsink: put back multifdsink before refactoring 2012-02-12 22:07:29 +01:00
Thomas Vander Stichele
34ce295d3b multisocketsink: copy over multifdsink unit tests, with FIXME 2012-02-12 22:07:28 +01:00
Wim Taymans
be22feb106 tests: don't run with unsupported formats
videoconvert does not work with GRAY formats yet so don't try to run the unit
test with it.
2012-02-10 15:41:36 +01:00
Wim Taymans
c3478b2da0 Merge branch 'master' into 0.11
Conflicts:
	ext/vorbis/gstvorbisparse.c
	gst-libs/gst/video/video.c
	gst/videoscale/gstvideoscale.c
	sys/v4l/gstv4lxoverlay.c
	sys/v4l/v4l_calls.c
	sys/v4l/v4lsrc_calls.c
	tests/check/libs/video.c
2012-02-10 15:41:06 +01:00
Wim Taymans
a75e9102c5 GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING 2012-02-08 15:17:49 +01:00
Wim Taymans
1f4b819a90 tests: fix volume test 2012-02-03 15:01:50 +01:00
Wim Taymans
a8a4ff9428 tests: video testsrc unit test 2012-02-03 12:53:49 +01:00
Wim Taymans
d8b6baacae tests: fix more unit tests 2012-02-03 12:41:10 +01:00
Wim Taymans
62b43b3bcd tests: don't set NULL caps 2012-02-03 12:09:34 +01:00
Wim Taymans
c24df0e50f gdp: fixup unit tests 2012-02-03 11:38:55 +01:00
Wim Taymans
48b190c7be tests: fix audioresample test 2012-02-03 10:47:22 +01:00
Wim Taymans
8c894ce8b4 tests: fix audiorate test
We need to add the layout to the audio caps.
2012-02-03 09:57:21 +01:00
Wim Taymans
29cc1d2ce1 tests: fix audioresample formats 2012-01-31 17:56:04 +01:00
Wim Taymans
f95d340758 tests: improve tests 2012-01-31 17:47:40 +01:00
Wim Taymans
a948398e85 tests: fix some more tests 2012-01-31 16:56:03 +01:00
Wim Taymans
d389b12df9 tests: update after controller changes 2012-01-31 16:12:33 +01:00
Stefan Sauer
ace90e6e2b controller: adapt to control-source type changes 2012-01-31 12:28:30 +01:00
Stefan Sauer
1696b14f8f controller: rename control-bindings
gst_control_binding_xxx -> gst_xxx_control_binding for consistency.
2012-01-30 21:38:41 +01:00
Wim Taymans
be0cadac03 update for HEADER flag changes 2012-01-30 17:16:17 +01:00
George Kiagiadakis
6f6f079dd9 tests: test 16-bit rgb formats in test_parse_caps_rgb
https://bugzilla.gnome.org/show_bug.cgi?id=667681
2012-01-30 15:56:45 +00:00
Jonathan Matthew
8478ef2e20 tests: use playbin, not playbin2 2012-01-30 09:57:47 +01:00
Olivier Crête
cb044668d3 rtcpbuffer: Set the map.size to the current size of the RTCP packet
maxsize is the maximum size
2012-01-27 19:01:55 +01:00
Edward Hervey
47fc70ea79 Suppress deprecations in selected files 2012-01-25 14:49:44 +01:00
Edward Hervey
629d734e83 Suppress deprecations in selected files 2012-01-25 12:51:46 +01:00
Wim Taymans
fcdc385aa1 port to new map API 2012-01-25 12:30:53 +01:00
Tim-Philipp Müller
745f921a62 tests: fix missing include in audio-trickplay 2012-01-23 11:57:36 +00:00
Stefan Sauer
b55d67b1d2 controller: move from control-binding to control-binding-direct 2012-01-23 11:03:53 +01:00
Tim-Philipp Müller
5487cb98ef Replace deprecated GStaticMutex with GMutex 2012-01-22 22:52:28 +00:00
Stefan Sauer
ee434b8471 controller: adapt to control_binding changes 2012-01-20 14:44:19 +01:00
Stefan Sauer
0e370d4902 controller: adapt to controller api changes
Don't use the convenience api for control sources.
2012-01-20 11:39:10 +01:00
Wim Taymans
ea9ef0ee63 tests: fix some tests 2012-01-19 15:32:52 +01:00
Tim-Philipp Müller
576bbb4fd8 Remove compatibility code cruft for old GLib versions 2012-01-18 17:22:21 +00:00
Sebastian Dröge
317894d314 gio: Move to gst subdirectory
It's a plugin without external dependencies now because we
unconditionally depend on GIO anyway.
2012-01-18 16:21:14 +01:00
Sebastian Dröge
cd3eeed6b3 tcp: Remove remaining unused stuff 2012-01-16 11:31:46 +01:00
Tim-Philipp Müller
e96aaec6bb GST_TYPE_DATE -> G_TYPE_DATE 2012-01-12 23:35:44 +00:00
Tim-Philipp Müller
0461ed2ada Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	gst-libs/gst/pbutils/gstdiscoverer-types.c
	gst-libs/gst/pbutils/gstdiscoverer.c
	tests/check/Makefile.am
2012-01-12 23:21:17 +00:00
Tim-Philipp Müller
70c6c2ae0c tests: discoverer test is now valgrind clean 2012-01-12 17:31:44 +00:00
Vincent Penquerc'h
3cb98f2674 tests: fix buffer leaks in opus tests 2012-01-11 13:32:36 +00:00
Sebastian Dröge
dc8984d76c Merge branch 'master' into 0.11
Conflicts:
	gst-libs/gst/app/gstappsrc.c
	gst-libs/gst/audio/multichannel.h
	gst-libs/gst/video/videooverlay.c
	gst/playback/gstplaysink.c
	gst/playback/gststreamsynchronizer.c
	tests/check/Makefile.am
	win32/common/libgstvideo.def
2012-01-10 13:15:12 +01:00
Tim-Philipp Müller
aa16155172 tests: add ogg test file and some proper unit tests for discoverer
Leaks when re-used, so blacklisted for valgrind for now.
2012-01-07 16:45:53 +00:00
Edward Hervey
1863308a8e tests: Remove dead header include 2012-01-06 15:16:00 +01:00
Sebastian Dröge
7e022b21b6 audio: Remove testchannels example
It's not really relevant anymore
2012-01-05 10:34:24 +01:00
Sebastian Dröge
d7c1b90a50 audioconvert: Update unit test for the new multichannel caps 2012-01-05 10:34:20 +01:00
Sebastian Dröge
b23ff1b515 audio: Add tests for the new multichannel caps and reordering function 2012-01-05 10:27:21 +01:00
Wim Taymans
a01fad7024 tests: port and enable more unit tests 2012-01-04 16:41:53 +01:00
Wim Taymans
e9c23ca4fb tests: small cleanup 2012-01-02 18:31:05 +01:00
Wim Taymans
65aaa66f35 tests: fix a unit test
The ogg muxer now has video and audio pads
2012-01-02 15:42:39 +01:00
Tim-Philipp Müller
26e612aeda playback, mixerutils: gst_registry_get_default() -> gst_registry_get() 2012-01-02 14:32:11 +00:00
Wim Taymans
73c4a4ffc6 tests: remove unsupported formats
Remove tests for a format that is no longer supported
2012-01-02 15:00:51 +01:00
Wim Taymans
21bf4f04f3 video: fix some video formats
Rename the offset field in GstVideoFormatInfo to poffset to avoid confusion with
the offset of the plane in the buffer. The poffset is the offset in the plane
where the first byte of the component data can be found.
Properly implement the COMP_OFFSET calculations.
Fix YV12 and YVU9, simply use the same offsets as the regular I420 and YUV9
variants, we use the plane info to reorder components already.
Improve the unit test.
2012-01-02 13:30:53 +01:00
Tim-Philipp Müller
76cc8b8f2a tag: add function to check whether a string is a valid language code
API: gst_tag_check_language_code()
2012-01-02 01:04:00 +00:00
Stefan Sauer
68c362c0e5 controller: port to latest API changes 2011-12-31 09:59:08 +01:00
Tim-Philipp Müller
536e34cb31 tests: disable direct structure access in audiocd test 2011-12-30 16:47:13 +00:00
Edward Hervey
f562a29284 Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	ext/theora/gsttheoraenc.c
	gst-libs/gst/tag/gstexiftag.c
	gst/adder/gstadder.c
	gst/adder/gstadder.h
	gst/playback/gstdecodebin2.c
	gst/playback/gstsubtitleoverlay.c
	tests/check/libs/tag.c
2011-12-30 13:21:35 +01:00
Edward Hervey
7ed96ea16a check/video: Caps have "interlace-mode=progressive" by default 2011-12-28 16:34:57 +01:00
Edward Hervey
b6d3b1ac97 check/decodebin: Fix callback signature
The "gboolean last" argument is gone.
2011-12-28 16:34:56 +01:00
Tim-Philipp Müller
862d9f741e gdp: move dataprotocol library into gdp plugin and make private
We have removed things like protocol=gdp in the tcp elements
in favour of explicit gdppay/depay elements, so there's no need
to keep a public API and library for now. We can still add it
back later. Someone needs to think hard about 0.11 and gdp
anyway one of these days.
2011-12-25 23:25:42 +00:00
Tim-Philipp Müller
bb351f404e tests: remove more propertyprobe cruft 2011-12-25 21:37:42 +00:00
Tim-Philipp Müller
00d4a0c6d4 tests: fix unused-variable compiler warning in audio trickplay test 2011-12-25 21:19:04 +00:00
Stefan Sauer
d6f3fa81a1 controller: port to new controlsource api 2011-12-25 19:14:55 +01:00
Tim-Philipp Müller
dfa23662e1 tag: fix writing of Exif tag payloads <= 4 bytes
When the payload for an Exif tag is less than or equal to 4 bytes,
the data is simply put into the offset field. Fix writing these
kinds of payloads on big endian systems (and possibly also on
little endian systems). The caller will have already formatted
the bytes in memory according to the writer's endianness, so just
write out the bytes as they are in this case. Fixes tags unit test
on big endian systems.
2011-12-23 22:24:44 +00:00
Thiago Santos
77353dad21 tag: xmp: Keep compatibility with our old generated xmp
We used to add a trailing \n to the end of generated xmp packets.
Windows viewer was unhappy with it and we fixed it in
96d2120c2b

The problem is that this caused xmp generated before this fix
to not be recognized and parsed anymore. This patch makes it
recognize xmp with the trailing \n and without, fixing the
regression. Also adds tests for it.
2011-12-22 08:12:28 -03:00
Wim Taymans
ddc05e0ed1 propertyprobe: remove propertyprobe
Remove the propertyprobe interface
Improve docs
2011-12-21 11:58:53 +01:00
Stefan Sauer
6e1b51d02c controller: port to new interpolation-mode api 2011-12-19 23:41:25 +01:00
Stefan Sauer
1e14fb131e controller: port to new controller api 2011-12-19 22:53:14 +01:00
Wim Taymans
6b702c60bb use playbin instead of playbin2 2011-12-19 09:49:07 +01:00
Tim-Philipp Müller
06f51b9a96 tests: disable composition tests in video unit test for now 2011-12-09 15:06:51 +00:00
Tim-Philipp Müller
e286db3ce6 Revert "tests: fix audiocdsrc for changed preroll behaviour"
This reverts commit 2c9d442d51.

Behaviour changed again, so revert this.
2011-12-08 01:21:18 +00:00
Tim-Philipp Müller
fb6d09055a Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	ext/alsa/gstalsadeviceprobe.c
	ext/alsa/gstalsamixer.c
	ext/pango/gsttextoverlay.c
	ext/pango/gsttextoverlay.h
	gst-libs/gst/audio/gstaudiobasesink.c
	gst-libs/gst/audio/gstaudioringbuffer.c
	gst-libs/gst/audio/gstaudiosrc.c
	gst-libs/gst/video/Makefile.am
	gst-libs/gst/video/video.c
	gst/encoding/gststreamcombiner.c
	gst/encoding/gststreamsplitter.c
	gst/playback/gstplaybasebin.c
	gst/playback/gststreamsynchronizer.c
	gst/playback/gstsubtitleoverlay.c
	gst/playback/gsturidecodebin.c
	sys/xvimage/xvimagesink.c
	tests/examples/Makefile.am
	win32/common/libgstvideo.def

Video overlay composition disabled for now, needs
porting to buffer meta.
2011-12-08 01:19:03 +00:00
Tim-Philipp Müller
5037b39883 video: add seqnum getters for overlay compositions and rectangles
API: gst_video_overlay_composition_get_seqnum()
API: gst_video_overlay_rectangle_get_seqnum()
2011-12-07 17:57:08 +00:00
Tim-Philipp Müller
b58b8b1ba5 tests: fix calculation of last pixel offset in video unit test
And check the right buffer (pix2) in one case.
2011-12-06 20:31:54 +00:00
Tim-Philipp Müller
d59648a47f examples: fix build of fft example
Should link against our own libgstfft-0.10.
2011-12-06 15:01:05 +00:00
Tim-Philipp Müller
8b8dd06de4 examples: dist fft sub-directory 2011-12-05 15:37:04 +00:00
Tim-Philipp Müller
00d6ffd9f5 tests: add basic unit test for video overlay composition and rectangles 2011-12-05 15:37:02 +00:00
Tim-Philipp Müller
ff6cc8af82 tools, tests: g_thread_init() is deprecated in glib master
It's not needed any longer.
2011-12-04 17:16:36 +00:00
Stefan Sauer
5398950012 fft-example: re-add Makefile.am 2011-12-04 13:43:06 +01:00
Stefan Sauer
3fb41e2cc3 tests: add a test for fft result value-ranges
Add a small example that uses ffts of various types and parameters and check the
result value ranges.
2011-12-02 23:34:47 +01:00
Tim-Philipp Müller
177525f89f Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	gst-libs/gst/netbuffer/gstnetbuffer.c
	gst/ffmpegcolorspace/avcodec.h
	gst/ffmpegcolorspace/gstffmpegcodecmap.c
	gst/ffmpegcolorspace/imgconvert.c
	gst/ffmpegcolorspace/imgconvert_template.h
	gst/ffmpegcolorspace/mem.c
	gst/playback/README
	gst/playback/gstplaybasebin.c
	gst/playback/gstplaybasebin.h
	gst/playback/gstplaybin.c
	sys/v4l/v4lmjpegsrc_calls.c
	sys/v4l/videodev_mjpeg.h
	tests/check/elements/gnomevfssink.c
2011-12-02 11:10:17 +00:00
Piotr Fusik
14644457b0 various: typo fixes
Fix typos in code and docs. Fixes. #658984
2011-12-02 12:03:27 +01:00
Tim-Philipp Müller
ec0d3566bf Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	ext/alsa/gstalsasrc.c
	ext/alsa/gstalsasrc.h
	gst/adder/gstadder.c
	gst/playback/gstplaybin2.c
	gst/playback/gstplaysinkconvertbin.c
	win32/common/libgstvideo.def
2011-12-02 00:07:39 +00:00
Wim Taymans
59113af604 Use the new GstSample for snapshots
Make appsink return a GstSample. Remove the pull_buffer_list method because it
is not very useful anymore.
Pass GstSample to the conversion function.
Update playbin2 and examples
2011-12-01 16:53:11 +01:00
Tim-Philipp Müller
3c87d7dc77 tests: fix caps leak in audioresample tests 2011-12-01 01:22:19 +00:00
Tim-Philipp Müller
c58d4f54d6 tests: fix memory leak in basetime test 2011-12-01 01:07:26 +00:00
Edward Hervey
8274abcb69 tests: More fixes for moved interfaces 2011-11-30 11:34:23 +01:00
Wim Taymans
552e825b4f fix includes for moved interfaces 2011-11-30 07:23:47 +01:00
Edward Hervey
a3b272f0a3 tests: More fixes for moved interfaces 2011-11-29 19:31:55 +01:00
Wim Taymans
871b306fce video: move some interfaces
Move some interfaces to the video library
2011-11-29 19:10:01 +01:00
Vincent Penquerc'h
96374054ac various: fix pad template leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:09:02 +00:00
René Stadler
2094171aae tests: update for gstcheck API change 2011-11-24 21:47:02 +01:00
Vincent Penquerc'h
e7228fc0b3 opus: add test 2011-11-22 19:08:39 +00:00
Wim Taymans
7402d3a3d2 update for _get_caps() -> _query_caps() 2011-11-15 18:04:17 +01:00
Stefan Sauer
90cc963d11 controller: no need to explicitely add controlled properties anymore 2011-11-14 10:03:16 +01:00
Tim-Philipp Müller
c76e5804b3 Update for GstURIHandler get_protocols() changes 2011-11-13 23:44:23 +00:00
Tim-Philipp Müller
455f337e3d gio, appsrc, appsink, cdaudiosrc: update for GstURIHandler API changes 2011-11-13 18:22:06 +00:00
Tim-Philipp Müller
4b0dce5148 Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	gst-libs/gst/audio/Makefile.am
	gst-libs/gst/audio/audio.h
	tests/examples/seek/jsseek.c
	tests/examples/seek/seek.c
	tests/icles/test-colorkey.c
2011-11-13 13:36:29 +00:00
Tim-Philipp Müller
12aab2cdcc tests: require Gtk+ 3.0 for examples and Gtk-based test apps
The Gtk+ dependency is entirely optional, we're just not
supporting Gtk+ 2.x any longer.
2011-11-12 15:51:52 +00:00
Tim-Philipp Müller
966438ef07 tests: update after type renames 2011-11-12 11:58:59 +00:00
Tim-Philipp Müller
2c9d442d51 tests: fix audiocdsrc for changed preroll behaviour
Previously, the source posted a TAG message before buffers would
even be pushed towards the sink, so we'd get the TAG message before
any ASYNC_DONE message. Now the tags get sent downstream to the sink
to get posted there, and the tag event will get queued and handled
later after preroll has finished, so now we get the ASYNC_DONE
message before the TAG message.
2011-11-12 11:58:59 +00:00
Tim-Philipp Müller
70a6032cca tests: fix up cddabasesrc unit test for GstCddaBaseSrc -> GstAudioCdSrc renaming 2011-11-12 11:58:58 +00:00
Stefan Sauer
e32ccd8e4e controller: port controller api changes 2011-11-10 23:02:35 +02:00
Wim Taymans
de0b93a7fc tests: fix build after removal of base64 lib 2011-11-10 18:30:31 +01:00
Edward Hervey
9c103f5dc9 tests: Remove old structures from struct_arm.h 2011-11-10 11:42:10 +01:00
Wim Taymans
d77c8cafee Merge branch 'master' into 0.11
Conflicts:
	common
	ext/pango/gsttextoverlay.c
	gst-libs/gst/video/video.c
2011-11-09 12:11:59 +01:00
Wim Taymans
308f6301a8 update for pad probe api changes 2011-11-08 11:08:21 +01:00
Tim-Philipp Müller
c6c6c2e75e examples: sprinkle GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS in seek test utility
https://bugzilla.gnome.org/show_bug.cgi?id=630497
2011-11-07 23:41:33 +00:00
Wim Taymans
8c8fcf4d3b Merge branch 'master' into 0.11 2011-11-07 17:18:06 +01:00
Vincent Penquerc'h
e13ff2521c valgrind: add ALSA leaks fixed by snd_config_update_free_global
If they go when calling snd_config_update_free_global, they're
not really bug leaks, but more like intentional ones we don't
want to get told about.

https://bugzilla.gnome.org/show_bug.cgi?id=615342
2011-11-07 12:20:12 +00:00
Stefan Sauer
0019bcaa47 controller: port to new location and api changes 2011-11-04 20:14:54 +01:00
Stefan Sauer
9b96b1a58c build: add audio libs (pulled by pbutils) to avoid linking against system version 2011-11-04 15:37:42 +01:00
Wim Taymans
cf8481b990 fix pad template names for request pads 2011-11-04 10:49:48 +01:00
Edward Hervey
da6fd77de9 Really remove all mention of gstnetbuffer 2011-11-04 09:01:36 +01:00
Wim Taymans
57fe2addef update for request pads change. 2011-11-03 17:58:57 +01:00
Wim Taymans
90bbac6b2e tests: fix netbuffer test 2011-11-03 14:19:50 +01:00
Tim-Philipp Müller
b52c5819fb Update for pad API changes
GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*
2011-11-01 00:34:28 +00:00
Tim-Philipp Müller
5ee51e47a1 ext, gst, gst-libs, tests: update for tag list API changes 2011-10-31 14:22:39 +00:00
Wim Taymans
8417a7103a tests: fix compilation 2011-10-27 17:33:06 +02:00
Wim Taymans
016d036137 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	gst-libs/gst/audio/gstbaseaudiosink.c
	gst/audioconvert/channelmixtest.c
	gst/playback/gstplaybasebin.c
	gst/playback/gstsubtitleoverlay.c
	tests/examples/Makefile.am
	tests/examples/audio/Makefile.am
2011-10-27 15:44:58 +02:00
Jan Schmidt
1a7acdc99e build: Fix build for moved volume subdir 2011-10-27 23:39:31 +11:00
Stefan Sauer
92d1f5251e volume: move volume example to audio 2011-10-27 09:51:46 +02:00
Stefan Sauer
3a3b3a5b3b audio examples. fix the makefile 2011-10-27 09:42:36 +02:00
Stefan Sauer
76d455825d volume: make global vars static 2011-10-27 09:35:06 +02:00
Stefan Sauer
69fc8e9ffc audiomix: add a simple audiomix example 2011-10-27 09:35:06 +02:00
Stefan Sauer
53d7d2e966 interfaces: clean up the use of iface and class/klass 2011-10-21 14:46:48 +02:00
Edward Hervey
b4858253dc audio: Properly handle signedness in gst_audio_format_build_integer() 2011-10-17 12:00:16 +02:00
Thiago Santos
d15756105a tests: Updating some tests with GstXOverlayClass -> GstVideoOverlayIface 2011-10-09 17:05:12 -03:00
Tim-Philipp Müller
303dbaf84b Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	tests/check/pipelines/vorbisdec.c
	tests/check/pipelines/vorbisenc.c
2011-10-09 16:08:36 +01:00
Mark Nauwelaerts
7b56261acf tests: vorbisenc: adjust discontinuity checking to audioencoder behaviour
... which still detects gaps and marks DISCONT, depending on configuration,
but may come up with somewhat different timestamps when crossing the gap.
2011-10-08 20:50:10 +02:00
Mark Nauwelaerts
9e72c4790c tests: vorbisdec: properly configure audiodecoder when requiring perfect ts 2011-10-08 20:50:08 +02:00
Mark Nauwelaerts
12b54cccd1 tests: vorbisdec: remove empty header buffer check
... as empty buffers are discarded, and header buffers are now
also optionally retrieved from caps anyway.
2011-10-08 20:50:06 +02:00
Wim Taymans
73b894107a Merge branch 'master' into 0.11
Conflicts:
	ext/vorbis/gstvorbisdec.c
	ext/vorbis/gstvorbisenc.c
	ext/vorbis/gstvorbisenc.h
	gst/audiotestsrc/gstaudiotestsrc.c
2011-10-08 10:19:06 +02:00
Vincent Penquerc'h
be39ab28c3 tests: actually test what we said we would
All tests were testing the default sine wave

https://bugzilla.gnome.org/show_bug.cgi?id=661106
2011-10-06 20:46:03 +02:00
Wim Taymans
d8767a4ab6 Makefile: remove 0.11 fixme 2011-10-04 17:58:21 +02:00
Wim Taymans
d3f6a95cff tests: update for new audio caps 2011-09-29 13:46:36 +02:00
Tim-Philipp Müller
754b22d7ee libs: remove unused floatcast header-only library
There's no code whatsoever that uses these macros. If anyone
ever feels the need to resurrect them, we should add them to
gstutils.h in core or libgstaudio or so.
2011-09-23 21:18:47 +01:00
Edward Hervey
17bfba09f1 Merge branch 'master' into 0.11
Conflicts:
	ext/ogg/gstoggdemux.c
	ext/pango/gsttextoverlay.c
	gst-libs/gst/audio/gstaudioencoder.c
	gst-libs/gst/audio/gstbaseaudiosrc.c
	gst/playback/gstsubtitleoverlay.c
	gst/videorate/gstvideorate.c
2011-09-23 18:27:11 +02:00
Sjoerd Simons
8ab3947733 videorate: Add tests for the max-rate case 2011-09-21 11:24:59 +01:00
Sjoerd Simons
8c9e6346b4 videorate: Print which caps didn't match up 2011-09-21 11:24:59 +01:00
Sjoerd Simons
ee3dfd4471 videorate: Add test for caps negotiation 2011-09-21 11:24:59 +01:00
Sebastian Dröge
7e1e169b1b decodebin2: Fix unit test by strictly implementing parser behaviour instead of relying on basetransform 2011-09-20 13:46:41 +02:00
Sebastian Dröge
0f654f3feb Merge branch 'master' into 0.11
Conflicts:
	docs/libs/Makefile.am
	tests/check/elements/decodebin2.c
2011-09-08 14:42:00 +02:00
Sebastian Dröge
0e54d2c343 decodebin2: Don't use bufferalloc in the test elements
This will cause not-linked errors that usually don't happen
because normal decoders/parsers will set srcpad caps before
allocating buffers from downstream.
2011-09-07 16:44:59 +02:00
Sebastian Dröge
2d1dd857aa audiorate: Use complete audio caps, including the endianness field 2011-09-07 14:10:46 +02:00
Wim Taymans
7012e88090 Merge branch 'master' into 0.11
Conflicts:
	gst-libs/gst/audio/audio.h
	gst-libs/gst/audio/gstaudiodecoder.c
	gst-libs/gst/audio/gstaudiodecoder.h
	gst-libs/gst/audio/gstaudioencoder.c
	gst-libs/gst/audio/gstbaseaudioencoder.h
	gst/playback/Makefile.am
	gst/playback/gstplaybin.c
	gst/playback/gstplaysink.c
	gst/playback/gstplaysinkvideoconvert.c
	gst/playback/gstsubtitleoverlay.c
	gst/videorate/gstvideorate.c
	gst/videoscale/gstvideoscale.c
	win32/common/libgstaudio.def
2011-09-06 15:24:32 +02:00
Sebastian Dröge
490518cfa6 decodebin2: Add unit test for correct parser/converter negotiation 2011-09-06 13:16:44 +02:00
Sebastian Dröge
a883ecfc31 decodebin2: Add Tim as author for the parser test 2011-09-06 13:16:44 +02:00
Stefan Sauer
81c9459771 tests: supress ERROR log output for some tests
Be nice when we tests for correct error handling and don't spam stdout.
2011-09-05 15:52:41 +02:00
Jan Schmidt
33d491a04f seek: Accept pipeline descriptions for audiosink/videosink
Make the element_factory_make_or_warn utility function try parsing
the input string as a bin if element_factory_make() fails. This makes
the --audiosink/--videosink commandline options accept a pipeline
string.
2011-08-30 18:21:31 +10:00
Wim Taymans
c81c62d03a fourcc: remove fourcc
Remove fourcc in caps.
Fix pbutils descriptions.
Add more video macros
Fix some unit test
2011-08-22 12:22:02 +02:00
Wim Taymans
7a23448649 seek: fix playbin2 setup 2011-08-19 17:05:42 +02:00
Wim Taymans
33467d9629 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	ext/pango/gsttextoverlay.c
	ext/theora/gsttheoradec.c
	gst/adder/gstadder.c
	gst/adder/gstadder.h
	gst/audioresample/gstaudioresample.c
	gst/encoding/gstencodebin.c
	gst/playback/gstdecodebin.c
	gst/playback/gstdecodebin2.c
	tests/check/elements/decodebin2.c
	tests/check/elements/playbin-compressed.c
	win32/common/libgsttag.def
2011-08-16 18:01:14 +02:00
Tim-Philipp Müller
6d875c5ccd tag: id3: avoid some more relocations in genre table 2011-08-16 12:27:25 +01:00
Vincent Penquerc'h
505bae099e audioresample: add FFT based checks
Send a few simple tones through audioresample and check
that the main frequency spot is the same for the input and
the resampled output.

https://bugzilla.gnome.org/show_bug.cgi?id=656392
2011-08-16 08:14:18 +02:00
Wim Taymans
e904c529e3 fix for _negotiated_caps() change 2011-08-15 12:18:15 +02:00
Thiago Santos
436c533624 tests: tag: exif: Add tests for 'non-trivial' chars
Adds two new cases to check that characters are properly
converted to ascii when writen to exif and parsed correctly
back to utf8 when read.
2011-08-10 17:46:01 -03:00
Tim-Philipp Müller
54e143c5e7 tag: add unit test for new license API
https://bugzilla.gnome.org/show_bug.cgi?id=646868
2011-08-10 10:34:22 +01:00
Josep Torra
5629ed74b3 Fix debug statements
Fixes build on MacOSX

Signed-off-by: Edward Hervey <edward.hervey@collabora.co.uk>
2011-08-10 11:15:41 +02:00
Tim-Philipp Müller
301bd8b0bf videooverlay: add convenience API to check if a message is a prepare-window-handle message
API: gst_is_video_overlay_prepare_window_handle_message()
2011-08-08 14:41:17 +01:00
Tim-Philipp Müller
d5f44ec6ea tests: fix libs order in some makefiles
Local libs should come first.
2011-08-08 14:16:39 +01:00
Tim-Philipp Müller
789e325678 tests: update for GstXOverlay => GstVideoOverlay 2011-08-08 14:12:15 +01:00
Tim-Philipp Müller
c39ad574aa video: make GST_VIDEO_FORMATS_ALL define more readable
We don't need all those quotes, strings will be parsed as strings
regardless, and g-i doesn't seem to like all those escaped quotes.
2011-07-28 13:39:14 +01:00
Tim-Philipp Müller
bfd083175b tests: update for query API changes 2011-07-27 01:18:19 +01:00
Stefan Sauer
7ca9c4ec40 basetime: fix failing test
Always use audiotestsrc as it seems to have been the intention according to the
comment header. The test does not work with live-audiosources.
2011-07-26 14:15:18 +02:00
Stefan Kost
4019e919f6 tests: rename the test suite to match the binary
This unbreaks determining the name for make elements/playbin2-compressed.check
from the test output.
2011-07-26 12:37:11 +02:00
Stefan Sauer
ed1f02e2a1 test: print actual timestamp on failure 2011-07-23 14:04:14 +02:00
Tim-Philipp Müller
69dcacf148 tests: add decodebin2 test for parser autoplugging
Make sure decodebin2 doesn't try to plug the same parser twice
in a row.
2011-07-15 16:47:44 +01:00
Tim-Philipp Müller
b3a39daed6 tests: add decodebin1 test for parser autoplugging
Make sure decodebin1 doesn't try to plug the same parser twice
in a row (so we can change all parsers to accept parsed input as
well without breaking applications still using the old decodebin1
element).
2011-07-15 16:41:10 +01:00
Tim-Philipp Müller
34d1d7a8d4 tests: make adder test and libgstvideo test compile, disable some tests
Don't fully work yet though
2011-07-08 16:37:33 +01:00
Tim-Philipp Müller
dd56714b14 ffmpegcolorspace -> videoconvert 2011-07-07 23:59:59 +01:00
Tim-Philipp Müller
a409d04d21 tests: remove tests from ancient times
They're just noise.
2011-07-07 23:58:06 +01:00
Wim Taymans
26cc33cb62 Merge branch 'master' into 0.11
Conflicts:
	gst-libs/gst/tag/gstxmptag.c
	gst/encoding/gststreamsplitter.c
2011-07-07 11:10:39 +02:00
Tim-Philipp Müller
b1dcdb89f5 tests: update netbuffer and tag tests for gst_buffer_take_memory() API change 2011-07-06 12:54:40 +01:00
Tim-Philipp Müller
f55f7efa7e tests: update libs/pbutils test for GstMessage API changes
Can't access msg->structure directly any more.
2011-07-06 12:51:03 +01:00
Tim-Philipp Müller
06a5103511 tests: fix libs/mixer test for GstImplementsInterface removal
Not sure if we want to keep the GstMixer API in its current form
though..
2011-07-06 12:47:01 +01:00
Tim-Philipp Müller
9975883c7e tests: update theoraenc test for new pad probe API
Compiles now, but fails.
2011-07-06 12:42:36 +01:00
Tim-Philipp Müller
34a6a349a4 tests: update typefindfunctions test for latest API changes 2011-07-06 12:38:10 +01:00
Tim-Philipp Müller
56460b7399 tests: update libs/audio test for latest API changes 2011-07-06 12:36:37 +01:00
Thiago Santos
96d2120c2b tag: xmp: Remove extra chars from end of xmp packet
Windows picture viewer is unhappy with extra trailing chars at the
end of the xmppacket footer. So remove them as they aren't needed.
2011-06-29 10:18:23 -03:00
Tim-Philipp Müller
ac6c07a955 Merge remote-tracking branch 'origin/master' into 0.11 2011-06-26 21:27:28 +01:00