Wim Taymans
d6b150a1f1
mad: chain up to default event handler
2012-02-15 13:40:13 +01:00
Wim Taymans
49f4bc87d9
Merge branch 'master' into 0.11
...
Conflicts:
ext/x264/gstx264enc.c
2012-02-10 17:00:33 +01:00
Sebastian Dröge
72d930b75c
mad: Use new audio encoder/decoder base class API for srcpad caps
2012-02-01 16:27:49 +01:00
Vincent Penquerc'h
73330c2ab8
mad: ensure we do not confuse the base class with our buffer guard
...
mad expects extra bytes at the end of a buffer (see discussion in
http://www.mars.org/mailman/public/mad-dev/2001-May/000262.html ),
and since we inject these without the base class' knowledge, we
need to hide the bodies better.
This fixes an assert at EOS when decoding an mp3 manually without
an intervening mpegaudioparse.
2012-01-31 15:52:38 +00:00
Wim Taymans
56a07a14b5
port to new memory API
2012-01-25 11:57:07 +01:00
Sebastian Dröge
31063f0098
Merge branch 'master' into 0.11
...
Conflicts:
ext/a52dec/gsta52dec.c
ext/a52dec/gsta52dec.h
ext/lame/gstlame.c
ext/lame/gstlame.h
ext/lame/gstlamemp3enc.c
ext/mad/gstmad.c
ext/mad/gstmad.h
gst/mpegaudioparse/gstmpegaudioparse.c
gst/mpegstream/gstdvddemux.c
gst/realmedia/rdtdepay.c
po/es.po
po/lv.po
po/sr.po
2012-01-10 15:17:11 +01:00
Sebastian Dröge
9c646f59ac
mad: Correctly unmap the buffer with the original data pointer
2012-01-09 15:24:53 +01:00
Sebastian Dröge
a120944340
mad: Make sure to set caps on the srcpad if none are set yet
2012-01-09 15:15:28 +01:00
Tim-Philipp Müller
f9149656e4
mad: fix LIBS order in Makefile.am
2012-01-08 14:24:11 +00:00
Tim-Philipp Müller
fc3ed25935
mad: remove left-over id3tag.h include
...
We don't use libid3tag any more.
2012-01-07 21:04:01 +00:00
Sebastian Dröge
a1f24f72a7
mad: Update for the new raw audio caps
2012-01-05 10:37:04 +01:00
Wim Taymans
f9d64ff495
GST_FLOW_UNEXPECTED -> GST_FLOW_EOS
2012-01-03 15:27:42 +01:00
Vincent Penquerc'h
30e29b6fdb
mad: helpfully bodge the last buffer to let mad decode the last frame
...
If http://www.mars.org/mailman/public/mad-dev/2001-May/000262.html is
to be believed, the last buffer must be followed by a number of 0 bytes
in order for the last frame to be decoded (at least in some cases).
Doing so seems to work here, fixing a missing 1152 samples when using
mp3parse before mad (not using mp3parse would yield the correct amount
of samples, if there's extra non-MP3 data after (eg, tag data)).
2011-12-22 15:23:54 +00:00
Mark Nauwelaerts
260824b278
mad: port to audiodecoder
2011-12-14 17:37:47 +01:00
Vincent Penquerc'h
213ce049ad
various: fix pad template ref leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:10:01 +00:00
Tim-Philipp Müller
607ce96e33
mad: re-instate accidentally dropped rank
2011-11-14 00:55:16 +00:00
Tim-Philipp Müller
b581c0f96d
mad: re-port to 0.11
...
This time using the base class. Still something
wrong with the parsing though, when there's no
parser or demuxer upstream (which of course
shouldn't happen in a normal playback scenario).
2011-11-13 15:10:32 +00:00
Tim-Philipp Müller
0cc15510e5
mad: update for GstBaseAudioDecoder -> GstAudioDecoder rename
2011-11-13 00:29:20 +00:00
Mark Nauwelaerts
ced55bf549
mad: replace with 0.10 version ported to GstAudioDecoder
...
Taken from commit 6e7e3657396454fe95fbd89170281865d4d1cec3
of Mark's baseaudio branch.
Would probably be too risky to drop this into 0.10 given
all the things mad is doing.
2011-11-13 00:23:03 +00:00
Wim Taymans
6a7345c98d
remove query types
2011-11-09 11:58:03 +01:00
Tim-Philipp Müller
1905e95cea
ext, gst: update for taglist API changes
2011-10-30 11:51:58 +00:00
Wim Taymans
854f4d846b
Merge branch 'master' into 0.11
...
Conflicts:
ext/mad/gstmad.c
2011-09-26 19:07:23 +02:00
Tim-Philipp Müller
56bd24365a
mad: remove id3tag dependency used by in practice unreachable legacy code
...
The mad mp3 decoder element shouldn't parse tags at all really, but we
have so far kept this code around for backwards-compatibility reasons
for people building manual pipelines for some reason. However, as it
turns out that code has never actually worked in 0.10 in practice,
since it only gets executed if mad_frame_decode() returns LOSTSYNC,
which doesn't actually seem to happen any more though because of the
preceding mad_header_decode(), which will discover and report the
sync loss if it runs into a tag and make mad_frame_decode() try to
resync right away.
Discovered this while trying to make it use gst_tag_list_from_id3v2_tag().
2011-09-13 19:40:12 +01:00
Wim Taymans
957043ad0a
port to new audio caps
2011-08-19 18:07:58 +02:00
Edward Hervey
2efbca2aa6
mad: Fix for changes in GstQuery API
2011-08-02 12:48:52 +02:00
Wim Taymans
13c252b2a8
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
2011-06-02 18:46:11 +02:00
Wim Taymans
62758d8ff1
mad: port to new API
...
Port to new segment API.
Eat Caps events.
No need to set caps on buffers.
2011-06-02 18:43:28 +02:00
Stefan Kost
d229a538dc
mad: use signed when caluculating the delta
...
Avoids a <0 check for an unsigned variable.
2011-05-20 13:31:14 +03:00
Sebastian Dröge
1e0d2d67b4
mad: Post bitrate tag whenever the bitrate changes
...
Also send the layer/mode/emphasis/bitrate tags as an event too.
2011-05-14 12:05:56 +02:00
Wim Taymans
fedbdec0ed
mad: remove buffer_alloc
2011-04-29 15:43:47 +02:00
Wim Taymans
edb17b4601
mad: port to 0.11
2011-04-19 19:24:23 +02:00
Thibault Saunier
1e6a607e01
android: make it ready for androgenizer
...
To build gstreamer for android we are now using androgenizer which
generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 07:31:13 +02:00
Tim-Philipp Müller
65565c8a1e
mad: build the mad plugin even if libid3tag is not available
...
ID3 tags are usually handled by id3demux, and should be handled
by id3demux. Tag handling in mad based on libid3tag is very basic
and mostly unnecessary really, so just build this plugin without
ID3 tag support if libid3tag is not available.
2011-03-11 18:37:10 +00:00
Stefan Kost
b3c04da6c3
index: remove conditional index support
...
Index support cannot be disabled since commit
4bfb1fe70c
in core, which removed the configure flags to disable index.
2011-02-21 11:05:31 +02:00
Stefan Kost
2b9048ede9
formatting: trim trailing whitespace
2011-02-17 18:06:51 +02:00
Stefan Kost
9424c553b9
index: use delta frame flags instead of 0 or none
2011-02-17 18:05:58 +02:00
Sebastian Dröge
3dae13383d
mad: If gst_pad_alloc_buffer() returns a buffer with the wrong size allocate a new one
...
Fixes bug #635461 .
2010-12-16 10:32:37 +01:00
Edward Hervey
2a84e4332a
mad: Remove dead assignments
2010-11-25 19:51:40 +01:00
Stefan Kost
26cd4ee3a0
various: canonicalize property names
2010-10-19 12:24:13 +03:00
Stefan Kost
3bb4b5069e
various (ext): add a missing G_PARAM_STATIC_STRINGS flags
2010-10-19 10:06:33 +03:00
Mark Nauwelaerts
7bba22772e
mad: support reverse playback
2010-10-04 10:33:28 +02:00
Tim-Philipp Müller
d462cdee4d
mad: use right automake variable, should be ID3TAG_{LIBS,CFLAGS} not ID3_{LIBS,CFLAGS}
...
Spotted by syntr0py.
2010-07-22 13:26:21 +01:00
Sebastian Dröge
c88c88de0d
build: Add all kinds of compiler warning flags and fix the resulting warnings
2010-03-24 11:27:40 +01:00
Benjamin Otte
9850bd814f
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 15:53:14 +01:00
Stefan Kost
30a4d82edd
mad: add missing include to fix the build
2009-10-07 14:05:08 +03:00
Tim-Philipp Müller
78ed09615b
mad, id3mux: (re)move broken, unmaintained and unloved id3mux element
...
It will be reborn with a shiny new code base under its hood in -bad.
See #581756 and #565764 .
2009-06-05 21:04:07 +01:00
Edward Hervey
88db06cb65
mad: Add duration of incoming/outgoing buffers in debug statements
2009-05-06 13:17:35 +02:00
Edward Hervey
2ff7c811f8
mad: Remove dead assignment and variables given values which are never read.
2009-04-19 14:02:44 +02:00
Wim Taymans
74d7baba2f
Forward unknown events
...
Forward unknown events upstream instead of dropping them. Also return the result
of the seek event instead of a fixed value.
2009-02-24 15:25:16 +01:00
Zaheer Merali
45163cdf71
mad: remove log line added in error
2009-02-19 19:10:53 +00:00