Commit graph

724 commits

Author SHA1 Message Date
Tim-Philipp Müller fe970cb856 examples: use Gtk+-2.18 API conditionally
so the seek example and colorkey test work with older Gtk+ versions
as well.

Fixes #605960.
2010-01-04 09:49:25 +00:00
Tim-Philipp Müller 7388401f93 tests: fix colorkey test up for Gtk+ >= 2.18
Make test-colorkey work with newer versions of Gtk+.

See #601809.
2009-12-29 00:53:53 +00:00
Tim-Philipp Müller f82ac8bf44 examples: make seek example work with Gtk+ >= 2.18
Gtk+ broke API slightly with the introduction of
client-side windows in Gtk+ 2.18. Fix up seek
example to work with newer Gtk+ versions.

Fixes #601809.
2009-12-29 00:50:35 +00:00
Tim-Philipp Müller 234b18965d tests: fix warning and memory leak in stress-overlay test
Not all messages have structures and we need to unref messages
when returning GST_BUS_DROP in the sync bus handler.
2009-12-26 23:29:24 +00:00
Wim Taymans 59ace1b9ee adder: use collectpads clipping function
Install a clipping function in the collectpads and use the audio clipping helper
function to perform clipping to the segment boundaries.

Fixes #590265
2009-12-24 16:30:23 +01:00
Tim-Philipp Müller 6ce1ff2188 tests: don't use deprecated GLib API g_mapped_file_free
Fixes #605100.
2009-12-21 07:50:26 +00:00
Tim-Philipp Müller fc73a73f0a checks: some more testing for the new language code functions 2009-12-13 18:42:11 +00:00
Tim-Philipp Müller 088c7c07a2 tag: add some utility functions for language codes and tags
Add some utility functions for language tags and ISO-639
codes. These are useful for both GUIs and elements. The
iso-codes package is used for language name translations
if available.

API: gst_tag_get_language_codes()
API: gst_tag_get_language_name()
API: gst_tag_get_language_code()
API: gst_tag_get_language_code_iso_639_1()
API: gst_tag_get_language_code_iso_639_2B()
API: gst_tag_get_language_code_iso_639_2T()
2009-12-12 15:48:37 +00:00
Wim Taymans bc1302cf8e seek: update slider only 25 times a second
don't update the slider a 100 times a second, it's likely higher than the screen
framerate and just wastes cpu.
2009-12-08 17:37:56 +01:00
Stefan Kost 3d73a7458a adder: make events succeed, if they succed on atleast one pad 2009-11-19 21:28:23 +02:00
Jan Schmidt 36711ab477 video: Add functions to create/parse still frame events.
Add a new video event to mark the start or end of a still-frame
sequence, and a parser function to identify and extract info from
such events.
API: gst_video_event_new_still_frame()
API: gst_video_event_parse_still_frame()

Fixes: #601942
2009-11-18 00:10:57 +00:00
Sebastian Dröge d086c05c1f cddabasesrc: Add unit test for property settings
Also includes a regression test for bug #601104.
2009-11-09 18:12:15 +01:00
Mart Raudsepp e75da74a93 examples: Correct casting of g_signal* funcs first arguments
This completes the deprecated GTK API fix in commits 81a0a986 and
79adfa54 - unlike gtk_signal_connect and co, g_signal_connect and
co take a gpointer, not a GtkObject.
2009-11-06 12:37:03 +01:00
Tim-Philipp Müller 7a2427e8fb .gitignore: ignore basetime unit test binary 2009-10-28 01:01:35 +00:00
Wim Taymans 5cdbabbaac seek: add checkbox to enable buffering 2009-10-27 15:15:50 +01:00
Edward Hervey 05667813ad examples: fix linking order.
the uninstalled wrapper would create a LD_LIBRARY_PATH with system-wide
path before the local ones... resulting in the example applications picking
up the system-wide libraries and not the (potentially modified) uninstalled
libraries
2009-10-24 13:21:05 +02:00
Iago Toral f63643bd54 subparse: Add support for DKS subtitle format
Fixes bug #598936.
2009-10-22 10:02:11 +02:00
Jan Schmidt 4b84d7552f check: Don't fail the basetime test when no audiosrc is available
On OS/X the DEFAULT_AUDIOSRC is not going to be available, because
it isn't in gst-plugins-base. Just defer the test, instead of
failing it.
2009-10-15 10:28:39 +01:00
Tommi Myöhänen 5e8e7c0358 tests: new test for baseaudiosrc base_time comparison
This test reveals a bug in comparison operation between timestamp and
GstElement's base_time in GstBaseAudioSrc.
2009-10-13 19:17:49 +03:00
Jan Schmidt 34480029fb check: Add valgrind suppressions for ALSA and fontconfig bits on Jaunty. 2009-10-09 15:11:52 +01:00
Benjamin Otte 4db9487a1f tests/check/libs/video.c: Update strides for Y41B 2009-10-07 11:49:18 +02:00
Sebastian Dröge 901dbc6ab4 cddabasesrc: Fix string leaks in the unit test and a leak in cddabasesrc 2009-09-17 17:00:10 +02:00
Jonathan Matthew 6781c4c9c5 cddabasesrc: ignore URI fragments that look like device paths
Rhythmbox uses cdda:// URIs of the form cdda://track#device, which
worked before the fix for bug #321532.

Also adds a check for negative track numbers and some unit tests for URI
parsing.

Fixes bug #595454.
2009-09-17 17:00:10 +02:00
Jan Schmidt a9f815bd8d check: Improve audioresample test
Make the audioresample test work with CK_FORK=no, and
turn a g_print into a GST_INFO.
2009-09-11 21:44:18 +01:00
Sebastian Dröge 723b2baa5d volume: Implement GstStreamVolume interface 2009-09-11 16:37:35 +02:00
Wim Taymans 7ba0a36a07 seek: make stop state configurable
Make it easy to experiment with different stop states (NULL and READY)
2009-09-09 16:21:57 +02:00
Sebastian Dröge e22c843d0e audioresample: Add unit test for checking for timestamp drifts
This also checks for perfect timestamping and offsetting.
2009-08-26 09:10:18 +02:00
Sebastian Dröge 01408497a1 audioresample: Improve debugging a bit in the unit test 2009-08-26 09:10:18 +02:00
Tim-Philipp Müller 099989ff0f oggmux: don't drop the streamheader field from the output caps
Revert previous 'fix' for bug #588717 and fix it properly, whilst
maintaining the streamheader field on the output caps. Also make
sure we don't leak header buffers we couldn't push when downstream
is unlinked. Add unit test for the presence of the streamheader
field on the output caps and for the issue from bug #588717.
2009-08-20 13:14:19 +01:00
Sebastian Dröge 11ad341d35 streamheader: Fix caps leak in the vorbisenc unit test 2009-08-10 15:40:33 +02:00
Tim-Philipp Müller cc6e70e8ec checks: fix stream header unit test hanging in gst_task_cleanup_all()
Set pipelines to NULL state and unref when done.
2009-08-10 14:14:30 +01:00
Stefan Kost 513f375345 colorkey-test: fix xsync error 2009-08-06 15:09:44 +03:00
Tim-Philipp Müller e199d7e1cd typefinding: fix detection of fLaC id packet in broken flac-in-ogg
There are flac-in-ogg files without the usual flac packet framing
and these files just have a 4-byte fLaC ID packet as first packet.
We need to recognise the type just from these four bytes if we
want oggdemux to recognise these streams correctly.
2009-08-01 19:01:39 +01:00
Jan Schmidt d85a64f30b ignores: Ignore v4l probing example binary 2009-07-24 13:46:55 +01:00
Edward Hervey 9819a3519d tests/adder: Add stream consistency checking. Fixes #588748 2009-07-20 11:30:07 +02:00
Filippo Argiolas 57d8ba0fd2 examples: fix v4l probe example build
Fixes bug #588550.
2009-07-15 15:32:06 +02:00
Jan Schmidt de02af8d4f adder: One more attempt to fix the adder test
Give up and discard and recreate the alsasrc after checking it can
be opened, due to some strange crash inside alsa when we don't.
2009-07-14 15:31:13 +01:00
Jan Schmidt 7753d46350 adder: Perform get_state() in the unit test
Wait for the alsasrc to return to NULL after setting it to PAUSED for
testing, otherwise it leads to segfaults later on.
2009-07-14 15:06:41 +01:00
Jan Schmidt b26eae25d0 adder: Don't fail when alsasrc is unavailable
Make the liveadder test succeed silently when it can't be completed
either because alsasrc is unavailable, or because the device is
inaccessible.
2009-07-14 14:39:32 +01:00
Jan Schmidt 9af05c2e0f ignores: ignore the giosrc-mounting example binary 2009-07-13 17:58:01 +01:00
Filippo Argiolas f6360ee171 v4lsrc: add a simple test case for device probing 2009-07-13 16:15:44 +02:00
Wim Taymans 4e898a661a seek: don't automatically start pipeline in DB
Keep the pipeline paused when we detect download buffering. The user has to
manually start the pipeline for now because we can't estimate when the buffering
will finish or when we have underrun.
2009-07-10 21:29:51 +01:00
Wim Taymans 40f404ad90 seek: add a checkbox for progressive download 2009-07-10 20:26:23 +01:00
Stefan Kost 4736429c59 adder: skip live-seek text if we have no audiosrc, add new test
The seek-test needs a real audiosrc. Also add a test that checks that adder is
reusable. Finaly handle warnings as warnings to fix a assertion.
2009-07-10 19:01:25 +01:00
Sebastian Dröge f98d0f8895 gio: Remove workaround for playbin2 bug in the sample application
The playbin2 bug was #588078.
2009-07-10 17:15:48 +02:00
Sebastian Dröge 8515117573 gio: Add example application that shows how to handle the "not-mounted" message 2009-07-10 11:42:51 +02:00
Sebastian Dröge 399d4fcbe7 gio: Try to reuse the pipeline with the same stream objects 2009-07-08 17:19:05 +02:00
Stefan Kost 92ecca7f24 adder: make test more robust
Add audioconverts to the live-seeking test to make it negotiate.
2009-07-06 20:44:00 +01:00
Branko Subasic 55a5679d89 Added unit tests for buffer list support in appsink. 2009-06-29 11:59:47 +02:00
Stefan Kost 6688af35eb adder: test seek handling in adder
This tests seeking on an adder that has a normal and a live source connected.
Wheter the current behavior is the desired one needs to be discussed still
(see #586033)
2009-06-22 22:18:03 +03:00