Commit graph

547 commits

Author SHA1 Message Date
Sebastian Dröge
5dd8e9cdd4 examples: Port Qt examples to Qt5 2014-01-20 09:46:15 +01:00
Julien Isorce
973d1dcf39 examples/overlay: handle the case when xvimagesink is not found
So that ximagesink can have a chance to be found.
In qtgv-videooverlay.
2013-10-10 16:14:07 +01:00
Julien Isorce
e0dfbe9dfa examples/overlay: unref sink only when found
In gtk-videooverlay and qt-videooverlay examples.
2013-10-10 16:14:07 +01:00
Wim Taymans
2f2e3676b1 playback-test: wait for buffering after seek
Wait for buffering to finish before setting the element to the playing state
after a seek.
2013-03-15 10:12:23 +01:00
B.Prathibha
8afb9e896c tests: use g_timeout_add_seconds wherever possible.
https://bugzilla.gnome.org/show_bug.cgi?id=692613
2013-01-27 13:37:29 +00:00
Tim-Philipp Müller
e05abf0ef1 docs: fix up some more GstXOverlay -> GstVideoOverlay
https://bugzilla.gnome.org/show_bug.cgi?id=689740
2012-12-10 13:40:26 +00:00
Tim-Philipp Müller
bd22e3c7cb examples: don't use deprecated API 2012-11-17 00:26:45 +00:00
Tim-Philipp Müller
5f59b4f7ee Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Wim Taymans
3591df23b1 docs: playbin2 -> playbin 2012-10-09 12:20:10 +02:00
Wim Taymans
f70ebca937 tests: fix audio caps 2012-10-09 12:20:10 +02:00
Tim-Philipp Müller
06777095e8 examples: make snapshot example actually compile and work
https://bugzilla.gnome.org/show_bug.cgi?id=684063
2012-09-17 16:19:52 +01:00
Javier Jardón
f0d3f33540 tests/examples/snapshot/snapshot.c: get caps from the sample
pull-preroll signal returns a GstSample, not a GstBuffer

https://bugzilla.gnome.org/show_bug.cgi?id=684063
2012-09-17 16:05:37 +01:00
Mark Nauwelaerts
e491d24341 use gst_element_factory_get_metadata to replace obsolete API 2012-09-15 18:57:09 +02:00
Wim Taymans
24bab1e5a8 fix for appsink GstFlowReturn 2012-09-14 13:39:20 +02:00
Wim Taymans
acb3aeebd4 fix caps 2012-09-14 13:22:31 +02:00
Tim-Philipp Müller
fc37cf5779 Silence some 'variable may be used uninitialized' compiler warnings
when compiling with -DG_DISABLE_ASSERT
2012-08-08 10:19:20 +01:00
Tim-Philipp Müller
17c839c8a1 No statements with side-effects in g_assert() or g_return_*() please 2012-08-08 10:11:48 +01:00
Wim Taymans
9eb8b64bb0 playback-test: fix buffering query
It was using the wrong values from the buffering query.
2012-07-19 12:51:25 +02:00
Wim Taymans
c88b55c3a9 tests: update for step event changes 2012-07-18 17:50:28 +02:00
Tim-Philipp Müller
01270a447e examples: update for new force-aspect-ratio default 2012-06-29 11:46:23 +01:00
Tim-Philipp Müller
43e4b44bb1 uridecodebin, tests: update for gst_element_make_from_uri() changes 2012-06-23 14:55:31 +01:00
Wim Taymans
fcc1e1f457 update for bus api changes 2012-06-20 12:34:01 +02:00
Andreas Frisch
92c04f12cc fix compiler warning 2012-06-20 12:34:01 +02:00
Tim-Philipp Müller
d155b83d03 examples: make play button in playback test have focus after startup
So you can just press Enter to start playback.
2012-06-14 23:18:20 +01:00
Vincent Penquerc'h
f211cda2fc playback-test: expose seek snap flags
https://bugzilla.gnome.org/show_bug.cgi?id=676639
2012-06-11 12:35:24 +01:00
Tim-Philipp Müller
fa832bedb8 tests: don't use GstStructure API on tag lists 2012-05-26 19:56:48 +01:00
Andoni Morales Alastruey
e8355ce908 playback: Fix compilation with the GDK Quartz backend 2012-05-21 13:15:12 +02:00
Stefan Sauer
db3a4b424c playback-test: remove not needed state-change
We go back to paused if needed (scrubbing in paused) in stop_seek().
2012-05-21 11:38:09 +02:00
Vivia Nikolaidou
a5d8bce395 playback: Display subseconds as proper milliseconds instead of the last 2 digits of the milliseconds 2012-05-03 17:16:36 +02:00
Sebastian Dröge
69b18ab09d gst-libs: Remove interfaces libs and mixer/tuner interfaces
The navigation interface is now in the video library.
2012-04-13 13:14:13 +02:00
Alban Browaeys
6c8abf24cf libs: Link against internal tag library 2012-04-11 09:58:49 +02:00
Alban Browaeys
8e8c18233a pbutils: Link against internal gst video
Link pbutils and encoding tests against internal version of libgstvideo.
2012-04-11 09:56:17 +02:00
Sebastian Dröge
65307dd132 gst: Update versioning 2012-04-04 14:55:15 +02:00
Wim Taymans
345dc31f20 update for buffer api change 2012-03-30 18:15:30 +02:00
Sebastian Dröge
9e13d70b2c Merge remote-tracking branch 'origin/0.10'
Conflicts:
	gst-libs/gst/video/video-overlay-composition.c
	tests/check/libs/video.c
2012-03-29 15:00:22 +02:00
Sebastian Dröge
affd142d33 playback-test: Some minor grid layout improvements 2012-03-26 09:16:01 +02:00
Sebastian Dröge
5e87247937 playback-test: Make grid children sizes non homogeneous
This only takes space for no good reason and doesn't even look good.
2012-03-26 09:16:01 +02:00
Sebastian Dröge
07d41dd346 playback-test: Rename advanced playback to advanced seeking
It's about seeking, not general playback.
2012-03-26 09:16:01 +02:00
Wim Taymans
cc80ab6b2e tests: fix for caps _normalize changes 2012-03-12 12:22:54 +01:00
Sebastian Dröge
ac91f44747 playback-test: Link to libgstvideo too 2012-03-02 12:11:25 +01:00
Sebastian Dröge
32bb92f2fa Merge branch 'master' into 0.11
Conflicts:
	tests/examples/Makefile.am
	tests/examples/playback/playback-test.c
2012-03-02 12:07:22 +01:00
Sebastian Dröge
55ed216911 playback: Only requires GTK, not GTK-X11 2012-03-02 12:06:53 +01:00
Sebastian Dröge
06135dcf7b playback-test: Rename everything from seek to playback-test internally too 2012-03-02 12:01:37 +01:00
Sebastian Dröge
f8d67ef805 playback: Rename file from seek.c to playback-test.c 2012-03-02 11:58:30 +01:00
Sebastian Dröge
83e0c28488 examples: Move seek example into its own directory 2012-03-02 11:57:34 +01:00
Sebastian Dröge
f7939bb43f Merge branch 'master' into 0.11
Conflicts:
	NEWS
	RELEASE
	configure.ac
	docs/plugins/gst-plugins-base-plugins.args
	docs/plugins/gst-plugins-base-plugins.hierarchy
	docs/plugins/gst-plugins-base-plugins.interfaces
	docs/plugins/inspect/plugin-adder.xml
	docs/plugins/inspect/plugin-alsa.xml
	docs/plugins/inspect/plugin-app.xml
	docs/plugins/inspect/plugin-audioconvert.xml
	docs/plugins/inspect/plugin-audiorate.xml
	docs/plugins/inspect/plugin-audioresample.xml
	docs/plugins/inspect/plugin-audiotestsrc.xml
	docs/plugins/inspect/plugin-cdparanoia.xml
	docs/plugins/inspect/plugin-encoding.xml
	docs/plugins/inspect/plugin-ffmpegcolorspace.xml
	docs/plugins/inspect/plugin-gdp.xml
	docs/plugins/inspect/plugin-gio.xml
	docs/plugins/inspect/plugin-gnomevfs.xml
	docs/plugins/inspect/plugin-libvisual.xml
	docs/plugins/inspect/plugin-ogg.xml
	docs/plugins/inspect/plugin-pango.xml
	docs/plugins/inspect/plugin-playback.xml
	docs/plugins/inspect/plugin-subparse.xml
	docs/plugins/inspect/plugin-tcp.xml
	docs/plugins/inspect/plugin-theora.xml
	docs/plugins/inspect/plugin-typefindfunctions.xml
	docs/plugins/inspect/plugin-uridecodebin.xml
	docs/plugins/inspect/plugin-videorate.xml
	docs/plugins/inspect/plugin-videoscale.xml
	docs/plugins/inspect/plugin-videotestsrc.xml
	docs/plugins/inspect/plugin-volume.xml
	docs/plugins/inspect/plugin-vorbis.xml
	docs/plugins/inspect/plugin-ximagesink.xml
	docs/plugins/inspect/plugin-xvimagesink.xml
	gst-libs/gst/app/gstappsink.c
	gst-libs/gst/audio/mixer.c
	gst-libs/gst/audio/mixer.h
	gst-libs/gst/tag/gstxmptag.c
	gst-libs/gst/video/colorbalance.c
	gst-libs/gst/video/colorbalance.h
	gst/adder/gstadder.c
	gst/playback/gstplaybasebin.c
	gst/playback/gstplaybin2.c
	gst/playback/gstplaysink.c
	gst/videoscale/gstvideoscale.c
	tests/check/elements/videoscale.c
	tests/examples/seek/seek.c
	tests/examples/v4l/probe.c
	win32/common/_stdint.h
	win32/common/audio-enumtypes.c
	win32/common/config.h
2012-03-02 10:00:55 +01:00
Sebastian Dröge
87d41b87a0 seek: Add support for setting a subtitle URI 2012-03-01 13:24:45 +01:00
Sebastian Dröge
ad1b38a7f1 seek: Add support for changing the remaining playbin2 properties
Including video/audio/text sinks.
2012-03-01 12:52:21 +01:00
Sebastian Dröge
3d32372e8b seek: Add advanced seek ability
This allows to seek to a specific value in a specific format and
also lists the current position and duration in a specific format.
2012-03-01 10:49:42 +01:00
Sebastian Dröge
dbeeade504 seek: Some more variable moving 2012-03-01 10:49:42 +01:00
Sebastian Dröge
3e16ee0af1 seek: Move seek flags/settings into its own expander 2012-03-01 10:49:42 +01:00
Edward Hervey
59918e841f Suppress deprecation warnings in selected files, for g_value_array_* mostly 2012-02-27 14:28:15 +01:00
Sebastian Dröge
9a627ed071 seek: Let the XOverlay element handle events
Need for proper resizing.
2012-02-24 12:09:31 +01:00
Sebastian Dröge
8e46431836 seek: Use the same adjustment for the color balance scales as for the seek scale 2012-02-24 12:03:34 +01:00
Sebastian Dröge
c672ffea77 seek: Change the volume/mute widgets from the main thread
And also connect to notify::mute to get notified about mute changes.
2012-02-24 12:00:41 +01:00
Sebastian Dröge
ed25febef9 seek: Refactor and cleanup seek example application 2012-02-24 11:48:00 +01:00
Sebastian Dröge
e3a1535930 seek: Fix mistake in last commit 2012-02-23 14:46:07 +01:00
Sebastian Dröge
db66b501fe seek: The volume property signals are proxied in playbin2 since some time already 2012-02-23 13:39:33 +01:00
Sebastian Dröge
03eab90fe8 seek: Use colorbalance of playbin2 directly 2012-02-23 13:32:00 +01:00
Sebastian Dröge
3ab387cd91 seek: Directly use navigation interface on playbin2 2012-02-23 11:59:17 +01:00
Sebastian Dröge
99d7aa6556 seek: Directly use the XOverlay interface on playbin2 2012-02-23 11:43:09 +01:00
Sebastian Dröge
55aaec3102 seek: Make navigation/colorbalance settings work with non-playbin2 pipelines too 2012-02-22 15:52:04 +01:00
Sebastian Dröge
6aa08ec716 seek: Add checkboxes for the remaining playbin2 flags and refactor code a bit 2012-02-22 15:43:25 +01:00
Sebastian Dröge
8e36830dab seek: Only show colorbalance expander for playbin2 pipelines 2012-02-22 15:01:15 +01:00
Sebastian Dröge
d85a8a6e7e seek: Add UI for setting the colorbalance interface properties on playbin2 2012-02-22 14:58:38 +01:00
Wim Taymans
63f3f27164 update for new memory api 2012-02-22 02:05:24 +01:00
Wim Taymans
d2ea46cdbf Merge branch 'master' into 0.11
Conflicts:
	tests/examples/seek/seek.c
2012-02-21 10:01:30 +01:00
Stefan Sauer
0c85bb60ea seek: fix format strings 2012-02-20 20:39:59 +01:00
Sebastian Dröge
98b7177aa3 seek: Add support for sending navigation commands 2012-02-20 16:44:07 +01:00
Sebastian Dröge
a24c72ccca seek: Make the seek-bar insensitive for DVD menus 2012-02-20 15:29:49 +01:00
Sebastian Dröge
e87f71245f seek: Add support for the navigation interface 2012-02-20 14:57:36 +01:00
Sebastian Dröge
4262e93019 seek: Keep a reference to the xoverlay element 2012-02-20 14:57:11 +01:00
Sebastian Dröge
775d851d66 seek: Add window-embedding support for OS X/Quartz
osxvideosink implements the GstXOverlay interface since some time now.
2012-02-20 14:37:18 +01:00
Sebastian Dröge
662830c21d seek: Explicitely call gst_x_overlay_expose() from the GtkDrawingArea expose/draw signal 2012-02-20 14:09:28 +01:00
Edward Hervey
47fc70ea79 Suppress deprecations in selected files 2012-01-25 14:49:44 +01:00
Edward Hervey
629d734e83 Suppress deprecations in selected files 2012-01-25 12:51:46 +01:00
Wim Taymans
fcdc385aa1 port to new map API 2012-01-25 12:30:53 +01:00
Tim-Philipp Müller
5487cb98ef Replace deprecated GStaticMutex with GMutex 2012-01-22 22:52:28 +00:00
Tim-Philipp Müller
576bbb4fd8 Remove compatibility code cruft for old GLib versions 2012-01-18 17:22:21 +00:00
Sebastian Dröge
317894d314 gio: Move to gst subdirectory
It's a plugin without external dependencies now because we
unconditionally depend on GIO anyway.
2012-01-18 16:21:14 +01:00
Sebastian Dröge
7e022b21b6 audio: Remove testchannels example
It's not really relevant anymore
2012-01-05 10:34:24 +01:00
Tim-Philipp Müller
26e612aeda playback, mixerutils: gst_registry_get_default() -> gst_registry_get() 2012-01-02 14:32:11 +00:00
Wim Taymans
6b702c60bb use playbin instead of playbin2 2011-12-19 09:49:07 +01:00
Tim-Philipp Müller
fb6d09055a Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	ext/alsa/gstalsadeviceprobe.c
	ext/alsa/gstalsamixer.c
	ext/pango/gsttextoverlay.c
	ext/pango/gsttextoverlay.h
	gst-libs/gst/audio/gstaudiobasesink.c
	gst-libs/gst/audio/gstaudioringbuffer.c
	gst-libs/gst/audio/gstaudiosrc.c
	gst-libs/gst/video/Makefile.am
	gst-libs/gst/video/video.c
	gst/encoding/gststreamcombiner.c
	gst/encoding/gststreamsplitter.c
	gst/playback/gstplaybasebin.c
	gst/playback/gststreamsynchronizer.c
	gst/playback/gstsubtitleoverlay.c
	gst/playback/gsturidecodebin.c
	sys/xvimage/xvimagesink.c
	tests/examples/Makefile.am
	win32/common/libgstvideo.def

Video overlay composition disabled for now, needs
porting to buffer meta.
2011-12-08 01:19:03 +00:00
Tim-Philipp Müller
d59648a47f examples: fix build of fft example
Should link against our own libgstfft-0.10.
2011-12-06 15:01:05 +00:00
Tim-Philipp Müller
8b8dd06de4 examples: dist fft sub-directory 2011-12-05 15:37:04 +00:00
Tim-Philipp Müller
ff6cc8af82 tools, tests: g_thread_init() is deprecated in glib master
It's not needed any longer.
2011-12-04 17:16:36 +00:00
Stefan Sauer
5398950012 fft-example: re-add Makefile.am 2011-12-04 13:43:06 +01:00
Stefan Sauer
3fb41e2cc3 tests: add a test for fft result value-ranges
Add a small example that uses ffts of various types and parameters and check the
result value ranges.
2011-12-02 23:34:47 +01:00
Tim-Philipp Müller
177525f89f Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	gst-libs/gst/netbuffer/gstnetbuffer.c
	gst/ffmpegcolorspace/avcodec.h
	gst/ffmpegcolorspace/gstffmpegcodecmap.c
	gst/ffmpegcolorspace/imgconvert.c
	gst/ffmpegcolorspace/imgconvert_template.h
	gst/ffmpegcolorspace/mem.c
	gst/playback/README
	gst/playback/gstplaybasebin.c
	gst/playback/gstplaybasebin.h
	gst/playback/gstplaybin.c
	sys/v4l/v4lmjpegsrc_calls.c
	sys/v4l/videodev_mjpeg.h
	tests/check/elements/gnomevfssink.c
2011-12-02 11:10:17 +00:00
Piotr Fusik
14644457b0 various: typo fixes
Fix typos in code and docs. Fixes. #658984
2011-12-02 12:03:27 +01:00
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
Edward Hervey
a3b272f0a3 tests: More fixes for moved interfaces 2011-11-29 19:31:55 +01:00
Wim Taymans
871b306fce video: move some interfaces
Move some interfaces to the video library
2011-11-29 19:10:01 +01:00
Wim Taymans
7402d3a3d2 update for _get_caps() -> _query_caps() 2011-11-15 18:04:17 +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
Stefan Sauer
9b96b1a58c build: add audio libs (pulled by pbutils) to avoid linking against system version 2011-11-04 15:37:42 +01:00
Wim Taymans
cf8481b990 fix pad template names for request pads 2011-11-04 10:49:48 +01:00
Wim Taymans
57fe2addef update for request pads change. 2011-11-03 17:58:57 +01:00
Wim Taymans
016d036137 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	gst-libs/gst/audio/gstbaseaudiosink.c
	gst/audioconvert/channelmixtest.c
	gst/playback/gstplaybasebin.c
	gst/playback/gstsubtitleoverlay.c
	tests/examples/Makefile.am
	tests/examples/audio/Makefile.am
2011-10-27 15:44:58 +02:00
Jan Schmidt
1a7acdc99e build: Fix build for moved volume subdir 2011-10-27 23:39:31 +11:00
Stefan Sauer
92d1f5251e volume: move volume example to audio 2011-10-27 09:51:46 +02:00
Stefan Sauer
3a3b3a5b3b audio examples. fix the makefile 2011-10-27 09:42:36 +02:00
Stefan Sauer
76d455825d volume: make global vars static 2011-10-27 09:35:06 +02:00
Stefan Sauer
69fc8e9ffc audiomix: add a simple audiomix example 2011-10-27 09:35:06 +02: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
d5f44ec6ea tests: fix libs order in some makefiles
Local libs should come first.
2011-08-08 14:16:39 +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
Tim-Philipp Müller
dd56714b14 ffmpegcolorspace -> videoconvert 2011-07-07 23:59:59 +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
6b60a27aba Merge branch 'master' into 0.11
Conflicts:
	tests/examples/Makefile.am
2011-06-17 15:48:19 +02:00
Christian Fredrik Kalager Schaller
9994945e70 Add missing dist subdir 2011-06-15 14:49:41 +01: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
Tim-Philipp Müller
a9e4949238 gnomevfs: remove GnomeVFS plugin
The gio plugin replaces it.
2011-06-15 00:52:47 +01:00
Wim Taymans
9c54ca5254 -base: update for buffer API change 2011-06-13 16:32:56 +02:00
Wim Taymans
0ac9bb7d99 Merge branch 'master' into 0.11
Conflicts:
	tests/examples/audio/Makefile.am
	tests/examples/v4l/Makefile.am
2011-06-10 12:14:57 +02:00
Tim-Philipp Müller
c692191c33 GST_PLUGINS_BASE_LIBS is not defined in -base. 2011-06-08 12:21:43 +01:00
Christophe Fergeau
a9b979d45f examples: don't link testchannels example with system libgstaudio
The testchannels audio test program is using -lgstaudio-0.10 to link
with libgstaudio which won't use the gstaudio library that was just
built but the one from the system. This is an issue since it means
we won't be testing the code from the current source tree, and it
also breaks the build when building on a system which don't have
a libgstaudio yet.

https://bugzilla.gnome.org/show_bug.cgi?id=652100
2011-06-08 12:14:20 +01:00
Tim-Philipp Müller
c092981b16 Remove v4l plugin
The old v4l interface has been deprecated for years and even
been removed from the kernel headers. If anyone still needs
this plugin, they can resurrect it in gst-plugins-bad, there's
no reason for it to be in -base.
2011-06-07 20:47:46 +01:00
Edward Hervey
ac582227c1 examples: Link against proper libgstaudio
It was previously attempting to link against the non-local one.
2011-06-03 19:28:32 +02:00
Wim Taymans
f9967e4aac Merge branch 'master' into 0.11
Conflicts:
	gst-libs/gst/video/video.h
	gst/playback/gstplaysinkaudioconvert.c
	gst/playback/gstplaysinkvideoconvert.c
	tests/check/libs/rtp.c
2011-06-02 12:18:13 +02:00
Stefan Kost
940291dd38 audio: move testchannels example to 'tests/examples' dir
Also fix it up a little to not include 'c' file but link to the libs instead.
2011-05-27 15:09:25 +03: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
Sebastian Dröge
d0362c2b87 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	ext/alsa/gstalsasrc.c
	gst-libs/gst/audio/gstbaseaudiosink.c
	gst-libs/gst/tag/gstxmptag.c
	gst/playback/gstsubtitleoverlay.c
	gst/videorate/gstvideorate.c
	sys/xvimage/xvimagesink.c
2011-05-16 17:06:22 +02:00
Sebastian Dröge
7f6697020e tests: Update for negotiation related API changes 2011-05-16 15:35:41 +02:00
Thiago Santos
3c3a78f34a encodebin: examples: Add missing base libs to makefile 2011-05-15 13:02:39 -03: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
Wim Taymans
5e6339b055 tests: fix some tests now that appbuffer is gone 2011-02-28 11:50:04 +01:00
Stefan Kost
f6dad2e868 snapshot: use a keyframe seek
One would usualy get good quality snapshots quickly. The exact seek position
does not really matter.
2011-01-25 21:55:36 +02:00
Stefan Kost
5075b891aa snapshot: add a newline to the usage and error output 2011-01-25 21:55:36 +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
Edward Hervey
19201c1ab0 encoding: encoding_profile_get_output_caps => _get_input_caps
Makes more sense name-wise
2011-01-05 22:02:35 +01:00
Wim Taymans
8945ce0958 seek: don't pause for live buffering messages 2010-12-21 13:39:26 +01:00
Sebastian Dröge
c23c706dce examples: Fix encodebin example CFLAGS and LDFLAGS
Previously it would only succeed to link if a new enough
libgstpbutils-0.10 was installed in the default library
search path.
2010-12-18 20:47:00 +01:00
Edward Hervey
a5994446b3 examples: encoding example
Along with gstcapslist
2010-12-15 11:54:32 +01:00
Tim-Philipp Müller
02419d206c tests: use GLib 2.22 API unconditionally 2010-12-04 14:48:46 +00: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
Tim-Philipp Müller
8cd8339893 tests: don't use deprecated gtk_widget_hide_all()
gtk_widget_hide_all() has been deprecated in gtk+ 2.x and
removed in 2.9x master. Just use gtk_widget_hide() instead.
2010-10-21 13:38:01 +01:00
Vincent Penquerc'h
50a6f26684 examples: g_mapped_file_unref exists already since GLib 2.21.3 2010-10-10 18:32:12 +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
Thiago Santos
5dadd667fa Fixing Makefiles
Adds some missing lines to makefiles
2010-09-28 08:51:59 -03:00
Vladimir
9280c2c62b seek: Add #define for seekbar granularity
Fixes #630496
2010-09-24 16:33:31 +02:00
Wim Taymans
b0ad8467dd examples: add synchronized playback and capture example
Add an example that demonstrates synchronized playback and capture.
2010-09-16 19:22:09 +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
Stefan Kost
617a0fc50e tests/playback: due to popular demand mv them from examples to icles
The tests are toys and not reference demos.
2010-08-12 12:27:58 +03:00
Stefan Kost
23cadbae94 playback: move tests from plugin-dir to tests/examples/playback 2010-08-12 10:52:34 +03: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
2c21340c79 examples: get the right Qt moc binary to use via pkg-config
Should make us do the right thing in cases where both Qt3 and Qt4
are installed.

Fixes #620211.
2010-06-01 13:07:53 +01:00
Tim-Philipp Müller
b5f0b7c221 build: use LDADD instead of LDFLAGS to specify libs to link to when building executables
Use foo_LDADD instead of foo_LDFLAGS to specify the libraries to link to.
This should make sure arguments are passed to the linker in the right
order, and makes LDFLAGS usable again.

Based on initial patch by Brian Cameron <brian.cameron@oracle.com>

Fixes #615697.
2010-04-14 14:08:15 +01: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
Tim-Philipp Müller
e1f38a685b build: build plugin and example directories in parallel if make -jN is used
We know our plugins and examples are independent of each other, so may
just as well build them in parallel. Makes the output a bit messy, but
that shouldn't be a problem and can easily be avoided with make -j1.
2010-03-29 00:26:59 +01: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
Tim-Philipp Müller
58a92964c6 build: Makefile.am fixes
Mostly just add missing $(GST_BASE_CFLAGS), but also fix up order
of flags (see docs/random/moving-plugins).
2010-03-19 01:00:36 +00: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
43b1683421 Add -Wmissing-declarations -Wmissing-prototypes to warning flags
Includes all the fixes necessary to make stuff compile again.
2010-03-11 13:50:31 +01:00
Sebastian Dröge
d5a4ca9962 build: Make some more rules silent if requested 2010-03-09 21:01:38 +00:00
Tim-Philipp Müller
c43dec83af examples: make sure to dist qtgv-xoverlay.h header file
This time for real.

Fixes #610832.
2010-03-08 17:07:57 +00:00
Götz Waschk
6de021c56e examples: Dist header file for the Qt graphics view example
Fixes bug #610832.
2010-02-23 16:59:27 +01:00
Stefan Kost
1b41c2696d examples: also add sink detection and set title to qt examples
Also set a title in the qt examples like it is now done in the gtk example.
Fix the newly added find_video_sink in the gtk example and add similar function
to the qt examples.
2010-02-22 14:02:24 +02:00
Stefan Kost
236b707cd2 gitignore: ignore files in new example directroy 2010-02-22 13:04:43 +02:00
Tim-Philipp Müller
094a05b06a Ignore new overlay examples 2010-02-19 00:18:00 +00:00
Tim-Philipp Müller
590bc917a2 examples: don't hard-code xvimagesink for Gtk+ GstXOverlay example
Try to find a working videosink, don't hardcode xvimagesink. Also
add some borders to window and give it a title so that it's clear
that this is really a Gtk+ window and not a window created by the
videosink.
2010-02-18 23:47:35 +00:00
Stefan Kost
54094cd9ce examples: add video overlay examples for gtk, qt and qt graphics view
Add simple videotestsrc ! xvimagesink examples using gtk and qt. This patch also
adds all boilerplate to configure for using c++. The qt based examples are
optional like their gtk counterparts.
2010-02-17 09:48:10 +02: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
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