Commit graph

909 commits

Author SHA1 Message Date
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
Götz Waschk 6de021c56e examples: Dist header file for the Qt graphics view example
Fixes bug #610832.
2010-02-23 16:59:27 +01:00
Thiago Santos e5f96a7a19 videorate: tests: New unit tests for upstream caps nego
Adds unit tests that check videorate's upstream caps
negotiation works properly (put passthrough caps
first)

Fixes #608025
2010-02-22 17:27:52 -03:00
Stefan Kost 1b41c2696d examples: also add sink detection and set title to qt examples
Also set a title in the qt examples like it is now done in the gtk example.
Fix the newly added find_video_sink in the gtk example and add similar function
to the qt examples.
2010-02-22 14:02:24 +02:00
Stefan Kost 236b707cd2 gitignore: ignore files in new example directroy 2010-02-22 13:04:43 +02:00
Tim-Philipp Müller 094a05b06a Ignore new overlay examples 2010-02-19 00:18:00 +00:00
Tim-Philipp Müller 590bc917a2 examples: don't hard-code xvimagesink for Gtk+ GstXOverlay example
Try to find a working videosink, don't hardcode xvimagesink. Also
add some borders to window and give it a title so that it's clear
that this is really a Gtk+ window and not a window created by the
videosink.
2010-02-18 23:47:35 +00:00
Stefan Kost 54094cd9ce examples: add video overlay examples for gtk, qt and qt graphics view
Add simple videotestsrc ! xvimagesink examples using gtk and qt. This patch also
adds all boilerplate to configure for using c++. The qt based examples are
optional like their gtk counterparts.
2010-02-17 09:48:10 +02:00
Stefan Kost 432790c4ff test-colorkey: remove the XInitThreads()
We don't do this is any other example, this should be done for us in gdk it if
would be needed.
2010-02-16 18:05:40 +02:00
Sebastian Dröge 40a841e377 playbin: Fix the primary-decoder-missing test with USE_DECODEBIN2 2010-02-15 10:23:13 +01:00
Sebastian Dröge b326b77ffa playbin2: Enable all unit tests
They're all working and valgrind clean now.
2010-02-15 08:28:24 +01:00
Sebastian Dröge ad9830f547 tests: Add decodebin2 test to .gitignore 2010-02-15 06:50:29 +01:00
Sebastian Dröge 93d7bd2c43 decodebin2: Add simple unit test, mainly a copy of the decodebin unit test
The only difference between the two unit tests right now is,
that the decodebin2 test resets the element to READY before trying
to reuse it instead of NULL. decodebin2 guarantees to be reusable
without going back to NULL.
2010-02-15 01:21:14 +01:00
Sebastian Dröge b029c30aa0 playbin2: Enable playbin2 unit test
It now contains a single working unit test and can be enabled.
The other more useful unit tests still need fixing.
2010-02-14 23:10:06 +01:00
Sebastian Dröge 52a34b65b5 playbin: Fix indention in the unit test 2010-02-14 22:16:31 +01:00
Benjamin Otte 6d03489813 build: link to libm in examples that use it
This fixes build failure in Fedora 13.
2010-02-12 10:26:12 +01:00
Mark Nauwelaerts 0afe00f290 stress-playbin: fix error return check 2010-01-14 10:46:21 +01:00
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
Wim Taymans 66c388a0e0 rtp: add bufferlist support 2009-06-18 18:51:04 +02:00
Sebastian Dröge 79adfa544d Don't use deprecated GTK API
Fixes bug #585758.
2009-06-15 11:07:10 +02:00
Sebastian Dröge 81a0a98611 Don't use deprecated GTK API
Fixes bug #585758.
2009-06-14 20:32:03 +02:00
Wim Taymans 22cdc527a5 seek: add shuttle controls 2009-06-12 13:55:33 +02:00
Wim Taymans 8e71d0587b example: fix compile 2009-06-12 13:55:02 +02:00
Wim Taymans 54dc7b963f examples: build the stepping2 example 2009-06-12 13:52:25 +02:00
Tim-Philipp Müller 40bea96ff6 subparse: recognise more subrip timestamp variants
Be even less restrictive in what we accept for .srt timestamps when
typefinding and parsing subrip subtitles and add a unit test for
the 'new' format. Fixes #585197.
2009-06-10 14:41:41 +01:00
Wim Taymans d3d661ec7f examples: add stepping example in PLAYING
Add stepping example in PLAYING, audio is a bit distorted because basesink does
not provide good clipping info yet.
2009-06-08 16:41:58 +02:00
Wim Taymans bed4546fe0 ignore: add new stepping app to ignore 2009-06-03 15:52:54 +02:00
Wim Taymans 1ed7c25cfb examples: add stepping example.
Add an example of using playbin2 and frame stepping to simulate variable rate
playback based on a sine wave.
2009-06-03 15:31:27 +02:00
Wim Taymans ea97973efe add framestepping to playbin2 and seek 2009-06-01 11:31:49 +02:00
Stefan Kost 5f69ffea56 seek: add volume label and sync with sink volume
Look at the volume and have the pulsemixer open at same time. Unfortunately
playbin2 does not emit notify on volume right, so this polls for now.
2009-05-28 09:49:29 +03:00
Stefan Kost a3670c67fa seek: ui improvements
Repaint the window black on expose, as this looks nicer when resizing or using
the expander. Also show time after slider, as this saves a whole line (nice on
small displays).
2009-05-19 16:49:35 +03:00
Stefan Kost 98c93d6722 seek: use parser for mp3 and rename variable 2009-05-18 21:22:36 +03:00
Wim Taymans 46562ff1ca seek: add playbin2 options in expander
Add the playbin2 stream selection options inside an expander to preserve some
space on screen.
2009-05-18 11:08:56 +02:00