Andoni Morales Alastruey [Wed, 14 Mar 2012 21:06:22 +0000 (17:06 -0400)]
hlsdemux: Factor out all the fetcher code in a GstURIDownloader class
This class is meant to be reusable by other components
Thibault Saunier [Thu, 5 Apr 2012 14:22:29 +0000 (10:22 -0400)]
hls: Do not add reference to buffers passed in GstFragment
We just steal the reference to the buffer, which means we can keep writing metadatas
on the buffers.
Thibault Saunier [Tue, 13 Mar 2012 19:18:22 +0000 (15:18 -0400)]
hls: Minor GstFragment cleanup
Andoni Morales Alastruey [Thu, 7 Jul 2011 23:09:00 +0000 (01:09 +0200)]
hls: Add a GstFragment class that represents a fragment in a m3u playlist
Thibault Saunier [Thu, 15 Mar 2012 22:21:58 +0000 (18:21 -0400)]
hls: Make the updates thread a GstTask
Alessandro Decina [Thu, 5 Apr 2012 04:18:28 +0000 (06:18 +0200)]
tsdemux: set correct newsegment fields on _TIME seeks
Forward the seek rate and set NS.start to the seek target so that decoders can
apply clipping where necessary.
Alessandro Decina [Wed, 4 Apr 2012 05:24:28 +0000 (07:24 +0200)]
tsdemux: reset iterator to NULL after it's free
Fixes possible invalid memory access in gst_ts_demux_stream_flush
Edward Hervey [Mon, 2 Apr 2012 13:26:28 +0000 (15:26 +0200)]
tsdemux: Clear bufferlist/iterator when removing streams
Edward Hervey [Mon, 2 Apr 2012 13:25:46 +0000 (15:25 +0200)]
mpegtspacketizer: Don't leak buffer in fast variant
Edward Hervey [Mon, 2 Apr 2012 13:25:16 +0000 (15:25 +0200)]
mpegtsbase: Don't leak corrupt section packet buffer
Edward Hervey [Fri, 30 Mar 2012 17:19:12 +0000 (19:19 +0200)]
tsdemux: Fix several leaks
* dont' leak buffers when a stream is in discont state
* don't leak buffers when a program is removed/deactivated
* remove all programs when disposing
Stefan Sauer [Fri, 23 Mar 2012 17:36:21 +0000 (18:36 +0100)]
modplug: memory handling cleanup
Don't leak the CSoundFile. Use define for comment buffer size and ensure it is 0
terminated.
Stefan Sauer [Fri, 23 Mar 2012 17:18:06 +0000 (18:18 +0100)]
flte: comment cleanup
Remove commented out code for a flitesynth that we don't have in git anyway. Add
a comment regarding the flite voices.
Stefan Sauer [Fri, 23 Mar 2012 17:16:08 +0000 (18:16 +0100)]
modplug: work around memory trashing in libmodplug (0.8.7)
Allocate double sized buffers. Also add more debug logging.
Olivier Crête [Fri, 23 Mar 2012 17:06:12 +0000 (13:06 -0400)]
shmsink: Make buffer-time signed to deal with backward jumps in timestamps
David Schleef [Thu, 22 Mar 2012 06:04:31 +0000 (23:04 -0700)]
decklink: Add decklink dispatch code for OS/X
Thiago Santos [Tue, 20 Mar 2012 23:07:11 +0000 (20:07 -0300)]
geometrictransform: Prevent access to the transform map when it is null
Check if the map doesn't exist when receiving a new caps and create
a new one. This prevents that the transform functions try to access
the map when it doesn't exist.
Thiago Santos [Tue, 20 Mar 2012 22:19:25 +0000 (19:19 -0300)]
geometrictransform: add some more log messages
Oleksij Rempel (Alexey Fisher) [Tue, 20 Mar 2012 20:32:00 +0000 (17:32 -0300)]
wrappercamerabinsrc: avoid reseting caps to the same value
Reduces capture latency when the new caps are the same as the old
one, avoiding resetting the source state for a forced renegotiation.
Raimo Järvi [Tue, 20 Mar 2012 22:17:47 +0000 (00:17 +0200)]
winscreencap: Fix compiling with mingw
https://bugzilla.gnome.org/show_bug.cgi?id=672505
Tim-Philipp Müller [Mon, 19 Mar 2012 22:58:02 +0000 (22:58 +0000)]
sys: sort subdirs in Makefile alphabetically
Raimo Järvi [Mon, 19 Mar 2012 21:49:17 +0000 (23:49 +0200)]
winscreencap: Integrate into autotools build system
https://bugzilla.gnome.org/show_bug.cgi?id=672031
Tim-Philipp Müller [Sun, 18 Mar 2012 23:15:23 +0000 (23:15 +0000)]
adpcmdec: GST_BASE_LIBS already contains -lgstbase-0.10
David Schleef [Sun, 18 Mar 2012 21:43:16 +0000 (14:43 -0700)]
adpcmdec: Add -lgstbase-0.10
Nicola Murino [Sun, 18 Mar 2012 00:51:32 +0000 (00:51 +0000)]
facedetect: fix structure leak
https://bugzilla.gnome.org/show_bug.cgi?id=672294
Nicola Murino [Sat, 17 Mar 2012 14:09:21 +0000 (15:09 +0100)]
opencv: fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=672295
Carsten Kroll [Thu, 15 Mar 2012 21:12:59 +0000 (22:12 +0100)]
d3dvideosink: fix regression setting window handle in pause/play
https://bugzilla.gnome.org/show_bug.cgi?id=656905
David Schleef [Sat, 17 Mar 2012 22:07:49 +0000 (15:07 -0700)]
decklinksink: Add device property
Also add property probe for device property, similar to decklinksrc.
blake tregre [Tue, 1 Nov 2011 01:58:34 +0000 (18:58 -0700)]
decklinksrc: make sure we can accept caps before returning true
caps are determined by the plugin's properties, so we should check the
incoming caps to see if they agree. Fixes: #667722.
blake tregre [Tue, 1 Nov 2011 01:57:22 +0000 (18:57 -0700)]
decklinksrc: disable pull mode
decklink device doesn't support any pull mode related functionality.
it's more like a live source, you see. Fixes: #667720.
blake tregre [Sun, 12 Feb 2012 06:49:10 +0000 (22:49 -0800)]
decklinksrc: push new new segment event to all pads
Take care to push the event to all pads, but favor the video src pad.
Fixes: #667716.
David Schleef [Sat, 17 Mar 2012 18:41:04 +0000 (11:41 -0700)]
decklinksrc: Implement latency query
Implement latency query. Fix memleak releasing resources.
David Schleef [Sat, 17 Mar 2012 18:39:54 +0000 (11:39 -0700)]
decklink: reindent
blake tregre [Tue, 1 Nov 2011 01:56:23 +0000 (18:56 -0700)]
decklinksrc: handle flow return properly and provide better message
* sys/decklink/gstdecklinksrc.cpp:
David Schleef [Thu, 8 Mar 2012 03:22:28 +0000 (19:22 -0800)]
decklink: Add property probing
Renames the subdevice property to just device, and has it
return the number of devices in the system in response to
a probe. This is useful both for using multiple capture
cards, and for detecting whether it's worth adding the
element to a pipeline.
Also cleans up the property descriptions.
David Schleef [Sat, 17 Mar 2012 18:45:39 +0000 (11:45 -0700)]
element-templates: chain query/event functions
Chain up to parent class. This fix should be done to all of the
templates.
David Schleef [Sat, 17 Mar 2012 18:35:18 +0000 (11:35 -0700)]
inter: Add channel property
The channel property allows multiple intersrc/sink pairs to find
each other. It's a free-form text string that must match among
various inter elements. Also fixed up documentation and latency
handling.
Tim-Philipp Müller [Sat, 17 Mar 2012 16:09:31 +0000 (16:09 +0000)]
gst-element-maker: fix -template-video caps string
Don't forget separator.
Tim-Philipp Müller [Sat, 17 Mar 2012 16:05:20 +0000 (16:05 +0000)]
gst-element-maker: add video pad template and use it in videofilter class
Would be nicer if one could just supplement the generic template
from the element template though.
Also, I would really have liked to just add those sections from the
pads template into the element templet directly (so I can cater for
src template caps == sink template caps), but that didn't seem to
work.
Tim-Philipp Müller [Sat, 17 Mar 2012 15:49:45 +0000 (15:49 +0000)]
gst-element-maker: add {src,sink}pad-template, since many base classes create pads for us
And use them in the videofilter template.
Tim-Philipp Müller [Sat, 17 Mar 2012 15:16:29 +0000 (15:16 +0000)]
tools: add videofilter template for gst-element-maker
Tim-Philipp Müller [Sat, 17 Mar 2012 12:47:52 +0000 (12:47 +0000)]
opencv: fix configure check and build with opencv 2.1
AC_CHECK_HEADERS() calls action-if-not-found also if just one of
the headers checked for is missing, which is not what we wanted.
Also, check for highgui_c.h instead of highgui.hpp.
https://bugzilla.gnome.org/show_bug.cgi?id=672226
Stefan Sauer [Fri, 16 Mar 2012 16:07:46 +0000 (17:07 +0100)]
facedetect: initialize some arbitrary variable that gcc-4.6 can track properly
The access to them is clearly guarded by the booleans though.
Stefan Sauer [Fri, 16 Mar 2012 12:14:48 +0000 (13:14 +0100)]
opencv: cosmetic code changes
Check for the availability of the detectors in the processing function to avoid
setting up the ROIs. Use the booleans for have_xxx more.
Stefan Sauer [Fri, 16 Mar 2012 11:57:05 +0000 (12:57 +0100)]
opencv: use opencv prefix from pkgconfig to lookup datafiles
Don't hardconde /usr to lookup datafiles (such as haar cascades).
Vincent Penquerc'h [Thu, 15 Mar 2012 17:10:18 +0000 (17:10 +0000)]
rsndvdsrc: post a message with title number and durations
https://bugzilla.gnome.org/show_bug.cgi?id=672165
Stefan Sauer [Fri, 16 Mar 2012 11:10:10 +0000 (12:10 +0100)]
faceoverlay: remove blank line in gtk-doc comment
Stefan Sauer [Fri, 16 Mar 2012 11:04:11 +0000 (12:04 +0100)]
facedetect: skip detection for unavailable detectors
Stefan Sauer [Thu, 15 Mar 2012 22:17:55 +0000 (23:17 +0100)]
facedetect: move the detector to an own method to hide the ugly ifdefs
This improves the readability in the actual processing function.
Stefan Sauer [Thu, 15 Mar 2012 22:08:02 +0000 (23:08 +0100)]
facedetect: always send facedetect message
The application might like to know, when we don't see the face anymore.
Stefan Sauer [Thu, 15 Mar 2012 21:58:11 +0000 (22:58 +0100)]
faceoverlay: code cleanups
Use glib types and simply expressions in the message handler.
Stefan Sauer [Thu, 15 Mar 2012 21:49:51 +0000 (22:49 +0100)]
faceoverlay: don't access message fields directly
Stefan Sauer [Thu, 15 Mar 2012 21:22:12 +0000 (22:22 +0100)]
facedetect: don't skip faces
Skipping faces at this point makes us lie about the num-ber of faces and also
causes leaks.
Tim-Philipp Müller [Thu, 15 Mar 2012 18:28:01 +0000 (18:28 +0000)]
rsvgoverlay: cosmetic change
Rename PROP_FILENAME to PROP_LOCATION to match the name of
the property. Add some debug logging.
Tim-Philipp Müller [Thu, 15 Mar 2012 18:26:24 +0000 (18:26 +0000)]
faceoverlay: clear overlay if the face disappears
Tim-Philipp Müller [Thu, 15 Mar 2012 18:21:37 +0000 (18:21 +0000)]
faceoverlay: add some locking for properties, free previous location when it changes
Tim-Philipp Müller [Thu, 15 Mar 2012 18:08:09 +0000 (18:08 +0000)]
faceoverlay: don't make rsvgoverlay reload the SVG for every single frame
Only set location on rsvgoverlay if it has changed.
Tim-Philipp Müller [Thu, 15 Mar 2012 17:47:58 +0000 (17:47 +0000)]
faceoverlay: move face handling into own function and handle 0 face count
When a face disappears, we seem to get a message from facedetect with
a face count of 0, which we want to just ignore instead of trying to
access face #-1, which causes nasty warnings.
Tim-Philipp Müller [Thu, 15 Mar 2012 17:42:56 +0000 (17:42 +0000)]
faceoverlay: fix pad templates
Use generic and unspecififed rgb/caps for now. The exact caps
supported depend on the facedetect element and rsvgoverlay. It's
not clear how this worked before, since facedetect only accepts
24-bit RGB, but the caps advertised 32-bit ARGB/BGRA. In any case,
we don't want to force anything really, so that if any of those
elements acquires support for additional formats we pick those up
automatically.
Tim-Philipp Müller [Thu, 15 Mar 2012 17:26:14 +0000 (17:26 +0000)]
rsvgoverlay: fix crash due to double adapter unref
Tim-Philipp Müller [Thu, 15 Mar 2012 16:52:44 +0000 (16:52 +0000)]
faceoverlay: fix weird pad creation code
The element would create normal pads in its instance_init function,
and then later in NULL->READY create the elements it needs, remove
the pads created in the instance_init function, and add new ghost
pads instead. Not without saving the external peer pads of the old
pads of course, which it would promptly re-link to the new ghost
pads. Do all of that a bit differently.
Fixes the generic/states.check unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=670588
Tim-Philipp Müller [Thu, 15 Mar 2012 15:47:24 +0000 (15:47 +0000)]
faceoverlay: minor cosmetic changes
Remove template maker comments, use our defines for
package name and origin.
Tim-Philipp Müller [Thu, 15 Mar 2012 00:13:40 +0000 (00:13 +0000)]
.gitignore: ignore more test binaries and stamp files
Tim-Philipp Müller [Thu, 15 Mar 2012 00:05:41 +0000 (00:05 +0000)]
opencv: make build with opencv 2.3.1 as in debian sid
Where highgui.h doesn't exist any more, but only opencv2/highgui/highgui.hpp.
Also, not quite sure why we're checking for cvaux.h, it's not used anywhere.
Dmitry Ketov [Wed, 14 Mar 2012 09:24:05 +0000 (10:24 +0100)]
winscreencap: Integrate into autotools build system
Fixes bug #672031.
Tim-Philipp Müller [Tue, 13 Mar 2012 20:50:04 +0000 (20:50 +0000)]
inter: fix warnings when gst-inspecting interaudio{src,sink}
The channel property isn't implemented, so don't register it.
Sreerenj Balachandran [Wed, 7 Mar 2012 23:48:56 +0000 (01:48 +0200)]
waylandsink: Fix warnings, proper structuring, dead code removal, adding doc section.
Oleksij Rempel (Alexey Fisher) [Mon, 12 Mar 2012 14:42:04 +0000 (15:42 +0100)]
geometrictransform: make sure gt->map not freed twice
current cheese can create situation where gt->map is freed twice.
This patch set map to null to avoid it.
https://bugzilla.gnome.org/show_bug.cgi?id=671910
Gil Pedersen [Tue, 28 Feb 2012 15:40:31 +0000 (16:40 +0100)]
hlsdemux: add floating point segment duration support
Thibault Saunier [Sat, 10 Mar 2012 23:53:54 +0000 (20:53 -0300)]
Fix an unwanted double negation from last commit
Thibault Saunier [Sat, 10 Mar 2012 22:10:52 +0000 (19:10 -0300)]
Fix 'ignoring return value of function declared with const attribute'
This always happens with GstByteReader/Writer and friends when
not taking into account returned boolean of the _read/_write functions
(which is actually wrong).
Make use of the *_unchecked variant as much as possible, or take the
returned value into account.
Mark Nauwelaerts [Sat, 10 Mar 2012 10:36:25 +0000 (11:36 +0100)]
dtsdec: avoid runaway loop when resyncing during parse
... by checking for the correct (decremented) size variable.
Fixes #671756.
Tim-Philipp Müller [Fri, 9 Mar 2012 17:16:24 +0000 (17:16 +0000)]
configure: fix AC_LANG_SOURCE-related warnings when doing autogen.sh
Danilo Cesar Lemes de Paula [Thu, 1 Mar 2012 17:59:55 +0000 (14:59 -0300)]
Fixing rtpvp8 compatibility with the third draft
https://bugzilla.gnome.org/show_bug.cgi?id=671073
Mark Nauwelaerts [Wed, 7 Mar 2012 11:59:28 +0000 (12:59 +0100)]
opusenc: only request and process 1 frame at a time
... since it is specified in _finish_frame that input buffer may be invalidated
after calling it, and is as such not reliably available for further encoding.
Also, requesting or allowing several frames is only useful if subclass intends
to process these "in 1 run" (as in, 1 output buffer), not for having another
(inner) loop in subclass where the baseclass one will do just fine.
Mark Nauwelaerts [Wed, 7 Mar 2012 11:55:43 +0000 (12:55 +0100)]
opusenc: configure baseclass requested samples really in samples
... as opposed to bytes.
Edward Hervey [Tue, 6 Mar 2012 17:49:11 +0000 (18:49 +0100)]
video: Update/add docs
Edward Hervey [Tue, 6 Mar 2012 17:11:35 +0000 (18:11 +0100)]
Add missing GLIB_DISABLE_DEPRECATION_WARNINGS
Suppress warnings about deprecated threading and GValueArray
API, so git compiles with -Werror.
Mark Nauwelaerts [Tue, 6 Mar 2012 17:33:25 +0000 (18:33 +0100)]
sirendec: port to audiodecoder
Mark Nauwelaerts [Tue, 6 Mar 2012 17:33:17 +0000 (18:33 +0100)]
sirenenc: port to audioencoder
Mark Nauwelaerts [Tue, 6 Mar 2012 15:11:52 +0000 (16:11 +0100)]
celtdec: use base class tag handling helper
... so as to ensure these to be handled and sent at proper time.
Mark Nauwelaerts [Tue, 6 Mar 2012 15:11:30 +0000 (16:11 +0100)]
dtsdec: use base class tag handling helper
... so as to ensure these to be handled and sent at proper time.
Mark Nauwelaerts [Tue, 6 Mar 2012 17:32:09 +0000 (18:32 +0100)]
dccp: avoid indefinite looping upon error
... and fix 'uninitialized' compilation warning as well.
Sebastian Dröge [Tue, 6 Mar 2012 14:21:17 +0000 (15:21 +0100)]
vp8enc: Fix 'argument to 'sizeof' in 'memset' call is the same expression as the destination' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:57:45 +0000 (14:57 +0100)]
gsettings: Fix 'if statement has empty body' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:56:20 +0000 (14:56 +0100)]
dfbvideosink: Fix 'implicit conversion from enumeration type 'DirectResult' to different enumeration type 'DFBResult'' compiler warning
We're not checking the return value of that function anyway.
Sebastian Dröge [Tue, 6 Mar 2012 13:51:57 +0000 (14:51 +0100)]
curl: Fix 'equality comparison with extraneous parentheses' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:51:26 +0000 (14:51 +0100)]
cogcolorspace: Use correct enum type for return value
Sebastian Dröge [Tue, 6 Mar 2012 13:50:06 +0000 (14:50 +0100)]
vdpau: Fix loop to not read before the valid memory area
Sebastian Dröge [Tue, 6 Mar 2012 13:47:17 +0000 (14:47 +0100)]
removesilence: Fix 'argument to 'sizeof' in 'memset' call is the same expression as the destination' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:46:03 +0000 (14:46 +0100)]
mxfdemux: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:44:25 +0000 (14:44 +0100)]
mpegtsparse: Fix 'variable 'pid' is uninitialized when used here' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:43:29 +0000 (14:43 +0100)]
mpegdemux: Fix 'expression result unused' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:41:00 +0000 (14:41 +0100)]
dccp: Fix 'comparison of unsigned expression < 0 is always false' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:38:47 +0000 (14:38 +0100)]
baseaudiovisualizer: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning
Edward Hervey [Mon, 5 Mar 2012 11:46:13 +0000 (12:46 +0100)]
mpegtspacketizer: Handle rollover in offset calculations
Edward Hervey [Mon, 5 Mar 2012 10:27:51 +0000 (11:27 +0100)]
tsdemux: printf fix
Edward Hervey [Mon, 5 Mar 2012 09:14:46 +0000 (10:14 +0100)]
tsdemux: Update TODO
Edward Hervey [Mon, 5 Mar 2012 08:46:17 +0000 (09:46 +0100)]
mpegts: Switch rank of mpegtsdemux and tsdemux
More effort has been put lately in tsdemux and works in more use cases
Edward Hervey [Mon, 5 Mar 2012 08:38:57 +0000 (09:38 +0100)]
tsdemux: Push packets as early as possible
When the PES header tells us how big the outgoing packet is, push the
packet downstream as soon as we have the specified size instead of waiting
for the beginning of the next packet.
Reduces latency and removes issues with very sparse streams (like subtitles
and subpictures).