platform/upstream/gstreamer.git
14 years agowinks: ignore unsupported formats
Ole André Vadla Ravnås [Mon, 31 Aug 2009 17:22:40 +0000 (19:22 +0200)]
winks: ignore unsupported formats

14 years agowinks: adjust a couple of logging severities
Ole André Vadla Ravnås [Thu, 28 Oct 2010 14:14:34 +0000 (16:14 +0200)]
winks: adjust a couple of logging severities

Should clearly not be considered warnings, as they're quite common.

14 years agoapplemedia: New plugin for Apple multimedia APIs
Ole André Vadla Ravnås [Wed, 27 Oct 2010 17:30:11 +0000 (18:30 +0100)]
applemedia: New plugin for Apple multimedia APIs

Provides the following elements:

qtkitvideosrc: OS X video source relying on the QTKit API. Comes with
hard-coded caps as the API does not provide any way of querying for
formats supported by the hardware. Hasn't been tested a lot, but seems
to work.

miovideosrc: OS X video source which uses the undocumented/private
CoreMediaIOServices API, which is also the one used by iChat.
Present on latest version of Leopard and all versions of Snow Leopard.
Has been tested extensively with built-in cameras and TANDBERG's
PrecisionHD USB camera.

vtenc, vtdec: Generic codec wrappers which make use of the undocumented/
private VideoToolbox API on OS X and iOS. List of codecs are currently
hard-coded to H.264 for vtenc, and H.264 + JPEG for vtdec. Can easily be
expanded by adding new entries to the lists, but haven't yet had time to
do that. Should probably also implement probing as available codecs depend
on the OS and its version, and there doesn't seem to be any way to
enumerate the available codecs.

vth264decbin, vth264encbin: Wrapper bins to make it easier to use
vtdec_h264/vtenc_h264 in live scenarios.

iphonecamerasrc: iPhone camera source relying on the undocumented/private
Celestial API. Tested on iOS 3.1 running on an iPhone 3GS. Stops working
after a few minutes, presumably because of a resource leak. Needs some
love.

Note that the iOS parts haven't yet been ported to iOS 4.x.

14 years agompegtsparse: Add tag event emission. Fixes #627253
Sebastian Pölsterl [Thu, 28 Oct 2010 10:43:34 +0000 (11:43 +0100)]
mpegtsparse: Add tag event emission. Fixes #627253

14 years agoAutomatic update of common submodule
Jan Schmidt [Wed, 27 Oct 2010 12:17:10 +0000 (13:17 +0100)]
Automatic update of common submodule

From 7bbd708 to 011bcc8

14 years agocamerabin: Check the source scene mode when creating it
Thiago Santos [Thu, 21 Oct 2010 19:06:08 +0000 (16:06 -0300)]
camerabin: Check the source scene mode when creating it

As camerabin only gets notified of the changes from the
video source element, it should query the initial value
once the source is created so it initializes itself
correctly.

14 years agotests: fix distcheck a bit more
Tim-Philipp Müller [Tue, 19 Oct 2010 23:07:01 +0000 (00:07 +0100)]
tests: fix distcheck a bit more

Dist elements/parser.h header file, which fixes the 'make check' build.

14 years agotests: fix valve unit test
Tim-Philipp Müller [Tue, 19 Oct 2010 22:40:36 +0000 (23:40 +0100)]
tests: fix valve unit test

gst_buffer_pad_alloc() needs simple caps or NULL caps,
ANY caps are not allowed.

14 years agodcaparse: init variable to make osx build bot happy
Tim-Philipp Müller [Tue, 19 Oct 2010 22:25:54 +0000 (23:25 +0100)]
dcaparse: init variable to make osx build bot happy

gstdcaparse.c: In function 'gst_dca_parse_check_valid_frame':
gstdcaparse.c:246: warning: 'best_sync' may be used uninitialized in this function

14 years agoaudioparsers: add very basic dts/dca parser
Tim-Philipp Müller [Mon, 18 Oct 2010 23:15:20 +0000 (00:15 +0100)]
audioparsers: add very basic dts/dca parser

Still some issues, e.g. with seekable queries in totem, but also
processing already-chunked input (created with matroskademux ! gdppay).

14 years agovarious (ext): add missing G_PARAM_STATIC_STRINGS flags
Stefan Kost [Tue, 19 Oct 2010 13:23:23 +0000 (16:23 +0300)]
various (ext): add missing G_PARAM_STATIC_STRINGS flags

Canonicalize property names as needed.

14 years agovideoanalyse: fix copy'n'paste off by one for param spec flags change
Stefan Kost [Tue, 19 Oct 2010 13:24:12 +0000 (16:24 +0300)]
videoanalyse: fix copy'n'paste off by one for param spec flags change

14 years agovarious (gst): add missing G_PARAM_STATIC_STRINGS flags
Stefan Kost [Tue, 19 Oct 2010 10:43:14 +0000 (13:43 +0300)]
various (gst): add missing G_PARAM_STATIC_STRINGS flags

Canonicalize property names as needed.

14 years agovarious: wrap property registration and add a single fixme for long desc.
Stefan Kost [Tue, 19 Oct 2010 12:30:02 +0000 (15:30 +0300)]
various: wrap property registration and add a single fixme for long desc.

14 years agopnmenc: remove stray " in doc comment
Stefan Kost [Tue, 19 Oct 2010 12:06:36 +0000 (15:06 +0300)]
pnmenc: remove stray " in doc comment

14 years agodtmfsrc: remove DEBUG_FUNCPTR from gobject vmethods
Stefan Kost [Tue, 19 Oct 2010 10:44:25 +0000 (13:44 +0300)]
dtmfsrc: remove DEBUG_FUNCPTR from gobject vmethods

14 years agotests: jifmux: Adds tests for the new tags
Thiago Santos [Fri, 8 Oct 2010 22:33:16 +0000 (19:33 -0300)]
tests: jifmux: Adds tests for the new tags

Adds tests for the new exif tags in -base

14 years agobasevideo: Move common fields/functions to basecodec
David Schleef [Sun, 10 Oct 2010 00:36:07 +0000 (17:36 -0700)]
basevideo: Move common fields/functions to basecodec

14 years agozbar: Make scanner cache optional
Kaj-Michael Lang [Tue, 28 Sep 2010 15:21:57 +0000 (18:21 +0300)]
zbar: Make scanner cache optional

14 years agophotography: actualy use the enum in the vmethods
Stefan Kost [Thu, 14 Oct 2010 20:04:15 +0000 (23:04 +0300)]
photography: actualy use the enum in the vmethods

If we introduce a new GstPhotographyNoiseReduction, lets also use it
in the vmethods

14 years agophotography: retab interface struct fields
Stefan Kost [Thu, 14 Oct 2010 20:03:19 +0000 (23:03 +0300)]
photography: retab interface struct fields

14 years agoAutomatic update of common submodule
David Schleef [Thu, 14 Oct 2010 19:32:05 +0000 (12:32 -0700)]
Automatic update of common submodule

From 5a668bf to 7bbd708

14 years agocamerabin: Remove unused entry
Thiago Santos [Thu, 14 Oct 2010 17:07:48 +0000 (14:07 -0300)]
camerabin: Remove unused entry

Remove camerabin unused enum entry

14 years agophotography: Avoid breaking ABI
Thiago Santos [Thu, 14 Oct 2010 16:41:00 +0000 (13:41 -0300)]
photography: Avoid breaking ABI

Move the newly added functions/fields to the end of the structs

14 years agompegvideoparse: accelerate search for start code
Thijs Vermeir [Thu, 14 Oct 2010 09:45:55 +0000 (11:45 +0200)]
mpegvideoparse: accelerate search for start code

As the startcode always starts with 0x000001 some iterations
can be skipped if values > 1 are detected.

~ 70% faster on HD video stream.

https://bugzilla.gnome.org/show_bug.cgi?id=632130

14 years agoac3parse: properly parse e-ac3 frame header
Mark Nauwelaerts [Thu, 14 Oct 2010 14:48:21 +0000 (16:48 +0200)]
ac3parse: properly parse e-ac3 frame header

Also add a few debug statements.

14 years agofaad: reflow opening and closing decoder
Mark Nauwelaerts [Thu, 14 Oct 2010 09:24:42 +0000 (11:24 +0200)]
faad: reflow opening and closing decoder

In particular, this reconfigures quite forcefully when renegotiation is needed.

Fixes #631501.

14 years agoqtmux: prevent infinite loop when adjusting framerate
Mark Nauwelaerts [Wed, 13 Oct 2010 15:47:29 +0000 (17:47 +0200)]
qtmux: prevent infinite loop when adjusting framerate

Fixes #632070.

14 years agotests: jifmux: update tests to the new datetime api
Thiago Santos [Wed, 13 Oct 2010 00:46:37 +0000 (21:46 -0300)]
tests: jifmux: update tests to the new datetime api

Update jifmux tests to use new gstdatetime API in core

14 years agogeometrictransform: Adds rotate element
Thiago Santos [Tue, 12 Oct 2010 12:37:56 +0000 (09:37 -0300)]
geometrictransform: Adds rotate element

Adds a new rotate element to geometrictransform. It still
needs some work. But this is a good starting point.

Based on patch from Bert Douglas <bertd tplogic com>

14 years agoflacparse: tweak setting buffer metadata; avoid timestamp jitter
Mark Nauwelaerts [Wed, 13 Oct 2010 09:00:01 +0000 (11:00 +0200)]
flacparse: tweak setting buffer metadata; avoid timestamp jitter

Fixes #631993.

14 years agofaad: cater for renegotiation
Mark Nauwelaerts [Tue, 12 Oct 2010 16:17:27 +0000 (18:17 +0200)]
faad: cater for renegotiation

At least, whenever either stream (e.g. ADTS) or upstream provides necessary
info for doing so.

Fixes #631501.

14 years agoaacparse: streamline src caps setting
Mark Nauwelaerts [Tue, 12 Oct 2010 16:07:49 +0000 (18:07 +0200)]
aacparse: streamline src caps setting

In particular, also set src caps whenever changes in stream warrant doing so.

14 years agodirectdrawsink: port GstXOverlay bits to new API
Tim-Philipp Müller [Tue, 12 Oct 2010 15:13:07 +0000 (16:13 +0100)]
directdrawsink: port GstXOverlay bits to new API

Don't use deprecated API.

14 years agofaac: adjust unit test to faac modified output
Mark Nauwelaerts [Tue, 12 Oct 2010 14:35:55 +0000 (16:35 +0200)]
faac: adjust unit test to faac modified output

14 years agochecks: remove variables from Makefile.am that aren't set
Tim-Philipp Müller [Sun, 10 Oct 2010 11:32:33 +0000 (12:32 +0100)]
checks: remove variables from Makefile.am that aren't set

Remove some stuff that was copy'n'pasted from core but
doesn't apply here. The following vars aren't set:
CHECK_CFLAGS, CHECK_LIBS, GST_OBJ_CFLAGS, GST_OBJ_LIBS,
so we may just as well remove them.

14 years agoexamples: Fix compilation with GTK+ 3.0
Sebastian Dröge [Tue, 12 Oct 2010 10:11:37 +0000 (12:11 +0200)]
examples: Fix compilation with GTK+ 3.0

14 years agoflacparse: Adjust unit tests to new flacparse behaviour
Sebastian Dröge [Tue, 12 Oct 2010 08:28:33 +0000 (10:28 +0200)]
flacparse: Adjust unit tests to new flacparse behaviour

Garbage after frames is now included in the frames because flacparse
has no easy way to detect the real end of a frame. Decoders are
expected to everything after the frame because only decoding the
bitstream will reveal the real end of the frame.

Fixes bug #631814.

14 years agoflacparse: Don't drop the last frame if it is followed by garbage
Sebastian Dröge [Tue, 12 Oct 2010 08:27:53 +0000 (10:27 +0200)]
flacparse: Don't drop the last frame if it is followed by garbage

See bug #631814.

14 years agobaseparse: perform bitrate handling and posting after newsegment sending
Mark Nauwelaerts [Mon, 11 Oct 2010 15:49:46 +0000 (17:49 +0200)]
baseparse: perform bitrate handling and posting after newsegment sending

14 years agobaseparse: immediately post subclass provided bitrate
Mark Nauwelaerts [Mon, 11 Oct 2010 15:36:19 +0000 (17:36 +0200)]
baseparse: immediately post subclass provided bitrate

14 years agoflacparse: fix parsing with unknown framesizes
Mark Nauwelaerts [Mon, 11 Oct 2010 15:06:48 +0000 (17:06 +0200)]
flacparse: fix parsing with unknown framesizes

Fixes #631814 (mostly).

14 years agofaac: handle trailing encoder output
Mark Nauwelaerts [Mon, 11 Oct 2010 15:05:28 +0000 (17:05 +0200)]
faac: handle trailing encoder output

14 years agoswitchsrc: Set the GST_ELEMENT_IS_SOURCE flag
Sebastian Dröge [Mon, 11 Oct 2010 12:25:41 +0000 (14:25 +0200)]
switchsrc: Set the GST_ELEMENT_IS_SOURCE flag

14 years agodvbsrc: Fix example usage, bandwidth=8 not 8MHz
Damien Lespiau [Mon, 13 Sep 2010 18:07:55 +0000 (19:07 +0100)]
dvbsrc: Fix example usage, bandwidth=8 not 8MHz

The bandwidth property is enum that takes the values 8, 7, 6, AUTO not
8MHz.

14 years agoshm: Add C++ protection
Olivier Crête [Fri, 8 Oct 2010 21:01:29 +0000 (17:01 -0400)]
shm: Add C++ protection

Add c++ protection in the relevant places

14 years agoAutomatic update of common submodule
David Schleef [Fri, 8 Oct 2010 19:44:45 +0000 (12:44 -0700)]
Automatic update of common submodule

From c4a8adc to 5a668bf

14 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 8 Oct 2010 10:55:29 +0000 (12:55 +0200)]
Automatic update of common submodule

From 5e3c9bf to c4a8adc

14 years agoflacparse: Simplify frame header parsing by using lookup tables
Sebastian Dröge [Thu, 7 Oct 2010 21:37:36 +0000 (23:37 +0200)]
flacparse: Simplify frame header parsing by using lookup tables

Based on a patch by Felipe Contreras.

See bug #631200.

14 years agoflacparse: Don't parse the complete FLAC frames but only look for valid frame headers
Sebastian Dröge [Thu, 7 Oct 2010 21:28:08 +0000 (23:28 +0200)]
flacparse: Don't parse the complete FLAC frames but only look for valid frame headers

Thanks to Felipe Contreras for the suggestion. This is partially
based on his patches and makes flacparse more than 3.5 times faster.

Looking for valid frame headers is unlikely to give false positives
because every frame header is at least 9 bytes long, contains a
14 bit sync code and a 8 bit checksum over the first 8 bytes.

Fixes bug #631200.

14 years agosdpdemux: workaround internal rtspsrc failing state change
Mark Nauwelaerts [Thu, 7 Oct 2010 09:59:30 +0000 (11:59 +0200)]
sdpdemux: workaround internal rtspsrc failing state change

Fixes #630046.

14 years agoaudioparse: Add support for setting the channel-positions
Sebastian Dröge [Thu, 7 Oct 2010 08:34:48 +0000 (10:34 +0200)]
audioparse: Add support for setting the channel-positions

14 years agoflacparse: Really post tags only after the initial newsegment event
Sebastian Dröge [Wed, 6 Oct 2010 16:32:51 +0000 (18:32 +0200)]
flacparse: Really post tags only after the initial newsegment event

The first newsegment event will be send by the first call to
gst_base_parse_push_buffer() if necessary, posting the tags
before that is not a good idea. Instead do it from the
GstBaseParse::pre_push_buffer vfunc.

14 years agochromahold: Fix hue calculation for red colors
Sebastian Dröge [Wed, 6 Oct 2010 14:54:16 +0000 (16:54 +0200)]
chromahold: Fix hue calculation for red colors

Also make the calculation much more accurate...

14 years agochromahold: Make everything greyscale if the target color is grey
Sebastian Dröge [Wed, 6 Oct 2010 13:21:09 +0000 (15:21 +0200)]
chromahold: Make everything greyscale if the target color is grey

14 years agochromahold: Add chromahold color effect
Sebastian Dröge [Wed, 6 Oct 2010 09:55:34 +0000 (11:55 +0200)]
chromahold: Add chromahold color effect

This effect converts all colors except a single one to
grey. The color is selected by an RGB triple and a
tolerance for the color matching in hue degree can be specified.

14 years agosdpdemux: fix and reflow some exits
Mark Nauwelaerts [Tue, 5 Oct 2010 15:04:10 +0000 (17:04 +0200)]
sdpdemux: fix and reflow some exits

14 years agosdpdemux: error out if no streams found in sdp message
Mark Nauwelaerts [Tue, 5 Oct 2010 14:56:49 +0000 (16:56 +0200)]
sdpdemux: error out if no streams found in sdp message

14 years agosdpdemux: unbreak standard manager setup
Mark Nauwelaerts [Tue, 5 Oct 2010 14:47:51 +0000 (16:47 +0200)]
sdpdemux: unbreak standard manager setup

14 years ago.gitignore: ignore more unit test binaries
Tim-Philipp Müller [Tue, 5 Oct 2010 10:44:48 +0000 (11:44 +0100)]
.gitignore: ignore more unit test binaries

14 years agoalsaspdif: remove alsaspdifsink element
Tim-Philipp Müller [Tue, 5 Oct 2010 10:42:42 +0000 (11:42 +0100)]
alsaspdif: remove alsaspdifsink element

Remove alsaspdifsink, it's not needed any longer. alsasink in -base
has been able to handle SPDIF for a while now.

14 years agoRevert "baseparse: add skip property"
Tim-Philipp Müller [Tue, 5 Oct 2010 10:17:52 +0000 (11:17 +0100)]
Revert "baseparse: add skip property"

This reverts commit b5a3d60363d837a10f0533c141ec93d10b742312.

Reverting this for now, since no one really seems to remember why this
property exists or what it could possibly be good for. It seems to have
been in the original mp3parse since the beginning of time and was back-
ported from there.

14 years agoflacparse: Fix uninitialized variable compiler warnings
Sebastian Dröge [Mon, 4 Oct 2010 08:41:52 +0000 (10:41 +0200)]
flacparse: Fix uninitialized variable compiler warnings

These warnings are wrong, the variables are only used if they were
initialized by the bit reader.

14 years agoflacparse: fix picture parsing
Felipe Contreras [Mon, 13 Sep 2010 23:48:58 +0000 (02:48 +0300)]
flacparse: fix picture parsing

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
14 years agoflacparse: Push tags before the header buffers are pushed
Sebastian Dröge [Sun, 3 Oct 2010 21:54:49 +0000 (23:54 +0200)]
flacparse: Push tags before the header buffers are pushed

14 years agoflacparse: trivial caps fix
Felipe Contreras [Mon, 2 Aug 2010 17:50:21 +0000 (20:50 +0300)]
flacparse: trivial caps fix

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
14 years agoqtmux: Add G_PARAM_STATIC_STRINGS
Thiago Santos [Mon, 4 Oct 2010 02:45:46 +0000 (23:45 -0300)]
qtmux: Add G_PARAM_STATIC_STRINGS

Add G_PARAM_STATIC_STRINGS to qtmux properties

14 years agotests: valve: Fix tests build
Thiago Santos [Mon, 4 Oct 2010 02:14:53 +0000 (23:14 -0300)]
tests: valve: Fix tests build

Adds missing cflags/libs to valve check test to
fix build

14 years agoaudioparser: Let the format string agree with the parameters to fix compiler warning
Sebastian Dröge [Sun, 3 Oct 2010 21:50:29 +0000 (23:50 +0200)]
audioparser: Let the format string agree with the parameters to fix compiler warning

14 years agovdpau: Check return values of the bitreader functions
Sebastian Dröge [Sun, 3 Oct 2010 13:55:22 +0000 (15:55 +0200)]
vdpau: Check return values of the bitreader functions

14 years agoac3parse: Use unchecked versions of the bitreader get functions
Sebastian Dröge [Sun, 3 Oct 2010 13:41:20 +0000 (15:41 +0200)]
ac3parse: Use unchecked versions of the bitreader get functions

We didn't check the return values anyway...

14 years agovalve: no need to ref the object in _chain
Stefan Kost [Tue, 28 Sep 2010 10:52:29 +0000 (13:52 +0300)]
valve: no need to ref the object in _chain

Don't ref the pad in chain, like elsewhere

14 years agobaseparse: Fix debug output
Arun Raghavan [Wed, 22 Sep 2010 10:14:43 +0000 (15:44 +0530)]
baseparse: Fix debug output

We lose the reference to the buffer after gst_pad_push(), so the debug
print should happen before.

https://bugzilla.gnome.org/show_bug.cgi?id=622276

14 years agoaudioparsers: add flacparse unit test
Mark Nauwelaerts [Fri, 1 Oct 2010 10:34:55 +0000 (12:34 +0200)]
audioparsers: add flacparse unit test

... and tweak parser test helper in the process.

14 years agobaseparse: support reverse playback
Mark Nauwelaerts [Wed, 29 Sep 2010 14:12:42 +0000 (16:12 +0200)]
baseparse: support reverse playback

... in pull mode or upstream driven.

14 years agobaseparse: remove done TODOs and update documentation
Mark Nauwelaerts [Mon, 27 Sep 2010 10:16:43 +0000 (12:16 +0200)]
baseparse: remove done TODOs and update documentation

14 years agobaseparse: use determined seekability in answering SEEKING query
Mark Nauwelaerts [Sat, 25 Sep 2010 12:40:54 +0000 (14:40 +0200)]
baseparse: use determined seekability in answering SEEKING query

14 years agobaseparse: add skip property
Mark Nauwelaerts [Sat, 25 Sep 2010 12:32:06 +0000 (14:32 +0200)]
baseparse: add skip property

14 years agoaudioparsers: add ac3parse and mpegaudioparse unit test
Mark Nauwelaerts [Sat, 25 Sep 2010 11:59:39 +0000 (13:59 +0200)]
audioparsers: add ac3parse and mpegaudioparse unit test

14 years agompegaudioparse: initial version
Mark Nauwelaerts [Sat, 25 Sep 2010 11:59:18 +0000 (13:59 +0200)]
mpegaudioparse: initial version

... adequately equivalent to mp3parse, so lets boldly set it
to higher rank.

14 years agoaacparse: set minimum frame size at _start
Mark Nauwelaerts [Sat, 25 Sep 2010 12:01:07 +0000 (14:01 +0200)]
aacparse: set minimum frame size at _start

... rather than one time at _init.

14 years agoaudioparsers: refactor existing unit tests using common helper
Mark Nauwelaerts [Sat, 25 Sep 2010 11:50:51 +0000 (13:50 +0200)]
audioparsers: refactor existing unit tests using common helper

14 years agobaseparse: use _set_frame_props to configure frame lead_in and lead_out
Mark Nauwelaerts [Wed, 22 Sep 2010 13:07:09 +0000 (15:07 +0200)]
baseparse: use _set_frame_props to configure frame lead_in and lead_out

... provided a corresponding decoder with sufficient leading and following
frames to carry out full decoding for a particular segment.

14 years agobaseparse: use _set_duration to configure duration update interval
Mark Nauwelaerts [Wed, 22 Sep 2010 12:13:17 +0000 (14:13 +0200)]
baseparse: use _set_duration to configure duration update interval

... as it logically belongs there as one or the other; either subclass
can provide a duration, or an estimate must be made (reguarly updated).

14 years agobaseparse: localize use of provided fps information
Mark Nauwelaerts [Wed, 22 Sep 2010 11:55:20 +0000 (13:55 +0200)]
baseparse: localize use of provided fps information

14 years agobaseparse: seek table and accurate seek support
Mark Nauwelaerts [Wed, 22 Sep 2010 10:13:12 +0000 (12:13 +0200)]
baseparse: seek table and accurate seek support

14 years agobaseparse: proper and more extended segment and seek handling
Mark Nauwelaerts [Tue, 21 Sep 2010 11:57:10 +0000 (13:57 +0200)]
baseparse: proper and more extended segment and seek handling

That is, loop pause handling, segment seek support, newsegment for gaps, etc

14 years agobaseparse: add index support
Mark Nauwelaerts [Tue, 21 Sep 2010 08:57:04 +0000 (10:57 +0200)]
baseparse: add index support

14 years agobaseparse: refactor state reset
Mark Nauwelaerts [Tue, 21 Sep 2010 07:59:56 +0000 (09:59 +0200)]
baseparse: refactor state reset

14 years agobaseparse: prevent indefinite resyncing
Mark Nauwelaerts [Mon, 20 Sep 2010 14:39:37 +0000 (16:39 +0200)]
baseparse: prevent indefinite resyncing

14 years agobaseparse: specific EOS handling if no output so far
Mark Nauwelaerts [Mon, 20 Sep 2010 11:57:55 +0000 (13:57 +0200)]
baseparse: specific EOS handling if no output so far

14 years agobaseparse: adjust _set_frame_prop documentation and set default as claimed
Mark Nauwelaerts [Mon, 20 Sep 2010 11:31:57 +0000 (13:31 +0200)]
baseparse: adjust _set_frame_prop documentation and set default as claimed

14 years agobaseparse: fix bitrate copy-and-paste and update heuristic
Mark Nauwelaerts [Mon, 20 Sep 2010 11:30:54 +0000 (13:30 +0200)]
baseparse: fix bitrate copy-and-paste and update heuristic

14 years agobaseparse: post duration message if average bitrates is updated
Mark Nauwelaerts [Fri, 17 Sep 2010 16:33:29 +0000 (18:33 +0200)]
baseparse: post duration message if average bitrates is updated

14 years agobaseparse: remove is_seekable vmethod and use a set_seek instead
Mark Nauwelaerts [Fri, 17 Sep 2010 16:24:22 +0000 (18:24 +0200)]
baseparse: remove is_seekable vmethod and use a set_seek instead

Seekability, like duration, etc is unlikely to change (frequently), and
the default assumption covers most cases, so let subclass set when needed.
At the same time, allow subclass to indicate if it has seek-metadata (table)
available, and possibly have it provide an average bitrate.

14 years agoac3parse: remove redundant default is_seekable
Mark Nauwelaerts [Fri, 17 Sep 2010 15:35:40 +0000 (17:35 +0200)]
ac3parse: remove redundant default is_seekable

14 years agobaseparse: add another hook for subclass prior to pushing buffer
Mark Nauwelaerts [Fri, 17 Sep 2010 15:21:46 +0000 (17:21 +0200)]
baseparse: add another hook for subclass prior to pushing buffer

... and allow subclass to perform custom segment clipping, or to
emit tags or messages at this time.

14 years agobaseparse: 0 converts to 0 by default
Mark Nauwelaerts [Fri, 17 Sep 2010 15:19:37 +0000 (17:19 +0200)]
baseparse: 0 converts to 0 by default

14 years agobasepase: refactor conversion using helper function and export default convert
Mark Nauwelaerts [Thu, 16 Sep 2010 16:56:46 +0000 (18:56 +0200)]
basepase: refactor conversion using helper function and export default convert

14 years agobaseparse: streamline query handling
Mark Nauwelaerts [Thu, 16 Sep 2010 16:35:47 +0000 (18:35 +0200)]
baseparse: streamline query handling