Sebastian Dröge
4b6a410be0
speex: Update for the new raw audio caps
2012-01-05 10:36:49 +01:00
Tim-Philipp Müller
736a484129
More printf format warning fixes
2011-11-22 01:40:39 +00:00
Wim Taymans
07cc855b24
Merge branch 'master' into 0.11
...
Conflicts:
ext/speex/gstspeexenc.c
gst/rtpmanager/rtpsession.c
2011-11-17 17:17:11 +01:00
Mark Nauwelaerts
7df8122322
speexenc: ensure to free allocated padded data
2011-11-16 19:08:05 +01:00
Mark Nauwelaerts
c0d86fd26f
speexenc: reset tag setter interface when appropriate
2011-11-16 19:06:09 +01:00
Wim Taymans
e038ab5a0b
tags: update for tag API removal
2011-11-02 12:09:20 +01:00
Tim-Philipp Müller
9cd17092d8
ext, gst: update for taglist API changes
2011-10-30 11:44:53 +00:00
Wim Taymans
aea9b5e8c8
Merge branch 'master' into 0.11
...
Conflicts:
ext/speex/gstspeexenc.c
2011-10-10 11:48:20 +02:00
Mark Nauwelaerts
00a91fc061
speexenc: only push header buffers following initial events
2011-10-09 21:32:32 +02:00
Wim Taymans
586ef0babd
Merge branch 'master' into 0.11
...
Conflicts:
ext/speex/gstspeexdec.c
ext/speex/gstspeexenc.c
gst/isomp4/atoms.c
gst/isomp4/gstqtmux.c
2011-10-06 12:23:39 +02:00
Tim-Philipp Müller
ca77c96c51
speexenc: initialise variable before adding to it
2011-09-29 23:21:46 +01:00
Mark Nauwelaerts
c5354bee04
speexdec: port to audiodecoder
2011-09-29 17:33:25 +02:00
Mark Nauwelaerts
53476c1580
speexenc: clean up some unused remnants
2011-09-29 17:33:23 +02:00
Mark Nauwelaerts
c1909c32c5
speexenc: port to audioencoder
2011-09-29 17:33:21 +02:00
Wim Taymans
87fbd1e784
Merge branch 'master' into 0.11
...
Conflicts:
common
ext/pulse/pulsesink.c
ext/soup/gstsouphttpclientsink.c
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstac3parse.c
gst/rtp/gstrtph264depay.c
gst/rtpmanager/gstrtpjitterbuffer.c
gst/rtpmanager/rtpjitterbuffer.c
gst/rtsp/gstrtspsrc.c
sys/ximage/gstximagesrc.c
2011-09-28 12:44:59 +02:00
Vincent Penquerc'h
7e4574e968
speexenc: do not use invalid buffer timestamps
2011-09-19 09:37:58 +02:00
Wim Taymans
77ad0a1363
port more elements to new audio caps and API
2011-08-19 14:01:45 +02:00
Tim-Philipp Müller
ab62599832
speex: update for position/query/convert API changes
2011-07-28 11:38:31 +01:00
Wim Taymans
fdf5a49422
speex: port speex elements
2011-07-06 15:57:23 +02:00
Tim-Philipp Müller
f325935314
pulse, speexenc, rtpgsmpay: don't use g_assert() for error handling
...
Don't use g_assert() for error handling, even if they're highly unlikely.
Either we *know* that something can't happen, in which case we
should just not handle it, or we think something can happen, but it is
very very unlikely that it will ever happen, in which case we should
handle it like any other error instead of asserting.
g_assert() is best left for conditions we have control of, like checking
internal consistency of our code, not checking return values of external
code.
Fixes a bunch of warnings when compiling with -DG_DISABLE_ASSERT:
gstrtpgsmpay.c: In function 'gst_rtp_gsm_pay_handle_buffer':
gstrtpgsmpay.c:130:17: warning: variable 'rtpgsmpay' set but not used
gstspeexenc.c: In function 'gst_speex_enc_encode':
gstspeexenc.c:904:19: warning: variable 'written' set but not used
pulsesink.c: In function 'gst_pulsesink_change_state':
pulsesink.c:2725:9: warning: variable 'res' set but not used
pulsesrc.c: In function 'gst_pulsesrc_change_state':
pulsesrc.c:1253:7: warning: variable 'e' set but not used
2011-04-16 18:15:43 +01:00
Alexey Fisher
0016ceaa2b
speexenc: Use speex intern silence detection
...
Speex has build in silence detection. If speex_encode_int returns 0,
than there is silence and sample do not need to be transmitted.
This work only if vbr=1 and dtx=1 optionas are enabled.
So if we get 0, we add GAP flag to the sample.
2011-04-08 13:54:49 +02:00
Sebastian Dröge
85ace6d413
speexdec: Get and use streamheader from the caps if possible
...
This allows playback of streams where the streamheader buffers
were dropped from the stream for some reason.
2011-03-24 09:00:32 +01:00
Vincent Penquerc'h
56edbd0fa3
speexdec: silence warning message when appropriate
...
If we did not know how many frames to expect, then we get an unexpected
end of stream when trying to decode more frames that are there, if there
are leftover bits to pad to the next byte
2011-03-15 19:44:03 +01:00
Sebastian Dröge
4d7b4ca2ae
speexdec: Always process the number of frames per packet as specified in the header
...
Looking at the remaining bits in the bitstream after decoding a
single frame can't be used as loop condition. The remaining
bits might not give a complete frame and the speex decoder will
then output nothing but access uninitialized memory, which leads
to valgrind warnings.
Fixes bug #644669 .
2011-03-14 19:31:33 +01:00
Stefan Kost
45f6707784
various (ext): add a missing G_PARAM_STATIC_STRINGS flags
2010-10-13 17:39:36 +03:00
David Hoyt
9f8619e5ca
speex: Fix crashes with MSVC
...
Using the symbols for the different Speex modes results
in crashes when using MSVC. Use the library functions to
get the modes instead.
Fixes bug #630378 .
2010-09-23 21:57:18 +02:00
Sebastian Dröge
dcae55852e
ext: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs
2010-06-06 18:00:22 +02:00
Tristan Matthews
6628d20eac
speex: fix latency query
...
Speex should report 30 ms latency for narrowband mode, 34 otherwise.
Fixes #619018
2010-05-20 14:30:26 +02:00
Stefan Kost
8695f5a8a5
speexenc: remove unused defines
2010-04-08 13:40:09 +03:00
Stefan Kost
e032fd753e
speex: remove unused define
2010-04-08 13:16:53 +03:00
Tim-Philipp Müller
073201b329
build: Makefile.am cleanups
...
Mostly add $(GST_BASE_CFLAGS) where it was missing, but also fix up
order of flags and libs if needed (see docs/random/moving-plugins).
2010-03-18 21:34:24 +00: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
c76e72a7f5
Add -Wundef to configure flags
...
and fix the resulting warnings
2010-03-17 21:33:28 +01:00
Sebastian Dröge
fdc7b73675
speexdec: Use speex_stereo_state_init() instead of the deprecated initialization macro
...
Fixes bug #612777 .
2010-03-15 14:16:58 +01:00
Mark Nauwelaerts
4abf31067f
speexdec: adapt to new oggdemux
...
Remove all granulepos hacks and simply use upstream timestamps.
2010-03-10 11:48:06 +01:00
Mark Nauwelaerts
972ce3006b
speexdec: refactor granulepos hacks
2010-03-10 11:48:06 +01:00
Stefan Kost
f70dbd0eb7
speex: add missing include
2010-02-12 15:35:30 +02:00
Mark Nauwelaerts
c2eedfcceb
speexdec: initialize stereo decoding state
2010-02-02 16:54:09 +01:00
Mark Nauwelaerts
77509c80c9
speexdec: free some more when resetting
...
Fixes #608255 .
2010-01-27 17:05:52 +01:00
Mark Nauwelaerts
c529145e4b
speexenc: prevent invalid arithmetic if not setup yet
...
Fixes #608255 .
2010-01-27 17:05:04 +01:00
Mark Nauwelaerts
50c41acdff
speexdec: allow for unknown varying number of frames per buffer
...
In particular, this caters for RTP payloads with multiple frames
per packet.
2009-09-18 14:46:38 +02:00
Mark Nauwelaerts
35f9efac88
speexdec: use correct sample size in conversions
2009-09-18 14:46:38 +02:00
Mark Nauwelaerts
f4482e4ae3
speexenc: fix buffer time and duration for multiple frames per packet
2009-09-18 14:46:38 +02:00
Stefan Kost
0541c44add
speexenc: small taglist handling cleanup
...
Don't eventualy leak the list and instead assert (like in other elements).
2009-09-03 14:48:14 +03:00
Christian Schaller
bdf1698f35
Add RANKS for various encoders and muxers
2009-05-07 18:10:08 +01:00
Alessandro Decina
434d20862b
speexdec: make speex_dec_convert work with same-format values when no data has been decoded.
2009-05-04 14:24:14 +02:00
Sebastian Dröge
6e9d728249
speex: Implement preset interface
2009-05-04 12:41:56 +02:00
Edward Hervey
0cb5b42d54
Remove trivial unused variables detected by CLang static analyzer.
2009-04-18 18:51:28 +02:00
Tim-Philipp Müller
335891c757
speexenc: fix direction of latency query and other upstream queries
...
Don't send queries back to the element they just came from by sending
them to the peer of the wrong pad.
2009-03-20 01:06:14 +00:00
Stefan Kost
9cf73bdd8f
Update and add documentation for plugins with deps (ext).
...
Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered. Fix warnings that gtk-doc points out.
2009-01-28 18:05:09 +02:00