Commit graph

199 commits

Author SHA1 Message Date
Sebastian Dröge
bf08ca7020 Merge branch 'master' into 0.11 2011-05-26 13:54:09 +02:00
Vladimir Eremeev
4c8fd85e8e seek: set selected/default audio/video sinks on playbin and playbin2
https://bugzilla.gnome.org/show_bug.cgi?id=630322
2011-05-25 19:36:02 +01:00
Tim-Philipp Müller
2b12546e02 seek: add --audiosink and --videosink command line options 2011-05-25 19:25:34 +01:00
Tim-Philipp Müller
ee6fbc2874 seek: use the right GDK defines to differentiate between the backends 2011-05-25 19:25:34 +01:00
Tim-Philipp Müller
2ff8c8777f seek: use gst_filename_to_uri() to convert a filename to a uri 2011-05-25 19:25:34 +01:00
Vladimir Eremeev
882ffb3b5b seek: make seek example work in win32
https://bugzilla.gnome.org/show_bug.cgi?id=630322
2011-05-25 19:25:34 +01:00
Sebastian Dröge
318ed07598 Revert "-base_port to new query API"
This reverts commit c9f4e0676b.
2011-05-17 11:25:31 +02:00
Wim Taymans
c9f4e0676b -base_port to new query API 2011-05-10 18:39:07 +02:00
Wim Taymans
556afdef97 message: don't acces the structure directly 2011-05-10 13:35:49 +02:00
Wim Taymans
ec57868488 -base: don't use buffer caps
Port to newest 0.11 core API, remove GST_PAD_CAPS and GST_BUFFER_CAPS.
2011-05-09 13:05:12 +02:00
Sebastian Dröge
352edd1dd9 Merge branch 'master' into 0.11 2011-04-16 09:12:31 +02:00
Tim-Philipp Müller
05dce4e2ac tests: fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
2011-04-14 00:24:26 +01:00
Wim Taymans
40dc12da3a tests: work on porting the unit tests 2011-03-28 14:12:24 +02:00
Bastien Nocera
74375d258e examples: allow building with newer GTK+
GtkFunction is gone, and there's no update policies for
GtkRanges any more (but the default was continuous anyway,
so no need to set it to that mode explicitly).

https://bugzilla.gnome.org/show_bug.cgi?id=639215
2011-01-11 15:08:06 +00:00
Wim Taymans
8945ce0958 seek: don't pause for live buffering messages 2010-12-21 13:39:26 +01:00
Matthias Clasen
bb7e76e889 examples: update some more code for new Gtk+ API, with fallback for older Gtk+ versions
Move code to new Gtk+ 3.x / 2.9x API. We have defines in place
already that make this code work fine on older Gtk+ 2.x.

https://bugzilla.gnome.org/show_bug.cgi?id=632653
2010-10-30 16:06:47 +01:00
Sebastian Dröge
9f9e5f80aa seek: Define the new combobox API to the old functions if using older GTK
https://bugzilla.gnome.org/show_bug.cgi?id=632653
2010-10-30 15:55:34 +01:00
Sebastian Dröge
10c693c696 seek: The new combo box text API is available since 2.23.0 and 2.91.1
Only use it conditionally.
2010-10-21 21:03:34 +02:00
Matthias Clasen
95db070470 seek: Don't use deprecated combo box text API
Fixes bug #632653.
2010-10-21 21:03:34 +02:00
Wim Taymans
574ea62ae9 seek: fix position reporting 2010-10-05 16:36:24 +02:00
Edward Hervey
8fe046c48d seek: Fix debug statement argument type 2010-09-29 12:33:44 +02:00
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