Commit graph

178 commits

Author SHA1 Message Date
Vladimir
9280c2c62b seek: Add #define for seekbar granularity
Fixes #630496
2010-09-24 16:33:31 +02:00
David Schleef
6dc02137fb xoverlay: Add guintptr versions of functions
And deprecate the gulong versions.  This is to support platforms
where sizeof(unsigned long) < sizeof(void *).  Fixes #627565.

API: Add gst_x_overlay_set_window_handle()
API: Deprecate: gst_x_overlay_set_xwindow_id()
API: Add gst_x_overlay_got_window_handle()
API: Deprecate: gst_x_overlay_got_xwindow_id()
API: Add GstXOverlay::set_window_handle()
API: Deprecate: GstXOverlay::set_xwindow_id()
2010-09-15 00:10:23 -07:00
Tim-Philipp Müller
a2cbc39a50 tests: fix passing of URIs containing '*' and '?' to the seek example
Only do wildcard expansion (why?!) on things that look like local
file paths. Fixes passing of URIs containing '*' and '?' (see #629212).
2010-09-09 20:52:17 +01:00
Philippe Normand
ad03838f55 seek: allow seeking behind the currently downloaded position. 2010-09-01 11:15:35 +02:00
Jan Schmidt
1f454b76cf examples/seek: Don't unpause on clock-lost unless playing
If the pipeline is paused by the user, don't pause/unpause
on clock-lost.
2010-08-04 21:46:56 +10:00
Jan Schmidt
344df0b217 jsseek: Set joystick io encoding to 'NULL'
Fix problems with newer glib reporting bad encodings on the binary
data emerging from the joystick device fd.
2010-07-30 22:30:16 +10:00
Sebastian Dröge
c1982cd6fe examples: Use cairo instead of to-be-deprecated GDK API
Fixes bug #625001.
2010-07-24 11:49:08 +02:00
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
Sebastian Dröge
29fe8adea8 jsseek: Don't use deprecated GLib API
Fixes once again bug #605100.
2010-06-14 11:20:35 +02: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
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
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
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
Benjamin Otte
3bd4aa26ff Add -Wwrite-strings to configure
Fixes for the code included
2010-03-16 17:41:51 +01: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
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
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
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
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
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
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
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
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
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
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
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
c081c6b747 seek: print tags from the different tracks 2009-03-24 15:26:57 +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
Alessandro Decina
8b0fadc2ff Make the seek and colorkey examples depend on gtk+-x11 as they use
Original commit message from CVS:
* configure.ac:
* tests/examples/seek/Makefile.am:
* tests/icles/Makefile.am:
Make the seek and colorkey examples depend on gtk+-x11 as they use
GDK_WINDOW_XID.
Fixes the build with gtk+-quartz.
2009-01-02 15:04:13 +00:00
Wim Taymans
029f358f80 tests/examples/seek/seek.c: Hook up the SKIP seek flag.
Original commit message from CVS:
* tests/examples/seek/seek.c: (do_seek), (stop_cb),
(skip_toggle_cb), (rate_spinbutton_changed_cb), (msg_segment_done),
(main):
Hook up the SKIP seek flag.
2008-12-11 10:28:43 +00:00
Stefan Kost
ca5d4c1fcb tests/examples/seek/seek.c: Don't crash when having no visualisations.
Original commit message from CVS:
* tests/examples/seek/seek.c:
Don't crash when having no visualisations.
2008-08-21 11:20:36 +00:00
Stefan Kost
99fdf0d770 tests/examples/seek/seek.c: Use 64 bit constant GST_CLOCK_TIME_NONE instead of plain -1.
Original commit message from CVS:
* tests/examples/seek/seek.c:
Use 64 bit constant GST_CLOCK_TIME_NONE instead of plain -1.
2008-07-24 13:19:26 +00:00
Sebastian Dröge
e4a3ac2c8c tests/examples/seek/Makefile.am: Fix out of tree build by adding all required CFLAGS.
Original commit message from CVS:
* tests/examples/seek/Makefile.am:
Fix out of tree build by adding all required CFLAGS.
2008-07-07 17:25:41 +00:00
Stefan Kost
2734b6da77 ChangeLog: ChangeLog surgery.
Original commit message from CVS:
* ChangeLog:
ChangeLog surgery.
* tests/examples/seek/seek.c:
Move variable into ifdef too.
2008-06-27 07:55:40 +00:00
Stefan Kost
724c8a3711 tests/examples/seek/seek.c: Include config.h and check if we have X. Fixes: #540334.
Original commit message from CVS:
* tests/examples/seek/seek.c:
Include config.h and check if we have X. Fixes: #540334.
2008-06-27 07:42:07 +00:00
Stefan Kost
0d4409ce49 tests/examples/seek/: Remove libgstvideo usage. Use gtk_get_option_group instead of gtk_init().
Original commit message from CVS:
* tests/examples/seek/Makefile.am:
* tests/examples/seek/seek.c:
Remove libgstvideo usage. Use gtk_get_option_group instead of
gtk_init().
2008-06-25 13:15:50 +00:00