Sebastian Dröge
88975f224e
examples/snapshot: Does not need GTK but only gdk-pixbuf
2017-08-09 12:27:05 +03:00
Satya Prakash Gupta
815e72e91f
examples: fix memory leaks in appsrc and appsrc2 examples
...
https://bugzilla.gnome.org/show_bug.cgi?id=785336
2017-08-07 20:18:26 +01:00
Edward Hervey
d0199321c2
playback example: Prettify time reporting for big values
...
When dealing with streams/contents which have large duration, it is
more user-friendly to show more details in the high values (hours or days)
than in the microseconds.
This patch will use the following formatting schemes:
* Below 1hour : MM:SS.SSS
* Below 24hours : HHhMMmSSs
* Above : DDdHHhMMm
2017-07-13 07:32:42 +02:00
Tim-Philipp Müller
74d974817f
meson: make C++ compiler optional
...
It's only used to check our headers are C++ clean and
for the Qt example.
2017-05-21 09:37:14 +01:00
Vincent Penquerc'h
f37bae7b88
examples: fix element leak in volume example
2017-05-11 11:12:52 +01:00
Vincent Penquerc'h
fc3a07c6a6
playback-test: guard against crash on failure to create pipeline
...
It can happen when giving incorrect parameters (ie, a URI when
expecting a pipeline, etc)
2017-05-11 11:00:55 +01:00
Tim-Philipp Müller
53fca37cb4
examples: jsseek: fix typo
...
Spotted by Yaakov Selkowitz
2017-03-20 17:45:46 +00:00
Tim-Philipp Müller
c8949d678f
examples: jsseek: update for removal of mad plugin
...
https://bugzilla.gnome.org/show_bug.cgi?id=776140
2017-03-20 16:58:20 +00:00
Edward Hervey
21889bf878
examples: Fix leak
2017-01-31 16:48:04 +01:00
Sebastian Dröge
7de834bc36
qt: The videooverlay example requires at least C++11
...
... and clang requires this to be specified on the commandline while gcc
nowadays defaults to C++11 or even newer.
2017-01-25 19:13:40 +02:00
hoonhee.lee
f4c25ae498
playbin-test: Don't use removed playbin3 'auto-select-streams' property
...
https://bugzilla.gnome.org/show_bug.cgi?id=775917
2016-12-23 17:16:15 +00:00
Tim-Philipp Müller
0ba25ad43b
examples: seek: fix build with MSVC
...
Use G_PI instead of M_PI. Could also have defined
_USE_MATH_DEFINES or included gst/math-compat.h but
this seems simplest.
2016-09-20 17:31:55 +01:00
Thibault Saunier
5bcf1f1ddd
meson: Workaround the qt5 module not letting us now the preprocessor is not avalaible
...
If moc-qt5 is not avalaible, meson breaks:
https://github.com/mesonbuild/meson/issues/758
2016-09-05 20:29:51 -03:00
Thibault Saunier
c8c834e4a1
meson: tests: Do not pull qt5 as a hard dependency
2016-09-05 18:40:19 -03:00
Tim-Philipp Müller
14e02d127a
meson: fix joystick header check for jseek example
2016-09-04 21:41:04 +01:00
Tim-Philipp Müller
fb9bddd81e
meson: build examples
2016-08-30 18:15:09 +01:00
Guillaume Desmottes
12c268b7c5
decodebin_next: fix caps and tags leaks
...
The getters are (transfer full).
https://bugzilla.gnome.org/show_bug.cgi?id=769270
2016-08-03 17:49:45 +02:00
Guillaume Desmottes
c1d55f29a1
playbin3: fix leaks of collection returned by message parse API
...
gst_message_parse_stream_collection() and
gst_message_parse_streams_selected() actually return a reffed
GstStreamCollection.
https://bugzilla.gnome.org/show_bug.cgi?id=768776
2016-07-15 16:43:07 +01:00
Thijs Vermeir
b2c6808a7f
tests: correctly print guintptr on mac
2016-07-06 16:16:22 +02:00
Edward Hervey
d514e79bee
playback: New elements
...
With contributions from Jan Schmidt <jan@centricular.com>
* decodebin3 and playbin3 have the same purpose as the decodebin and
playbin elements, except make usage of more 1.x features and the new
GstStream API. This allows them to be more memory/cpu efficient.
* parsebin is a new element that demuxers/depayloads/parses an incoming
stream and exposes elementary streams. It is used by decodebin3.
It also automatically creates GstStream and GstStreamCollection for
elements that don't natively create them and sends the corresponding
events and messages
* Any application using playbin can use playbin3 by setting the env
variable USE_PLAYBIN3=1 without reconfiguration/recompilation.
2016-06-30 14:15:47 +02:00
Tim-Philipp Müller
183610c035
build: remove nonsensical check for freetype
...
The examples need Gtk+, nothing uses freetype directly.
2016-01-25 17:40:23 +00:00
Thiago Santos
8b05f682b0
examples: playback-test: remove unused variables
...
audiosink and videosink string variables are unused
2015-12-18 19:01:09 -03:00
Reynaldo H. Verdejo Pinochet
0c95b0a738
Remove unnecessary NULL checks before g_free()
...
g_free() is NULL-safe
2015-11-17 14:50:27 -08:00
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
Ravi Kiran K N
53eb6a7502
playback-test: avoid critical on exit
...
Only free vis_entries array when not null on exit.
https://bugzilla.gnome.org/show_bug.cgi?id=755201
2015-09-18 09:02:48 +01: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
Vineeth TM
8f81e04683
playback-test: fix tag list leak
...
tags are being leaked while updating the streams in playback-test
https://bugzilla.gnome.org/show_bug.cgi?id=752397
2015-07-14 23:31:06 -03:00
Vineeth T M
07d5e7ab4d
playback-test: fix memory leak
...
context during main and filter list during init
visualization are not being freed resulting in memory leak
and app->vis_entries
https://bugzilla.gnome.org/show_bug.cgi?id=752359
2015-07-14 10:06:10 -03: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
93f29f4e4e
examples: remove reference to 0.10 in playrec
2015-04-10 14:31:42 +01:00
Luis de Bethencourt
8eff144e48
examples: remove deprecated function in gtk-videooverlay
...
gtk_widget_set_double_buffered () has been deprecated since GTK 3.14.
Also, widgets are realized automatically and gtk_wiget_realize () is only
meant to be used in widget implementations.
2015-04-10 13:41:49 +01:00
Luis de Bethencourt
79718aec16
examples: add example description to giosrc-mounting
...
Also, use GST_MESSAGE_TYPE instead of accessing the GstMessage structure
2015-04-09 16:53:35 +01:00
Luis de Bethencourt
0915cb0e78
examples: reuse variables in encoding example
2015-04-09 11:23:25 +01:00
Luis de Bethencourt
7d147e27c5
examples: remove unused return value in addstream
...
Removing unused return value of pause_play_stream ().
Fixing code style to satisfy the git hook.
2015-04-08 17:12:27 +01:00
Luis de Bethencourt
2145586ab6
examples: avoid sprinkle running endlessly
...
Quit sprinkle when there are no more frequencies to remove.
Also rename for readability the check for linking elements.
2015-04-08 15:33:39 +01:00
Luis de Bethencourt
e254806e4a
tests: remove unused filename string from appsink-src2
2015-04-07 15:32:35 +01:00
Luis de Bethencourt
1cee257804
tests: check file exists before running appsink-src
2015-04-07 15:30:30 +01:00
Luis de Bethencourt
4d78375d49
tests: add missing license headers for example apps
2015-04-07 15:17:46 +01:00
Luis de Bethencourt
4ec0d948db
examples: add license header to scrubby
2015-04-03 13:22:28 +01:00
Luis de Bethencourt
0ac3ad0abb
playback-test: update deprecated API
2015-04-02 14:32:15 +01:00
Luis de Bethencourt
1d9d60e0ea
examples: fix deprecated API in scrubby
2015-04-02 11:14:08 +01:00
Luis de Bethencourt
bd2a86e353
tests: use elapsed label of volume example
2015-04-01 16:00:28 +01:00
Luis de Bethencourt
84638199e7
tests: fix deprecated API in audio volume example
2015-04-01 15:02:13 +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