Wim Taymans
59113af604
Use the new GstSample for snapshots
...
Make appsink return a GstSample. Remove the pull_buffer_list method because it
is not very useful anymore.
Pass GstSample to the conversion function.
Update playbin2 and examples
2011-12-01 16:53:11 +01:00
Wim Taymans
552e825b4f
fix includes for moved interfaces
2011-11-30 07:23:47 +01:00
Tim-Philipp Müller
4b0dce5148
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst-libs/gst/audio/Makefile.am
gst-libs/gst/audio/audio.h
tests/examples/seek/jsseek.c
tests/examples/seek/seek.c
tests/icles/test-colorkey.c
2011-11-13 13:36:29 +00:00
Tim-Philipp Müller
12aab2cdcc
tests: require Gtk+ 3.0 for examples and Gtk-based test apps
...
The Gtk+ dependency is entirely optional, we're just not
supporting Gtk+ 2.x any longer.
2011-11-12 15:51:52 +00:00
Wim Taymans
d77c8cafee
Merge branch 'master' into 0.11
...
Conflicts:
common
ext/pango/gsttextoverlay.c
gst-libs/gst/video/video.c
2011-11-09 12:11:59 +01:00
Tim-Philipp Müller
c6c6c2e75e
examples: sprinkle GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS in seek test utility
...
https://bugzilla.gnome.org/show_bug.cgi?id=630497
2011-11-07 23:41:33 +00:00
Wim Taymans
7012e88090
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/audio/audio.h
gst-libs/gst/audio/gstaudiodecoder.c
gst-libs/gst/audio/gstaudiodecoder.h
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/audio/gstbaseaudioencoder.h
gst/playback/Makefile.am
gst/playback/gstplaybin.c
gst/playback/gstplaysink.c
gst/playback/gstplaysinkvideoconvert.c
gst/playback/gstsubtitleoverlay.c
gst/videorate/gstvideorate.c
gst/videoscale/gstvideoscale.c
win32/common/libgstaudio.def
2011-09-06 15:24:32 +02:00
Jan Schmidt
33d491a04f
seek: Accept pipeline descriptions for audiosink/videosink
...
Make the element_factory_make_or_warn utility function try parsing
the input string as a bin if element_factory_make() fails. This makes
the --audiosink/--videosink commandline options accept a pipeline
string.
2011-08-30 18:21:31 +10:00
Wim Taymans
7a23448649
seek: fix playbin2 setup
2011-08-19 17:05:42 +02:00
Tim-Philipp Müller
301bd8b0bf
videooverlay: add convenience API to check if a message is a prepare-window-handle message
...
API: gst_is_video_overlay_prepare_window_handle_message()
2011-08-08 14:41:17 +01:00
Tim-Philipp Müller
789e325678
tests: update for GstXOverlay => GstVideoOverlay
2011-08-08 14:12:15 +01:00
Tim-Philipp Müller
bfd083175b
tests: update for query API changes
2011-07-27 01:18:19 +01:00
Wim Taymans
6633910500
seek: wait for the spinbutton widget
...
Wait for the spinbutton widget before trying to update it when the volume
changed callback is called.
2011-06-22 12:57:46 +02:00
Wim Taymans
60a5965379
seek: cleanup and use playbin after rename
...
Remove the static pipelines and other unused things
Use playbin
2011-06-15 13:01:34 +02:00
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
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
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
a8574bd53d
seek: Only use embed_xid if HAVE_X is defined
...
Fixes bug #614622 .
2010-04-02 18:58:06 +02: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
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