Luis de Bethencourt
8899efae60
Update references to decodebin
...
Update old references for decodebin2 to decodebin.
2015-05-08 13:54:08 +01:00
Tim-Philipp Müller
f0a9c246a3
gst: remove some unnecessary glib version checks
...
We require 2.32, no need to check for anything older
than that.
2015-04-28 16:02:27 +01:00
Tim-Philipp Müller
699452ef31
Remove obsolete Android build cruft
...
This is not needed any longer.
2015-04-26 18:59:32 +01:00
Luis de Bethencourt
c944093d08
remove unused enum items PROP_LAST
...
This were probably added to the enums due to cargo cult programming and are
unused.
2015-04-24 16:48:26 +01:00
Thibault Saunier
b3c4b8d1df
watchdog: GstElement->state is protected with the OBJECT_LOCK
...
Not the STATE_LOCK.
gst_watchdog_feed was already always called with the OBJECT_LOCK taken.
2014-12-12 11:49:42 +01:00
Thibault Saunier
31679e56bb
watchdog: Handle FLUSHING seek events even in PAUSED state
...
https://bugzilla.gnome.org/show_bug.cgi?id=740757
2014-11-27 19:10:58 +01:00
Thibault Saunier
eb24d9d607
watchdog: Properly handle PAUSED state
...
In PAUSED state we should just preroll, so get one buffer
and stop monitoring.
https://bugzilla.gnome.org/show_bug.cgi?id=740757
2014-11-27 19:10:58 +01:00
Jan Schmidt
085a34e4c7
chopmydata: Transfer timestamps to output buffers
...
Allows using chopmydata as a simple repacketizer
2014-09-24 22:48:56 +10:00
Göran Jönsson
e050541f11
watchdog: Only create a new GSource if we have a main context
...
We can still get OOB events while stopping the watchdog element, and while
stopping it we destroy the main context.
Also let the GSource own a reference to the element for additional safety.
https://bugzilla.gnome.org/show_bug.cgi?id=732554
2014-07-01 19:41:36 +02:00
Per x Johansson
6a7315c382
watchdog: Add handling of PAUSED state
...
Also allow disabling the timeout by setting it to 0.
https://bugzilla.gnome.org/show_bug.cgi?id=726156
2014-05-03 09:50:59 +02:00
Vincent Penquerc'h
75c09f8d03
compare: special case empty regions with 1 SSIM to avoid dividing by 0
...
Coverity 1139689, 1139688
2014-04-09 15:21:20 +01:00
Kipp Cannon
ba0a3f65eb
debugutilsbad.c fails gst-indent check
...
this patch is "gst-indent debugutilsbad.c"
https://bugzilla.gnome.org/show_bug.cgi?id=725090
2014-02-25 10:04:33 +01:00
Edward Hervey
97426a1caa
all: Fix for GST_DISABLE_GST_DEBUG
...
Where applicable, remove methods that don't do anything different than
the default implementation.
2013-07-29 09:42:12 +02:00
Sebastian Dröge
e51cd4fe2f
gst: Add better support for static plugins
2013-04-15 15:59:22 +02:00
Alexander Schrab
3320f29a88
watchdog: race between g_main_loop_run/_quit fixed
...
https://bugzilla.gnome.org/show_bug.cgi?id=697694
2013-04-10 10:36:19 +01:00
David Schleef
329c250a41
watchdog: fix event handling
2013-04-09 15:43:35 -07:00
David Schleef
a1bb437ece
watchdog: new element
2013-03-27 15:31:21 -07:00
Tim-Philipp Müller
9e1b75fda3
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
32ba17cd0f
Use gst_element_class_set_static_metadata()
...
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Wim Taymans
380b23af90
replace some playbin2 -> playbin
2012-10-10 14:14:43 +02:00
Mark Nauwelaerts
578861abea
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:27:49 +02:00
Stefan Sauer
27cd08ad95
collectpads: remove gst_collect_pads_add_pad_full
...
Rename gst_collect_pads_add_pad_full() to gst_collect_pads_add_pad() and fix all
invocations.
2012-09-12 21:13:35 +02:00
Mark Nauwelaerts
6578797245
collectpads2: rename to collectpads
2012-04-17 15:22:59 +02:00
Sebastian Dröge
c88cd9cefc
Update for the removal of the interfaces library and the tuner/mixer interfaces
2012-04-13 13:15:39 +02:00
Sebastian Dröge
cda192b3b7
gst: Update for GST_PLUGIN_DEFINE() API changes
2012-04-05 18:02:56 +02:00
Sebastian Dröge
1318a97e0a
gst: Update versioning
2012-04-04 14:44:34 +02:00
Mark Nauwelaerts
bc0dd274ee
debugutils: port to 0.11
2012-02-02 23:21:50 +01:00
Sebastian Dröge
a2a4300241
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
ext/kate/gstkateenc.c
gst/colorspace/colorspace.c
gst/mpegvideoparse/mpegvideoparse.c
2012-01-25 13:22:43 +01:00
Vincent Penquerc'h
6b4038fed3
debugspy: fix string leak
2012-01-16 17:30:22 +00:00
Edward Hervey
f70a623418
Merge remote-tracking branch 'origin/master' into 0.11-premerge
...
Conflicts:
docs/libs/Makefile.am
ext/kate/gstkatetiger.c
ext/opus/gstopusdec.c
ext/xvid/gstxvidenc.c
gst-libs/gst/basecamerabinsrc/Makefile.am
gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c
gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h
gst-libs/gst/video/gstbasevideocodec.c
gst-libs/gst/video/gstbasevideocodec.h
gst-libs/gst/video/gstbasevideodecoder.c
gst-libs/gst/video/gstbasevideoencoder.c
gst/asfmux/gstasfmux.c
gst/audiovisualizers/gstwavescope.c
gst/camerabin2/gstcamerabin2.c
gst/debugutils/gstcompare.c
gst/frei0r/gstfrei0rmixer.c
gst/mpegpsmux/mpegpsmux.c
gst/mpegtsmux/mpegtsmux.c
gst/mxf/mxfmux.c
gst/videomeasure/gstvideomeasure_ssim.c
gst/videoparsers/gsth264parse.c
gst/videoparsers/gstmpeg4videoparse.c
2011-12-30 11:41:17 +01:00
Vincent Penquerc'h
c826a197ce
compare: port to GstCollectPads2
2011-12-15 13:02:16 +00:00
Vincent Penquerc'h
7521b597f4
various: fix pad template ref leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00:00
Stefan Sauer
d2f2955f18
collectpads: port API changes
2011-11-17 08:53:23 +01:00
Mark Nauwelaerts
6429ead4bc
debugutils: add compare element
2011-06-17 12:10:06 +02:00
Christian Fredrik Kalager Schaller
2e610eb003
Fix missing header file and update spec to work around current compiler issues
2011-05-27 11:06:29 +01:00
Sebastian Dröge
6244704089
debugspy: Use G_PARAM_STATIC_STRINGS
2011-05-26 09:59:35 +02:00
Guillaume Emont
555959a852
debugspy: add new element
...
This element allows you to get information about buffers with bus messages. It
provides the same kind of information as identity does through a notify signal
on a string property, but in a more programmer-friendly way.
2011-05-26 09:54:39 +02:00
Tim-Philipp Müller
6c361963b1
chopmydata: don't push buffers smaller than min-size on eos
...
When pushing the remaining data on EOS, don't just push whatever
data is left in the adapter, but only push data that's at least
of min-size.
2011-04-30 19:16:03 +01:00
Tim-Philipp Müller
65f481ca63
chopmydata: don't mess with adapter from non-streaming thread on FLUSH_START
...
Don't try to push remaining data in the adapter on receiving a FLUSH event,
just flush the adapter. Do this on FLUSH_STOP, however, which is serialized,
unlike FLUSH_START, so we don't mess with the adapter at the same time as
the streaming thread.
2011-04-30 19:08:25 +01:00
Tim-Philipp Müller
5d6bdf6052
Fix some unused-but-set-variable warnings with gcc 4.6
2011-04-15 00:24:47 +01:00
Tim-Philipp Müller
3cadddba83
fpsdisplaysink:: fix compilation with older GLib
...
g_object_notify_by_pspec() is new in GLib 2.26, but we only require 2.22.
2011-04-14 11:28:58 +01:00
Thibault Saunier
17fd7ebcb4
android: make it ready for androgenizer
...
Remove the android/ top dir
Fixe the Makefile.am to be androgenized
To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 07:27:11 +02:00
Sebastian Dröge
eaf01f9709
fpsdisplaysink: Add last-message property and never print anything to stdout
...
Instead everything will be put into the last-message property and
gst-launch -v will print all changes of the property. This makes
the behaviour of fpsdisplay consistent with the fakesink/identity/etc
behaviour.
2011-04-09 10:07:49 +02:00
Sebastian Dröge
291a8048d1
fpsdisplaysink: Rename verbose property to silent for consistency
2011-04-09 10:05:05 +02:00
Sebastian Dröge
a7cbd201b1
fpsdisplay: Use PROP_ instead of ARG_ for the property enums
2011-04-08 14:08:10 +02:00
Philippe Normand
26bc5537ce
fpsdisplay: Add verbose property
...
When this property is set to TRUE the element will display statistics
on stdout.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=647030
2011-04-08 14:06:10 +02:00
Benjamin Gaignard
8c48375817
fpsdisplaysink: add "frames-dropped" and "frames-rendered" properties
...
https://bugzilla.gnome.org/show_bug.cgi?id=643469
2011-03-18 12:46:32 +00:00
benjamin gaignard
588db0bf51
fpsdisplay: fix sync property default value
2011-03-03 09:51:11 +02:00
David Schleef
0e129b05f5
chopmydata: Add new element
...
This element splits up a stream into randomly-sized buffers.
Useful (maybe) for testing parsers.
2010-12-01 23:24:24 -08:00
Lasse Laukkanen
4ebdd9b5ac
fpsdisplaysink: initialize interval_ts and last_frames_* counters
...
Initialize interval_ts to first QOS event timestamp, otherwise the
fps statistics are printed always after one rendered frame.
Also, initialize last_frames_* counters, the values are bogus e.g. after
PLAYING-NULL-PLAYING state change.
2010-09-24 08:21:00 -03:00
Tim-Philipp Müller
af7887f0df
checksumsink: fix up copyright in header file
2010-09-15 17:52:16 +01:00
Sebastian Dröge
6bc160a0dc
fpsdisplay: Use G_GUINT64_FORMAT instead of %llu
...
Fixes compiler warnings on 64 bit architectures.
2010-09-06 10:29:21 +02:00
Stefan Kost
10776e474d
fpsdisplaysink: don't add a g_mainloop dependency
...
Just update the fps-message from the probe handler.
2010-09-06 10:24:06 +03:00
Stefan Kost
9a03a43696
fpsdisplaysink: small cleanup
...
Add one one example and lower the fon't size for the overlay.
2010-09-06 10:24:06 +03:00
Rob Clark
60c963f0ac
fpsdisplaysink: measure fps in terms of wall clock time
...
Measure fps in terms of system clock, rather than pipeline clock, to get
an accurate meaure of fps.
2010-09-06 10:24:06 +03:00
David Schleef
813a2235b5
checksumsink: Add new element
2010-09-05 22:50:06 -07:00
Thiago Santos
c470918903
fpsdisplaysink: signal-fps-measurements is writable
...
signal-fps-measurements is a readwrite property, not read-only.
Also adds some more debugging logs.
2010-07-01 17:13:25 -03:00
Thiago Santos
57b9ce71b4
fpsdisplaysink: Adds a signal to inform measurements to apps
...
Adds a signal for applications to receive the fps measurements made
instead of only printing them to the frame/stdout.
This signal is only emited if the signal-fps-measurements property
is set to TRUE
2010-06-24 13:53:08 -03:00
Thiago Santos
f78bf26951
fpsdisplaysink: Adds max-fps and min-fps property
...
Adds 2 properties for getting the maximum and minimum fps
values measured
2010-06-24 13:34:14 -03:00
Thiago Santos
dfec8f7fae
fpsdisplaysink: Use G_PARAM_STATIC_STRINGS in all properties
...
Add G_PARAM_STATIC_STRINGS to the properties that are
missing it
2010-06-24 13:34:14 -03:00
Thiago Santos
dc8f1dbb3e
fpsdisplaysink: Add fps-update-interval property
...
Use a property to set/get the fps update interval instead
of having a hardcoded value.
2010-06-24 13:34:13 -03:00
Tim-Philipp Müller
ee063478ff
Remove capssetter element
...
It has been moved to gst-plugins-good.
See #617739 .
2010-05-11 13:08:41 +01:00
Sebastian Dröge
860d5e7efe
capssetter: Some minor cleanup
2010-05-06 13:12:32 +02:00
Benjamin Otte
775c7584fd
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 22:46:41 +01:00
Tim-Philipp Müller
7c890c0b91
fpsdisplaysink: fix NULL ref and error handling if no video sink is found
...
If no video sink is set and autovideosink is not available for some
reason, post a proper error message on the bus when failing to
change state, and don't try to gst_object_ref() NULL pointers. Fixes
generic/states unit test when distchecking.
2010-02-19 10:35:10 +00:00
Tim-Philipp Müller
ec0c87486f
fpsdisplaysink: fix typo in property description
2010-01-06 01:57:13 +00:00
Thiago Santos
87bfdef683
fpsdisplaysink: Internal sink improvements
...
Does some general improvements with the internal sink handling.
1) Do not remove and re-add the ghostpad when changing
internal sink
2) Only instantiate the default sink when changing from NULL
to READY if there is no other available
3) Avoid changing the internal sink if not on NULL state
Fixes #598682
2009-12-17 20:39:24 -03:00
Thiago Santos
a4f30d5f3d
fpsdisplaysink: Minor fixes
...
Downgrade a warning message to debug. Remove an
already fixed FIXME and add a note about (not-)using
fpsdisplaysink in autovideosink. Change the created
ghostpad to use the name "sink" as it is advertised in
the pad template.
2009-12-17 20:26:30 -03:00
Thiago Santos
d2dce72c60
fpsdisplaysink: fix setting sync on child bin
...
Use GST_IS_BIN instead of G_OBJECT_TYPE to check if the
internal sink is a bin. Using the later won't work when
the sink is not a bin directly (but inherits from one, like
autovideosink).
Fixes #604280
2009-12-16 18:36:15 -03:00
Philippe Normand
9c03149e7b
fpsdisplaysink: check the sync property exists on embedded sink(s)
...
Follow-up on 4111d6321f
, the video
sink(s) used by fpsdisplaysink might not have the sync property. So we
check its existence to avoid warning from g_object_set() at runtime.
Fixes #604280
2009-12-16 18:35:58 -03:00
Philippe Normand
4111d6321f
fpsdisplaysink: expose video sink using a property
...
Exposes the internally used sink as video-sink property and
makes the default one to be autovideosink instead of
the hardcoded xvimagesink
Fixes #604280
2009-12-12 16:50:33 -03:00
Stefan Kost
ebc417f769
fpsdisplaysink: check query return result before using it
2009-07-20 16:42:43 +03:00
Mark Nauwelaerts
8241b05038
capssetter: import element into -bad
2009-06-25 18:10:42 +02:00
LRN
7b28f931bb
Added base libs to debug utils makefile
...
Fixes #585015
2009-06-07 23:01:30 +02:00
Jan Schmidt
90aa8eff4c
fpsdisplaysink: Fix resetting of the sink in NULL
...
Reset the fpsdisplaysink in NULL by removing the textoverlay if we
created it.
Fixes : #582633
2009-05-16 01:26:55 +01:00
Tim-Philipp Müller
76535b0e1f
docs: make fpsdisplaysink show up in the docs
2009-05-01 14:28:43 +01:00
Tim-Philipp Müller
9b1c7c94b4
fpsdisplaysink: move private struct into plugin struct and use Gst namespace
2009-05-01 14:28:43 +01:00
Tim-Philipp Müller
e101037589
fpsdisplaysink: rename plugin (not element) to debugutilsbad
...
Makes it easier to add further utils here without creating yet another plugin.
2009-05-01 14:28:42 +01:00
Tristan Matthews
8d4315ee5c
fpsdisplaysink: init variable to NULL to avoid compiler warning
...
Fixes #580901 .
2009-04-30 17:09:28 +01:00
Stefan Kost
1ae52725d9
fpsdisplay: code cleanup and plug overlay as needed
...
Pluggin the text-ovelay causes some slowdowns and might need a colorspace
converter. We now only check the text-overlay property whne goint to ready and
plug or unplug the text-overlay at that time. If the property changes during
playing, its not switched immediately.
2009-04-30 13:48:07 +03:00
Stefan Kost
95520973d0
fpsdisplay: more cleanups
...
Use normal gst-defines in PLUGIN_DEFINE. Shorten _start/stop method names.
More ideas. Move debug category-init down to plugin-init.
2009-04-23 14:38:20 +03:00
Stefan Kost
314f2e26c5
fpsdisplay: use a nicer font family
2009-04-23 14:38:19 +03:00
Stefan Kost
193f638b0a
fpsdisplay: various cleanups, docs and comments
...
Remove unused base_init. Add basic doc blob. Reuse query object. Rename
variables for clarity. Add comments and ToDos.
2009-04-23 14:38:19 +03:00
Stefan Kost
790235e29f
fpsdisplay: remove iface proxy
...
When we get bus messages for setting the xid, we have the real sink element
instance as message_src. No need to proxy the xoverlay iface therefore
(autovideosink does not do it either). Also we don't need to rewrite the
message src of all messages from that sink.
2009-04-23 14:38:19 +03:00
Stefan Kost
e01373662a
fpsdisplaysink: add a initial port of a sink with fps display
...
This now works with a event probe. Needs some extra work.
2009-04-16 18:39:29 +03:00