Commit graph

1382 commits

Author SHA1 Message Date
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
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
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
Tim-Philipp Müller
dd97ccc293 tests: the navigation interface isn't GstImplementsInterface-wrapped 2011-06-26 21:07:52 +01:00
Wim Taymans
6633910500 seek: wait for the spinbutton widget
Wait for the spinbutton widget before trying to update it when the volume
changed callback is called.
2011-06-22 12:57:46 +02:00
Wim Taymans
6b60a27aba Merge branch 'master' into 0.11
Conflicts:
	tests/examples/Makefile.am
2011-06-17 15:48:19 +02:00
Wim Taymans
3802d2365c test: port some more tests 2011-06-16 13:41:25 +02:00
Christian Fredrik Kalager Schaller
9994945e70 Add missing dist subdir 2011-06-15 14:49:41 +01:00
Wim Taymans
60a5965379 seek: cleanup and use playbin after rename
Remove the static pipelines and other unused things
Use playbin
2011-06-15 13:01:34 +02:00
Tim-Philipp Müller
a9e4949238 gnomevfs: remove GnomeVFS plugin
The gio plugin replaces it.
2011-06-15 00:52:47 +01:00
Tim-Philipp Müller
6b33226281 tests: fix up unit tests for playbin2/decodebin2 renames and updates
Even if they don't work yet.
2011-06-15 00:35:58 +01:00
Wim Taymans
40d567153a Merge branch 'master' into 0.11 2011-06-13 19:09:05 +02:00
Wim Taymans
9c54ca5254 -base: update for buffer API change 2011-06-13 16:32:56 +02:00
David Schleef
4db89c82bb convert M_PI to G_PI, for msvc 2011-06-10 23:56:34 -07:00
Wim Taymans
0ac9bb7d99 Merge branch 'master' into 0.11
Conflicts:
	tests/examples/audio/Makefile.am
	tests/examples/v4l/Makefile.am
2011-06-10 12:14:57 +02:00
Tim-Philipp Müller
c692191c33 GST_PLUGINS_BASE_LIBS is not defined in -base. 2011-06-08 12:21:43 +01:00
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
Tim-Philipp Müller
c092981b16 Remove v4l plugin
The old v4l interface has been deprecated for years and even
been removed from the kernel headers. If anyone still needs
this plugin, they can resurrect it in gst-plugins-bad, there's
no reason for it to be in -base.
2011-06-07 20:47:46 +01:00
Edward Hervey
4857f50aa4 check/vorbistag: Convert to new probe API 2011-06-03 19:28:33 +02:00
Edward Hervey
ca5a6a52f4 check/vorbisenc: Convert to new probe API 2011-06-03 19:28:33 +02:00
Edward Hervey
e3e4c28b39 check/oggmux: Convert to new probe API 2011-06-03 19:28:33 +02:00
Edward Hervey
e8d11f4ef7 check/playbin2: Update for caps and structure API changes 2011-06-03 19:28:32 +02:00
Edward Hervey
e367798945 check: Use new gst_event_new_segment() API 2011-06-03 19:28:32 +02:00
Edward Hervey
ac582227c1 examples: Link against proper libgstaudio
It was previously attempting to link against the non-local one.
2011-06-03 19:28:32 +02:00
Wim Taymans
f9967e4aac Merge branch 'master' into 0.11
Conflicts:
	gst-libs/gst/video/video.h
	gst/playback/gstplaysinkaudioconvert.c
	gst/playback/gstplaysinkvideoconvert.c
	tests/check/libs/rtp.c
2011-06-02 12:18:13 +02:00
Wim Taymans
f91c753959 probes: port to new API for blocking and probes 2011-06-01 19:34:54 +02: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
Sebastian Dröge
992e01eb63 audioconvert: Fix audioconvert unit test to work again 2011-05-27 12:13:32 +02:00
Sebastian Dröge
bf08ca7020 Merge branch 'master' into 0.11 2011-05-26 13:54:09 +02: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
Wim Taymans
e614c6bd81 feature: use object name instaed of feature name 2011-05-24 18:21:06 +02:00
Wim Taymans
489eed9bb8 Merge branch 'master' into 0.11 2011-05-19 11:31:53 +02: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
Sebastian Dröge
5348de76b1 tests: Update for caps/pad template related API changes 2011-05-17 13:06:01 +02:00
Sebastian Dröge
318ed07598 Revert "-base_port to new query API"
This reverts commit c9f4e0676b.
2011-05-17 11:25:31 +02:00
Sebastian Dröge
d0362c2b87 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	ext/alsa/gstalsasrc.c
	gst-libs/gst/audio/gstbaseaudiosink.c
	gst-libs/gst/tag/gstxmptag.c
	gst/playback/gstsubtitleoverlay.c
	gst/videorate/gstvideorate.c
	sys/xvimage/xvimagesink.c
2011-05-16 17:06:22 +02:00
Sebastian Dröge
7f6697020e tests: Update for negotiation related API changes 2011-05-16 15:35:41 +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
Wim Taymans
c9f4e0676b -base_port to new query API 2011-05-10 18:39:07 +02:00
Wim Taymans
556afdef97 message: don't acces the structure directly 2011-05-10 13:35:49 +02:00
Wim Taymans
ec57868488 -base: don't use buffer caps
Port to newest 0.11 core API, remove GST_PAD_CAPS and GST_BUFFER_CAPS.
2011-05-09 13:05:12 +02:00
Sebastian Dröge
130cb6b515 icles: Update for new GstIterator API 2011-05-05 16:04:11 +02:00
Sebastian Dröge
38f05ba0d4 capsfilter-renegotiation: Fix for the removal of the bufferalloc function 2011-05-05 15:30:53 +02:00
Thiago Santos
213050e53c tests: capsfilter-renegotiation: New renegotiation use cases
Adds some new tests for renegotiation use cases that would
use the new renegotiate event
2011-05-05 15:23:14 +02:00
Philippe Normand
081202b9d3 base: presets moved from $HOME/.gstreamer-0.11 to $HOME/.local/share/gstreamer-0.11 2011-05-03 09:49:46 +02:00
Wim Taymans
dae5dc1e65 tests: make unit tests compile 2011-04-29 13:48:39 +02:00
Wim Taymans
1514cd7b50 tests: fix test 2011-04-25 11:32:27 +02:00
Wim Taymans
079c152e62 Merge branch 'master' into 0.11
Conflicts:
	gst/videoscale/gstvideoscale.c
2011-04-25 11:20:45 +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
143c9a089e tests: Use G_DEFINE_TYPE instead of GST_BOILERPLATE 2011-04-19 14:22:46 +02:00
Sebastian Dröge
0759ce8533 Merge branch 'master' into 0.11 2011-04-18 13:23:32 +02: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
Sebastian Dröge
8eceb64b99 Merge branch 'master' into 0.11 2011-04-16 09:33:44 +02:00
Sebastian Dröge
352edd1dd9 Merge branch 'master' into 0.11 2011-04-16 09:12:31 +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
Wim Taymans
4007076b55 Merge branch 'master' into 0.11
Conflicts:
	ext/theora/gsttheoraenc.c
2011-04-06 16:33:56 +02: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
Wim Taymans
0f3fdf18e0 fix compilation after merge 2011-04-04 11:44:15 +02:00
Wim Taymans
da1c863711 Merge branch 'master' into 0.11
Conflicts:
	gst-libs/gst/tag/gstvorbistag.c
2011-04-04 11:31:33 +02:00
David Schleef
629cac4cad video: Fix height calculation for YUV9/YVU9 2011-04-01 13:55:56 -07:00
Wim Taymans
bae61bae48 fixes for new API 2011-03-31 18:40:48 +02:00
Wim Taymans
d96a8c1aa7 Merge branch 'master' into 0.11 2011-03-31 17:53:12 +02:00
Wim Taymans
730b87271c bufferlist: fixes for new API 2011-03-31 17:47:43 +02: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
Wim Taymans
adaf08f143 Merge branch 'master' into 0.11-fdo
Conflicts:
	gst-libs/gst/tag/gstxmptag.c
2011-03-30 20:23:54 +02:00