Commit graph

279 commits

Author SHA1 Message Date
Luis de Bethencourt
fcfb9a7794 examples: use GST_STIME_FORMAT for GstClockTimeDiff
GST_STIME_FORMAT is more appropriate for GstClockTimeDiff since it can
handle negative values better.

https://bugzilla.gnome.org/show_bug.cgi?id=757480
2015-11-02 15:50:50 +00:00
Vineeth TM
8e5f7f27f5 gstreamer: base: Fix memory leaks when context parse fails.
When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.

And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.

https://bugzilla.gnome.org/show_bug.cgi?id=753852
2015-10-02 17:26:27 +03:00
Vineeth T M
56d7ef959e jsseek: fix memory leaks
ctx, list and visual_entries are not being freed
resulting in memory leaks

https://bugzilla.gnome.org/show_bug.cgi?id=752454
2015-07-16 20:23:15 +01:00
Vineeth TM
4bd5d8837a jsseek: fix tag list leak
tags are being leaked while updating the streams in jsseek

https://bugzilla.gnome.org/show_bug.cgi?id=752400
2015-07-15 09:30:50 +01:00
Luis de Bethencourt
867c864f94 examples: disconnect scale callback in scrubby
When the position slider's button is released, disconnect the "value_changed"
callback to avoid triggering false seek callbacks.
2015-04-14 15:09:51 +01:00
Luis de Bethencourt
003a0a0ca7 examples: keep scrubby command consistent
scrubby has two options, wav and playbin. Wav takes a file location so make
the playbin option take a file location as well instead of an uri. This also
means the usage help string will be correct for the playbin option.
2015-04-13 17:39:56 +01:00
Luis de Bethencourt
8dc688b039 examples: no need to set intermediate states 2015-04-13 17:39:48 +01:00
Luis de Bethencourt
d9aaafc694 examples: wavparse doesn't need dynamic linking
In scrubby, there is no need to link wavparse with the sink dynamically.
The pad is available when the element is generated.

Change video and audio sinks to the automatically detected sinks.
2015-04-13 17:38:55 +01:00
Luis de Bethencourt
4ec0d948db examples: add license header to scrubby 2015-04-03 13:22:28 +01:00
Luis de Bethencourt
1d9d60e0ea examples: fix deprecated API in scrubby 2015-04-02 11:14:08 +01:00
Luis de Bethencourt
fc74875edc jsseek: update deprecated GTK API 2015-04-01 14:41:27 +01:00
Luis de Bethencourt
fc5d98c3bc jsseek: switch deprecated GtkTable for GtkGrid 2015-04-01 14:39:33 +01:00
Sebastian Dröge
90eb93c2ef Don't compare booleans for equality to TRUE and FALSE
TRUE is 1, but every other non-zero value is also considered true. Comparing
for equality with TRUE would only consider 1 but not the others.
2014-12-01 09:51:12 +01:00
Sebastian Rasmussen
9995054e80 tests: Add missing unrefs of objects after use
Unreffing the objects returned by gst_bin_get_by_name() and
gst_pipeline_get_use() were missing in several tests, so add these.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734359
2014-08-06 15:18:56 +02:00
Sebastian Rasmussen
0f8f852776 jsseek: Add missing HAVE_X check
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723507
2014-02-04 13:58:47 +01: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
5f59b4f7ee Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Mark Nauwelaerts
e491d24341 use gst_element_factory_get_metadata to replace obsolete API 2012-09-15 18:57:09 +02:00
Wim Taymans
acb3aeebd4 fix caps 2012-09-14 13:22:31 +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
Wim Taymans
fcc1e1f457 update for bus api changes 2012-06-20 12:34:01 +02:00
Tim-Philipp Müller
fa832bedb8 tests: don't use GstStructure API on tag lists 2012-05-26 19:56:48 +01: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
Sebastian Dröge
65307dd132 gst: Update versioning 2012-04-04 14:55:15 +02: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
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
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
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