Thijs Vermeir
36e8018ca7
tests: Fix unit test of videotestsrc
...
Use UYVY for unit tests, it's exactly the same as Y422.
(which is currently disabled in videotestsrc)
2010-09-16 15:00:22 +02:00
Sebastian Dröge
7ac1938f0f
video: Add a destroy notify parameter to gst_video_convert_frame_async()
...
Binding generators apparently need this as they can't really know
that the callback is guaranteed to be called exactly once and that
the user_data can be freed at the end of it.
2010-09-15 11:26:48 +02:00
David Schleef
6dc02137fb
xoverlay: Add guintptr versions of functions
...
And deprecate the gulong versions. This is to support platforms
where sizeof(unsigned long) < sizeof(void *). Fixes #627565 .
API: Add gst_x_overlay_set_window_handle()
API: Deprecate: gst_x_overlay_set_xwindow_id()
API: Add gst_x_overlay_got_window_handle()
API: Deprecate: gst_x_overlay_got_xwindow_id()
API: Add GstXOverlay::set_window_handle()
API: Deprecate: GstXOverlay::set_xwindow_id()
2010-09-15 00:10:23 -07:00
Sebastian Dröge
1e29e528c7
video: Add unit test for gst_video_convert_frame_async()
2010-09-14 08:42:44 +02:00
Sebastian Dröge
2f781d69d2
video: Add a simple unit test for the new convert_frame API
...
Unfortunately this can't test the encoding because there's no
image encoder in base.
2010-09-14 08:42:44 +02:00
Thijs Vermeir
78055cc852
tests: videotestsrc change the pattern property for the tests
2010-09-10 10:43:51 +02:00
Tim-Philipp Müller
a2cbc39a50
tests: fix passing of URIs containing '*' and '?' to the seek example
...
Only do wildcard expansion (why?!) on things that look like local
file paths. Fixes passing of URIs containing '*' and '?' (see #629212 ).
2010-09-09 20:52:17 +01:00
Stefan Kost
4e379a4e59
tests: allow running state tests for all elements
...
Now one can use GST_NO_STATE_IGNORE_ELEMENTS=1 make generic/states.check
to try elements that would normaly be skipped.
2010-09-09 21:51:55 +03:00
Edward Hervey
5f5c52cbc5
check: Fix linking order of libs/tag
2010-09-07 16:26:56 +02:00
Edward Hervey
958cf91b85
check: Make fontconfig leak suppression more generic
2010-09-07 16:26:30 +02:00
Thiago Santos
d54ba93945
tag: exif: Adds mappings for new image ppi tags
...
Adds mappings for GST_TAG_IMAGE_HORIZONTAL/VERTICAL_PPI into
our exif lib
Tests included.
Fixes #626570
2010-09-07 10:07:29 -03:00
Philippe Normand
ad03838f55
seek: allow seeking behind the currently downloaded position.
2010-09-01 11:15:35 +02:00
Thiago Santos
9c5f791a34
tag: exif: Adds flash tags mapping
...
Adds a mapping for GST_TAG_CAPTURING_FLASH_FIRED/_MODE to
the exif Flash tag.
Tests included.
2010-08-25 08:36:59 -03:00
Thiago Santos
ac361dcc3a
tag: exif: More photography mappings
...
Adds mappings from:
GST_TAG_CAPTURING_EXPOSURE_PROGRAM -> ExposureProgram
GST_TAG_CAPTURING_EXPOSURE_MODE -> ExposureMode
GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE -> SceneCaptureType
GST_TAG_CAPTURING_GAIN_ADJUSTMENT -> GainControl
GST_TAG_CAPTURING_WHITE_BALANCE -> WhiteBalance
GST_TAG_CAPTURING_CONTRAST -> Constrast
GST_TAG_CAPTURING_SATURATION -> Saturation
Also renames gst_tag_image_orientation_from_exif_value and
gst_tag_image_orientation_to_exif_value to remove the 'gst'
prefix and not including in the win32 defs.
Tests included.
2010-08-25 08:32:19 -03:00
Thiago Santos
10d680b74d
tag: exif: Adds photography tags mappings
...
Adds the following mappings for the exif helper:
* GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO -> DigitalZoomRatio
* GST_TAG_CAPTURING_FOCAL_LENGTH -> FocalLength
* GST_TAG_CAPTURING_SHUTTER_SPEED -> ExposureTime, ShutterSpeedValue
* GST_TAG_CAPTURING_FOCAL_RATIO -> FNumber, ApertureValue
* GST_TAG_CAPTURING_ISO_SPEED -> ISOSpeed, PhotographicSensitivity
Tests included.
2010-08-24 22:24:36 -03:00
Thiago Santos
57013ae63e
tag: exif: Adds mapping for GST_TAG_APPLICATION_DATA
...
Adds mapping for GST_TAG_APPLICATION_DATA to the exif
'maker-note' tag.
2010-08-24 22:20:48 -03:00
Stefan Kost
617a0fc50e
tests/playback: due to popular demand mv them from examples to icles
...
The tests are toys and not reference demos.
2010-08-12 12:27:58 +03:00
Stefan Kost
23cadbae94
playback: move tests from plugin-dir to tests/examples/playback
2010-08-12 10:52:34 +03:00
Sebastian Dröge
acc7d51ce5
videoscale: Add some debug output to the videoscale negotiation test
2010-08-11 18:10:45 +02:00
Thiago Santos
61e11b0fc4
xmp: exif: Adds GST_TAG_APPLICATION_NAME mappings
...
adds xmp and exif helper library mappings for GST_TAG_APPLICATION_NAME
tag.
2010-08-09 18:04:08 -03:00
Thiago Santos
f600b510fe
tests: tag: Test to try to serialize multiple exif tags
...
Adds a new test for exif data that tries serializing data
from multiple ifd tables and check if it works.
2010-08-09 18:03:39 -03:00
Thiago Santos
2760c96dfc
tag: xmp: Make bag tags deserialization work correctly
...
If we find a bag of tags of type string in the xmp packet, we
should concat them, this is not the ideal approach, but at
least works for now as we don't know what type of tag it
is (simple, structure, seq, alt or bag)
2010-08-04 09:56:39 -03:00
Jan Schmidt
1f454b76cf
examples/seek: Don't unpause on clock-lost unless playing
...
If the pipeline is paused by the user, don't pause/unpause
on clock-lost.
2010-08-04 21:46:56 +10:00
Thiago Santos
3dbf96faa3
oggmux: Fix test build when theora and vorbis aren't available
...
Ifdef properly to avoid build failures
2010-08-02 11:11:58 -03:00
Jan Schmidt
344df0b217
jsseek: Set joystick io encoding to 'NULL'
...
Fix problems with newer glib reporting bad encodings on the binary
data emerging from the joystick device fd.
2010-07-30 22:30:16 +10:00
Tim-Philipp Müller
5a0c2517ee
pbutils: add compile time and runtime version checks for gst-plugins-base
...
So people can check what version of the gst-plugins-base libs they're
building against or linked against.
API: GST_PLUGINS_BASE_VERSION_MAJOR
API: GST_PLUGINS_BASE_VERSION_MINOR
API: GST_PLUGINS_BASE_VERSION_MICRO
API: GST_PLUGINS_BASE_VERSION_NANO
API: GST_CHECK_PLUGINS_BASE_VERSION
API: gst_plugins_base_version()
API: gst_plugins_base_version_string()
2010-07-26 17:25:15 +02:00
Thiago Santos
93f97277da
tag: exif: Map GST_TAG_DATE_TIME
...
Adds mapping to the exif helper library for GST_TAG_DATE_TIME.
Tests included.
https://bugzilla.gnome.org/show_bug.cgi?id=594504
2010-07-26 12:00:31 -03:00
Thiago Santos
5e51a77df4
tag: xmp: Maps GST_TAG_DATE_TIME
...
Adds mapping for GST_TAG_DATE_TIME.
Tests included.
https://bugzilla.gnome.org/show_bug.cgi?id=594504
2010-07-26 12:00:30 -03:00
Sebastian Dröge
c1982cd6fe
examples: Use cairo instead of to-be-deprecated GDK API
...
Fixes bug #625001 .
2010-07-24 11:49:08 +02:00
Tim-Philipp Müller
75f41ff8c8
tests: don't forget to dist test file for typefinding unit test
2010-07-18 11:43:00 +01:00
Tim-Philipp Müller
01ace4a124
tests: add unit test for mpeg-ts typefinding bug
...
See #623663 .
2010-07-18 11:38:19 +01:00
Sebastian Dröge
b8005a3640
examples: Remove some #if GTK_CHECK_VERSION(2,12,0)
...
We depend on GTK+ >= 2.14 already.
2010-06-27 10:43:23 +02:00
Tim-Philipp Müller
14649643df
checks: simplify GstBus usage in videoscale unit test
...
There's no need to run a main loop, add a bus watch and deal with
helper structs here just to wait for an EOS message.
2010-06-26 12:03:54 +01:00
Tim-Philipp Müller
3563c7c7a5
checks: speed up videoscale unit test a little
...
Use new gst_element_link_pads_full() function to link elements,
and disable all checks when linking (don't try this at home).
Down to 18s from 3m20s. Scary.
2010-06-26 11:45:34 +01:00
Tim-Philipp Müller
c13635b10e
tests: make audio-trickplay test compile when the gst debugging system is disabled
...
Fixes unused variable warning in that case.
2010-06-24 15:31:31 +01:00
Tim-Philipp Müller
713042e7ce
tests: add test that runs all typefinders over random data
2010-06-24 15:14:06 +01:00
Tim-Philipp Müller
fe4d0e7da6
tests: add plugin loading whitelist to test environment
...
Only want to load core/-base plugins here.
2010-06-24 13:43:33 +01:00
Thiago Santos
c774cdcff0
tag: xmp: Adds GST_TAG_IMAGE_ORIENTATION mapping
...
Adds GST_TAG_IMAGE_ORIENTATION mapping to xmp helper lib.
Tests included.
2010-06-23 12:03:47 -03:00
Thiago Santos
e327be5a96
tag: exif: Adds mapping for GST_TAG_IMAGE_ORIENTATION
...
Adds GST_TAG_IMAGE_ORIENTATION to the exif helper lib mapped tags.
Tests included.
2010-06-23 12:03:47 -03:00
Stefan Kost
aef6123172
tests: use our own macros for the tests main function
2010-06-21 09:53:23 +03:00
Edward Hervey
d17d8e5319
Revert "audioresample: set pads as negotiable"
...
This reverts commit 5f74f3a82e
.
2010-06-15 13:09:37 +02:00
Edward Hervey
be72e1506f
Revert "audioconvert: set pads negotiable"
...
This reverts commit bbd7dee8f6
.
2010-06-15 13:09:29 +02:00
Wim Taymans
bbd7dee8f6
audioconvert: set pads negotiable
2010-06-14 18:10:52 +02:00
Wim Taymans
5f74f3a82e
audioresample: set pads as negotiable
2010-06-14 17:48:58 +02:00
Sebastian Dröge
39c39ff5ab
videoscale: And only expect a single buffer in the unit test
2010-06-14 16:07:21 +02:00
Sebastian Dröge
b62f435fd0
videoscale: Only convert one buffer instead of five
...
Should make the unit test a lot faster.
2010-06-14 16:02:13 +02:00
Sebastian Dröge
29fe8adea8
jsseek: Don't use deprecated GLib API
...
Fixes once again bug #605100 .
2010-06-14 11:20:35 +02:00
Sebastian Dröge
8ae112058c
videoscale: Add ffmpegcolorspace after videotestsrc for the unit test
2010-06-13 22:17:18 +02:00
Sebastian Dröge
3e708d8a9b
tests: Fix linking of the tags test
2010-06-13 18:27:19 +02:00
Sebastian Dröge
ac0f387add
icles: Only accept plain subtitles in the playbin-text icles test
2010-06-10 08:46:50 +02:00
Thiago Santos
491d025530
tag: exif: Adds new geo-location tag mappings
...
Adds mappings for:
GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION
GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
GST_TAG_GEO_LOCATION_MOVEMENT_SPEED
GST_TAG_GEO_LOCATION_ELEVATION
Does some refactoring in the code to reduce number of parameters
passed to functions
Tests included.
2010-06-09 16:26:43 -03:00
Thiago Santos
4418dc9cdf
tests: tag: Adds unit tests for exif helper lib
...
Adds some simple unit tests for exif helper lib functions
Fixes #614872
2010-06-09 16:26:42 -03:00
Sebastian Dröge
60f992707f
video: Fix unit test, the Y800 checks were not used before and were not working
2010-06-08 11:02:08 +02:00
David Schleef
84832877a6
tests: Add orc tests
2010-06-07 23:58:54 -07:00
Tim-Philipp Müller
3c39d99847
tests: fix memory leak in unit test
2010-06-05 18:08:02 +01:00
Tim-Philipp Müller
2c989ef3a7
tests: add small unit test for AC3 vs. JPEG typefinding issue
2010-06-05 17:24:45 +01:00
Tim-Philipp Müller
2c21340c79
examples: get the right Qt moc binary to use via pkg-config
...
Should make us do the right thing in cases where both Qt3 and Qt4
are installed.
Fixes #620211 .
2010-06-01 13:07:53 +01:00
Sebastian Dröge
303566654e
videoscale: Add a unit test for checking if the negotiation works as expected
2010-05-13 11:16:02 +02:00
Stefan Kost
8690945e35
examples: add a test for difference position formats
...
The test runs position and duration queries on the pipeline in all formats.
2010-05-06 08:22:36 +03:00
Stefan Kost
6380af9552
example: update status (adder is fixed now)
2010-05-06 08:22:36 +03:00
Stefan Kost
2c28b4e3f0
example: make app static
2010-05-06 08:22:36 +03:00
Thiago Santos
e879fc9ca3
tag: xmp: Adds new geo-location mappings
...
Adds GST_TAG_GEO_LOCATION_MOVEMENT_SPEED,
GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION and
GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION to xmp
mappings.
Tests included.
2010-05-03 14:14:25 -03:00
Thiago Santos
a20aa39fa3
tag: xmp: Adds xmp mappings for device tags
...
Adds xmp mappings for GST_TAG_DEVICE_MANUFACTURER and
GST_TAG_DEVICE_MODEL. Also adds tests for it.
2010-05-03 14:14:03 -03:00
Stefan Kost
a0a09227de
test: fix copy and paste error of variable name
2010-04-30 09:24:14 +03:00
Tim-Philipp Müller
b5f0b7c221
build: use LDADD instead of LDFLAGS to specify libs to link to when building executables
...
Use foo_LDADD instead of foo_LDFLAGS to specify the libraries to link to.
This should make sure arguments are passed to the linker in the right
order, and makes LDFLAGS usable again.
Based on initial patch by Brian Cameron <brian.cameron@oracle.com>
Fixes #615697 .
2010-04-14 14:08:15 +01:00
Thiago Santos
390b719e96
tests: tag: Refactor a bit
...
Refactor xmp tags unit tests and remove an useless assertion.
This will make easier to add unit tests to serialize/deserialize
taglists.
2010-04-04 22:34:19 -03:00
Tim-Philipp Müller
7d1c889956
examples: build silly joystick seek example only on linux
...
jsseek depends on linux headers and should therefore only be built
on linux.
Fixes #614764 .
2010-04-04 12:15:04 +01:00
Stefan Kost
2f16c5fd62
tests: extend audio-trickplay test app
...
Tell status in top comment. Use debug logging instead of print to be able to
see timing issue in debug log viewer. Add more commandline flags. Test reverse
playback.
2010-04-02 21:04:37 +03:00
Sebastian Dröge
a8574bd53d
seek: Only use embed_xid if HAVE_X is defined
...
Fixes bug #614622 .
2010-04-02 18:58:06 +02:00
Edward Hervey
dcfeb6efbc
tests/basetime: Don't run test with osxaudiosrc
...
libcheck runs the actual tests in a forked process and that makes the guys
in Cupertino really sad.
2010-04-01 19:13:22 +02:00
Edward Hervey
e0c7452edf
tests: Unref the bus once we're done with it
2010-04-01 18:51:17 +02:00
Tim-Philipp Müller
fcd32fa399
examples: fix printf format warning in jsseek example
...
Yes, I know about G_GSIZE_FORMAT.
2010-03-30 20:21:28 +01:00
Jan Schmidt
cec360b397
examples: Add a silly joystick based shuttle example
2010-03-30 21:56:03 +11:00
Tim-Philipp Müller
e1f38a685b
build: build plugin and example directories in parallel if make -jN is used
...
We know our plugins and examples are independent of each other, so may
just as well build them in parallel. Makes the output a bit messy, but
that shouldn't be a problem and can easily be avoided with make -j1.
2010-03-29 00:26:59 +01:00
Tim-Philipp Müller
37d000d175
xoverlay: change new set_render_rectangle() vfunc to take four arguments so we don't depend on libgstvideo
...
Don't make libgstinterfaces (and thus libgstaudio etc.) indirectly depend
on libgstvideo by using the GstVideoRectangle helper structure in the API,
which causes undesirable dependencies, esp. with the gobject-introspection
(people will point and laugh at us if they find out that libgstaudio
depends on libgstvideo). Instead, pass the x, y, width and height parameters
directly to the function.
Re-fixes #610249 .
2010-03-28 20:21:10 +01:00
Thiago Santos
8fda870b29
tag: xmp: Adds _USER_RATING mapping for xmp
...
Adds a new mapping for _USER_RATING on xmp helper lib
and also adds tests for it
2010-03-24 15:34:52 -03:00
Thiago Santos
007bf4fe7c
tag: xmp: Add Elevation tag mapping
...
Adds a mapping to the _ELEVATION tag, this is a different
mapping as it has to be mapped into exif:GPSAltitude and
exif:GPSAltitudeRef at the same time. So we needed to refactor
a little more to be able to deserialize it properly.
Now, when parsing a xmp buffer into a taglist all tags are
added to a list before being parsed so that when one of the
altitude tags are found the deserialization function can search
for its complementary tag to do the correct parsing
Fixes #613690
2010-03-24 15:34:40 -03:00
Thiago Santos
7ebbfbd3a5
tag: xmp: Adds mappings for LATITUDE and LONGITUDE
...
Adds the mappings for those tags and tests
for tags serialization.
Fixes #613690
2010-03-24 15:33:16 -03:00
Wim Taymans
496444c980
seek: parse more info from the buffering query
...
Parse more info from the buffering query and log this as debug info.
2010-03-24 18:55:25 +01:00
Tim-Philipp Müller
58a92964c6
build: Makefile.am fixes
...
Mostly just add missing $(GST_BASE_CFLAGS), but also fix up order
of flags (see docs/random/moving-plugins).
2010-03-19 01:00:36 +00:00
Tim-Philipp Müller
73b24098a2
.gitignore: ignore new unit test binary
2010-03-19 00:55:46 +00:00
Thiago Santos
433f18db8e
tests: capsfilter-renegotiation: Adds a new unit test
...
Adds a new test for checking that capsfilter 'caps' property
changes cause caps renegotiation on the pipeline.
2010-03-17 16:33:04 -03:00
Benjamin Otte
3bd4aa26ff
Add -Wwrite-strings to configure
...
Fixes for the code included
2010-03-16 17:41:51 +01:00
Benjamin Otte
5e21fa5e0e
gst_element_class_set_details => gst_element_class_set_details_simple
...
Also change my email from the old university one to the current one.
2010-03-16 17:41:50 +01:00
Tim-Philipp Müller
444762a877
tests: fix videorate test
...
Fix up videorate test for latest videotestsrc changes: just check for
the important bits in the negotiated caps, not for exact equality with
our filter caps. Also don't leak the videorate element in the test.
2010-03-16 01:08:48 +00:00
Stefan Kost
412e5f5871
tests: update videorate test for videotestsrc changes
...
Add color-matrix to the caps we are comparing. Add logging og the caps in the
test.
2010-03-15 11:43:23 +02:00
Tim-Philipp Müller
4def141e86
tests: make Gtk+ test programs compile with -DGSEAL_ENABLE
...
Fixes #612552 , at least for now.
2010-03-14 22:48:00 +00:00
Edward Hervey
e22741f1dd
tests: Fix another unitialized variable
2010-03-11 16:35:10 +01:00
Edward Hervey
d91a466dd5
tests: Fix unitialized variable.
2010-03-11 16:09:26 +01:00
Benjamin Otte
43b1683421
Add -Wmissing-declarations -Wmissing-prototypes to warning flags
...
Includes all the fixes necessary to make stuff compile again.
2010-03-11 13:50:31 +01:00
Benjamin Otte
9b5ef584e2
check: Ref buffers after setting caps on them
...
Reffing makes metadata unwritable, so we need to set the caps before.
2010-03-11 12:18:50 +01:00
Tim-Philipp Müller
8697324e07
tests: don't use Gtk+ 2.18 API for no good reason
...
The rest of the code directly uses widget->allocation as well, so no point
in using the new API in other places.
2010-03-11 10:40:59 +00:00
Stefan Kost
944558971d
tests: add a test for trickplay in audio synthesis graphs
...
Right now this mostly demonstatest what not works. That is seeking with
start-type = NONE to only update the rate and playing backwards. Also
it shows that non-flushing seeks tend to lockup adder. Separate unit tests
for the issues follow.
2010-03-11 10:53:05 +02:00
Stefan Kost
8551c49ff9
tags: add basic xmp metadata support
...
XMP metadata can be embedded in many media container formats. Implement own
parser and formatter that can be used to convert between an xpacket and a
GstTagList. Add unit tests.
2010-03-11 10:52:56 +02:00
Stefan Kost
91fbd42094
example: add an example for xoverlay::set_render_rectangle()
...
This add a new example which animates a target recangle for the video.
2010-03-11 10:24:58 +02:00
Mark Nauwelaerts
66c1292cac
tests: enable strict discontinuity checking on vorbisdec pipeline
...
Closes #423086 .
2010-03-10 11:24:28 +01:00
Tim-Philipp Müller
c681ecab9f
tests: fix typo in videorate unit test pipeline description
...
Two consecutive ! ! leave a 'Link without source' error in the debug log.
2010-03-10 00:59:10 +00:00
Tim-Philipp Müller
f7ca667189
tests: don't use deprecated functions in videorate unit test
2010-03-10 00:59:10 +00:00
Sebastian Dröge
d5a4ca9962
build: Make some more rules silent if requested
2010-03-09 21:01:38 +00:00
Tim-Philipp Müller
c43dec83af
examples: make sure to dist qtgv-xoverlay.h header file
...
This time for real.
Fixes #610832 .
2010-03-08 17:07:57 +00:00