Commit graph

11437 commits

Author SHA1 Message Date
Mark Nauwelaerts
0882adc69f h264parse: do not use _unchecked bytewriter variants to insert config
.. since the bytewriter is explicitly created with non-fixed size to
allow (very much so expected) growth.

Partially reverts commit 20669d461a while
trying to keep (some?) compilers happy.

IIRC, the purpose of GstByteWriter in the first place was (at least)
being able to dump data without having to fuss with memory expansion
and size issues ...

Fixes #673485.
2012-04-06 14:35:56 +02:00
Thibault Saunier
70056a37c4 hls: Some more debugging 2012-04-05 11:51:40 -04:00
Thibault Saunier
f9b0d59e84 hlsdemux: Replace the fetcher code with a GstURIDownloader object 2012-04-05 10:33:51 -04:00
Thibault Saunier
2415f9080d hls: Minor cleanup in GstUriDownloader 2012-04-05 10:33:51 -04:00
Andoni Morales Alastruey
71b9f57b63 hlsdemux: Factor out all the fetcher code in a GstURIDownloader class
This class is meant to be reusable by other components
2012-04-05 10:33:51 -04:00
Thibault Saunier
5e85aaf11d 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.
2012-04-05 10:33:51 -04:00
Thibault Saunier
fdaa60c44f hls: Minor GstFragment cleanup 2012-04-05 10:15:13 -04:00
Andoni Morales Alastruey
501d42fa78 hls: Add a GstFragment class that represents a fragment in a m3u playlist 2012-04-05 10:15:12 -04:00
Thibault Saunier
fef060590f hls: Make the updates thread a GstTask 2012-04-05 10:15:12 -04:00
Alessandro Decina
877e6d6a36 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.
2012-04-05 06:38:08 +02:00
Alessandro Decina
3b525d1147 tsdemux: reset iterator to NULL after it's free
Fixes possible invalid memory access in gst_ts_demux_stream_flush
2012-04-04 07:24:28 +02:00
Edward Hervey
6800d0c4e0 tsdemux: Clear bufferlist/iterator when removing streams 2012-04-02 15:26:28 +02:00
Edward Hervey
dd6550a663 mpegtspacketizer: Don't leak buffer in fast variant 2012-04-02 15:25:46 +02:00
Edward Hervey
cd728627af mpegtsbase: Don't leak corrupt section packet buffer 2012-04-02 15:25:16 +02:00
Edward Hervey
881350f34c 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
2012-03-30 19:20:17 +02:00
Stefan Sauer
d84d98943a modplug: memory handling cleanup
Don't leak the CSoundFile. Use define for comment buffer size and ensure it is 0
terminated.
2012-03-23 20:21:52 +01:00
Stefan Sauer
4f1bcb55a4 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.
2012-03-23 20:21:52 +01:00
Stefan Sauer
bece1c97f2 modplug: work around memory trashing in libmodplug (0.8.7)
Allocate double sized buffers. Also add more debug logging.
2012-03-23 20:21:52 +01:00
Olivier Crête
2712ab6216 shmsink: Make buffer-time signed to deal with backward jumps in timestamps 2012-03-23 13:06:22 -04:00
David Schleef
d2e1cb6ece decklink: Add decklink dispatch code for OS/X 2012-03-22 02:29:19 -07:00
Thiago Santos
7dd5b2002a 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.
2012-03-20 20:11:30 -03:00
Thiago Santos
74471813eb geometrictransform: add some more log messages 2012-03-20 20:11:30 -03:00
Oleksij Rempel (Alexey Fisher)
79a74089d4 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.
2012-03-20 20:11:30 -03:00
Raimo Järvi
477aaba617 winscreencap: Fix compiling with mingw
https://bugzilla.gnome.org/show_bug.cgi?id=672505
2012-03-20 22:46:05 +00:00
Tim-Philipp Müller
a7c55d3106 sys: sort subdirs in Makefile alphabetically 2012-03-19 22:58:02 +00:00
Raimo Järvi
ae471142eb winscreencap: Integrate into autotools build system
https://bugzilla.gnome.org/show_bug.cgi?id=672031
2012-03-19 22:51:39 +00:00
Tim-Philipp Müller
1cec862538 adpcmdec: GST_BASE_LIBS already contains -lgstbase-0.10 2012-03-18 23:15:23 +00:00
David Schleef
e54218a648 adpcmdec: Add -lgstbase-0.10 2012-03-18 14:43:37 -07:00
Nicola Murino
362727b9f4 facedetect: fix structure leak
https://bugzilla.gnome.org/show_bug.cgi?id=672294
2012-03-18 00:52:25 +00:00
Nicola Murino
0fad58c123 opencv: fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=672295
2012-03-18 00:40:33 +00:00
Carsten Kroll
6f3ea8e67b d3dvideosink: fix regression setting window handle in pause/play
https://bugzilla.gnome.org/show_bug.cgi?id=656905
2012-03-18 00:29:22 +00:00
David Schleef
aca69cbf63 decklinksink: Add device property
Also add property probe for device property, similar to decklinksrc.
2012-03-17 15:07:49 -07:00
blake tregre
18475dd0c2 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.
2012-03-17 14:24:51 -07:00
blake tregre
409e8dcc90 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.
2012-03-17 14:24:51 -07:00
blake tregre
86eeca91de 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.
2012-03-17 14:24:51 -07:00
David Schleef
c13e4eacc2 decklinksrc: Implement latency query
Implement latency query.  Fix memleak releasing resources.
2012-03-17 14:24:51 -07:00
David Schleef
83e2ca791c decklink: reindent 2012-03-17 14:24:51 -07:00
blake tregre
e37ce96b2c decklinksrc: handle flow return properly and provide better message
* sys/decklink/gstdecklinksrc.cpp:
2012-03-17 14:24:51 -07:00
David Schleef
7cd0ac046a 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.
2012-03-17 14:24:42 -07:00
David Schleef
b45c206647 element-templates: chain query/event functions
Chain up to parent class.  This fix should be done to all of the
templates.
2012-03-17 12:18:47 -07:00
David Schleef
67f546968c 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.
2012-03-17 12:18:47 -07:00
Tim-Philipp Müller
9aa9903430 gst-element-maker: fix -template-video caps string
Don't forget separator.
2012-03-17 16:09:31 +00:00
Tim-Philipp Müller
3991742d77 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.
2012-03-17 16:05:20 +00:00
Tim-Philipp Müller
48398114e6 gst-element-maker: add {src,sink}pad-template, since many base classes create pads for us
And use them in the videofilter template.
2012-03-17 15:49:45 +00:00
Tim-Philipp Müller
e504dc3f6b tools: add videofilter template for gst-element-maker 2012-03-17 15:16:29 +00:00
Tim-Philipp Müller
692bf9ba63 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
2012-03-17 14:53:50 +00:00
Stefan Sauer
486ddd38cf facedetect: initialize some arbitrary variable that gcc-4.6 can track properly
The access to them is clearly guarded by the booleans though.
2012-03-16 17:07:46 +01:00
Stefan Sauer
99fb8e941a 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.
2012-03-16 13:14:48 +01:00
Stefan Sauer
d4509a2fda opencv: use opencv prefix from pkgconfig to lookup datafiles
Don't hardconde /usr to lookup datafiles (such as haar cascades).
2012-03-16 12:58:56 +01:00
Vincent Penquerc'h
9ebacafc6a rsndvdsrc: post a message with title number and durations
https://bugzilla.gnome.org/show_bug.cgi?id=672165
2012-03-16 11:27:17 +00:00