platform/upstream/gstreamer.git
13 years agodocs: remove obsolete commented out part
Stefan Kost [Thu, 19 May 2011 20:57:38 +0000 (23:57 +0300)]
docs: remove obsolete commented out part

We don't have this in the other modules and its not needed.

13 years agodocs: update plugin introspection data
Stefan Kost [Thu, 19 May 2011 20:50:47 +0000 (23:50 +0300)]
docs: update plugin introspection data

Now more files are merged and produced in a canonical fashion, which hopefully
creates less or no delta in the future.

13 years agoAutomatic update of common submodule
Stefan Kost [Thu, 19 May 2011 19:58:10 +0000 (22:58 +0300)]
Automatic update of common submodule

From 9e5bbd5 to 69b981f

13 years agocamerabin2: examples: Add video-device argument
Thiago Santos [Thu, 19 May 2011 17:58:22 +0000 (14:58 -0300)]
camerabin2: examples: Add video-device argument

Adds an argument to select which video device should be used
on the video source element in camerabin2

13 years agocamerabin2: examples: Fix typo from previous commit
Thiago Santos [Thu, 19 May 2011 17:52:22 +0000 (14:52 -0300)]
camerabin2: examples: Fix typo from previous commit

The property is audio-src and not audio-source

13 years agocamerabin2: examples: Add audio-source parameter to gst-camerabin2-test
Thiago Santos [Thu, 19 May 2011 17:32:02 +0000 (14:32 -0300)]
camerabin2: examples: Add audio-source parameter to gst-camerabin2-test

Adds an option to select the audio source to be used on video
recordings on camerabin2 test application

13 years agoconfigure: add missing [
Thiago Santos [Thu, 19 May 2011 17:23:59 +0000 (14:23 -0300)]
configure: add missing [

Adds missing [ to configure on the CDAUDIO pkg config check

13 years agojasperenc: remove unused 'mimetype' variable
Stefan Kost [Thu, 19 May 2011 15:45:25 +0000 (18:45 +0300)]
jasperenc: remove unused 'mimetype' variable

As mimetype is not used, we don't need to fetch it and therefore neither need
the structure s.

13 years agoUpdate spec file to fit with latest upstream spec files
Christian Fredrik Kalager Schaller [Thu, 19 May 2011 14:26:38 +0000 (15:26 +0100)]
Update spec file to fit with latest upstream spec files

13 years agoshm: Make gcc 4.6 happy
Olivier Crête [Wed, 18 May 2011 19:44:06 +0000 (15:44 -0400)]
shm: Make gcc 4.6 happy

Remove warnings due to initialized but never used warnings

13 years agoh264parse: max pps is 255
David Schleef [Wed, 18 May 2011 20:35:34 +0000 (13:35 -0700)]
h264parse: max pps is 255

Fixes #650484.

13 years agodecklink: Change counters to 64 bit unsigned integers.
Brian Gitonga Marete [Thu, 12 May 2011 19:54:44 +0000 (22:54 +0300)]
decklink: Change counters to 64 bit unsigned integers.

13 years agoconfigure: switch libcdaudio to pkg-config
David Schleef [Tue, 10 May 2011 23:14:32 +0000 (16:14 -0700)]
configure: switch libcdaudio to pkg-config

13 years agompegtsmux: use gst debug for tsmux library
David Schleef [Mon, 25 Apr 2011 02:11:36 +0000 (19:11 -0700)]
mpegtsmux: use gst debug for tsmux library

13 years agoavc: avcsrc is always enabled
Quentin Smith [Tue, 19 Apr 2011 19:04:05 +0000 (15:04 -0400)]
avc: avcsrc is always enabled

13 years agoavc: Include 200 bus cycles in each buffer (about 300 TS packets)
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)

13 years agoavc: Emit a single buffer per callback
Quentin Smith [Tue, 19 Apr 2011 19:00:53 +0000 (15:00 -0400)]
avc: Emit a single buffer per callback

13 years agoavc: Track the number of enqueued and dequeued packets
Quentin Smith [Tue, 19 Apr 2011 17:53:54 +0000 (13:53 -0400)]
avc: Track the number of enqueued and dequeued packets

13 years agoavc: Dump timestamp information
Quentin Smith [Tue, 19 Apr 2011 17:53:23 +0000 (13:53 -0400)]
avc: Dump timestamp information

13 years agoavc: Save AVC objects in the GstAVCSrc object
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

13 years agoavc: Cycle and packet are unsigned
Quentin Smith [Mon, 18 Apr 2011 19:16:00 +0000 (15:16 -0400)]
avc: Cycle and packet are unsigned

13 years agoavc: avcsrc is a live source
Quentin Smith [Mon, 18 Apr 2011 19:15:28 +0000 (15:15 -0400)]
avc: avcsrc is a live source

13 years agoavc: Look in AVCVideoServices for headers
Quentin Smith [Mon, 18 Apr 2011 19:14:55 +0000 (15:14 -0400)]
avc: Look in AVCVideoServices for headers

13 years agoavc: attempt new configure
David Schleef [Mon, 18 Apr 2011 19:28:52 +0000 (12:28 -0700)]
avc: attempt new configure

13 years agoavc: Add AVC Video Services plugin for OS/X
David Schleef [Sun, 17 Apr 2011 02:42:00 +0000 (19:42 -0700)]
avc: Add AVC Video Services plugin for OS/X

13 years agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 13:10:40 +0000 (16:10 +0300)]
Automatic update of common submodule

From fd35073 to 9e5bbd5

13 years agovp8enc: Name max/min quantizer properties {max,min}-quantizer
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.

13 years agovp8enc: Add properties to select a maximum and minimum quantizer
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.

13 years agovp8enc: Fix quality to (constant) quantizer mapping
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.

13 years agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 09:24:47 +0000 (12:24 +0300)]
Automatic update of common submodule

From 46dfcea to fd35073

13 years agovarious: fix author tag in element details
Stefan Kost [Thu, 28 Apr 2011 12:59:38 +0000 (15:59 +0300)]
various: fix author tag in element details

13 years agoelement-templates: improve the audiofilter template
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.

13 years agoelement-maker: improve plugin_init()
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.

13 years agoh264parse: fix some buffer leaks
Mark Nauwelaerts [Thu, 12 May 2011 09:57:19 +0000 (11:57 +0200)]
h264parse: fix some buffer leaks

Fixes #650323.

13 years agoh264parse: fixup boilerplate and debug code style
Mark Nauwelaerts [Thu, 12 May 2011 09:56:52 +0000 (11:56 +0200)]
h264parse: fixup boilerplate and debug code style

13 years agocamerabin2: Remove obsolete imagecapturebin
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

13 years agocamerabin2: use jpeg as a container to force jifmux usage
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

13 years agocamerabin2: do proper EOS handling on send_event(eos)
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.

13 years agocamerabin2: use encodebin to encode images
Alessandro Decina [Thu, 28 Apr 2011 13:11:36 +0000 (15:11 +0200)]
camerabin2: use encodebin to encode images

13 years agojifmux: Bump rank to secondary
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

13 years agojifmux: Change class to formatter
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

13 years agoexamples: camerabin2: Fix GOptionEntry array
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

13 years agocamerabin2: examples: build fixes
Thiago Santos [Thu, 12 May 2011 14:39:51 +0000 (11:39 -0300)]
camerabin2: examples: build fixes

Add some missing dependencies

13 years agocamerabin2: Changing how some properties work
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.

13 years agocamerabin2: Updating PORTING file
Lasse Laukkanen [Fri, 29 Apr 2011 11:54:56 +0000 (08:54 -0300)]
camerabin2: Updating PORTING file

13 years agocamerabin2: Adding missing plugin error messages
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

13 years agocamerabin2: encodebin might not have the requested pad
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

13 years agoexamples: camerabin2: Add more arguments
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.

13 years agocamerabin2: imagecapturebin: Fix tags merging mode
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.

13 years agocamerabin2: Fix tag handling for videos
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

13 years agotests: camerabin2: Fix set but unused variable warnings
Thiago Santos [Tue, 26 Apr 2011 17:50:29 +0000 (14:50 -0300)]
tests: camerabin2: Fix set but unused variable warnings

13 years agotests: camerabin2: Fix tags setting tests
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.

13 years agocamerabin2: Adding camera source documentation file
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

13 years agobasecamerabinsrc: Handle errors from preview pipeline
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.

13 years agobasecamerabinsrc: Protection for previewpipeline when setting new preview caps
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.

13 years agoexamples: camerabin2: Fix compile problem with debug disabled
Thiago Santos [Tue, 29 Mar 2011 16:46:09 +0000 (13:46 -0300)]
examples: camerabin2: Fix compile problem with debug disabled

13 years agocamerabin2: viewfinderbin: Post missing plugin messages
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

13 years agocamerabin2: Improve missing plugin message
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

13 years agocamerabin2: Update porting file
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.

13 years agogst-camerabin2-test: Allow gst-launch pipelines for sinks
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.

13 years agocamerabin2: Fix debug print to show audio/video depending on pad type
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

13 years agocamerabin2: Fix order of element state change
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.

13 years agovp8dec: debug code style fixes
Mark Nauwelaerts [Fri, 1 Apr 2011 20:13:55 +0000 (22:13 +0200)]
vp8dec: debug code style fixes

13 years agovp8dec: propagate downstream flow return to upstream
Mark Nauwelaerts [Fri, 1 Apr 2011 20:13:00 +0000 (22:13 +0200)]
vp8dec: propagate downstream flow return to upstream

13 years agobasevideodecoder: handle missing framerate when calculating timestamp
Mark Nauwelaerts [Sun, 3 Apr 2011 20:35:13 +0000 (22:35 +0200)]
basevideodecoder: handle missing framerate when calculating timestamp

13 years agobasevideodecoder: debug code style fixes
Mark Nauwelaerts [Sun, 3 Apr 2011 20:32:20 +0000 (22:32 +0200)]
basevideodecoder: debug code style fixes

13 years agobasevideodecoder: tune parsing sink caps into video state
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.

13 years agobasevideodecoder: video state reference to codec_data is not refcounted
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.

13 years agobasevideodecoder: improve glitch resilience
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.

13 years agobasevideodecoder: reverse playback support
Mark Nauwelaerts [Thu, 31 Mar 2011 12:47:55 +0000 (14:47 +0200)]
basevideodecoder: reverse playback support

13 years agobasevideodecoder: use basevideocodec discont field
Mark Nauwelaerts [Wed, 30 Mar 2011 08:28:08 +0000 (10:28 +0200)]
basevideodecoder: use basevideocodec discont field

13 years agobasevideodecoder: really and only set src pad caps whenever requested
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.

13 years agobasevideodecoder: add some sanity enforcing
Mark Nauwelaerts [Wed, 30 Mar 2011 07:17:22 +0000 (09:17 +0200)]
basevideodecoder: add some sanity enforcing

13 years agobasevideodecoder: add documentation
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.

13 years agobasevideocodec: fully free video frame
Mark Nauwelaerts [Tue, 29 Mar 2011 13:41:55 +0000 (15:41 +0200)]
basevideocodec: fully free video frame

13 years agobasevideodecoder: streamline discont, flush and reset handling
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 ...

13 years agobasevideodecoder: add some header commentary
Mark Nauwelaerts [Tue, 29 Mar 2011 13:39:07 +0000 (15:39 +0200)]
basevideodecoder: add some header commentary

13 years agobasevideodecoder: remove (almost) unused fields
Mark Nauwelaerts [Tue, 29 Mar 2011 10:57:21 +0000 (12:57 +0200)]
basevideodecoder: remove (almost) unused fields

... and also some more unused code.

13 years agobasevideodecoder: invoke subclass start method at state change and use set_format
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.

13 years agobasevideodecoder: fixup tweak
Mark Nauwelaerts [Thu, 28 Apr 2011 10:02:27 +0000 (12:02 +0200)]
basevideodecoder: fixup tweak

13 years agobasevideodecoder: add and tweak debug statements
Mark Nauwelaerts [Mon, 28 Mar 2011 14:15:19 +0000 (16:15 +0200)]
basevideodecoder: add and tweak debug statements

13 years agobasevideodecoder: arrange for limited legacy seeking support
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.

13 years agobasevideo: cater for format conversion
Mark Nauwelaerts [Mon, 28 Mar 2011 09:15:49 +0000 (11:15 +0200)]
basevideo: cater for format conversion

13 years agovideocodec: remove unused fields and code
Mark Nauwelaerts [Mon, 28 Mar 2011 08:51:27 +0000 (10:51 +0200)]
videocodec: remove unused fields and code

13 years agobasevideodecoder: fix copy-and-paste variable misnomer
Mark Nauwelaerts [Mon, 28 Mar 2011 07:14:57 +0000 (09:14 +0200)]
basevideodecoder: fix copy-and-paste variable misnomer

13 years agobasevideodecoder: subsume skip_frame into finish_frame
Mark Nauwelaerts [Mon, 28 Mar 2011 06:59:20 +0000 (08:59 +0200)]
basevideodecoder: subsume skip_frame into finish_frame

13 years agobasevideodecoder: remove unused code
Mark Nauwelaerts [Mon, 28 Mar 2011 06:56:59 +0000 (08:56 +0200)]
basevideodecoder: remove unused code

13 years agobasevideodecoder: code cleanup and debug style fixes
Mark Nauwelaerts [Sun, 27 Mar 2011 20:27:09 +0000 (22:27 +0200)]
basevideodecoder: code cleanup and debug style fixes

13 years agobasevideoencoder: pass along buffer discont flag
Mark Nauwelaerts [Sun, 27 Mar 2011 14:36:57 +0000 (16:36 +0200)]
basevideoencoder: pass along buffer discont flag

13 years agobasevideoencoder: implement preset interface
Mark Nauwelaerts [Fri, 25 Mar 2011 14:29:34 +0000 (15:29 +0100)]
basevideoencoder: implement preset interface

13 years agobasevideoencoder: add documentation and related cosmetics
Mark Nauwelaerts [Fri, 25 Mar 2011 08:28:24 +0000 (09:28 +0100)]
basevideoencoder: add documentation and related cosmetics

13 years agobasevideoencoder: provide proper upstream flow return handling
Mark Nauwelaerts [Thu, 24 Mar 2011 13:10:07 +0000 (14:10 +0100)]
basevideoencoder: provide proper upstream flow return handling

13 years agovp8enc: minor optimization in setting up image buffer
Mark Nauwelaerts [Thu, 24 Mar 2011 12:59:35 +0000 (13:59 +0100)]
vp8enc: minor optimization in setting up image buffer

13 years agovp8enc: refactor frame processing
Mark Nauwelaerts [Thu, 24 Mar 2011 11:50:23 +0000 (12:50 +0100)]
vp8enc: refactor frame processing

13 years agovp8enc: do init at set_format time
Mark Nauwelaerts [Thu, 24 Mar 2011 10:55:41 +0000 (11:55 +0100)]
vp8enc: do init at set_format time

13 years agovp8enc: fix keyframe forcing
Mark Nauwelaerts [Thu, 24 Mar 2011 09:15:55 +0000 (10:15 +0100)]
vp8enc: fix keyframe forcing

13 years agobasevideoencoder: enhance set_caps
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).

13 years agobasevideoencoder: elaborate finish to draining
Mark Nauwelaerts [Wed, 23 Mar 2011 21:17:49 +0000 (22:17 +0100)]
basevideoencoder: elaborate finish to draining

13 years agobasevideoencoder: invoke subclass start method at state change
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.

13 years agobasevideoencoder: enable clipping by default
Mark Nauwelaerts [Thu, 24 Mar 2011 07:21:03 +0000 (08:21 +0100)]
basevideoencoder: enable clipping by default