platform/upstream/gstreamer.git
12 years agoMerge branch 'master' into 0.11
Wim Taymans [Tue, 6 Sep 2011 13:24:32 +0000 (15:24 +0200)]
Merge branch 'master' into 0.11

Conflicts:
gst-libs/gst/audio/audio.h
gst-libs/gst/audio/gstaudiodecoder.c
gst-libs/gst/audio/gstaudiodecoder.h
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/audio/gstbaseaudioencoder.h
gst/playback/Makefile.am
gst/playback/gstplaybin.c
gst/playback/gstplaysink.c
gst/playback/gstplaysinkvideoconvert.c
gst/playback/gstsubtitleoverlay.c
gst/videorate/gstvideorate.c
gst/videoscale/gstvideoscale.c
win32/common/libgstaudio.def

12 years agoaudio: change audio format syntax a little
Wim Taymans [Tue, 6 Sep 2011 10:06:39 +0000 (12:06 +0200)]
audio: change audio format syntax a little

Remove the _ in front of the endianness prefix.
Remove the _3 postfix for the 24 bits formats.
Add a _32 postfix after the formats that occupy extra space beyond their
natural size.
The result is that the GST_AUDIO_NE() macro can simply append the endianness
after all formats and that we only specify a different sample width when it is
different from the natural size of the sample. This makes things more consistent
and follows the pulseaudio conventions instead of the alsa ones.

12 years agodocs: more docs clean-ups
Tim-Philipp Müller [Tue, 6 Sep 2011 09:07:33 +0000 (10:07 +0100)]
docs: more docs clean-ups

12 years agovideorate: don't take the object lock twice in {set,get}_property
Vincent Penquerc'h [Mon, 5 Sep 2011 22:00:30 +0000 (23:00 +0100)]
videorate: don't take the object lock twice in {set,get}_property

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

12 years agoaudio: fix GST_AUDIO_FORMAT_INFO_IS_*() macros to return a boolean
Tim-Philipp Müller [Mon, 5 Sep 2011 21:51:38 +0000 (22:51 +0100)]
audio: fix GST_AUDIO_FORMAT_INFO_IS_*() macros to return a boolean

12 years agodocs: some docs love
Tim-Philipp Müller [Mon, 5 Sep 2011 20:40:05 +0000 (21:40 +0100)]
docs: some docs love

12 years agodocs: add GstAudioDecoder and GstAudioEncoder to documentation
Tim-Philipp Müller [Mon, 5 Sep 2011 19:45:22 +0000 (20:45 +0100)]
docs: add GstAudioDecoder and GstAudioEncoder to documentation

12 years agoaudio: rename GstBaseAudioDecoder/Encoder to GstAudioDecoder/Encoder
Tim-Philipp Müller [Mon, 5 Sep 2011 14:01:09 +0000 (15:01 +0100)]
audio: rename GstBaseAudioDecoder/Encoder to GstAudioDecoder/Encoder

API: gst_gst_audio_decoder_finish_frame()
API: gst_gst_audio_decoder_get_audio_info()
API: gst_gst_audio_decoder_get_byte_time()
API: gst_gst_audio_decoder_get_delay()
API: gst_gst_audio_decoder_get_latency()
API: gst_gst_audio_decoder_get_max_errors()
API: gst_gst_audio_decoder_get_min_latenc()y
API: gst_gst_audio_decoder_get_parse_state()
API: gst_gst_audio_decoder_get_plc()
API: gst_gst_audio_decoder_get_plc_aware()
API: gst_gst_audio_decoder_get_tolerance()
API: gst_gst_audio_decoder_get_type()
API: gst_gst_audio_decoder_set_byte_time()
API: gst_gst_audio_decoder_set_latency()
API: gst_gst_audio_decoder_set_max_errors()
API: gst_gst_audio_decoder_set_min_latency()
API: gst_gst_audio_decoder_set_plc()
API: gst_gst_audio_decoder_set_plc_aware()
API: gst_gst_audio_decoder_set_tolerance()

API: gst_gst_audio_encoder_finish_frame()
API: gst_gst_audio_encoder_get_audio_info()
API: gst_gst_audio_encoder_get_frame_max()
API: gst_gst_audio_encoder_get_frame_samples()
API: gst_gst_audio_encoder_get_hard_resync()
API: gst_gst_audio_encoder_get_latency()
API: gst_gst_audio_encoder_get_lookahead()
API: gst_gst_audio_encoder_get_mark_granule()
API: gst_gst_audio_encoder_get_perfect_timestamp()
API: gst_gst_audio_encoder_get_tolerance()
API: gst_gst_audio_encoder_get_type()
API: gst_gst_audio_encoder_proxy_getcaps()
API: gst_gst_audio_encoder_set_frame_max()
API: gst_gst_audio_encoder_set_frame_samples()
API: gst_gst_audio_encoder_set_hard_resync()
API: gst_gst_audio_encoder_set_latency()
API: gst_gst_audio_encoder_set_lookahead()
API: gst_gst_audio_encoder_set_mark_granule()
API: gst_gst_audio_encoder_set_perfect_timestamp()
API: gst_gst_audio_encoder_set_tolerance()

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

12 years agoencodebin: Select muxer further
Thiago Santos [Wed, 3 Aug 2011 16:31:59 +0000 (13:31 -0300)]
encodebin: Select muxer further

Sort muxers based on their caps and ranking before iterating to
find one that fits the profile.

Sorting is done by putting the elements that have a pad template
that can produce the exact caps that is on the profile. For example:
when asking for "video/quicktime, variant=iso", muxers that
have this exact caps on their pad templates will be put first on
the list than ones that have only "video/quicktime".

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

12 years agodecodebin2: Actually iterate over the factories instead of only taking the first one
Sebastian Dröge [Mon, 5 Sep 2011 18:31:04 +0000 (20:31 +0200)]
decodebin2: Actually iterate over the factories instead of only taking the first one

12 years agotests: supress ERROR log output for some tests
Stefan Sauer [Mon, 5 Sep 2011 13:51:25 +0000 (15:51 +0200)]
tests: supress ERROR log output for some tests

Be nice when we tests for correct error handling and don't spam stdout.

12 years agoRevert "playsink: Try include 'pitch', if no other sink is provided"
Tim-Philipp Müller [Mon, 5 Sep 2011 13:40:24 +0000 (14:40 +0100)]
Revert "playsink: Try include 'pitch', if no other sink is provided"

This reverts commit 105814e2c78f9867c61531b9e8166e4ae994296f.

The general consensus seems to be that we should revert this for
now. If such behaviour is desired, we should probably enable it
via a flag. And maybe use the scaletempo plugin instead.

12 years agoplaysink: Don't leak the videochain ts-offset element
Sebastian Dröge [Mon, 5 Sep 2011 10:02:23 +0000 (12:02 +0200)]
playsink: Don't leak the videochain ts-offset element

Also don't leak the audiochain ts-offset element if one is
found but the sink doesn't support volume settings.

12 years agoplaysink: Use gst_object_unref() instead of g_object_unref() for better debugging
Sebastian Dröge [Mon, 5 Sep 2011 09:55:59 +0000 (11:55 +0200)]
playsink: Use gst_object_unref() instead of g_object_unref() for better debugging

12 years agovideoscale: Add modified Lanczos scaling method
David Schleef [Fri, 18 Mar 2011 02:13:58 +0000 (19:13 -0700)]
videoscale: Add modified Lanczos scaling method

Adds a Lanczos-derived scaling method, which is rather slow, but very
high quality.  Adds a few properties that can be used to tune various
scaling properties: sharpness, sharpen, envelope, dither.  Not currently
Orcified, but was designed with that in mind.

12 years agoplayback: Add define for colorspace element
David Schleef [Mon, 16 May 2011 21:46:52 +0000 (14:46 -0700)]
playback: Add define for colorspace element

Single point of change if you want to switch from ffmpegcolorspace
to colorspace.

12 years agovideorate: fix dynamically changing average period
Sjoerd Simons [Thu, 25 Aug 2011 14:14:58 +0000 (15:14 +0100)]
videorate: fix dynamically changing average period

The average_period_set variable can be accessed in different threads, so
always lock it when reading. Furthermore when switching to averaging
mode we should make sure we don't have cached buffers that aren't used
in that mode. And any modeswitch will cause the latency to change, so we
should post a NewLatency message

12 years agovideorate: Port to basetransform
Sjoerd Simons [Tue, 23 Aug 2011 08:11:52 +0000 (10:11 +0200)]
videorate: Port to basetransform

12 years agoCorrect added versions
Sjoerd Simons [Mon, 22 Aug 2011 13:52:57 +0000 (15:52 +0200)]
Correct added versions

12 years agoplaysink: Only unref ts_offset elements if they're not NULL
Sebastian Dröge [Wed, 31 Aug 2011 12:45:08 +0000 (14:45 +0200)]
playsink: Only unref ts_offset elements if they're not NULL

12 years agovideo: improve docs a little
Wim Taymans [Wed, 31 Aug 2011 11:32:21 +0000 (13:32 +0200)]
video: improve docs a little

12 years agodecodebin2: Keep the chain mutex locked while connecting to the notify::caps signal
Sebastian Dröge [Wed, 31 Aug 2011 10:39:18 +0000 (12:39 +0200)]
decodebin2: Keep the chain mutex locked while connecting to the notify::caps signal

12 years agovideo: add some more macros
Wim Taymans [Tue, 30 Aug 2011 12:04:54 +0000 (14:04 +0200)]
video: add some more macros

12 years agoseek: Accept pipeline descriptions for audiosink/videosink
Jan Schmidt [Tue, 30 Aug 2011 08:21:31 +0000 (18:21 +1000)]
seek: Accept pipeline descriptions for audiosink/videosink

Make the element_factory_make_or_warn utility function try parsing
the input string as a bin if element_factory_make() fails. This makes
the --audiosink/--videosink commandline options accept a pipeline
string.

12 years agoplaysink: Try include 'pitch', if no other sink is provided
Jan Schmidt [Tue, 30 Aug 2011 08:21:31 +0000 (18:21 +1000)]
playsink: Try include 'pitch', if no other sink is provided

As a default, try the pipeline 'pitch ! audioconvert ! autoaudiosink'
before trying plain autoaudiosink

12 years agoplaysink: fix ts_offset refcounting
Wim Taymans [Mon, 29 Aug 2011 11:33:49 +0000 (13:33 +0200)]
playsink: fix ts_offset refcounting

12 years agobase: port to 0.11
Wim Taymans [Mon, 29 Aug 2011 11:28:08 +0000 (13:28 +0200)]
base: port to 0.11

12 years agoaudio: fix after merge
Wim Taymans [Mon, 29 Aug 2011 09:42:35 +0000 (11:42 +0200)]
audio: fix after merge

12 years agopbutils: port to new API
Wim Taymans [Mon, 29 Aug 2011 09:38:01 +0000 (11:38 +0200)]
pbutils: port to new API

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 29 Aug 2011 09:37:36 +0000 (11:37 +0200)]
Merge branch 'master' into 0.11

Conflicts:
ext/ogg/gstoggmux.c
gst-libs/gst/audio/audio.c
gst-libs/gst/audio/audio.h
gst-libs/gst/audio/multichannel.h
gst-libs/gst/pbutils/Makefile.am
gst-libs/gst/pbutils/gstdiscoverer.c
gst/playback/gstplaysinkaudioconvert.c
gst/playback/gstplaysinkvideoconvert.c
win32/common/libgstaudio.def

12 years agopbutils: don't depend on libgstvideo just to parse some caps
Tim-Philipp Müller [Sat, 27 Aug 2011 13:57:41 +0000 (14:57 +0100)]
pbutils: don't depend on libgstvideo just to parse some caps

Let's extract those ints and fractions ourselves and not depend
on libgstvideo.

12 years agoaudio: add GstBaseAudioDecoder and GstBaseAudioEncoder to build
Tim-Philipp Müller [Sat, 27 Aug 2011 12:31:07 +0000 (13:31 +0100)]
audio: add GstBaseAudioDecoder and GstBaseAudioEncoder to build

However, libgstaudio now depends on libgstvideo (via pbutils).

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

API: gst_audio_info_clear()
API: gst_audio_info_convert()
API: gst_audio_info_copy()
API: gst_audio_info_free()
API: gst_audio_info_from_caps()
API: gst_audio_info_init()
API: gst_audio_info_to_caps()
API: gst_base_audio_decoder_finish_frame()
API: gst_base_audio_decoder_get_audio_info()
API: gst_base_audio_decoder_get_byte_time()
API: gst_base_audio_decoder_get_delay()
API: gst_base_audio_decoder_get_latency()
API: gst_base_audio_decoder_get_max_errors()
API: gst_base_audio_decoder_get_min_latency()
API: gst_base_audio_decoder_get_parse_state()
API: gst_base_audio_decoder_get_plc()
API: gst_base_audio_decoder_get_plc_aware()
API: gst_base_audio_decoder_get_tolerance()
API: gst_base_audio_decoder_get_type()
API: gst_base_audio_decoder_set_byte_time()
API: gst_base_audio_decoder_set_latency()
API: gst_base_audio_decoder_set_max_errors()
API: gst_base_audio_decoder_set_min_latency()
API: gst_base_audio_decoder_set_plc()
API: gst_base_audio_decoder_set_plc_aware()
API: gst_base_audio_decoder_set_tolerance()
API: gst_base_audio_encoder_finish_frame()
API: gst_base_audio_encoder_get_audio_info()
API: gst_base_audio_encoder_get_frame_max()
API: gst_base_audio_encoder_get_frame_samples()
API: gst_base_audio_encoder_get_hard_resync()
API: gst_base_audio_encoder_get_latency()
API: gst_base_audio_encoder_get_lookahead()
API: gst_base_audio_encoder_get_mark_granule()
API: gst_base_audio_encoder_get_perfect_timestamp()
API: gst_base_audio_encoder_get_tolerance()
API: gst_base_audio_encoder_get_type()
API: gst_base_audio_encoder_proxy_getcaps()
API: gst_base_audio_encoder_set_frame_max()
API: gst_base_audio_encoder_set_frame_samples()
API: gst_base_audio_encoder_set_hard_resync()
API: gst_base_audio_encoder_set_latency()
API: gst_base_audio_encoder_set_lookahead()
API: gst_base_audio_encoder_set_mark_granule()
API: gst_base_audio_encoder_set_perfect_timestamp()
API: gst_base_audio_encoder_set_tolerance()

12 years agodocs: add since markers to baseaudio{decoder,encoder} documentation
Tim-Philipp Müller [Sat, 27 Aug 2011 12:15:54 +0000 (13:15 +0100)]
docs: add since markers to baseaudio{decoder,encoder} documentation

12 years agobaseaudiodecoder, baseaudioencoder: fix some compiler warnings
Tim-Philipp Müller [Sat, 27 Aug 2011 11:47:40 +0000 (12:47 +0100)]
baseaudiodecoder, baseaudioencoder: fix some compiler warnings

Leaving the GST_USE_UNSTABLE_API guards in until some of the
ported decoders have been updated and it's clear that I didn't
mess up anywhere porting things to the new audio API.

12 years agobaseaudioutils: remove, merged into or superseded by audio.c
Tim-Philipp Müller [Sat, 27 Aug 2011 11:41:28 +0000 (12:41 +0100)]
baseaudioutils: remove, merged into or superseded by audio.c

12 years agobaseaudioencoder: port to new GstAudioInfo API
Tim-Philipp Müller [Sat, 27 Aug 2011 11:39:50 +0000 (12:39 +0100)]
baseaudioencoder: port to new GstAudioInfo API

12 years agobaseaudiodecoder: port to GstAudioInfo API
Tim-Philipp Müller [Sat, 27 Aug 2011 11:37:16 +0000 (12:37 +0100)]
baseaudiodecoder: port to GstAudioInfo API

12 years agoaudio: add gst_audio_info_{init,clear} and gst_audio_info_{copy,free}
Tim-Philipp Müller [Sat, 27 Aug 2011 10:43:02 +0000 (11:43 +0100)]
audio: add gst_audio_info_{init,clear} and gst_audio_info_{copy,free}

12 years agoaudio: add GstAudioFormat, GstAudioFormatInfo and GstAudioInfo
Tim-Philipp Müller [Mon, 22 Aug 2011 19:15:15 +0000 (20:15 +0100)]
audio: add GstAudioFormat, GstAudioFormatInfo and GstAudioInfo

Same as in 0.11, but with caps parsing/serialising for 0.10 style
caps. Add setting default channel positions.

12 years agobaseaudioencoder: remove leftover experimental code
Mark Nauwelaerts [Wed, 17 Aug 2011 16:48:41 +0000 (18:48 +0200)]
baseaudioencoder: remove leftover experimental code

12 years agoaudioutils: modify _parse, add GType support functions
Mark Nauwelaerts [Wed, 17 Aug 2011 16:32:54 +0000 (18:32 +0200)]
audioutils: modify _parse, add GType support functions

12 years agobaseaudiodecoder: move properties to private storage and add
Mark Nauwelaerts [Tue, 16 Aug 2011 19:11:42 +0000 (21:11 +0200)]
baseaudiodecoder: move properties to private storage and add
_get/_set

12 years agobaseaudiodecoder: rename property
Mark Nauwelaerts [Tue, 16 Aug 2011 19:11:52 +0000 (21:11 +0200)]
baseaudiodecoder: rename property

12 years agobaseaudiodecoder: replace context helper structure by various
Mark Nauwelaerts [Tue, 16 Aug 2011 18:39:07 +0000 (20:39 +0200)]
baseaudiodecoder: replace context helper structure by various
_get/_set

12 years agobaseaudioencoder: move properties to private storage and add
Mark Nauwelaerts [Tue, 16 Aug 2011 16:59:13 +0000 (18:59 +0200)]
baseaudioencoder: move properties to private storage and add
_get/_set

12 years agobaseaudioencoder: rename some properties
Mark Nauwelaerts [Tue, 16 Aug 2011 16:25:43 +0000 (18:25 +0200)]
baseaudioencoder: rename some properties

12 years agobaseaudioencoder: replace context helper structure by various
Mark Nauwelaerts [Tue, 16 Aug 2011 16:23:14 +0000 (18:23 +0200)]
baseaudioencoder: replace context helper structure by various
_get/_set

12 years agobaseaudio: rename GstAudioState to GstAudioFormatInfo
Mark Nauwelaerts [Tue, 16 Aug 2011 15:27:07 +0000 (17:27 +0200)]
baseaudio: rename GstAudioState to GstAudioFormatInfo

12 years agobaseaudioencoder: TEMP; avoid some imperfect ts jitter ?
Mark Nauwelaerts [Fri, 17 Jun 2011 09:54:08 +0000 (11:54 +0200)]
baseaudioencoder: TEMP; avoid some imperfect ts jitter ?

... even when not in perfect mode ?

12 years agobaseaudioencoder: debug format fixes
Mark Nauwelaerts [Thu, 28 Apr 2011 10:01:43 +0000 (12:01 +0200)]
baseaudioencoder: debug format fixes

12 years agobaseaudiodecoder: debug format fix
Mark Nauwelaerts [Thu, 28 Apr 2011 10:01:30 +0000 (12:01 +0200)]
baseaudiodecoder: debug format fix

12 years agobaseaudiodecoder: fixup documentation
Mark Nauwelaerts [Thu, 31 Mar 2011 12:03:11 +0000 (14:03 +0200)]
baseaudiodecoder: fixup documentation

12 years agobaseaudiodecoder: fix FLUSH_STOP actions
Mark Nauwelaerts [Tue, 29 Mar 2011 13:51:40 +0000 (15:51 +0200)]
baseaudiodecoder: fix FLUSH_STOP actions

12 years agobaseaudiodecoder: preserve upstream seek event seqnum
Mark Nauwelaerts [Mon, 28 Mar 2011 11:16:27 +0000 (13:16 +0200)]
baseaudiodecoder: preserve upstream seek event seqnum

12 years agobaseaudioencoder: use buffer running time for granule calculation
Mark Nauwelaerts [Tue, 22 Mar 2011 10:09:56 +0000 (11:09 +0100)]
baseaudioencoder: use buffer running time for granule calculation

12 years agobaseaudiodecoder: minor fix in ts resync
Mark Nauwelaerts [Tue, 22 Mar 2011 09:45:47 +0000 (10:45 +0100)]
baseaudiodecoder: minor fix in ts resync

12 years agobaseaudiodecoder: improve glitch resilience
Mark Nauwelaerts [Mon, 21 Mar 2011 10:40:31 +0000 (11:40 +0100)]
baseaudiodecoder: 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.

12 years agobaseaudiodecoder: add limited legacy seeking support
Mark Nauwelaerts [Thu, 17 Mar 2011 11:09:47 +0000 (12:09 +0100)]
baseaudiodecoder: add limited legacy seeking support

12 years agobaseaudiodecoder: cater for audio-codec tag
Mark Nauwelaerts [Wed, 16 Mar 2011 13:41:40 +0000 (14:41 +0100)]
baseaudiodecoder: cater for audio-codec tag

12 years agobaseaudiodecoder: initial version
Mark Nauwelaerts [Thu, 10 Mar 2011 15:01:05 +0000 (16:01 +0100)]
baseaudiodecoder: initial version

12 years agobaseaudioencoder: misc fixes
Mark Nauwelaerts [Wed, 16 Mar 2011 17:41:03 +0000 (18:41 +0100)]
baseaudioencoder: misc fixes

12 years agobaseaudio: add audioutils for caps and query handling helper utils
Mark Nauwelaerts [Tue, 15 Mar 2011 16:27:42 +0000 (17:27 +0100)]
baseaudio: add audioutils for caps and query handling helper utils

12 years agobaseaudioencoder: mark unstable API
Mark Nauwelaerts [Mon, 14 Mar 2011 11:39:49 +0000 (12:39 +0100)]
baseaudioencoder: mark unstable API

12 years agobaseaudioencoder: fix clearing context
Mark Nauwelaerts [Thu, 10 Mar 2011 14:12:54 +0000 (15:12 +0100)]
baseaudioencoder: fix clearing context

12 years agobaseaudioencoder: simplify latency variable handling
Mark Nauwelaerts [Thu, 10 Mar 2011 14:12:19 +0000 (15:12 +0100)]
baseaudioencoder: simplify latency variable handling

12 years agobaseaudioencoder: minor fixes and code simplifications
Mark Nauwelaerts [Thu, 10 Mar 2011 13:28:48 +0000 (14:28 +0100)]
baseaudioencoder: minor fixes and code simplifications

Also modify and elaborate a bit on pre_push (though currently unused to no harm).

12 years agobaseaudioencoder: additional documentation on granule semantics and
Mark Nauwelaerts [Wed, 9 Mar 2011 11:44:36 +0000 (12:44 +0100)]
baseaudioencoder: additional documentation on granule semantics and
configuration

12 years agobaseaudioencoder: elaborate property names
Mark Nauwelaerts [Wed, 9 Mar 2011 11:24:34 +0000 (12:24 +0100)]
baseaudioencoder: elaborate property names

12 years agobaseaudioencoder: rename state field xint to is_int
Mark Nauwelaerts [Wed, 9 Mar 2011 11:22:04 +0000 (12:22 +0100)]
baseaudioencoder: rename state field xint to is_int

12 years agobaseaudioencoder: gtk-doc syntax fixes
Mark Nauwelaerts [Wed, 9 Mar 2011 11:18:56 +0000 (12:18 +0100)]
baseaudioencoder: gtk-doc syntax fixes

12 years agobaseaudioencoder: minor fix and cleanup
Mark Nauwelaerts [Wed, 9 Mar 2011 11:17:18 +0000 (12:17 +0100)]
baseaudioencoder: minor fix and cleanup

12 years agobaseaudiocodec: ... and also rename to baseaudiodecoder
Mark Nauwelaerts [Tue, 1 Mar 2011 13:08:18 +0000 (14:08 +0100)]
baseaudiocodec: ... and also rename to baseaudiodecoder

12 years agogst-libs/gst/audio: Remove baseaudiodecoder
Mark Nauwelaerts [Tue, 1 Mar 2011 12:58:31 +0000 (13:58 +0100)]
gst-libs/gst/audio: Remove baseaudiodecoder

Adds little beyond baseaudiocodec (seeking, bit of query), and what it adds
is mainly out-of-scope (e.g. decoder seeking, should be done by upstream
demuxer/parser) and/or based on non-prime example (mad).

12 years agobaseaudiodecoder: Return TRUE if we run into special conversion cases.
Iago Toral [Thu, 17 Sep 2009 11:26:28 +0000 (13:26 +0200)]
baseaudiodecoder: Return TRUE if we run into special conversion cases.

12 years agoaudio: initial version of GstBaseAudioCodec
Iago Toral [Tue, 1 Sep 2009 12:17:53 +0000 (14:17 +0200)]
audio: initial version of GstBaseAudioCodec

Moved most of the code to GstBaseAudioCodec, GstBaseAudioDecode is
now really small, maybe we do not really need it (or its encoder
counterpart). Added more API for subclasses and documentation.

12 years agoAdded src_queries to decoder class. Added handle_discont to decoder
Iago Toral [Fri, 14 Aug 2009 07:45:52 +0000 (09:45 +0200)]
Added src_queries to decoder class. Added handle_discont to decoder
class. Reworked reset. Various other minor fixes.

12 years agoAdded a draft implementation of gstbaseaudiodecoder
Iago Toral [Thu, 6 Aug 2009 13:28:00 +0000 (15:28 +0200)]
Added a draft implementation of gstbaseaudiodecoder

12 years agoAdded audio directory for audio codec base classes
Mark Nauwelaerts [Tue, 1 Mar 2011 10:56:29 +0000 (11:56 +0100)]
Added audio directory for audio codec base classes

12 years agoaudioencoders: add streamheader helper utility
Mark Nauwelaerts [Fri, 18 Feb 2011 15:38:37 +0000 (16:38 +0100)]
audioencoders: add streamheader helper utility

12 years agoaudioencoders: baseaudioencoder and ported encoders
Mark Nauwelaerts [Thu, 27 Jan 2011 15:52:50 +0000 (16:52 +0100)]
audioencoders: baseaudioencoder and ported encoders

12 years agobase: fix for allocation methods rename
Wim Taymans [Fri, 26 Aug 2011 12:20:30 +0000 (14:20 +0200)]
base: fix for allocation methods rename

12 years agowin32: Add new discoverer API
Sebastian Dröge [Fri, 26 Aug 2011 08:03:26 +0000 (10:03 +0200)]
win32: Add new discoverer API

12 years agodocs: Add new discoverer API
Sebastian Dröge [Fri, 26 Aug 2011 08:03:17 +0000 (10:03 +0200)]
docs: Add new discoverer API

12 years agodiscoverer: retrieve audio track language from tags too
Vincent Penquerc'h [Wed, 24 Aug 2011 15:29:08 +0000 (16:29 +0100)]
discoverer: retrieve audio track language from tags too

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

12 years agodiscoverer: consider subtitles as raw
Vincent Penquerc'h [Wed, 24 Aug 2011 14:09:47 +0000 (15:09 +0100)]
discoverer: consider subtitles as raw

Otherwise, discoverer will generated an "inner" codec
where there can be a tranformation (eg, kate -> DVD SPU,
and various ->text/x-pango-markup).

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

12 years agodiscoverer: add application/x-kate to subtitles caps
Vincent Penquerc'h [Wed, 24 Aug 2011 14:05:38 +0000 (15:05 +0100)]
discoverer: add application/x-kate to subtitles caps

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

12 years agodiscoverer: get language from other tags if we did not get it already
Vincent Penquerc'h [Wed, 24 Aug 2011 13:59:38 +0000 (14:59 +0100)]
discoverer: get language from other tags if we did not get it already

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

12 years agodiscoverer: add subtitles API
Vincent Penquerc'h [Wed, 24 Aug 2011 14:04:50 +0000 (15:04 +0100)]
discoverer: add subtitles API

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

12 years agoplayback: reference count ts_offset
David Schleef [Sun, 21 Aug 2011 21:51:45 +0000 (14:51 -0700)]
playback: reference count ts_offset

Apparently this object is being used after it's freed.  This is one
way to fix it, although perhaps not the best way.  Fixes: #656715.

12 years agowin32: Update .def files
Edward Hervey [Thu, 25 Aug 2011 15:41:53 +0000 (17:41 +0200)]
win32: Update .def files

12 years agowin32: Update pre-generated files
Edward Hervey [Thu, 25 Aug 2011 15:41:30 +0000 (17:41 +0200)]
win32: Update pre-generated files

12 years agovideo: Fix typo in interlaced flag (TTF => TFF)
Edward Hervey [Thu, 25 Aug 2011 15:41:11 +0000 (17:41 +0200)]
video: Fix typo in interlaced flag (TTF => TFF)

12 years agovideo: clean up the custom flags
Wim Taymans [Thu, 25 Aug 2011 14:41:54 +0000 (16:41 +0200)]
video: clean up the custom flags

Clean up the flags, make an enum of them. We can now do this because there are
no subclasses of buffer anymore.

12 years agoconvert: use new caps
Wim Taymans [Thu, 25 Aug 2011 14:30:49 +0000 (16:30 +0200)]
convert: use new caps

12 years agotheoraenc: fix caps leak
Vincent Penquerc'h [Thu, 25 Aug 2011 13:55:14 +0000 (14:55 +0100)]
theoraenc: fix caps leak

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

12 years agobasertppayload: Make perfect timestamps reproducible across element restart
Olivier Crête [Sat, 9 Jul 2011 03:06:46 +0000 (23:06 -0400)]
basertppayload: Make perfect timestamps reproducible across element restart

Without the perfect timestamp machinery, the RTP timestamp can be
computed directly from the running time of a buffer, but the perfect
timestamp patch broke that assumption. This patch restores it by
having the first perfect timestamp be the running time of that buffer
and counting from there.

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

12 years agoaudiotestsrc: use base class fill method
Wim Taymans [Thu, 25 Aug 2011 11:21:14 +0000 (13:21 +0200)]
audiotestsrc: use base class fill method

12 years agooggmux: fix leaks in skeleton writing
Vincent Penquerc'h [Wed, 24 Aug 2011 16:39:11 +0000 (17:39 +0100)]
oggmux: fix leaks in skeleton writing

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

12 years agooggmux: generate message headers from received tags
Vincent Penquerc'h [Thu, 18 Aug 2011 15:36:23 +0000 (16:36 +0100)]
oggmux: generate message headers from received tags

Some message headers can be deduced from tags (eg, "Language").

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

12 years agoogg: use memory slices where appropriate
Vincent Penquerc'h [Thu, 18 Aug 2011 09:05:17 +0000 (10:05 +0100)]
ogg: use memory slices where appropriate

While there, avoid zeroing newly allocated memory where unnecessary

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