Commit graph

673 commits

Author SHA1 Message Date
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
Jan Schmidt
63c9ede3d0 Extend and clean up git ignores 2009-01-23 23:16:11 +00:00
Sebastian Dröge
5dfcb63252 Rename files and types from speexresample to audioresample
Rename files and types from speexresample to audioresample
to finish the move and to prevent any confusion.
2009-01-23 12:33:41 +01:00
Wim Taymans
9ce042e2a7 Avoid overflows in the padding checks by doing the check slightly
differently.
Add a unit test to check for correct behaviour.
2009-01-21 13:09:29 +01:00