Stefan Kost [Wed, 27 Apr 2011 13:56:09 +0000 (16:56 +0300)]
element-templates: improve the audiofilter template
Add comments. Add start/stop methods. Add (commented) instance casts at the
begin of the method. Make transform_ip returning FLOW_OK by default.
Stefan Kost [Wed, 27 Apr 2011 13:51:55 +0000 (16:51 +0300)]
element-maker: improve plugin_init()
Return the result of gst_element_register(). Use the TYPE macro instead of the
_get_type() function.
Mark Nauwelaerts [Thu, 12 May 2011 09:57:19 +0000 (11:57 +0200)]
h264parse: fix some buffer leaks
Fixes #650323.
Mark Nauwelaerts [Thu, 12 May 2011 09:56:52 +0000 (11:56 +0200)]
h264parse: fixup boilerplate and debug code style
Thiago Santos [Fri, 13 May 2011 20:18:52 +0000 (17:18 -0300)]
camerabin2: Remove obsolete imagecapturebin
imagecapturebin has been replaced by encodebin, no need
for it anymore
Thiago Santos [Fri, 13 May 2011 19:27:17 +0000 (16:27 -0300)]
camerabin2: use jpeg as a container to force jifmux usage
Jifmux should be used as it can do xmp/exif tagging, so this patch
sets jpeg as a container to force it to be used together with
a jpeg encoder
Alessandro Decina [Thu, 12 May 2011 11:17:28 +0000 (11:17 +0000)]
camerabin2: do proper EOS handling on send_event(eos)
We first let the inner camera EOS. Then we manually post EOS on the image and
video sinks if those are <= READY and so have ignored EOS events.
Alessandro Decina [Thu, 28 Apr 2011 13:11:36 +0000 (15:11 +0200)]
camerabin2: use encodebin to encode images
Thiago Santos [Fri, 13 May 2011 18:16:14 +0000 (15:16 -0300)]
jifmux: Bump rank to secondary
jifmux is being used for quite some time and has no open bugs
currently, so we can give it a secondary rank at least.
Fixes #649391
Thiago Santos [Fri, 13 May 2011 18:15:53 +0000 (15:15 -0300)]
jifmux: Change class to formatter
jifmux is a formatter and not a muxer
Fixes #649391
Thiago Santos [Fri, 13 May 2011 12:11:35 +0000 (09:11 -0300)]
examples: camerabin2: Fix GOptionEntry array
Use no flags instead of passing G_OPTION_ARG_OPTIONAL to options that
must have an argument
Thiago Santos [Thu, 12 May 2011 14:39:51 +0000 (11:39 -0300)]
camerabin2: examples: build fixes
Add some missing dependencies
Thiago Santos [Wed, 11 May 2011 21:35:40 +0000 (18:35 -0300)]
camerabin2: Changing how some properties work
Some properties (like viewfinder-filter) only are taken into use
on NULL->READY transitions and the get/set property was returning
the currently in use value, instead of the last set.
This is bad, as after setting 'a' to 'x', you expect that getting 'a'
will return 'x'. This patch fixes it.
If needed, later we could add current-* properties that are readonly
and get the current value in use.
Lasse Laukkanen [Fri, 29 Apr 2011 11:54:56 +0000 (08:54 -0300)]
camerabin2: Updating PORTING file
Thiago Santos [Thu, 28 Apr 2011 19:05:53 +0000 (16:05 -0300)]
camerabin2: Adding missing plugin error messages
Whenever a required plugin is missing, camerabin2 should post
a missing plugin message to the bus
Thiago Santos [Thu, 28 Apr 2011 17:37:22 +0000 (14:37 -0300)]
camerabin2: encodebin might not have the requested pad
handle the case where encodebin doesn't have the pad
camerabin2 is requesting, either because of its current profile
or because of missing elements, making it fail to provide
the pad
Lasse Laukkanen [Wed, 27 Apr 2011 18:12:18 +0000 (15:12 -0300)]
examples: camerabin2: Add more arguments
Add command-line options for setting image-capture, viewfinder
and video-capture caps as strings.
The width and height properties are now used only if these new caps
properties aren't set.
Thiago Santos [Tue, 26 Apr 2011 18:21:34 +0000 (15:21 -0300)]
camerabin2: imagecapturebin: Fix tags merging mode
Use merge replace mode to allow new tags to override old ones
and fix the use case where the last sent tags should be serialized
to the captured images.
Thiago Santos [Tue, 26 Apr 2011 17:53:35 +0000 (14:53 -0300)]
camerabin2: Fix tag handling for videos
In video mode the tags should be pushed after sending the start capture
to the source, this allows the video recording elements to be reset
and leave the flushing state they were at after a previous capture.
This fixes the problem where tags only work for the first video capture
Thiago Santos [Tue, 26 Apr 2011 17:50:29 +0000 (14:50 -0300)]
tests: camerabin2: Fix set but unused variable warnings
Thiago Santos [Tue, 26 Apr 2011 17:49:35 +0000 (14:49 -0300)]
tests: camerabin2: Fix tags setting tests
Fixes the tags setting tests to reveal a bug in camerabin2
tag setting logic.
Thiago Santos [Mon, 25 Apr 2011 19:04:26 +0000 (16:04 -0300)]
camerabin2: Adding camera source documentation file
Adds a small text file with a brief description of
what is expected from a camerabin2 source element
Lauri Lehtinen [Mon, 11 Apr 2011 18:33:20 +0000 (15:33 -0300)]
basecamerabinsrc: Handle errors from preview pipeline
Implements a message handling function to preview pipeline bus.
If GST_MESSAGE_ERROR is seen, considers preview pipeline unable
to do its job and posts an error message to application.
Sets pipeline element to NULL so that subsequent calls to post_preview
and set_caps functions just returns without pushing anything to the
disposed preview pipeline. Leaves further actions to the application.
Lauri Lehtinen [Fri, 8 Apr 2011 12:22:11 +0000 (09:22 -0300)]
basecamerabinsrc: Protection for previewpipeline when setting new preview caps
Implements a state indicating flag to preview pipeline,
so that new caps are not set if the pipeline is processing a
preview. The caps are set as pending and applied when the
next preview post is called.
In this case a wait was implemented in the post_preview function,
so that new preview image buffer will wait until the other previews
have been posted to the application and the new caps can be used
safely.
Thiago Santos [Tue, 29 Mar 2011 16:46:09 +0000 (13:46 -0300)]
examples: camerabin2: Fix compile problem with debug disabled
Thiago Santos [Wed, 23 Mar 2011 21:41:02 +0000 (18:41 -0300)]
camerabin2: viewfinderbin: Post missing plugin messages
Makes viewfinderbin post missing plugin messages when it
can't create an internal elements
Thiago Santos [Wed, 23 Mar 2011 21:40:03 +0000 (18:40 -0300)]
camerabin2: Improve missing plugin message
Improves the message text for missing plugin messages from
camerabin2
Thiago Santos [Wed, 23 Mar 2011 20:46:56 +0000 (17:46 -0300)]
camerabin2: Update porting file
Update porting file with mention that stop-capture is now
async.
Robert Swain [Fri, 8 Apr 2011 15:58:42 +0000 (17:58 +0200)]
gst-camerabin2-test: Allow gst-launch pipelines for sinks
Use gst_parse_launch () to parse the sink strings to allow specification
of properties to sinks and of more advanced sink graphs.
Robert Swain [Mon, 4 Apr 2011 11:28:32 +0000 (13:28 +0200)]
camerabin2: Fix debug print to show audio/video depending on pad type
Robert Swain [Thu, 31 Mar 2011 11:08:48 +0000 (13:08 +0200)]
camerabin2: Fix order of element state change
To change the state of elements in a pipeline, we should mirror the
behaviour of GstBin which starts at the sink element and works its way
upstream.
Mark Nauwelaerts [Fri, 1 Apr 2011 20:13:55 +0000 (22:13 +0200)]
vp8dec: debug code style fixes
Mark Nauwelaerts [Fri, 1 Apr 2011 20:13:00 +0000 (22:13 +0200)]
vp8dec: propagate downstream flow return to upstream
Mark Nauwelaerts [Sun, 3 Apr 2011 20:35:13 +0000 (22:35 +0200)]
basevideodecoder: handle missing framerate when calculating timestamp
Mark Nauwelaerts [Sun, 3 Apr 2011 20:32:20 +0000 (22:32 +0200)]
basevideodecoder: debug code style fixes
Mark Nauwelaerts [Fri, 1 Apr 2011 20:12:30 +0000 (22:12 +0200)]
basevideodecoder: tune parsing sink caps into video state
... to provide subclass with more information w.r.t. original caps.
Mark Nauwelaerts [Fri, 1 Apr 2011 16:49:10 +0000 (18:49 +0200)]
basevideodecoder: video state reference to codec_data is not refcounted
... but rather implicitly valid as long as sink caps are not modified.
Mark Nauwelaerts [Fri, 1 Apr 2011 16:00:11 +0000 (18:00 +0200)]
basevideodecoder: improve glitch resilience
Provide a replacement for GST_ELEMENT_ERROR to avoid aborting at the first
atom out of place, while on the other hand not failing indefinitely.
Mark Nauwelaerts [Thu, 31 Mar 2011 12:47:55 +0000 (14:47 +0200)]
basevideodecoder: reverse playback support
Mark Nauwelaerts [Wed, 30 Mar 2011 08:28:08 +0000 (10:28 +0200)]
basevideodecoder: use basevideocodec discont field
Mark Nauwelaerts [Wed, 30 Mar 2011 08:18:23 +0000 (10:18 +0200)]
basevideodecoder: really and only set src pad caps whenever requested
... since subclass is expected to be wise enough to know when to do so.
Mark Nauwelaerts [Wed, 30 Mar 2011 07:17:22 +0000 (09:17 +0200)]
basevideodecoder: add some sanity enforcing
Mark Nauwelaerts [Wed, 30 Mar 2011 07:15:13 +0000 (09:15 +0200)]
basevideodecoder: add documentation
... and remove some more stray unused code and methods.
Mark Nauwelaerts [Tue, 29 Mar 2011 13:41:55 +0000 (15:41 +0200)]
basevideocodec: fully free video frame
Mark Nauwelaerts [Tue, 29 Mar 2011 13:41:08 +0000 (15:41 +0200)]
basevideodecoder: streamline discont, flush and reset handling
... which is not to say there is no room for further tweaking ...
Mark Nauwelaerts [Tue, 29 Mar 2011 13:39:07 +0000 (15:39 +0200)]
basevideodecoder: add some header commentary
Mark Nauwelaerts [Tue, 29 Mar 2011 10:57:21 +0000 (12:57 +0200)]
basevideodecoder: remove (almost) unused fields
... and also some more unused code.
Mark Nauwelaerts [Tue, 29 Mar 2011 08:41:54 +0000 (10:41 +0200)]
basevideodecoder: invoke subclass start method at state change and use set_format
While this changes API slightly (e.g. actually uses set_format now), which is OK
for unstable API, it has following merits:
* symmetric w.r.t. stop at state change
* in line with other base class practice
* otherwise no subclass method at state change (global activation time)
Moreover, subclassese are either unaffected or trivially adjusted accordingly.
Mark Nauwelaerts [Thu, 28 Apr 2011 10:02:27 +0000 (12:02 +0200)]
basevideodecoder: fixup tweak
Mark Nauwelaerts [Mon, 28 Mar 2011 14:15:19 +0000 (16:15 +0200)]
basevideodecoder: add and tweak debug statements
Mark Nauwelaerts [Mon, 28 Mar 2011 11:32:17 +0000 (13:32 +0200)]
basevideodecoder: arrange for limited legacy seeking support
In particular, tweak src query and event handling to provide for
byte <-> time conversion.
Mark Nauwelaerts [Mon, 28 Mar 2011 09:15:49 +0000 (11:15 +0200)]
basevideo: cater for format conversion
Mark Nauwelaerts [Mon, 28 Mar 2011 08:51:27 +0000 (10:51 +0200)]
videocodec: remove unused fields and code
Mark Nauwelaerts [Mon, 28 Mar 2011 07:14:57 +0000 (09:14 +0200)]
basevideodecoder: fix copy-and-paste variable misnomer
Mark Nauwelaerts [Mon, 28 Mar 2011 06:59:20 +0000 (08:59 +0200)]
basevideodecoder: subsume skip_frame into finish_frame
Mark Nauwelaerts [Mon, 28 Mar 2011 06:56:59 +0000 (08:56 +0200)]
basevideodecoder: remove unused code
Mark Nauwelaerts [Sun, 27 Mar 2011 20:27:09 +0000 (22:27 +0200)]
basevideodecoder: code cleanup and debug style fixes
Mark Nauwelaerts [Sun, 27 Mar 2011 14:36:57 +0000 (16:36 +0200)]
basevideoencoder: pass along buffer discont flag
Mark Nauwelaerts [Fri, 25 Mar 2011 14:29:34 +0000 (15:29 +0100)]
basevideoencoder: implement preset interface
Mark Nauwelaerts [Fri, 25 Mar 2011 08:28:24 +0000 (09:28 +0100)]
basevideoencoder: add documentation and related cosmetics
Mark Nauwelaerts [Thu, 24 Mar 2011 13:10:07 +0000 (14:10 +0100)]
basevideoencoder: provide proper upstream flow return handling
Mark Nauwelaerts [Thu, 24 Mar 2011 12:59:35 +0000 (13:59 +0100)]
vp8enc: minor optimization in setting up image buffer
Mark Nauwelaerts [Thu, 24 Mar 2011 11:50:23 +0000 (12:50 +0100)]
vp8enc: refactor frame processing
Mark Nauwelaerts [Thu, 24 Mar 2011 10:55:41 +0000 (11:55 +0100)]
vp8enc: do init at set_format time
Mark Nauwelaerts [Thu, 24 Mar 2011 09:15:55 +0000 (10:15 +0100)]
vp8enc: fix keyframe forcing
Mark Nauwelaerts [Thu, 24 Mar 2011 07:23:27 +0000 (08:23 +0100)]
basevideoencoder: enhance set_caps
Specifically, only invoke set_format if incoming format really changed,
and finish current format if so (and if any current).
Mark Nauwelaerts [Wed, 23 Mar 2011 21:17:49 +0000 (22:17 +0100)]
basevideoencoder: elaborate finish to draining
Mark Nauwelaerts [Thu, 24 Mar 2011 08:21:04 +0000 (09:21 +0100)]
basevideoencoder: invoke subclass start method at state change
While this changes order w.r.t. set_format, which is OK for unstable API,
it has following merits:
* symmetric w.r.t. stop at state change
* in line with other base class practice
* little benefit in invoking 2 subclass virtual methods (set_format and start)
in immediate succession; all actions in the second could be done in the first
whereas subclass has no chance to do anything 'global' at activation time
Moreover, current -bad subclass relevant methods either trivially commute
or are either trivially adjusted accordingly.
Mark Nauwelaerts [Thu, 24 Mar 2011 07:21:03 +0000 (08:21 +0100)]
basevideoencoder: enable clipping by default
Mark Nauwelaerts [Thu, 24 Mar 2011 07:17:52 +0000 (08:17 +0100)]
basevideoencoder: reset more state
Mark Nauwelaerts [Thu, 24 Mar 2011 07:56:33 +0000 (08:56 +0100)]
basevideoencoder: header cosmetic and doc fixes
Mark Nauwelaerts [Wed, 23 Mar 2011 08:45:20 +0000 (09:45 +0100)]
basevideocodec: remove redundant caps field
... as it is already at hand as the src pad's negotiated caps.
Mark Nauwelaerts [Wed, 23 Mar 2011 08:32:50 +0000 (09:32 +0100)]
basevideoencoder: remove unused code
Mark Nauwelaerts [Wed, 23 Mar 2011 07:50:31 +0000 (08:50 +0100)]
vp8enc: use baseclass event virtual handler
Mark Nauwelaerts [Wed, 23 Mar 2011 07:49:48 +0000 (08:49 +0100)]
basevideoencoder: add event virtual method to allow subclass event handling
Mark Nauwelaerts [Wed, 23 Mar 2011 07:35:51 +0000 (08:35 +0100)]
basevideoencoder: improve GstForceKeyUnit event handling
Mark Nauwelaerts [Tue, 22 Mar 2011 12:19:17 +0000 (13:19 +0100)]
basevideocodec: debug style fixes
Mark Nauwelaerts [Mon, 21 Mar 2011 17:02:15 +0000 (18:02 +0100)]
basevideocodec: remove unused code cluttering up the place
Also minor debug style fixes.
Mark Nauwelaerts [Mon, 21 Mar 2011 16:44:17 +0000 (17:44 +0100)]
basevideoencoder: simplify negotiated checking
... by avoiding some extraneous (un)ref'ing.
Mark Nauwelaerts [Thu, 24 Mar 2011 13:16:12 +0000 (14:16 +0100)]
basevideoencoder: code cleanup and some debug
Also add some minor locking and remove unused bits.
Pino Toscano [Mon, 16 May 2011 07:07:57 +0000 (09:07 +0200)]
shm: Don't use PATH_MAX
PATH_MAX is not defined on GNU Hurd and others. Also fix
format string.
Marc-André Lureau [Sat, 14 May 2011 12:48:56 +0000 (14:48 +0200)]
gst/dccp: fix build on newer mingw
Fix this build error:
CC libgstdccp_la-gstdccpplugin.lo
In file included from ../../../gst/dccp/gstdccpclientsrc.h:29:0,
from ../../../gst/dccp/gstdccpplugin.c:24:
../../../gst/dccp/gstdccp_common.h:32:0: warning: WINVER redefined [enabled by default]
/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:231:0: note: this is the location of the previous definition
In file included from ../../../gst/dccp/gstdccpplugin.c:24:0:
../../../gst/dccp/gstdccpclientsrc.h:58:3: error: unknown type name 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:25:0:
../../../gst/dccp/gstdccpserversink.h:74:3: error: unknown type name 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:26:0:
../../../gst/dccp/gstdccpclientsink.h:67:3: error: unknown type name 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:27:0:
../../../gst/dccp/gstdccpserversrc.h:58:3: error: unknown type name 'uint8_t'
make: *** [libgstdccp_la-gstdccpplugin.lo] Error 1
https://bugzilla.gnome.org/show_bug.cgi?id=650171
Alessandro Decina [Sun, 15 May 2011 08:04:50 +0000 (10:04 +0200)]
applemedia: bump the rank of qtkitvideosrc to PRIMARY
Alessandro Decina [Sun, 15 May 2011 08:00:44 +0000 (10:00 +0200)]
hls: fix handling of strol() overflows
Sebastian Dröge [Sat, 14 May 2011 10:18:19 +0000 (12:18 +0200)]
cruft: Add ext/amrwbenc directory, it's ext/voamrwbenc now
Andoni Morales Alastruey [Thu, 12 May 2011 23:03:27 +0000 (01:03 +0200)]
basevideencoder: Fix use after free after state change transition
Sreerenj Balachandran [Mon, 18 Apr 2011 20:40:35 +0000 (23:40 +0300)]
facedetect: Remove dead code and some minor doc changes.
Sreerenj Balachandran [Sun, 24 Apr 2011 18:06:29 +0000 (21:06 +0300)]
edgedetect: Remove dead code and some minor doc changes
Luis de Bethencourt [Tue, 19 Apr 2011 17:09:30 +0000 (19:09 +0200)]
coloreffects: Coding style fixes
Sebastian Dröge [Tue, 19 Apr 2011 08:32:50 +0000 (10:32 +0200)]
aacenc: Integrate into the documentation
Sebastian Dröge [Tue, 19 Apr 2011 08:07:23 +0000 (10:07 +0200)]
amrwbenc: Switch to the free vo-amrwbenc library
And rename everything to voamrwbenc instead of amrwbenc.
benjamin gaignard [Fri, 15 Apr 2011 09:19:20 +0000 (11:19 +0200)]
faac: Detect output format from downstream caps change unit test
Sebastian Dröge [Tue, 19 Apr 2011 07:52:23 +0000 (09:52 +0200)]
voaaenc: Fix CFLAGS/LIBS of the unit test
Sebastian Dröge [Tue, 19 Apr 2011 07:49:08 +0000 (09:49 +0200)]
voaacenc: Only generate sinkcaps once and in a threadsafe way
Sebastian Dröge [Tue, 19 Apr 2011 07:42:22 +0000 (09:42 +0200)]
voaacenc: Add NULL terminator to gst_structure_new()
Sebastian Dröge [Tue, 19 Apr 2011 07:40:48 +0000 (09:40 +0200)]
voaacenc: Some minor cleanup
Sebastian Dröge [Tue, 19 Apr 2011 07:34:03 +0000 (09:34 +0200)]
voaacenc: Fix CFLAGS and LIBS
benjamin gaignard [Mon, 18 Apr 2011 15:19:00 +0000 (17:19 +0200)]
voaacenc: Add new plugin for audio AAC encoder based on vo-aacenc lib
Add plugin and unit test.
Fixes bug #647748.
Tim-Philipp Müller [Sat, 14 May 2011 09:19:57 +0000 (10:19 +0100)]
Back to development
Tim-Philipp Müller [Tue, 10 May 2011 10:35:56 +0000 (11:35 +0100)]
Release 0.10.22
Highlights:
- hlsdemux: Add HTTP live streaming parser/demuxer element
- new elements: h263parse, zebrastripe, patchdetect
- scenechange: new scene change detection element
- removed audioparsersbad plugin, it has been moved to -good
- make opencv plugin work with OpenCV 2.2
- countless (still experimental) camerabin2 fixes and improvements
- experimental VP8 RTP payloader/depayloader (RTP payloading not finalised yet)
- curlsink: add libcurl-based sink element (acts as client, not server)
- decklink: add decklink plugin
- linsys: add plugin for Linear Systems SDI boards
- sdi: add raw SDI muxing/demuxing elements
- camerabin now relies on muxers to mux based on running time (ie. latest base/good/ugly releases)
- many other fixes and improvements