Commit graph

1004 commits

Author SHA1 Message Date
Christophe Fergeau
a9b979d45f examples: don't link testchannels example with system libgstaudio
The testchannels audio test program is using -lgstaudio-0.10 to link
with libgstaudio which won't use the gstaudio library that was just
built but the one from the system. This is an issue since it means
we won't be testing the code from the current source tree, and it
also breaks the build when building on a system which don't have
a libgstaudio yet.

https://bugzilla.gnome.org/show_bug.cgi?id=652100
2011-06-08 12:14:20 +01:00
Edward Hervey
974b7bd4ed check: ... and don't forget to add the new arm header
Forgot it in my previous commit
2011-06-01 17:31:35 +02:00
Edward Hervey
fa298d13eb libsabi: Add structure sizes for arm 2011-06-01 17:26:25 +02:00
Sebastian Dröge
8f967e9e70 volume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats
Also add a unit test for this. Previously volumes bigger than 4.0
would have resulted in overflows in the fixed point processing.

Fixes bug #649642.
2011-05-31 11:07:11 +02:00
Tim-Philipp Müller
4f6da2bcbc tests: fix some more unused-but-set-variable warnings with gcc 4.6 2011-05-29 13:32:04 +01:00
Tim-Philipp Müller
0a9600be50 Ignore new playbin2-compress test binary
And add old testchannels binary to CRUFT_FILES.
2011-05-28 12:39:06 +01:00
Stefan Kost
940291dd38 audio: move testchannels example to 'tests/examples' dir
Also fix it up a little to not include 'c' file but link to the libs instead.
2011-05-27 15:09:25 +03:00
Vladimir Eremeev
4c8fd85e8e seek: set selected/default audio/video sinks on playbin and playbin2
https://bugzilla.gnome.org/show_bug.cgi?id=630322
2011-05-25 19:36:02 +01:00
Tim-Philipp Müller
2b12546e02 seek: add --audiosink and --videosink command line options 2011-05-25 19:25:34 +01:00
Tim-Philipp Müller
ee6fbc2874 seek: use the right GDK defines to differentiate between the backends 2011-05-25 19:25:34 +01:00
Tim-Philipp Müller
2ff8c8777f seek: use gst_filename_to_uri() to convert a filename to a uri 2011-05-25 19:25:34 +01:00
Vladimir Eremeev
882ffb3b5b seek: make seek example work in win32
https://bugzilla.gnome.org/show_bug.cgi?id=630322
2011-05-25 19:25:34 +01:00
Robert Swain
ad2010d379 gstvideo: Add gst_video_get_size_from_caps function
gst_video_get_size_from_caps () allows easy calculation of the raw video
buffer size from some fixed video caps.

API: gst_video_get_size_from_caps()
2011-05-18 14:13:46 +02:00
Thiago Santos
3c3a78f34a encodebin: examples: Add missing base libs to makefile 2011-05-15 13:02:39 -03:00
Thiago Santos
f7c9f953cb tests: xmp: New tests for the Iptc4xmpExt tags 2011-05-15 13:02:39 -03:00
Sebastian Dröge
b0e608e308 playbin2: Disable some compressed stream tests that are racy without a stream-activate event 2011-05-14 11:42:33 +02:00
Sebastian Dröge
0e9203df11 playbin2: Reset buffer counter in playbin2-compressed tests every time when going to READY 2011-05-14 11:42:33 +02:00
Sebastian Dröge
22dae31c2d playbin2: Add unit test for compressed stream support in playbin2/playsink 2011-05-14 11:42:32 +02:00
Tim-Philipp Müller
0b5e203b19 tests: add unit test for basetransform/videoscale negotiation regression
Turn Rene's test pipeline into a unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=648220
2011-04-21 14:11:49 +01:00
Sebastian Dröge
37b3878047 oggmux: Remove bus GSource to prevent a valgrind warning 2011-04-18 10:19:52 +02:00
Sebastian Dröge
5d38f0d398 gio: Remove the bus GSource from the main context
Prevents a valgrind warning about possibly leaked memory,
see bug #647763.
2011-04-18 09:20:30 +02:00
Tim-Philipp Müller
08a14d45b9 tests: list libs/struct*h files explicitly in Makefile.am
Hopefully makes the gentoo buildbot happy again.
2011-04-15 21:09:00 +01:00
Sebastian Dröge
86f679aaac encodebin: Unref encoding profiles after usage in the test 2011-04-14 13:15:08 +02:00
Sebastian Dröge
10e0b85a56 encodebin: Release pads after setting the state to NULL in the unit test
See bug #647756.
2011-04-14 12:55:00 +02:00
Thiago Santos
1b5a6395d2 tests: tag: Fix typo 2011-04-14 00:04:52 -03:00
Thiago Santos
e57473178b tag: xmp: Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION for xmp
library.

Includes unit tests.
2011-04-14 00:04:52 -03:00
Thiago Santos
dae1c37dfe tag: exif: Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION for exif
library.

Includes unit tests.
2011-04-14 00:04:52 -03:00
Tim-Philipp Müller
05dce4e2ac tests: fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
2011-04-14 00:24:26 +01:00
Tim-Philipp Müller
53ed133354 tests: dist all struct_*.h files for libs ABI test
Should fix distcheck on x86_64.
2011-04-11 14:29:35 +01:00
Stefan Kost
d3d8d5c2cc tests: add basic unit tests for discoverer 2011-04-05 18:16:25 +03:00
David Schleef
5f61df82da video: Fix YUV9 and YVU9 again 2011-04-04 16:01:20 -07:00
Tim-Philipp Müller
80952f6aa4 tests: ignore xmpwriter unit test binary 2011-04-04 23:23:37 +01:00
David Schleef
629cac4cad video: Fix height calculation for YUV9/YVU9 2011-04-01 13:55:56 -07:00
Edward Hervey
bb081770c8 tests: Fixes libsabi for MacOSX/32bit.
GStaticRecMutex is 60bytes on macosx/32bit (As opposed to 40).

Fixes #644996
2011-03-31 12:37:32 +02:00
Sebastian Dröge
209188b5c9 libsabi: Add structure sizes for x86-64 2011-03-31 10:39:37 +02:00
Tim-Philipp Müller
2e220e352f tests: add typefind test for application/x-hls
To make sure we don't break detection when we add typefinding
for normal m3u8 playlists.
2011-03-30 15:47:38 +01:00
Thiago Santos
b5246da456 tagxmpwriter: Add check tests
https://bugzilla.gnome.org/show_bug.cgi?id=645167
2011-03-29 17:11:30 -03:00
Sebastian Dröge
f1f0625e97 encodebin: Requesting a pad again now gives a g_return_val_if_fail()
Before the behaviour was undefined and implemented differently by elements,
now core checks for this (and other problems) and returns NULL and an assertion.
2011-03-29 15:42:50 +02:00
Tim-Philipp Müller
03ea1bea4e tests: ignore new libsabi test binary 2011-03-26 12:01:05 +00:00
Thiago Santos
8f2aea0fe4 tests: video: Uncommenting test
Pushed a commented test by accident, uncommenting it.
2011-03-23 12:42:04 -03:00
Thiago Santos
2ab592bac9 tests: video: Add a test for checking rgb caps creation
This new test for checking rgb caps creation exposes a regression
2011-03-23 12:21:55 -03:00
Mart Raudsepp
83679ef8f8 check: Really fix the linking order of libs/tag
Follow-up to commit 5f5c52c, which only fixed the CFLAGS order.
Fix the linker order as well.
2011-03-16 14:33:31 +00:00
Tim-Philipp Müller
fae2e1bc2d tests: add libscpp unit test to make sure g++ likes our library headers 2011-03-12 17:51:41 +00:00
Thiago Santos
40eaac6191 tests: encodebin: Add reuse test case
Adds a test case to check if encodebin can be reused

https://bugzilla.gnome.org/show_bug.cgi?id=644416
2011-03-10 15:12:01 -03:00
Stefan Kost
fa300aee20 tests: add ABI test suite for libs 2011-02-28 10:14:16 +02:00
Sebastian Dröge
eb91fe7162 encodebin: Fix double unref in unit test 2011-02-24 21:00:34 +01:00
Tim-Philipp Müller
2835a9e45c checks: add a simple unit test for the source-setup signal 2011-02-24 17:47:15 +00:00
Sebastian Dröge
dc87e8698e encodebin: Fix memory leaks related to request pads
Request pads have to be released by the caller and must be
unreffed after releasing them.
2011-02-24 16:02:50 +01:00
Tim-Philipp Müller
01168b83cf tests: fix videoscale test by ignoring newly-added 64-bit formats
They probably fail because ffmpegcolorspace can't handle those formats.
2011-02-21 17:59:40 +00:00
Tim-Philipp Müller
33a5e3e06f appsink: add buffer fallback in case the application doesn't handle buffer lists
We shouldn't assume the application handles buffer lists, for
ease-of-use reasons and for backwards compatibility reasons.
2011-01-31 18:06:18 +00:00
Tim-Philipp Müller
fc608d4dcd tests: don't run encodebin test if vorbis or theora plugins aren't available 2011-01-26 15:43:20 +00:00
Stefan Kost
f6dad2e868 snapshot: use a keyframe seek
One would usualy get good quality snapshots quickly. The exact seek position
does not really matter.
2011-01-25 21:55:36 +02:00
Stefan Kost
5075b891aa snapshot: add a newline to the usage and error output 2011-01-25 21:55:36 +02:00
Tim-Philipp Müller
97f84c1eee encoding-target: change keyfile header to 'GStreamer Encoding Target'
which is more in line with other files such as .desktop files.
2011-01-18 10:40:29 +00:00
Bastien Nocera
74375d258e examples: allow building with newer GTK+
GtkFunction is gone, and there's no update policies for
GtkRanges any more (but the default was continuous anyway,
so no need to set it to that mode explicitly).

https://bugzilla.gnome.org/show_bug.cgi?id=639215
2011-01-11 15:08:06 +00:00
Tim-Philipp Müller
a266fe8d30 tests: never disable g_assert() and cast checks for the unit tests
The unit tests are riddled with g_assert() and friends, sometimes
containing functional code like set_state() calls in them even
(looking at you, pipeline/capsfilter-renegotiation). Make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts.
2011-01-07 00:43:07 +00:00
Tim-Philipp Müller
1e80f70d7a tests: ignore new rtsp test binary 2011-01-06 20:37:50 +00:00
Edward Hervey
19201c1ab0 encoding: encoding_profile_get_output_caps => _get_input_caps
Makes more sense name-wise
2011-01-05 22:02:35 +01:00
Edward Hervey
777f816ff1 encoding-target: Fixup loading/saving methods 2011-01-05 20:54:21 +01:00
Edward Hervey
3b32566dd4 encoding-target: Change target suffix to .gep
Along with a bunch of other internal cleanups
2011-01-05 20:54:21 +01:00
Edward Hervey
a65faf2f3c encoding-target: Add API for list all categories and targets
API: gst_encoding_list_available_categories
API: gst_encoding_list_all_targets
2011-01-05 20:54:21 +01:00
Edward Hervey
deea1eb83f encoding-profile: Add convenience method to find a profile
API: gst_encoding_profile_find
2011-01-05 20:54:21 +01:00
Edward Hervey
d8f5b6322f encoding-target: Implement save/load feature
Fixes #637735
2011-01-05 20:54:06 +01:00
Edward Hervey
c8fa8085ba encoding-target: Add method to get a profile by name
API: gst_encoding_target_get_profile
2011-01-05 20:18:34 +01:00
Tim-Philipp Müller
cfe8ffdf6e tests: add input-selector-test and output-selector-test
Moved from gst-plugins-bad into -base, becasue it uses videotestsrc
and other elements from -base, so it can't be in core.
2010-12-31 01:25:50 +00:00
Stefan Kost
52bdb195b2 output-selector-test: don't hardcode videosinks and use more colorspace conv.
Use autovideosink instead of hardcoded sinks. Use an additional colorspace
converter between videotestsrc and timeoverlay.
2010-12-31 01:16:04 +00:00
Michael Smith
3b6eb6e32b tests: Remove executable bits from non-executable files. 2010-12-31 01:15:55 +00:00
Sebastian Dröge
526ee4b533 tests: move examples directory to tests/examples as in every other GStreamer module 2010-12-31 01:15:29 +00:00
Stefan Kost
4253fc77c6 tests: Use BOILERPLATE macro and update output-selector test to the latest api changes.
Original commit message from CVS:
* gst/selector/gstoutputselector.c:
* tests/icles/output-selector-test.c:
Use BOILERPLATE macro and update test to the latest api changes.
2010-12-31 01:15:16 +00:00
Stefan Kost
db777f1767 tests/icles/output-selector-test.c: Add a fixme comment.
Original commit message from CVS:
* gst/multifile/gstmultifilesink.c:
Add a fixme comment.
* gst/selector/gstoutputselector.c:
Fix same leak as in input-selector.
* tests/icles/output-selector-test.c:
Improve the test.
2010-12-31 01:14:46 +00:00
Stefan Kost
84f95ae282 Replace the switch plugin with the selector plugin. Add output-selector as the opposite of input-selector (was switc...
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-metadata.xml:
* docs/plugins/inspect/plugin-selector.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-switch.xml:
* gst/selector/.cvsignore:
* gst/selector/Makefile.am:
* gst/selector/gstinputselector.c:
* gst/selector/gstinputselector.h:
* gst/selector/gstoutputselector.c:
* gst/selector/gstoutputselector.h:
* gst/selector/gstselector-marshal.list:
* gst/selector/gstselector.c:
* gst/selector/selector.vcproj:
* gst/switch/.cvsignore:
* gst/switch/Makefile.am:
* gst/switch/gstswitch-marshal.list:
* gst/switch/gstswitch.c:
* gst/switch/gstswitch.h:
* gst/switch/switch.vcproj:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/output-selector-test.c:
Replace the switch plugin with the selector plugin. Add output-
selector as the opposite of input-selectoo (was switch). Add a test
for output-selector. Add docs for the elements. The vcproj needs
update. Fixes #500142.
2010-12-31 01:14:34 +00:00
Edward Hervey
4b3e1403a1 encoding-target: Ensure target names and categories are valid 2010-12-21 16:38:40 +01:00
Wim Taymans
8945ce0958 seek: don't pause for live buffering messages 2010-12-21 13:39:26 +01:00
Edward Hervey
949595a7a3 tests: Update container-less profile checks 2010-12-21 13:23:34 +01:00
Sebastian Dröge
3e35df72b6 rtsp: Fix memory leaks in the gst_rtsp_url_decode_path_components() unit tests 2010-12-19 09:53:08 +01:00
Sebastian Dröge
c23c706dce examples: Fix encodebin example CFLAGS and LDFLAGS
Previously it would only succeed to link if a new enough
libgstpbutils-0.10 was installed in the default library
search path.
2010-12-18 20:47:00 +01:00
Andy Wingo
dd699397c2 add gst_rtsp_url_decode_path_components
* gst-libs/gst/rtsp/gstrtspurl.h:
* gst-libs/gst/rtsp/gstrtspurl.c (gst_rtsp_url_decode_path_components):
  New public function, returns a strv of uri-decoded path components.

* tests/check/Makefile.am:
* tests/check/libs/rtsp.c: Add tests.
2010-12-15 17:51:36 +01:00
Edward Hervey
a5994446b3 examples: encoding example
Along with gstcapslist
2010-12-15 11:54:32 +01:00
Edward Hervey
8a3b45aa1f gst: New encoding plugin
https://bugzilla.gnome.org/show_bug.cgi?id=627476
2010-12-15 11:54:32 +01:00
Edward Hervey
82b4f9bfef pbutils: New Profile library
https://bugzilla.gnome.org/show_bug.cgi?id=627476
2010-12-15 11:54:32 +01:00
Mark Nauwelaerts
a0e083a717 tests: audioresample: adjust unit test to relaxed discont checking 2010-12-13 13:05:24 +01:00
Stefan Kost
3dad049359 tests: remove superflous ';' and reindent 2010-12-08 12:28:32 +02:00
René Stadler
c05f45f05b tests: add AC-3, E-AC-3 typefind tests 2010-12-07 21:28:20 +02:00
Tim-Philipp Müller
02419d206c tests: use GLib 2.22 API unconditionally 2010-12-04 14:48:46 +00:00
Tim-Philipp Müller
a2e896df66 tests: fix video library unit test and skip non-working YUV9/YVU9 parts for now 2010-12-03 00:02:26 +00:00
Tim-Philipp Müller
0d39e2896e tests: fix invalid free and buffer list leak in rtp library unit test 2010-11-02 12:29:05 +00:00
Tim-Philipp Müller
19db1e763f tests: fix leak in tag library unit test 2010-11-02 12:03:21 +00:00
Matthias Clasen
bb7e76e889 examples: update some more code for new Gtk+ API, with fallback for older Gtk+ versions
Move code to new Gtk+ 3.x / 2.9x API. We have defines in place
already that make this code work fine on older Gtk+ 2.x.

https://bugzilla.gnome.org/show_bug.cgi?id=632653
2010-10-30 16:06:47 +01:00
Sebastian Dröge
9f9e5f80aa seek: Define the new combobox API to the old functions if using older GTK
https://bugzilla.gnome.org/show_bug.cgi?id=632653
2010-10-30 15:55:34 +01:00
Sebastian Dröge
0750531378 videoscale: Add unit test for working reverse negotiation
See bug #633147.
2010-10-29 13:25:10 +02:00
Sebastian Dröge
10c693c696 seek: The new combo box text API is available since 2.23.0 and 2.91.1
Only use it conditionally.
2010-10-21 21:03:34 +02:00
Matthias Clasen
95db070470 seek: Don't use deprecated combo box text API
Fixes bug #632653.
2010-10-21 21:03:34 +02:00
Tim-Philipp Müller
8cd8339893 tests: don't use deprecated gtk_widget_hide_all()
gtk_widget_hide_all() has been deprecated in gtk+ 2.x and
removed in 2.9x master. Just use gtk_widget_hide() instead.
2010-10-21 13:38:01 +01:00
Thiago Santos
5984ff1086 tag: Adds GST_TAG_CAPTURING_SOURCE
Adds a tag to indicate the source/device used for the capture.

Already maps it in exif and adds tests.

API: GST_TAG_CAPTURING_SOURCE

https://bugzilla.gnome.org/show_bug.cgi?id=631773
2010-10-16 00:50:11 +01:00
Thiago Santos
b49f83d738 tag: Adds GST_TAG_CAPTURING_METERING_MODE
Adds a tag to inform what mode was used by a camera to calculate
the picture capturing exposure

Also adds mapping to exif and tests

API: GST_TAG_CAPTURING_METERING_MODE

https://bugzilla.gnome.org/show_bug.cgi?id=631773
2010-10-16 00:42:09 +01:00
Thiago Santos
f67e7aacf3 tag: Adds GST_TAG_CAPTURING_SHARPNESS
Adds new tag for tagging sharpness processing used
when capturing an image. Also maps it in the exif
tags.

Tests included.

API: GST_TAG_CAPTURING_SHARPNESS

https://bugzilla.gnome.org/show_bug.cgi?id=631773
2010-10-16 00:31:07 +01:00
David Schleef
24582f3807 tests: Don't dist generated orc code 2010-10-15 13:16:13 -07:00
Thiago Santos
67eb531163 tag: Update with latest datetime from core
Updates datetime functions to latest APIs in core
2010-10-13 12:30:31 -03:00
Thiago Santos
3e99c06ad0 tests: vorbis: adds missing lib
Adds missing lib to vorbis check tests makefile
2010-10-11 18:06:18 -03:00
Vincent Penquerc'h
50a6f26684 examples: g_mapped_file_unref exists already since GLib 2.21.3 2010-10-10 18:32:12 +02:00