David Schleef [Mon, 25 Apr 2011 02:11:36 +0000 (19:11 -0700)]
mpegtsmux: use gst debug for tsmux library
Quentin Smith [Tue, 19 Apr 2011 19:04:05 +0000 (15:04 -0400)]
avc: avcsrc is always enabled
Quentin Smith [Tue, 19 Apr 2011 19:01:15 +0000 (15:01 -0400)]
avc: Include 200 bus cycles in each buffer (about 300 TS packets)
Quentin Smith [Tue, 19 Apr 2011 19:00:53 +0000 (15:00 -0400)]
avc: Emit a single buffer per callback
Quentin Smith [Tue, 19 Apr 2011 17:53:54 +0000 (13:53 -0400)]
avc: Track the number of enqueued and dequeued packets
Quentin Smith [Tue, 19 Apr 2011 17:53:23 +0000 (13:53 -0400)]
avc: Dump timestamp information
Quentin Smith [Mon, 18 Apr 2011 19:37:57 +0000 (15:37 -0400)]
avc: Save AVC objects in the GstAVCSrc object
and stop them when the pipeline is stopped
Quentin Smith [Mon, 18 Apr 2011 19:16:00 +0000 (15:16 -0400)]
avc: Cycle and packet are unsigned
Quentin Smith [Mon, 18 Apr 2011 19:15:28 +0000 (15:15 -0400)]
avc: avcsrc is a live source
Quentin Smith [Mon, 18 Apr 2011 19:14:55 +0000 (15:14 -0400)]
avc: Look in AVCVideoServices for headers
David Schleef [Mon, 18 Apr 2011 19:28:52 +0000 (12:28 -0700)]
avc: attempt new configure
David Schleef [Sun, 17 Apr 2011 02:42:00 +0000 (19:42 -0700)]
avc: Add AVC Video Services plugin for OS/X
Stefan Kost [Wed, 18 May 2011 13:10:40 +0000 (16:10 +0300)]
Automatic update of common submodule
From fd35073 to 9e5bbd5
Sebastian Dröge [Wed, 18 May 2011 11:27:20 +0000 (13:27 +0200)]
vp8enc: Name max/min quantizer properties {max,min}-quantizer
Also improve quality property description.
Alexey Fisher [Wed, 18 May 2011 11:26:23 +0000 (13:26 +0200)]
vp8enc: Add properties to select a maximum and minimum quantizer
Fixes bug #641405.
Alexey Fisher [Wed, 18 May 2011 11:18:58 +0000 (13:18 +0200)]
vp8enc: Fix quality to (constant) quantizer mapping
This now allows to select all possible quantizers between
0 and 63.
See bug #641405.
Stefan Kost [Wed, 18 May 2011 09:24:47 +0000 (12:24 +0300)]
Automatic update of common submodule
From 46dfcea to fd35073
Stefan Kost [Thu, 28 Apr 2011 12:59:38 +0000 (15:59 +0300)]
various: fix author tag in element details
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