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
Thiago Santos
8818ea08bd
tests: rtp: No need to unref buffer from bufferlist
...
Buffers obtained from buffer list iterators don't need to
be unreffed.
Test was failing due to this.
2010-10-06 16:19:49 -03:00
Wim Taymans
77c78a6a9d
check: fix rtp checks
...
Fix the checks for the extension support in RTP.
2010-10-05 17:13:09 +02:00
Wim Taymans
574ea62ae9
seek: fix position reporting
2010-10-05 16:36:24 +02:00
Olivier Crête
96aa439867
tests: Test the manipulations of bufferlists containing RFC 5285 header extensions
2010-10-05 16:19:14 +02:00
Olivier Crête
7612c137bd
tests: Add test for RTP header extension functions
2010-10-05 16:19:14 +02:00
Edward Hervey
8fe046c48d
seek: Fix debug statement argument type
2010-09-29 12:33:44 +02:00
Thiago Santos
97d49406dc
More makefile Fixes
...
Removing some not needed lines added in the last makefile
fixes commit (previous commit).
Also adds some more makefile files to check tests
2010-09-28 09:58:15 -03:00
Thiago Santos
5dadd667fa
Fixing Makefiles
...
Adds some missing lines to makefiles
2010-09-28 08:51:59 -03:00
Vladimir
9280c2c62b
seek: Add #define for seekbar granularity
...
Fixes #630496
2010-09-24 16:33:31 +02:00
Tim-Philipp Müller
d236f9185f
.gitignore: ignore new appsrc unit test
2010-09-24 12:19:43 +01:00
Thiago Santos
10f0319d62
tags: exif: Add mapping for _HORIZONTAL_ERROR
...
Maps GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR to the
GPSHPositionError tag in exif.
Tests included.
2010-09-23 10:16:07 -03:00
Thiago Santos
24b523e129
appsrc: Do not override buffer caps if appsrc caps is null
...
Make appsrc not set caps on buffers when its own caps is NULL.
This avoids calling make_metadata_writable on all buffers and
prevents losing buffer caps in case we are not replacing it
with something meaningful.
https://bugzilla.gnome.org/show_bug.cgi?id=630353
2010-09-23 08:23:47 -03:00
Wim Taymans
b0ad8467dd
examples: add synchronized playback and capture example
...
Add an example that demonstrates synchronized playback and capture.
2010-09-16 19:22:09 +02:00
Thijs Vermeir
2a868b70ec
tests: use gst-check API in videotestsrc
...
use gst_check_drop_buffers in videotestsrc to
clear the global buffers list.
2010-09-16 15:07:15 +02:00
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