Mark Nauwelaerts [Tue, 16 Aug 2011 19:11:42 +0000 (21:11 +0200)]
baseaudiodecoder: move properties to private storage and add
_get/_set
Mark Nauwelaerts [Tue, 16 Aug 2011 19:11:52 +0000 (21:11 +0200)]
baseaudiodecoder: rename property
Mark Nauwelaerts [Tue, 16 Aug 2011 18:39:07 +0000 (20:39 +0200)]
baseaudiodecoder: replace context helper structure by various
_get/_set
Mark Nauwelaerts [Tue, 16 Aug 2011 16:59:13 +0000 (18:59 +0200)]
baseaudioencoder: move properties to private storage and add
_get/_set
Mark Nauwelaerts [Tue, 16 Aug 2011 16:25:43 +0000 (18:25 +0200)]
baseaudioencoder: rename some properties
Mark Nauwelaerts [Tue, 16 Aug 2011 16:23:14 +0000 (18:23 +0200)]
baseaudioencoder: replace context helper structure by various
_get/_set
Mark Nauwelaerts [Tue, 16 Aug 2011 15:27:07 +0000 (17:27 +0200)]
baseaudio: rename GstAudioState to GstAudioFormatInfo
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 ?
Mark Nauwelaerts [Thu, 28 Apr 2011 10:01:43 +0000 (12:01 +0200)]
baseaudioencoder: debug format fixes
Mark Nauwelaerts [Thu, 28 Apr 2011 10:01:30 +0000 (12:01 +0200)]
baseaudiodecoder: debug format fix
Mark Nauwelaerts [Thu, 31 Mar 2011 12:03:11 +0000 (14:03 +0200)]
baseaudiodecoder: fixup documentation
Mark Nauwelaerts [Tue, 29 Mar 2011 13:51:40 +0000 (15:51 +0200)]
baseaudiodecoder: fix FLUSH_STOP actions
Mark Nauwelaerts [Mon, 28 Mar 2011 11:16:27 +0000 (13:16 +0200)]
baseaudiodecoder: preserve upstream seek event seqnum
Mark Nauwelaerts [Tue, 22 Mar 2011 10:09:56 +0000 (11:09 +0100)]
baseaudioencoder: use buffer running time for granule calculation
Mark Nauwelaerts [Tue, 22 Mar 2011 09:45:47 +0000 (10:45 +0100)]
baseaudiodecoder: minor fix in ts resync
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.
Mark Nauwelaerts [Thu, 17 Mar 2011 11:09:47 +0000 (12:09 +0100)]
baseaudiodecoder: add limited legacy seeking support
Mark Nauwelaerts [Wed, 16 Mar 2011 13:41:40 +0000 (14:41 +0100)]
baseaudiodecoder: cater for audio-codec tag
Mark Nauwelaerts [Thu, 10 Mar 2011 15:01:05 +0000 (16:01 +0100)]
baseaudiodecoder: initial version
Mark Nauwelaerts [Wed, 16 Mar 2011 17:41:03 +0000 (18:41 +0100)]
baseaudioencoder: misc fixes
Mark Nauwelaerts [Tue, 15 Mar 2011 16:27:42 +0000 (17:27 +0100)]
baseaudio: add audioutils for caps and query handling helper utils
Mark Nauwelaerts [Mon, 14 Mar 2011 11:39:49 +0000 (12:39 +0100)]
baseaudioencoder: mark unstable API
Mark Nauwelaerts [Thu, 10 Mar 2011 14:12:54 +0000 (15:12 +0100)]
baseaudioencoder: fix clearing context
Mark Nauwelaerts [Thu, 10 Mar 2011 14:12:19 +0000 (15:12 +0100)]
baseaudioencoder: simplify latency variable handling
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).
Mark Nauwelaerts [Wed, 9 Mar 2011 11:44:36 +0000 (12:44 +0100)]
baseaudioencoder: additional documentation on granule semantics and
configuration
Mark Nauwelaerts [Wed, 9 Mar 2011 11:24:34 +0000 (12:24 +0100)]
baseaudioencoder: elaborate property names
Mark Nauwelaerts [Wed, 9 Mar 2011 11:22:04 +0000 (12:22 +0100)]
baseaudioencoder: rename state field xint to is_int
Mark Nauwelaerts [Wed, 9 Mar 2011 11:18:56 +0000 (12:18 +0100)]
baseaudioencoder: gtk-doc syntax fixes
Mark Nauwelaerts [Wed, 9 Mar 2011 11:17:18 +0000 (12:17 +0100)]
baseaudioencoder: minor fix and cleanup
Mark Nauwelaerts [Tue, 1 Mar 2011 13:08:18 +0000 (14:08 +0100)]
baseaudiocodec: ... and also rename to 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).
Iago Toral [Thu, 17 Sep 2009 11:26:28 +0000 (13:26 +0200)]
baseaudiodecoder: Return TRUE if we run into special conversion cases.
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.
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.
Iago Toral [Thu, 6 Aug 2009 13:28:00 +0000 (15:28 +0200)]
Added a draft implementation of gstbaseaudiodecoder
Mark Nauwelaerts [Tue, 1 Mar 2011 10:56:29 +0000 (11:56 +0100)]
Added audio directory for audio codec base classes
Mark Nauwelaerts [Fri, 18 Feb 2011 15:38:37 +0000 (16:38 +0100)]
audioencoders: add streamheader helper utility
Mark Nauwelaerts [Thu, 27 Jan 2011 15:52:50 +0000 (16:52 +0100)]
audioencoders: baseaudioencoder and ported encoders
Sebastian Dröge [Fri, 26 Aug 2011 08:03:26 +0000 (10:03 +0200)]
win32: Add new discoverer API
Sebastian Dröge [Fri, 26 Aug 2011 08:03:17 +0000 (10:03 +0200)]
docs: Add new discoverer API
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
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
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
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
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
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.
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
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
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
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
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
Sebastian Dröge [Wed, 24 Aug 2011 12:05:27 +0000 (14:05 +0200)]
playsink{audio,video}convert: Send NEWSEGMENT events to sinkpads instead of pushing them
Vincent Penquerc'h [Tue, 23 Aug 2011 10:12:10 +0000 (11:12 +0100)]
oggdemux: do not warn when reaching EOS while scanning for the end chain
After all, we were asking for it.
This gets rid of the last warning-about-expected-condition.
w00t.
https://bugzilla.gnome.org/show_bug.cgi?id=657151
Vincent Penquerc'h [Tue, 23 Aug 2011 10:08:25 +0000 (11:08 +0100)]
oggdemux: add media type to chain information reports
One more little step in making logs a little less abstruse.
https://bugzilla.gnome.org/show_bug.cgi?id=657151
Vincent Penquerc'h [Tue, 23 Aug 2011 10:05:11 +0000 (11:05 +0100)]
oggstream: correctly identify skeleton EOS packet
It is 0 byte, and was triggering the "bad packet" logic.
https://bugzilla.gnome.org/show_bug.cgi?id=657151
Vincent Penquerc'h [Tue, 23 Aug 2011 09:58:20 +0000 (10:58 +0100)]
oggdemux: do not warn about expected occurences
In this case, finding a skeleton packet.
Once upon a time, it used to be rare indeed, but no more.
https://bugzilla.gnome.org/show_bug.cgi?id=657151
Vincent Penquerc'h [Tue, 23 Aug 2011 09:47:53 +0000 (10:47 +0100)]
oggdemux: do not warn when finding a non BOS page
After all, we do hope to find actual data for these streams.
However, warn if we could not set up a chain when we find a
non BOS page, as that means we don't have a valid Ogg stream.
https://bugzilla.gnome.org/show_bug.cgi?id=657151
Vincent Penquerc'h [Tue, 23 Aug 2011 09:40:12 +0000 (10:40 +0100)]
oggdemux: rename local variable for clarity
While the casual reader might end up bewildered by just why this
change might increase clarity, it just happens than, in the libogg
and associated sources, op is the canonical name for an ogg_packet
whlie og is the canonical name for an ogg_page, and reading this
code confuses me.
https://bugzilla.gnome.org/show_bug.cgi?id=657151
Vincent Penquerc'h [Tue, 23 Aug 2011 09:32:36 +0000 (10:32 +0100)]
oggdemux: do not try to determine duration of header packets
Headers are inherently durationless.
Instead, set duration to 0 to avoid increasing tracked granpos,
and do not warn about it, since it is totally expected.
https://bugzilla.gnome.org/show_bug.cgi?id=657151
Vincent Penquerc'h [Tue, 23 Aug 2011 09:29:49 +0000 (10:29 +0100)]
oggstream: include stream type in warnings
It makes it easier to work out what's going on.
https://bugzilla.gnome.org/show_bug.cgi?id=657151
Vincent Penquerc'h [Tue, 23 Aug 2011 09:28:33 +0000 (10:28 +0100)]
oggstream: set skeleton stream media type to application/x-ogg-skeleton
This is to match the typefinder, and to make logs clearer.
https://bugzilla.gnome.org/show_bug.cgi?id=657151
Vincent Penquerc'h [Wed, 17 Aug 2011 16:09:44 +0000 (17:09 +0100)]
oggmux: add skeleton write support
Version written is 3.0
Base times are left empty for now.
Content-Type should be the MIME type of the stream. It is set to
the GStreamer media type for now, which is probably the same for
the streams oggmux supports.
https://bugzilla.gnome.org/show_bug.cgi?id=563251
Vincent Penquerc'h [Mon, 22 Aug 2011 13:56:38 +0000 (14:56 +0100)]
oggdemux: do not skip sparse streams when determining start times
This fixes demuxing of streams containing only sparse streams,
which would cause an infinite loop in _read_end_chain.
https://bugzilla.gnome.org/show_bug.cgi?id=657062
Vincent Penquerc'h [Mon, 22 Aug 2011 13:55:59 +0000 (14:55 +0100)]
oggdemux: do not ignore sparse streams' start time
But do not wait for them either, if we don't have a packet for them.
https://bugzilla.gnome.org/show_bug.cgi?id=657062
Monty Montgomery [Thu, 21 Jul 2011 21:16:26 +0000 (17:16 -0400)]
vorbisenc: Relax overly-tight jitter tolerances in gstvobisenc
vorbisenc currently reacts in a rater draconian fashion if input
timestamps are more than 1/2 sample off what it considers ideal. If data
is 'too late' it truncates buffers, if it is 'too soon' it completely
shuts down encode and restarts it. This is causingvorbisenc to produce
corrupt output when encoding data produced by sources with bugs that
produce a smple or two of jitter (eg, flacdec)
Vincent Penquerc'h [Mon, 22 Aug 2011 08:06:53 +0000 (09:06 +0100)]
textoverlay: fix text buffer leak
Make sure to always unref the input text buffer.
Reported by bcxa.sz@gmail.com.
https://bugzilla.gnome.org/show_bug.cgi?id=657049
Stefan Kost [Sat, 20 Aug 2011 17:46:31 +0000 (19:46 +0200)]
docs: fix xref for the property
Stefan Kost [Sat, 20 Aug 2011 17:16:42 +0000 (19:16 +0200)]
docs: handle warnings emitted by gtk-doc
This is useful and in most cases someone had put arbitrary markup into the docs,
misspelled xref'ed symbols, forgot to add stuff to the docs etc..
Stefan Kost [Sat, 20 Aug 2011 15:53:11 +0000 (17:53 +0200)]
docs: partially revert my last commit
Somehow this was already there, but I missed that commit.
Stefan Kost [Sat, 20 Aug 2011 12:11:11 +0000 (14:11 +0200)]
docs: add new taglicense docs and clean them up
Avoid ugly docbook tags unless needed.
Tim-Philipp Müller [Sat, 20 Aug 2011 11:37:10 +0000 (12:37 +0100)]
po: update for new translatable string
Tim-Philipp Müller [Sat, 20 Aug 2011 11:36:20 +0000 (12:36 +0100)]
tag: fix distcheck issue
Dist licenses dict.
Vincent Penquerc'h [Thu, 18 Aug 2011 15:20:57 +0000 (16:20 +0100)]
ogg: do not use 32 bit modifiers to print serial numbers
If ints are 64 bits, 32 bits should get promoted in varargs anyway,
and we don't care about 16 bit ints.
This makes the code a lot more readable, and still gets us nice
hexadecimal 32 bit serialnos.
https://bugzilla.gnome.org/show_bug.cgi?id=656775
Edward Hervey [Wed, 27 Jul 2011 11:05:31 +0000 (11:05 +0000)]
playsink: Reconfigure when pads are added later
Instead of just assuming all pads are created at the same time,
remember which ones are actually new (via ->pending_blocked_pads).
This allows the following use-case to properly work:
* Upstream starts with audio-only
* Only that pad gets data, blocks and a real audio sink is created
* Upstream laters adds a video stream
* A new pad is requested, blocks and reconfiguration kicks in in
order to add a new real video sink
Vincent Penquerc'h [Thu, 18 Aug 2011 08:37:38 +0000 (09:37 +0100)]
ogg: get the operator precedence right, even if only a doc
https://bugzilla.gnome.org/show_bug.cgi?id=656775
Vincent Penquerc'h [Thu, 18 Aug 2011 08:30:46 +0000 (09:30 +0100)]
oggstream: vorbis has a preroll of 2
https://bugzilla.gnome.org/show_bug.cgi?id=656775
Vincent Penquerc'h [Wed, 17 Aug 2011 18:40:08 +0000 (19:40 +0100)]
oggstream: new convenience function to get a stream's media type
This will make logging a lot clearer, both in code and in output.
https://bugzilla.gnome.org/show_bug.cgi?id=656775
Vincent Penquerc'h [Wed, 17 Aug 2011 17:48:54 +0000 (18:48 +0100)]
ogg: move the "always flush page" to oggstream
It avoids checking for specific media types in the muxer.
https://bugzilla.gnome.org/show_bug.cgi?id=656775
Vincent Penquerc'h [Wed, 17 Aug 2011 17:38:39 +0000 (18:38 +0100)]
oggmux: use oggstream to decide which BOS packets to place first
Ogg recommends video BOS packets to be first.
Use the "is_video" flag in oggstream to select those, rather than
check for known mime types.
https://bugzilla.gnome.org/show_bug.cgi?id=656775
Vincent Penquerc'h [Wed, 17 Aug 2011 17:03:16 +0000 (18:03 +0100)]
ogg: rationalize serialno type to guint32
It is a 32 bit unsigned number.
Sure, the libogg API uses a long, but that's an unfortunate oversight.
https://bugzilla.gnome.org/show_bug.cgi?id=656775
Vincent Penquerc'h [Wed, 17 Aug 2011 16:39:18 +0000 (17:39 +0100)]
oggmux: factor the header packet creation code
https://bugzilla.gnome.org/show_bug.cgi?id=656775
Vincent Penquerc'h [Wed, 17 Aug 2011 16:18:47 +0000 (17:18 +0100)]
oggmux: headers should always have granpos 0
https://bugzilla.gnome.org/show_bug.cgi?id=656775
Vincent Penquerc'h [Thu, 18 Aug 2011 08:48:16 +0000 (09:48 +0100)]
audioresample: fix build without orc
https://bugzilla.gnome.org/show_bug.cgi?id=656781
Tim-Philipp Müller [Mon, 15 Aug 2011 00:22:02 +0000 (01:22 +0100)]
tag: id3: avoid some more relocations in genre table
Vincent Penquerc'h [Fri, 12 Aug 2011 11:07:32 +0000 (12:07 +0100)]
audioresample: add FFT based checks
Send a few simple tones through audioresample and check
that the main frequency spot is the same for the input and
the resampled output.
https://bugzilla.gnome.org/show_bug.cgi?id=656392
Alessandro Decina [Mon, 15 Aug 2011 21:41:24 +0000 (23:41 +0200)]
rtspconnection: add OSX specific hack to detect when a connection is refused
Unlike linux, OSX wakes up select with POLLOUT (instead of POLLERR) when
connect() is done async and the connection is refused. Therefore always check
for the socket error state using getsockopt (..., SO_ERROR, ...) after a
connection attempt.
Tim-Philipp Müller [Sun, 14 Aug 2011 23:17:14 +0000 (00:17 +0100)]
docs: add new license API to docs
Tim-Philipp Müller [Sun, 14 Aug 2011 23:03:39 +0000 (00:03 +0100)]
configure: try pkg-config first when looking for zlib
Tim-Philipp Müller [Sun, 14 Aug 2011 19:44:19 +0000 (20:44 +0100)]
tag: id3v2: add specs to git for reference
Tim-Philipp Müller [Sun, 14 Aug 2011 12:32:12 +0000 (13:32 +0100)]
tag: id3v2: avoid some relocations, make table static
Tim-Philipp Müller [Sun, 14 Aug 2011 00:47:41 +0000 (01:47 +0100)]
tag: id3v2: add debug category for ID3 tag parsing
Mark Nauwelaerts [Mon, 18 Jul 2011 16:09:53 +0000 (18:09 +0200)]
tag: id3v2: add id3v2 tag parsing helpers
https://bugzilla.gnome.org/show_bug.cgi?id=654388
Stefan Kost [Tue, 22 Feb 2011 13:19:00 +0000 (15:19 +0200)]
tag: id3v2: return ID3TAGS_BROKEN_TAG for unsupported versions
This prevents us for trying to work with a NULL taglist.
Erich Schubert [Sun, 2 Jan 2011 19:23:51 +0000 (19:23 +0000)]
tag: id3v2: fix parsing of ID3v2.4 genre frames with multiple genres
We'd only extract the first genre (multiple times) instead of all
genres.
https://bugzilla.gnome.org/show_bug.cgi?id=638535
Edward Hervey [Fri, 24 Sep 2010 13:19:15 +0000 (15:19 +0200)]
tag: id3v2: Sanitize id3 frame names
This is similar to what is done in qtdemux. Avoids providing invalid
structure/tags names
Tim-Philipp Müller [Tue, 30 Mar 2010 00:50:32 +0000 (01:50 +0100)]
tag: id3v2: fix parsing of unsynced frames with data length indicator
Fixes bug #614158.
Benjamin Otte [Fri, 19 Mar 2010 23:54:14 +0000 (00:54 +0100)]
Add -Wwrite-strings to the configure flags
... and fix all warnings
Tim-Philipp Müller [Sun, 13 Dec 2009 13:19:43 +0000 (13:19 +0000)]
tag: id3v2: prefer two letter ISO 639-1 code for extended comment
Josep Torra [Fri, 9 Oct 2009 13:59:25 +0000 (15:59 +0200)]
tag: id3v2: fixes warnings building on macosx
Another round on the formating of that debug line.