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
Tim-Philipp Müller
a18128a3f6
tests: fix audioresample unit test on big endian architectures
...
Don't hardcode endianness=1234 in the filtercaps, it will cause
pad link failures which will result in the test timing out.
2009-05-12 23:51:08 +01:00
Jan Schmidt
e25f281de8
check: Disable the playbin2 for this release, as it is a bit racy.
...
Disable the test, as per the discussion in #580120 . Needs re-enabling
after the release, when playbin2 is fixed.
2009-04-24 18:13:22 +01:00
Tim-Philipp Müller
8efe6108c4
cddabasesrc: fix posting of discid tags after MERGE_MODE_REPLACE_ALL changes in core
...
Don't use REPLACE_ALL merge mode when that's not really what we want,
as now that REPLACE_ALL actually does what it's supposed to do in
core, we drop tags we wanted to keep, such as the various disc id
tags. Add unit test for this as well. Fixes #579463 .
2009-04-19 18:15:28 +01:00
Jan Schmidt
a8e3b4cacb
check: Add GST_VIDEO_FORMAT_YVYU to the test so it passes.
2009-04-16 00:41:42 +01:00
Jan Schmidt
2f01e624f5
check: Fix the input uri in playbin2 test.
...
Don't try and use a random file in wim's home directory as a test input
2009-04-16 00:41:42 +01:00
Wim Taymans
db20c378e7
seek: handle clock-lost messages
...
When we receive a clock-lost message we need to pause and play to select a new
clock.
2009-04-10 14:12:53 +02:00
Wim Taymans
4f89685217
check: add a unit test for playbin2
...
Add unit test for playbin2 and include the refcount test in #577794 .
2009-04-10 13:44:40 +02:00
Wim Taymans
4cdfc4b900
check: fix appsink test
...
Fix the appsink test now that the method signature changed.
2009-04-10 12:27:53 +02:00
Jan Schmidt
033e654172
navigation: Extend the navigation interface
...
Add support for a set of standard commands that can be queried and executed to
support applications like DVD. Add query construction and parsing functions.
Add new messages that can be sent on the bus to provide notifications related
to commands, multiangle changes, and button highlight activity.
Add some helper functions to parse the existing GstNavigation events that
elements might receive.
Document it all and add unit tests.
2009-04-02 12:21:18 +01:00
Jan Schmidt
df660e91c2
ignores: Ignore the videoscale check binary
2009-04-02 12:18:07 +01:00
Tim-Philipp Müller
d271c8de53
audioresample: fix negotiation so that upstream can actually fixate to downstream's rate
...
If one side has a preference for a particular sample rate or set of sample rates, we
should honour this in the caps we advertise and transform to and from, so that elements
actually know about the other side's sample rate preference and can negotiate to it
if supported. Also add unit test for this.
2009-04-01 15:36:38 +01:00
Sebastian Dröge
5545a9704e
videoscale: Add some more unit tests
2009-03-28 12:48:04 +01:00
Sebastian Dröge
8bb44e0f32
videoscale: Add a lot of unit tests
2009-03-28 10:25:12 +01:00
Wim Taymans
b6fdf68dc0
examples: use new method to set flags
...
Use the new core method for setting object enum properties by name.
2009-03-24 19:41:06 +01:00
Wim Taymans
c081c6b747
seek: print tags from the different tracks
2009-03-24 15:26:57 +01:00
Wim Taymans
20d0351b76
tests: print some more info in the text example
...
Print both the position and the running_time when the subtitle becomes available
in the application.
2009-03-23 16:59:36 +01:00
Wim Taymans
153e07e125
seek: Add some more debug
...
Add some more info about the selected streams.
2009-03-20 16:13:06 +01:00
Wim Taymans
6174a2643c
icles: print better error and warning messages
...
--
2009-03-18 10:45:50 +01:00
Wim Taymans
e8a9b98819
example: use appsink instead of fakesink
...
Use appsink instead of fakesink to get the subtitles.
Make things more pretty.
2009-03-17 11:30:58 +01:00
Wim Taymans
c1d6745c04
examples: add example of intercepting subtitles
...
Add an example of how to install a custom sink for receiving subtitles in
playbin2.
2009-03-17 11:24:00 +01:00
Wim Taymans
eb7b313369
tests: fix include in the appsink test
...
Fix dist by doing the right include.
2009-03-17 11:03:57 +01:00
Wim Taymans
ce9360b9fd
examples: fix g_object_set() value type.
...
Make sure we cast the length value as a gint64 to the vararg g_object_set() just
incase sizeof(gsize) != sizeof(gint64).
2009-03-16 15:31:44 +01:00
Jan Schmidt
8285d7fdb0
check: Ignore alsamixer in the states test too
2009-03-13 15:58:34 +00:00
Wim Taymans
44574b0ca6
examples: add some more sprinkle examples
...
Add some more sprinle examples and add some more comments.
See #574160 .
2009-03-05 12:43:02 +01:00
Wim Taymans
661f2da6e0
Appsink: add padding for callbacks + docs
...
Add some padding to the callbacks structure just to be safe.
Remove the now invisible marshaller methods from the docs.
Fix a comment in the unit test.
2009-02-26 11:42:44 +01:00
Wim Taymans
9899c1d5ce
sprinkle: Add another example app
...
Add an example app that dynamically adds and removes audiotestsrc elements from
adder.
2009-02-25 17:08:24 +01:00
Wim Taymans
7cdf04fe21
stress-playbin: print the current uri
...
Print the current uri so that we can more easily see what uri caused a crash or
error.
2009-02-25 12:07:43 +01:00
Wim Taymans
4d30e3ff2c
Print the errors more clearly
...
Print some more verbose messages when dealing with errors.
2009-02-25 11:07:20 +01:00
Mark Nauwelaerts
30f0b8171f
stress-playbin: make more flexible, e.g. also useful for playbin2
2009-02-24 13:30:07 +01:00
Sebastian Dröge
f14015567b
Correctly cast to GstBuffer * before passing to gst_buffer_(copy|unref)
2009-02-22 19:20:40 +01:00
Edward Hervey
83fe624025
tests: Fix indentation
2009-02-22 13:43:35 +01:00
Wim Taymans
e5d8551552
Add method to install callbacks on appsink
...
Based on pacth by Martin Samuelsson <martin dot samuelsson at axis dot com>
Fixes #571299 .
Add gst_app_sink_set_callbacks() to install a set of callbacks. This is a more
performant alternative to connecting to the signals.
Add a unit test for appsink.
Clean up some of the appsink docs.
API: GstAppSink::gst_app_sink_set_callbacks()
2009-02-19 10:44:31 +01:00
Tim-Philipp Müller
95d6fb0501
pbutils: remove duplicate detail strings when calling the external codec installer
...
It doesn't make sense to ask installers for the same codec or element twice, so filter out duplicate requests before calling the external helper script and make the unit test check this works right. Fixes #567636 .
2009-02-02 17:34:23 +00:00