Mark Nauwelaerts
9ce2edc918
baseaudioencoder: minor fixes and code simplifications
...
Also modify and elaborate a bit on pre_push (though currently unused to no harm).
2011-08-27 14:46:59 +01:00
Mark Nauwelaerts
d0e9fbf3db
baseaudioencoder: additional documentation on granule semantics and
...
configuration
2011-08-27 14:46:59 +01:00
Mark Nauwelaerts
9f7849eac9
baseaudioencoder: elaborate property names
2011-08-27 14:46:58 +01:00
Mark Nauwelaerts
bf61f04577
baseaudioencoder: rename state field xint to is_int
2011-08-27 14:46:58 +01:00
Mark Nauwelaerts
3d2f496b3a
baseaudioencoder: gtk-doc syntax fixes
2011-08-27 14:46:58 +01:00
Mark Nauwelaerts
51acb02342
baseaudioencoder: minor fix and cleanup
2011-08-27 14:46:58 +01:00
Mark Nauwelaerts
90d99f23c6
baseaudiocodec: ... and also rename to baseaudiodecoder
2011-08-27 14:46:58 +01:00
Mark Nauwelaerts
dfd7616f60
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).
2011-08-27 14:46:58 +01:00
Iago Toral
492ab47fd2
baseaudiodecoder: Return TRUE if we run into special conversion cases.
2011-08-27 14:46:50 +01:00
Iago Toral
2ed1331f43
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.
2011-08-27 14:45:47 +01:00
Iago Toral
9740eb35b8
Added src_queries to decoder class. Added handle_discont to decoder
...
class. Reworked reset. Various other minor fixes.
2011-08-27 14:45:47 +01:00
Iago Toral
d05c805b16
Added a draft implementation of gstbaseaudiodecoder
2011-08-27 14:45:47 +01:00
Mark Nauwelaerts
fc6b421227
Added audio directory for audio codec base classes
2011-08-27 14:45:47 +01:00
Mark Nauwelaerts
ef92c7438d
audioencoders: add streamheader helper utility
2011-08-27 14:45:47 +01:00
Mark Nauwelaerts
80241fde8d
audioencoders: baseaudioencoder and ported encoders
2011-08-27 14:45:47 +01:00
Wim Taymans
82d82203f6
base: fix for allocation methods rename
2011-08-26 14:26:37 +02:00
Sebastian Dröge
2b495769dc
win32: Add new discoverer API
2011-08-26 10:05:51 +02:00
Sebastian Dröge
257c3ecc0e
docs: Add new discoverer API
2011-08-26 10:05:51 +02:00
Vincent Penquerc'h
921b92ce06
discoverer: retrieve audio track language from tags too
...
https://bugzilla.gnome.org/show_bug.cgi?id=657257
2011-08-26 10:05:51 +02:00
Vincent Penquerc'h
e51cbc136b
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
2011-08-26 10:05:51 +02:00
Vincent Penquerc'h
143a620701
discoverer: add application/x-kate to subtitles caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=639055
2011-08-26 10:05:50 +02:00
Vincent Penquerc'h
8438bc038a
discoverer: get language from other tags if we did not get it already
...
https://bugzilla.gnome.org/show_bug.cgi?id=639055
2011-08-26 10:05:50 +02:00
Vincent Penquerc'h
4b5bfb1fd4
discoverer: add subtitles API
...
https://bugzilla.gnome.org/show_bug.cgi?id=639055
2011-08-26 10:05:50 +02:00
David Schleef
a912374342
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 .
2011-08-25 14:08:34 -07:00
Edward Hervey
94c2206c75
win32: Update .def files
2011-08-25 17:41:53 +02:00
Edward Hervey
4f4d6cdea7
win32: Update pre-generated files
2011-08-25 17:41:30 +02:00
Edward Hervey
d0eb0ed058
video: Fix typo in interlaced flag (TTF => TFF)
2011-08-25 17:41:11 +02:00
Wim Taymans
b79ddf66d2
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.
2011-08-25 16:42:08 +02:00
Wim Taymans
7e97391195
convert: use new caps
2011-08-25 16:30:49 +02:00
Vincent Penquerc'h
02763b2fa2
theoraenc: fix caps leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=657333
2011-08-25 15:17:01 +01:00
Olivier Crête
791eeeb1a6
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
2011-08-25 14:16:48 +02:00
Wim Taymans
81457756f0
audiotestsrc: use base class fill method
2011-08-25 13:21:14 +02:00
Vincent Penquerc'h
fd218c4ec2
oggmux: fix leaks in skeleton writing
...
https://bugzilla.gnome.org/show_bug.cgi?id=563251
2011-08-25 08:32:26 +02:00
Vincent Penquerc'h
29038283bc
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
2011-08-25 08:32:20 +02:00
Vincent Penquerc'h
53c8656248
ogg: use memory slices where appropriate
...
While there, avoid zeroing newly allocated memory where unnecessary
https://bugzilla.gnome.org/show_bug.cgi?id=656775
2011-08-25 08:26:49 +02:00
Wim Taymans
6854f2bbf1
multichannel: add some more channels
2011-08-24 18:39:47 +02:00
Wim Taymans
24ea19935f
audio/video: add format of the pack functions
...
Replace the unpack_size with an unpack_format, which is more descriptive of the
kind of data the unpack function will create.
2011-08-24 16:40:43 +02:00
Wim Taymans
0a1874461a
audio: rename UNPOSITIONED to DEFAULT_POSITIONS
...
Rename the UNPOSITIONED flag to the DEFAULT_POSITIONS flag because that is
really what the resulting GstAudioInfo will contain as the chanel mappings.
2011-08-24 14:13:33 +02:00
Sebastian Dröge
e9a5d4f8fd
playsink{audio,video}convert: Send NEWSEGMENT events to sinkpads instead of pushing them
2011-08-24 14:05:27 +02:00
Wim Taymans
1bb83435fd
video: Add an id to the video frame
...
Rename @view_id to @id.
Add an id to the video metadata. Add a method to get the metadata from a buffer
with the given id.
Make a method to map a frame with a certain id. This only maps the frame with
the given id on the video metadata. The generic frame id can be used when a
buffer carries multiple video frames such as in multiview mode but maybe also
when dealing with interlaced video that stores the fields in separate buffers.
2011-08-24 13:52:20 +02:00
Wim Taymans
b0b6d9124d
audiotestsrc: fix build
2011-08-24 11:05:05 +02:00
Wim Taymans
232a5a3d0a
Merge branch 'master' into 0.11
...
Conflicts:
ext/ogg/gstoggmux.c
ext/vorbis/gstvorbisenc.c
2011-08-24 11:04:53 +02:00
Vincent Penquerc'h
7b8b0fa1bb
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
2011-08-24 08:32:21 +02:00
Vincent Penquerc'h
df40ddf0aa
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
2011-08-24 08:31:58 +02:00
Vincent Penquerc'h
1e606c0456
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
2011-08-24 08:31:51 +02:00
Vincent Penquerc'h
68ed992e7e
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
2011-08-24 08:31:30 +02:00
Vincent Penquerc'h
4fdb52871c
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
2011-08-24 08:31:17 +02:00
Vincent Penquerc'h
564eedd214
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
2011-08-24 08:30:55 +02:00
Vincent Penquerc'h
5d18496a5b
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
2011-08-24 08:30:45 +02:00
Vincent Penquerc'h
67a882afe7
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
2011-08-24 08:30:30 +02:00