Thiago Santos
a1aa942acf
audioencoders: use template subset check for accept-caps
...
It is faster than doing a query that propagates downstream and
should be enough
Elements: speexenc, wavpackenc, mulawenc, alawenc
2015-08-16 14:30:57 -03:00
Thiago Santos
1328289474
alawenc: port to AudioEncoder base class
2015-08-15 22:46:46 -03:00
Thiago Santos
65676c22ee
audiodecoders: use default pad accept-caps handling
...
Avoids useless check of downstream caps when handling an
accept-caps query
Elements: flacdec, speexdec, wavpackdec, mulawdec, alawdec
2015-08-15 11:46:34 -03:00
Thiago Santos
65d2af6462
alawdec: make error handling a bit nicer
...
Print the element along with the debug to make it easier to trace
the failures
2015-08-15 11:31:04 -03:00
Thiago Santos
7ab3178cc4
alawdec: port to audiodecoder base class
...
mulawdec was already ported, alawdec was left behind.
2015-08-15 11:06:02 -03:00
Olivier Crête
8fd3e0e125
mulawdec: Let baseclass estimate bitrate
...
This makes playback directly from a file work with the right caps.
2015-05-30 17:41:44 -04:00
Luis de Bethencourt
9391622579
Rename property enums from ARG_ to PROP_
...
Property enum items should be named PROP_ for consistency and readability.
2015-04-27 11:22:11 +01:00
Tim-Philipp Müller
d753a3eeb1
Remove obsolete Android build cruft
...
This is not needed any longer.
2015-04-26 17:55:07 +01:00
Sebastian Dröge
f3c3dee148
mulawdec: Require caps to be set before accepting any data
2013-12-05 12:15:29 +01:00
Alexander Schrab
a1df050356
mulawdec: Handle NULL buffers in handle_frame
...
https://bugzilla.gnome.org/show_bug.cgi?id=698894
2013-05-21 15:18:04 +02:00
Alexander Schrab
3ec9673dfc
mulawdec: change base class to GstAudioDecoder
...
https://bugzilla.gnome.org/show_bug.cgi?id=698894
2013-04-26 08:46:34 +02:00
Sebastian Dröge
fb0384fa0d
mulaw: Some minor memleak fixes and cleanup
2013-04-25 12:44:15 +02:00
Alexander Schrab
f0edb5fb70
mulawenc: change to gstaudioencoder base, added bitrate tags
2013-04-25 12:36:15 +02:00
Sebastian Dröge
b0b0557c48
gst: Add better support for static plugins
2013-04-15 15:54:11 +02:00
Tim-Philipp Müller
5dee61a8d5
law: fix accidental file permissions change
...
https://bugzilla.gnome.org/show_bug.cgi?id=687469
2012-11-26 15:17:13 +00:00
Tim-Philipp Müller
ef6c16a32e
mulaw: const-ify some arrays
2012-11-24 14:27:33 +00:00
Roland Krikava
3be45f7022
mulawdec: fix integer overrun
...
There might be more than 65535 samples in a chunk of data.
https://bugzilla.gnome.org/show_bug.cgi?id=687469
2012-11-24 14:24:41 +00:00
Tim-Philipp Müller
230cf41cc9
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Sjoerd Simons
b19b914d3a
law: Filter layout caps field
...
The layout caps field shouldn't be passed through to the sink pad
of {mu,a}lawdec.
https://bugzilla.gnome.org/show_bug.cgi?id=681677
2012-08-13 08:52:58 +02:00
Tim-Philipp Müller
e09ae5736d
Use new gst_element_class_set_static_metadata()
2012-04-10 00:51:41 +01:00
Sebastian Dröge
aa2cd462da
gst: Update for GST_PLUGIN_DEFINE() API changes
2012-04-05 17:36:38 +02:00
Sebastian Dröge
5cdd49bf25
gst: Update versioning
2012-04-04 14:37:47 +02:00
Wim Taymans
e310ee8218
caps: improve caps handling
...
Avoid caps copy and leaks
2012-03-27 16:42:41 +02:00
Wim Taymans
ecaea36c3d
update for memory api changes
2012-03-15 13:36:17 +01:00
Wim Taymans
756948262c
fix template caps refcount
2012-03-10 10:52:01 +01:00
Wim Taymans
cdf927ab52
law: add layout to audio caps
2012-03-07 15:02:44 +01:00
Wim Taymans
b55d5e23ee
law: use GstAudioInfo
...
Use GstAudioInfo to generate output caps.
2012-03-07 15:02:44 +01:00
Olivier Crête
a7c27e1aaa
alawdec: Each output sample is 2 bytes
2012-01-27 19:05:24 +01:00
Wim Taymans
583d39dd8d
update for new memory API
2012-01-25 12:30:28 +01:00
Tim-Philipp Müller
501642dd63
law: fix CFLAGS and LIBS order in Makefile.am
2011-12-09 12:19:13 +00:00
Wim Taymans
7f51236346
law: fix negotiation
2011-12-09 10:50:18 +01:00
Wim Taymans
105650127e
add parent to pad functions
2011-11-17 15:02:55 +01:00
Wim Taymans
6190312214
add parent to query function
2011-11-16 17:27:13 +01:00
Wim Taymans
797523efbd
_peer_get_caps() -> _peer_query_caps()
2011-11-15 18:04:44 +01:00
Wim Taymans
75dc9634eb
change getcaps to query
...
Chain up event function in payloaders.
2011-11-15 18:04:44 +01:00
Wim Taymans
e204c5934c
-good: port to new audio caps
2011-09-06 13:16:27 +02:00
Wim Taymans
ef560b86e2
law: port to 0.11
2011-08-30 12:25:35 +02:00
Wim Taymans
5ad41c7292
alaw: port to 0.11
2011-08-29 19:11:25 +02:00
Thibault Saunier
b541208b77
android: Make it ready for androgenizer
...
Remove the android/ top dir
Fixe the Makefile.am to be androgenized
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 01:20:11 +02:00
Benjamin Otte
3f511ec361
Add -Wwrite-strings to the configure flags
...
... and fix all warnings
2010-03-21 14:17:47 +01:00
Benjamin Otte
cccfeaa59c
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 14:32:00 +01:00
Benjamin Otte
3342b1679e
Add -Wmissing-declarations -Wmissing-prototypes warning flags
...
And fix all the warnings.
2010-03-17 18:23:28 +01:00
Edward Hervey
a5dd867d6f
law: Raise rank of encoders to PRIMARY
2009-11-18 17:54:35 +01:00
Wim Taymans
89f0c37c9f
law: fix caps and negotiation
...
Fix the caps to include the depth (instead of width twice) in the caps of
audio/x-raw-int.
Fix negotiation to not only copy the rate/channels of the first structure.
2009-06-30 15:59:20 +02:00
Tim-Philipp Müller
7087da96dc
alawdec, mulawdec: demote some debug messages from ERROR to WARNING or DEBUG
...
Non-ok flow returns may happen for a variety of perfectly legitimate and expected reasons
(temporarily not linked, seeking, pipeline shutdown), so we really shouldn't spew ERROR
debug messages to stderr in those cases. Fixes #570781 . (Seems like someone already took
care of some of these.)
2009-02-28 19:26:35 +00:00
Wim Taymans
8c9931e13e
Don't use GST_ERROR for non-error cases.
...
Turn a GST_ERROR line into a GST_DEBUG line so that we don't spam the log with
errors. Fixes #570781 .
2009-02-23 11:09:53 +01:00
Olivier Crete
bfcf84a3eb
alaw/mulaw: Implement _getcaps function for alaw/mulaw decoders
...
Fixes bug #572358 .
2009-02-22 18:47:35 +01:00
Olivier Crete
b3a90202c1
alaw/mulaw: Don't require both, rate and channel, to be set in _getcaps
...
Fixes bug #572358 .
2009-02-22 18:46:03 +01:00
Stefan Kost
a99d3f8769
Update and add documentation for plugins with no deps (gst).
...
Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered.
2009-01-28 12:32:59 +02:00
Edward Hervey
5ad613d9b9
Switch to using GstStaticPadTemplate.
...
Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_base_init),
(gst_flac_dec_init):
* gst/law/alaw-decode.c: (gst_alaw_dec_base_init),
(gst_alaw_dec_init):
* gst/law/alaw-encode.c: (gst_alaw_enc_base_init),
(gst_alaw_enc_init):
* gst/law/alaw.c: (plugin_init):
* gst/law/mulaw-decode.c: (gst_mulawdec_base_init),
(gst_mulawdec_init):
* gst/law/mulaw-encode.c: (gst_mulawenc_base_init),
(gst_mulawenc_init):
* gst/law/mulaw.c: (plugin_init):
Switch to using GstStaticPadTemplate.
* gst/udp/gstudpnetutils.c: (gst_udp_get_addr):
Don't forget to free the addrinfo structure.
* gst/wavparse/gstwavparse.c: (gst_wavparse_reset),
(gst_wavparse_sink_activate):
Don't forget to unref the GstAdapter.
2008-12-13 15:34:01 +00:00