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
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
Jan Schmidt
d85a64f30b
ignores: Ignore v4l probing example binary
2009-07-24 13:46:55 +01:00
Filippo Argiolas
57d8ba0fd2
examples: fix v4l probe example build
...
Fixes bug #588550 .
2009-07-15 15:32:06 +02:00
Jan Schmidt
9af05c2e0f
ignores: ignore the giosrc-mounting example binary
2009-07-13 17:58:01 +01:00
Filippo Argiolas
f6360ee171
v4lsrc: add a simple test case for device probing
2009-07-13 16:15:44 +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
f98d0f8895
gio: Remove workaround for playbin2 bug in the sample application
...
The playbin2 bug was #588078 .
2009-07-10 17:15:48 +02:00
Sebastian Dröge
8515117573
gio: Add example application that shows how to handle the "not-mounted" message
2009-07-10 11:42:51 +02: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
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
153e07e125
seek: Add some more debug
...
Add some more info about the selected streams.
2009-03-20 16:13:06 +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
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
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
Jan Schmidt
63c9ede3d0
Extend and clean up git ignores
2009-01-23 23:16:11 +00:00
Wim Taymans
15583abf25
tests/examples/app/appsrc_ex.c: Some comments.
...
Original commit message from CVS:
* tests/examples/app/appsrc_ex.c: (main):
Some comments.
When pulling a buffer we can get NULL when the element is EOS, don't try
to unref this NULL buffer.
2009-01-06 10:50:37 +00:00
Jan Schmidt
08393941a8
Move AppSrc/AppSink from gst-plugins-bad. Fixes #564421
...
Original commit message from CVS:
* configure.ac:
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/gst-plugins-base-plugins.signals:
* docs/plugins/inspect/plugin-app.xml:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsrc.c:
* tests/examples/Makefile.am:
* tests/examples/app/Makefile.am:
Move AppSrc/AppSink from gst-plugins-bad. Fixes #564421
2009-01-05 23:04:57 +00: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
24685b5df0
examples/app/: Fix example to unref after emiting the push-buffer action.
...
Original commit message from CVS:
* examples/app/appsrc-ra.c: (feed_data):
* examples/app/appsrc-seekable.c: (feed_data):
* examples/app/appsrc-stream.c: (read_data):
* examples/app/appsrc-stream2.c: (feed_data):
Fix example to unref after emiting the push-buffer action.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_push_buffer_full), (gst_app_src_push_buffer),
(gst_app_src_push_buffer_action):
Don't take the ref on the buffer in push-buffer action because it's too
awkward for bindings. Fixes #564482 .
2008-12-15 12:02:26 +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
Wim Taymans
0667fb7e25
tests/examples/dynamic/: Add example app that dynamically switches between 3 'encoders'.
...
Original commit message from CVS:
* tests/examples/dynamic/Makefile.am:
* tests/examples/dynamic/codec-select.c: (make_encoder),
(make_pipeline), (do_switch), (my_bus_callback), (main):
Add example app that dynamically switches between 3 'encoders'.
2008-08-01 11:14:49 +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