platform/upstream/gstreamer.git
17 years agogst/wavparse/gstwavparse.c: Add EOS logic for the push-based mode too. Fixes #476514.
Sebastian Dröge [Thu, 13 Sep 2007 12:37:56 +0000 (12:37 +0000)]
gst/wavparse/gstwavparse.c: Add EOS logic for the push-based mode too. Fixes #476514.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_perform_eos),
(gst_wavparse_loop), (gst_wavparse_chain):
Add EOS logic for the push-based mode too. Fixes #476514.

17 years agogst/law/: Fix law encoder timestamps.
Wim Taymans [Wed, 12 Sep 2007 22:01:59 +0000 (22:01 +0000)]
gst/law/: Fix law encoder timestamps.

Original commit message from CVS:
* gst/law/alaw-encode.c: (gst_alawenc_init), (gst_alawenc_chain):
* gst/law/alaw-encode.h:
* gst/law/mulaw-encode.c: (gst_mulawenc_init),
(gst_mulawenc_chain):
* gst/law/mulaw-encode.h:
Fix law encoder timestamps.

17 years agoext/gconf/gstgconfaudiosink.c: Fix warning when building without debug.
Stefan Kost [Wed, 12 Sep 2007 09:13:39 +0000 (09:13 +0000)]
ext/gconf/gstgconfaudiosink.c: Fix warning when building without debug.

Original commit message from CVS:
* ext/gconf/gstgconfaudiosink.c:
Fix warning when building without debug.
* sys/oss/gstossmixertrack.c:
Use const like in alsamixertrack.c (fixes warnings).

17 years agogst/: Printf format fixes (#476128).
Peter Kjellerstedt [Wed, 12 Sep 2007 08:38:21 +0000 (08:38 +0000)]
gst/: Printf format fixes (#476128).

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst-libs/gst/app/gstappsink.c:
* gst/flv/gstflvdemux.c:
* gst/flv/gstflvparse.c:
* gst/interleave/deinterleave.c:
* gst/switch/gstswitch.c:
Printf format fixes (#476128).

17 years agosys/v4l2/v4l2src_calls.c: Fix framerate detection code some more.
Wim Taymans [Tue, 11 Sep 2007 15:37:55 +0000 (15:37 +0000)]
sys/v4l2/v4l2src_calls.c: Fix framerate detection code some more.

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c:
(gst_v4l2src_probe_caps_for_format_and_size):
Fix framerate detection code some more.
Handle the case where there is a weird step in the stepwise framerates.
Don't overwrite the min interval with the framerate, use a temp variable
instead.
Use max in the Continuous framerate intervals instead of step, which is
1 according to the docs. Fixes #475424.

17 years agogst/udp/gstudpsrc.c: Make udpsrc timestamp outgoing buffers based on when they were...
Wim Taymans [Mon, 10 Sep 2007 19:53:28 +0000 (19:53 +0000)]
gst/udp/gstudpsrc.c: Make udpsrc timestamp outgoing buffers based on when they were received.

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_init), (gst_udpsrc_create):
Make udpsrc timestamp outgoing buffers based on when they were received.
Also make it output a segment in time.

17 years agogst/avi/gstavidemux.c: Plug a little leak. Little code cleanups.
Stefan Kost [Mon, 10 Sep 2007 06:49:32 +0000 (06:49 +0000)]
gst/avi/gstavidemux.c: Plug a little leak. Little code cleanups.

Original commit message from CVS:
* gst/avi/gstavidemux.c:
Plug a little leak. Little code cleanups.

17 years agoconfigure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for old flac versions...
Tim-Philipp Müller [Sun, 9 Sep 2007 18:08:36 +0000 (18:08 +0000)]
configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for old flac versions, 's good for cross-compilation ...

Original commit message from CVS:
* configure.ac:
Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for old
flac versions, 's good for cross-compilation karma.

17 years agogst/rtp/gstrtph263pay.c: Fix up header structure so that compilers don't add padding...
Haakon Sporsheim [Fri, 7 Sep 2007 18:04:41 +0000 (18:04 +0000)]
gst/rtp/gstrtph263pay.c: Fix up header structure so that compilers don't add padding between the structure fields, si...

Original commit message from CVS:
Patch by: Haakon Sporsheim  <haakon.sporsheim at tandberg com>
* gst/rtp/gstrtph263pay.c:
Fix up header structure so that compilers don't add padding
between the structure fields, since that would lead to us
sending RTP packets with broken headers (as is currently the
case when compiling with MSVC). Also see similar fixes in
libgstrtp in gst-plugins-base. (#474616; #471194)

17 years agosys/v4l2/v4l2src_calls.c: Don't overwrite our GValue with 0 but instead use the previ...
Wim Taymans [Fri, 7 Sep 2007 16:04:14 +0000 (16:04 +0000)]
sys/v4l2/v4l2src_calls.c: Don't overwrite our GValue with 0 but instead use the previously computed value. Fixes #471...

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c:
(gst_v4l2src_probe_caps_for_format_and_size):
Don't overwrite our GValue with 0 but instead use the previously
computed value. Fixes #471823 some more.

17 years agogst/spectrum/gstspectrum.c: Use the correct parameter order for the memset calls.
Sebastian Dröge [Fri, 7 Sep 2007 15:54:38 +0000 (15:54 +0000)]
gst/spectrum/gstspectrum.c: Use the correct parameter order for the memset calls.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_start),
(gst_spectrum_transform_ip):
Use the correct parameter order for the memset calls.
Thanks to Christian Schaller for noticing.

17 years agodocs/plugins/gst-plugins-good-plugins.hierarchy: No tabs in this file please, or...
Tim-Philipp Müller [Thu, 6 Sep 2007 12:00:36 +0000 (12:00 +0000)]
docs/plugins/gst-plugins-good-plugins.hierarchy: No tabs in this file please, or gtk-doc will end up documenting rath...

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
No tabs in this file please, or gtk-doc will end up documenting
rather absurd class hierarchies.

17 years agoext/gconf/gstswitchsink.c: If the new kid element fails to change state for some...
Tim-Philipp Müller [Thu, 6 Sep 2007 10:48:56 +0000 (10:48 +0000)]
ext/gconf/gstswitchsink.c: If the new kid element fails to change state for some reason forward the error message it ...

Original commit message from CVS:
* ext/gconf/gstswitchsink.c:
If the new kid element fails to change state for some reason
(e.g. esdsink not being able to connect to the sound server),
forward the error message it posted on the bus instead of just
posting a generic 'Internal state change error: please file a
bug' error message. Fixes #471364.

17 years agoPort GstSpectrum to GstAudioFilter and libgstfft, add support for int32, float and...
Sebastian Dröge [Thu, 6 Sep 2007 07:21:22 +0000 (07:21 +0000)]
Port GstSpectrum to GstAudioFilter and libgstfft, add support for int32, float and double, use floats for the message...

Original commit message from CVS:
* configure.ac:
* gst/spectrum/Makefile.am:
* gst/spectrum/demo-audiotest.c: (draw_spectrum),
(message_handler), (main):
* gst/spectrum/demo-osssrc.c: (draw_spectrum), (message_handler):
* gst/spectrum/gstspectrum.c: (gst_spectrum_base_init),
(gst_spectrum_class_init), (gst_spectrum_init),
(gst_spectrum_dispose), (gst_spectrum_set_property),
(gst_spectrum_get_property), (gst_spectrum_start),
(gst_spectrum_setup), (gst_spectrum_message_new),
(gst_spectrum_transform_ip):
* gst/spectrum/gstspectrum.h:
Port GstSpectrum to GstAudioFilter and libgstfft, add support
for int32, float and double, use floats for the message contents,
average all FFTs done in one interval for better results, use
a better windowing function, allow posting the phase in the message
and actually do an FFT with the requested number of bands instead
of interpolating.
* tests/check/elements/spectrum.c: (GST_START_TEST),
(spectrum_suite):
Improve the units tests by checking for a 11025Hz sine wave
and add unit tests for all 4 supported sample types.

17 years agogst/qtdemux/: Don't assume tags are encoded as UTF-8 (#473670).
Tim-Philipp Müller [Wed, 5 Sep 2007 16:23:21 +0000 (16:23 +0000)]
gst/qtdemux/: Don't assume tags are encoded as UTF-8 (#473670).

Original commit message from CVS:
* gst/qtdemux/Makefile.am:
* gst/qtdemux/qtdemux.c:
Don't assume tags are encoded as UTF-8 (#473670).

17 years agosys/v4l2/: Implement LATENCY queries in the crudest way possible so I don't have...
Tim-Philipp Müller [Wed, 5 Sep 2007 14:43:16 +0000 (14:43 +0000)]
sys/v4l2/: Implement LATENCY queries in the crudest way possible so I don't have to use sync=false any longer when te...

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c:
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/v4l2src_calls.c:
Implement LATENCY queries in the crudest way possible so I don't
have to use sync=false any longer when testing with videosinks.

17 years agoconfigure.ac: Fix build.
Tim-Philipp Müller [Wed, 5 Sep 2007 09:25:23 +0000 (09:25 +0000)]
configure.ac: Fix build.

Original commit message from CVS:
* configure.ac:
Fix build.

17 years agosys/v4l2/v4l2src_calls.c: Add some more debugging in the framerate function.
Wim Taymans [Wed, 5 Sep 2007 00:12:46 +0000 (00:12 +0000)]
sys/v4l2/v4l2src_calls.c: Add some more debugging in the framerate function.

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c:
(gst_v4l2src_probe_caps_for_format_and_size):
Add some more debugging in the framerate function.
Iterate stepwise framerate up to and _including_ the max and if nothing
was added to the list, add a dummy 0/1 to 100/1 framerate so that we
don't end up with an empty list.

17 years agogst/udp/gstmultiudpsink.c: Add property do configure destination address/port pairs
Wim Taymans [Tue, 4 Sep 2007 22:42:21 +0000 (22:42 +0000)]
gst/udp/gstmultiudpsink.c: Add property do configure destination address/port pairs

Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init),
(gst_multiudpsink_set_clients_string),
(gst_multiudpsink_get_clients_string),
(gst_multiudpsink_set_property), (gst_multiudpsink_get_property),
(gst_multiudpsink_init_send), (gst_multiudpsink_add_internal),
(gst_multiudpsink_add), (gst_multiudpsink_clear_internal),
(gst_multiudpsink_clear):
Add property do configure destination address/port pairs
API:GstMultiUDPSink::clients

17 years agotests/examples/: Added some RTP example scripts for sending and receiving RTP streams.
Wim Taymans [Tue, 4 Sep 2007 18:30:22 +0000 (18:30 +0000)]
tests/examples/: Added some RTP example scripts for sending and receiving RTP streams.

Original commit message from CVS:
* tests/examples/Makefile.am:
* tests/examples/rtp/Makefile.am:
* tests/examples/rtp/client-H263p-AMR.sh:
* tests/examples/rtp/client-H263p-PCMA.sdp:
* tests/examples/rtp/client-H263p-PCMA.sh:
* tests/examples/rtp/client-H264-PCMA.sdp:
* tests/examples/rtp/client-H264-PCMA.sh:
* tests/examples/rtp/client-PCMA.sh:
* tests/examples/rtp/server-VTS-H263p-ATS-PCMA.sh:
* tests/examples/rtp/server-alsasrc-PCMA.sh:
* tests/examples/rtp/server-v4l2-H263p-alsasrc-AMR.sh:
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Added some RTP example scripts for sending and receiving RTP streams.

17 years agosys/v4l2/gstv4l2src.c: Restructure the setcaps function so that we can also compute...
Wim Taymans [Tue, 4 Sep 2007 16:40:05 +0000 (16:40 +0000)]
sys/v4l2/gstv4l2src.c: Restructure the setcaps function so that we can also compute the expected GStreamer output siz...

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2_get_caps_info),
(gst_v4l2src_set_caps), (gst_v4l2src_get_mmap):
Restructure the setcaps function so that we can also compute the
expected GStreamer output size of the video frames.
Set frame_byte_size correctly so that read-based devices have a chance
of working correctly.
When grabbing a frame, discard frames that are not of the expected size.
Some cameras don't output the right framesize for the first buffer.
Try only a couple of times to get a valid frame, else error out.
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_get_input):
Add some more debug info when scanning the device.
* sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_new),
(gst_v4l2_buffer_pool_new), (gst_v4l2_buffer_pool_activate),
(gst_v4l2src_fill_format_list), (gst_v4l2src_grab_frame),
(gst_v4l2src_set_capture), (gst_v4l2src_capture_init):
Add some more debug info when dequeing a frame.

17 years agogst/wavparse/gstwavparse.c: More code cleanups. Add some more comment and improve...
Stefan Kost [Tue, 4 Sep 2007 14:37:22 +0000 (14:37 +0000)]
gst/wavparse/gstwavparse.c: More code cleanups. Add some more comment and improve debugs logs.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c:
More code cleanups. Add some more comment and improve debugs logs.

17 years agogst/wavparse/gstwavparse.*: Implement seek-query. Refactor duration calculations...
Stefan Kost [Tue, 4 Sep 2007 07:58:36 +0000 (07:58 +0000)]
gst/wavparse/gstwavparse.*: Implement seek-query. Refactor duration calculations. Appropriate use of uint64_scale_int...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c:
* gst/wavparse/gstwavparse.h:
Implement seek-query. Refactor duration calculations. Appropriate use
of uint64_scale_int and uint64_scale. Move repeadedly calculated stuff
out of loops.

17 years agogst/avi/gstavidemux.c: Implement seek-query.
Stefan Kost [Mon, 3 Sep 2007 07:44:34 +0000 (07:44 +0000)]
gst/avi/gstavidemux.c: Implement seek-query.

Original commit message from CVS:
* gst/avi/gstavidemux.c:
Implement seek-query.

17 years agogst/rtsp/gstrtspsrc.c: Use new basesink async property to make sparse RTCP packet...
Wim Taymans [Wed, 29 Aug 2007 21:43:08 +0000 (21:43 +0000)]
gst/rtsp/gstrtspsrc.c: Use new basesink async property to make sparse RTCP packet not wait for preroll.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_udp_sink),
(gst_rtspsrc_dup_printf):
Use new basesink async property to make sparse RTCP packet not wait for
preroll.

17 years agogst/audiofx/Makefile.am: Dist the right file.
Jan Schmidt [Mon, 27 Aug 2007 14:44:19 +0000 (14:44 +0000)]
gst/audiofx/Makefile.am: Dist the right file.

Original commit message from CVS:
* gst/audiofx/Makefile.am:
Dist the right file.

17 years agogst/rtsp/gstrtspsrc.c: Make sure we generate and parse floating point values in the...
Wim Taymans [Thu, 23 Aug 2007 16:27:36 +0000 (16:27 +0000)]
gst/rtsp/gstrtspsrc.c: Make sure we generate and parse floating point values in the POSIX locale instead of the curre...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_dup_printf),
(gst_rtspsrc_get_float), (gst_rtspsrc_play):
Make sure we generate and parse floating point values in the POSIX
locale instead of the current locale.

17 years agogst/rtsp/gstrtspsrc.*: Fix method detection again.
Wim Taymans [Wed, 22 Aug 2007 15:01:29 +0000 (15:01 +0000)]
gst/rtsp/gstrtspsrc.*: Fix method detection again.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_do_seek),
(gst_rtspsrc_parse_methods), (gst_rtspsrc_open),
(gst_rtspsrc_play):
* gst/rtsp/gstrtspsrc.h:
Fix method detection again.
Keep track of when we must send a Range header.
Use segment values for Range, Speed and Scale headers.
Parse Speed and Scale headers to update the segment values.

17 years agosys/v4l2/v4l2src_calls.c: Handle optional v4l2 ioctls gracefully.
Mark Nauwelaerts [Wed, 22 Aug 2007 08:22:50 +0000 (08:22 +0000)]
sys/v4l2/v4l2src_calls.c: Handle optional v4l2 ioctls gracefully.

Original commit message from CVS:
patch by: Mark Nauwelaerts <manauw@skynet.be>
* sys/v4l2/v4l2src_calls.c:
Handle optional v4l2 ioctls gracefully.

17 years agogst/rtp/: Added an H263 depayloader. Fixes #369392.
Wim Taymans [Mon, 20 Aug 2007 16:52:03 +0000 (16:52 +0000)]
gst/rtp/: Added an H263 depayloader. Fixes #369392.

Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtph263depay.c: (gst_rtp_h263_depay_base_init),
(gst_rtp_h263_depay_class_init), (gst_rtp_h263_depay_init),
(gst_rtp_h263_depay_finalize), (gst_rtp_h263_depay_setcaps),
(gst_rtp_h263_depay_process), (gst_rtp_h263_depay_set_property),
(gst_rtp_h263_depay_get_property),
(gst_rtp_h263_depay_change_state),
(gst_rtp_h263_depay_plugin_init):
* gst/rtp/gstrtph263depay.h:
Added an H263 depayloader. Fixes #369392.
* gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_setcaps),
(gst_rtp_h263p_depay_process):
* gst/rtp/gstrtph263ppay.c: (gst_fragmentation_mode_get_type),
(gst_rtp_h263p_pay_class_init), (gst_rtp_h263p_pay_flush):
Make the H263+ pay/depayloader support H263-1998 and H263-2000
payloads.
Also alow plain H263 on the h263p payloaders. Fixes #465040.

17 years agogst/filter/: Add small comparision with the chebyshev filters in the docs.
Sebastian Dröge [Sun, 19 Aug 2007 19:16:33 +0000 (19:16 +0000)]
gst/filter/: Add small comparision with the chebyshev filters in the docs.

Original commit message from CVS:
* gst/filter/gstbpwsinc.c:
* gst/filter/gstlpwsinc.c:
Add small comparision with the chebyshev filters in the docs.

17 years agogst/audiofx/: Add small comparision with the windowed sinc filters in the docs.
Sebastian Dröge [Sun, 19 Aug 2007 19:11:04 +0000 (19:11 +0000)]
gst/audiofx/: Add small comparision with the windowed sinc filters in the docs.

Original commit message from CVS:
* gst/audiofx/audiochebyshevfreqband.c:
* gst/audiofx/audiochebyshevfreqlimit.c:
Add small comparision with the windowed sinc filters in the docs.

17 years agotests/check/elements/: Also test everything in 32 bit float mode.
Sebastian Dröge [Sun, 19 Aug 2007 19:01:45 +0000 (19:01 +0000)]
tests/check/elements/: Also test everything in 32 bit float mode.

Original commit message from CVS:
* tests/check/elements/bpwsinc.c: (GST_START_TEST),
(bpwsinc_suite):
* tests/check/elements/lpwsinc.c: (GST_START_TEST),
(lpwsinc_suite):
Also test everything in 32 bit float mode.

17 years agotests/check/elements/: Also test 32 bit float mode and the type 2 variants of the...
Sebastian Dröge [Sun, 19 Aug 2007 18:47:19 +0000 (18:47 +0000)]
tests/check/elements/: Also test 32 bit float mode and the type 2 variants of the filters.

Original commit message from CVS:
* tests/check/elements/audiochebyshevfreqband.c: (GST_START_TEST),
(audiochebyshevfreqband_suite):
* tests/check/elements/audiochebyshevfreqlimit.c: (GST_START_TEST),
(audiochebyshevfreqlimit_suite):
Also test 32 bit float mode and the type 2 variants of the filters.

17 years agogst/rtsp/gstrtspsrc.c: Refactor the udp and interleaved loop function a bit.
Wim Taymans [Sat, 18 Aug 2007 19:44:55 +0000 (19:44 +0000)]
gst/rtsp/gstrtspsrc.c: Refactor the udp and interleaved loop function a bit.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_loop_interleaved),
(gst_rtspsrc_loop_udp), (gst_rtspsrc_loop_send_cmd),
(gst_rtspsrc_loop):
Refactor the udp and interleaved loop function a bit.

17 years agogst/rtsp/gstrtspsrc.*: Protect connection activity with a new lock, avoids deadlocks...
Wim Taymans [Fri, 17 Aug 2007 17:08:11 +0000 (17:08 +0000)]
gst/rtsp/gstrtspsrc.*: Protect connection activity with a new lock, avoids deadlocks when going to PAUSED. Fixes #455...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
(gst_rtspsrc_finalize), (gst_rtspsrc_connection_send),
(gst_rtspsrc_connection_receive), (gst_rtspsrc_sink_chain),
(gst_rtspsrc_handle_request), (gst_rtspsrc_send_keep_alive),
(gst_rtspsrc_loop_interleaved), (gst_rtspsrc_loop_udp),
(gst_rtspsrc_try_send), (gst_rtspsrc_pause):
* gst/rtsp/gstrtspsrc.h:
Protect connection activity with a new lock, avoids deadlocks when going
to PAUSED. Fixes #455808.

17 years agogst/debug/rndbuffersize.c: Fix debug statement.
Wim Taymans [Fri, 17 Aug 2007 15:30:39 +0000 (15:30 +0000)]
gst/debug/rndbuffersize.c: Fix debug statement.

Original commit message from CVS:
* gst/debug/rndbuffersize.c: (gst_rnd_buffer_size_loop):
Fix debug statement.

17 years agogst/rtsp/gstrtspsrc.c: Fix stray %u in debug line as spotted by Saur on IRC.
Wim Taymans [Fri, 17 Aug 2007 15:28:40 +0000 (15:28 +0000)]
gst/rtsp/gstrtspsrc.c: Fix stray %u in debug line as spotted by Saur on IRC.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_do_stream_eos):
Fix stray %u in debug line as spotted by Saur on IRC.

17 years agoUse generator macros for the process functions for the different sample types, add...
Sebastian Dröge [Fri, 17 Aug 2007 15:05:17 +0000 (15:05 +0000)]
Use generator macros for the process functions for the different sample types, add lower upper boundaries for the GOb...

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init),
(bpwsinc_set_property), (bpwsinc_get_property):
* gst/filter/gstbpwsinc.h:
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init),
(gst_lpwsinc_init), (lpwsinc_build_kernel), (lpwsinc_set_property),
(lpwsinc_get_property):
* gst/filter/gstlpwsinc.h:
* tests/check/elements/lpwsinc.c: (GST_START_TEST):
Use generator macros for the process functions for the different
sample types, add lower upper boundaries for the GObject properties
so automatically generated UIs can use sliders and change frequency
properties to floats to save a bit of memory, even ints would in
theory be enough. Also rename frequency to cutoff for consistency
reasons.
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-gstrtpmanager.xml:
Regenerated for the above changes.

17 years agogst/audiofx/: Use generator macros for the process functions for the different sample...
Sebastian Dröge [Fri, 17 Aug 2007 14:43:33 +0000 (14:43 +0000)]
gst/audiofx/: Use generator macros for the process functions for the different sample types, add lower upper boundari...

Original commit message from CVS:
* gst/audiofx/audiochebyshevfreqband.c:
(gst_audio_chebyshev_freq_band_class_init):
* gst/audiofx/audiochebyshevfreqlimit.c:
(gst_audio_chebyshev_freq_limit_class_init):
Use generator macros for the process functions for the different
sample types, add lower upper boundaries for the GObject properties
so automatically generated UIs can use sliders and add a note about
the number of poles as a too high number of poles combined with
very low or very high frequencies will produce only noise.
* docs/plugins/gst-plugins-good-plugins.args:
Regenerated for the property changes.

17 years agogst/rtsp/gstrtspsrc.*: Improve timeout handling.
Wim Taymans [Fri, 17 Aug 2007 14:15:19 +0000 (14:15 +0000)]
gst/rtsp/gstrtspsrc.*: Improve timeout handling.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_set_property),
(gst_rtspsrc_flush), (gst_rtspsrc_sink_chain),
(gst_rtspsrc_stream_configure_udp_sink),
(gst_rtspsrc_send_keep_alive), (gst_rtspsrc_loop_interleaved),
(gst_rtspsrc_loop_udp), (gst_rtspsrc_loop_send_cmd),
(gst_rtspsrc_try_send), (gst_rtspsrc_send),
(gst_rtspsrc_parse_methods), (gst_rtspsrc_parse_range),
(gst_rtspsrc_open), (gst_rtspsrc_close), (gst_rtspsrc_pause),
(gst_rtspsrc_handle_message), (gst_rtspsrc_change_state):
* gst/rtsp/gstrtspsrc.h:
Improve timeout handling.
Use the same socket for sending and receiving RTCP packets so that some
servers can track clients better.
Improve connection closed handling. Try to reconnect.
Don't overwrite our content base with NULL.
Improve debugging.
Improve range parsing and handling.
Remove flushing hack now that core does the right thing.

17 years agogst/udp/gstmultiudpsink.*: Add support for getting and setting the socket to use.
Wim Taymans [Fri, 17 Aug 2007 13:59:15 +0000 (13:59 +0000)]
gst/udp/gstmultiudpsink.*: Add support for getting and setting the socket to use.

Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init),
(gst_multiudpsink_init), (gst_multiudpsink_set_property),
(gst_multiudpsink_get_property), (gst_multiudpsink_init_send),
(gst_multiudpsink_close), (gst_multiudpsink_add):
* gst/udp/gstmultiudpsink.h:
Add support for getting and setting the socket to use.
* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init), (gst_udpsrc_init),
(gst_udpsrc_create), (gst_udpsrc_get_property):
Add support for getting the currently used socket.

17 years agogst/filter/gstbpwsinc.*: Implement latency query and only forward those samples downs...
Sebastian Dröge [Thu, 16 Aug 2007 19:22:48 +0000 (19:22 +0000)]
gst/filter/gstbpwsinc.*: Implement latency query and only forward those samples downstream that actually contain the ...

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init),
(gst_bpwsinc_init), (process_32), (process_64),
(bpwsinc_build_kernel), (bpwsinc_push_residue),
(bpwsinc_transform), (bpwsinc_start), (bpwsinc_query),
(bpwsinc_query_type), (bpwsinc_event), (bpwsinc_set_property):
* gst/filter/gstbpwsinc.h:
Implement latency query and only forward those samples downstream
that actually contain the data we want, i.e. drop kernel_length/2
in the beginning and append kernel_length/2 (created by convolving
the filter kernel with zeroes) to the end.
* tests/check/elements/bpwsinc.c: (GST_START_TEST):
Adjust the unit test for this slightly changed behaviour.
* gst/filter/gstlpwsinc.c: (lpwsinc_build_kernel):
Reset residue length only when actually creating a residue.

17 years agogst/audiofx/: Add Chebyshev lowpass/highpass and bandpass/bandreject elements.
Sebastian Dröge [Thu, 16 Aug 2007 17:02:07 +0000 (17:02 +0000)]
gst/audiofx/: Add Chebyshev lowpass/highpass and bandpass/bandreject elements.

Original commit message from CVS:
reviewed by: Stefan Kost  <ensonic@users.sf.net>
* gst/audiofx/Makefile.am:
* gst/audiofx/audiochebyshevfreqband.c:
(gst_audio_chebyshev_freq_band_mode_get_type),
(gst_audio_chebyshev_freq_band_base_init),
(gst_audio_chebyshev_freq_band_dispose),
(gst_audio_chebyshev_freq_band_class_init),
(gst_audio_chebyshev_freq_band_init),
(generate_biquad_coefficients), (calculate_gain),
(generate_coefficients),
(gst_audio_chebyshev_freq_band_set_property),
(gst_audio_chebyshev_freq_band_get_property),
(gst_audio_chebyshev_freq_band_setup), (process), (process_64),
(process_32), (gst_audio_chebyshev_freq_band_transform_ip),
(gst_audio_chebyshev_freq_band_start):
* gst/audiofx/audiochebyshevfreqband.h:
* gst/audiofx/audiochebyshevfreqlimit.c:
(gst_audio_chebyshev_freq_limit_mode_get_type),
(gst_audio_chebyshev_freq_limit_base_init),
(gst_audio_chebyshev_freq_limit_dispose),
(gst_audio_chebyshev_freq_limit_class_init),
(gst_audio_chebyshev_freq_limit_init),
(generate_biquad_coefficients), (calculate_gain),
(generate_coefficients),
(gst_audio_chebyshev_freq_limit_set_property),
(gst_audio_chebyshev_freq_limit_get_property),
(gst_audio_chebyshev_freq_limit_setup), (process), (process_64),
(process_32), (gst_audio_chebyshev_freq_limit_transform_ip),
(gst_audio_chebyshev_freq_limit_start):
* gst/audiofx/audiochebyshevfreqlimit.h:
* gst/audiofx/audiofx.c: (plugin_init):
Add Chebyshev lowpass/highpass and bandpass/bandreject elements.
Fixes #464800.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/audiochebyshevfreqband.c:
(setup_audiochebyshevfreqband), (cleanup_audiochebyshevfreqband),
(GST_START_TEST), (audiochebyshevfreqband_suite), (main):
* tests/check/elements/audiochebyshevfreqlimit.c:
(setup_audiochebyshevfreqlimit), (cleanup_audiochebyshevfreqlimit),
(GST_START_TEST), (audiochebyshevfreqlimit_suite), (main):
Add unit tests for the chebyshev filters.
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/inspect/plugin-1394.xml:
* docs/plugins/inspect/plugin-audiofx.xml:
* docs/plugins/inspect/plugin-dv.xml:
* docs/plugins/inspect/plugin-flac.xml:
* docs/plugins/inspect/plugin-jpeg.xml:
* docs/plugins/inspect/plugin-png.xml:
* docs/plugins/inspect/plugin-rtp.xml:
* docs/plugins/inspect/plugin-shout2send.xml:
* docs/plugins/inspect/plugin-wavpack.xml:
And add docs for the chebyshev filters. While doing
that also run make update in docs/plugins.

17 years agoMake ro memory to share.
Stefan Kost [Thu, 16 Aug 2007 12:15:06 +0000 (12:15 +0000)]
Make ro memory to share.

Original commit message from CVS:
* ext/annodex/gstcmmltag.c:
* gst/rtp/gstrtpvorbispay.c:
Make ro memory to share.

17 years agogst/udp/gstudpsrc.c: Improve UDP performance by avoiding a select() when we have...
Wim Taymans [Thu, 16 Aug 2007 11:49:01 +0000 (11:49 +0000)]
gst/udp/gstudpsrc.c: Improve UDP performance by avoiding a select() when we have data available immediatly.

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_create):
Improve UDP performance by avoiding a select() when we have data
available immediatly.

17 years agogst/rtsp/gstrtpdec.*: Add (dummy) SSRC management signals.
Wim Taymans [Thu, 16 Aug 2007 11:47:19 +0000 (11:47 +0000)]
gst/rtsp/gstrtpdec.*: Add (dummy) SSRC management signals.

Original commit message from CVS:
* gst/rtsp/gstrtpdec.c: (gst_rtp_dec_marshal_VOID__UINT_UINT),
(gst_rtp_dec_class_init):
* gst/rtsp/gstrtpdec.h:
Add (dummy) SSRC management signals.
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init),
(gst_rtspsrc_set_property), (gst_rtspsrc_get_property),
(find_stream), (gst_rtspsrc_create_stream), (new_session_pad),
(request_pt_map), (gst_rtspsrc_do_stream_eos), (on_bye_ssrc),
(on_timeout), (gst_rtspsrc_stream_configure_manager),
(gst_rtspsrc_stream_push_event), (gst_rtspsrc_push_event),
(gst_rtspsrc_loop_interleaved), (gst_rtspsrc_parse_rtpinfo),
(gst_rtspsrc_handle_message), (gst_rtspsrc_change_state):
* gst/rtsp/gstrtspsrc.h:
Add connection-speed property.
Add find_stream helper functions.
Handle stream EOS based on BYE messages or SSRC timeout.
Returns SUCCESS from the state change function as we hide our async
elements from the parent.

17 years agogst/filter/gstlpwsinc.*: Implement latency query and only forward those samples downs...
Sebastian Dröge [Thu, 16 Aug 2007 09:48:27 +0000 (09:48 +0000)]
gst/filter/gstlpwsinc.*: Implement latency query and only forward those samples downstream that actually contain the ...

Original commit message from CVS:
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init),
(gst_lpwsinc_init), (process_32), (process_64),
(lpwsinc_build_kernel), (lpwsinc_push_residue),
(lpwsinc_transform), (lpwsinc_start), (lpwsinc_query),
(lpwsinc_query_type), (lpwsinc_event), (lpwsinc_set_property):
* gst/filter/gstlpwsinc.h:
Implement latency query and only forward those samples downstream
that actually contain the data we want, i.e. drop kernel_length/2
in the beginning and append kernel_length/2 (created by convolving
the filter kernel with zeroes) to the end.
* tests/check/elements/lpwsinc.c: (GST_START_TEST):
Adjust the unit test for this slightly changed behaviour.

17 years agogst/debug/rndbuffersize.c: Fix da leak.
Stefan Kost [Thu, 16 Aug 2007 07:40:48 +0000 (07:40 +0000)]
gst/debug/rndbuffersize.c: Fix da leak.

Original commit message from CVS:
* gst/debug/rndbuffersize.c:
Fix da leak.

17 years agogst/debug/: Add new test element and clean-up the others a little.
Stefan Kost [Tue, 14 Aug 2007 13:50:43 +0000 (13:50 +0000)]
gst/debug/: Add new test element and clean-up the others a little.

Original commit message from CVS:
* gst/debug/Makefile.am:
* gst/debug/breakmydata.c:
* gst/debug/gstdebug.c:
* gst/debug/negotiation.c:
* gst/debug/progressreport.c:
* gst/debug/rndbuffersize.c:
* gst/debug/testplugin.c:
Add new test element and clean-up the others a little.

17 years agoAdd docs for lpwsinc and bpwsinc and integrate them into the build system. While...
Sebastian Dröge [Mon, 13 Aug 2007 13:50:39 +0000 (13:50 +0000)]
Add docs for lpwsinc and bpwsinc and integrate them into the build system. While doing that also update all other doc...

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-bz2.xml:
* docs/plugins/inspect/plugin-cdxaparse.xml:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-faac.xml:
* docs/plugins/inspect/plugin-faad.xml:
* docs/plugins/inspect/plugin-filter.xml:
* docs/plugins/inspect/plugin-freeze.xml:
* docs/plugins/inspect/plugin-gsm.xml:
* docs/plugins/inspect/plugin-gstrtpmanager.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-modplug.xml:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-musicbrainz.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-spcdec.xml:
* docs/plugins/inspect/plugin-spectrum.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-tta.xml:
* docs/plugins/inspect/plugin-videosignal.xml:
* docs/plugins/inspect/plugin-xingheader.xml:
* docs/plugins/inspect/plugin-xvid.xml:
* gst/filter/gstbpwsinc.c:
* gst/filter/gstbpwsinc.h:
* gst/filter/gstlpwsinc.c:
* gst/filter/gstlpwsinc.h:
Add docs for lpwsinc and bpwsinc and integrate them
into the build system. While doing that also update
all other docs via make update in docs/plugins.

17 years agotests/check/elements/bpwsinc.c: Make one test constraint a bit stricter.
Sebastian Dröge [Sun, 12 Aug 2007 20:55:01 +0000 (20:55 +0000)]
tests/check/elements/bpwsinc.c: Make one test constraint a bit stricter.

Original commit message from CVS:
* tests/check/elements/bpwsinc.c: (GST_START_TEST):
Make one test constraint a bit stricter.

17 years agotests/check/: Add unit tests for bpwsinc, testing fundamental functionality again.
Sebastian Dröge [Sun, 12 Aug 2007 20:53:11 +0000 (20:53 +0000)]
tests/check/: Add unit tests for bpwsinc, testing fundamental functionality again.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/bpwsinc.c: (setup_bpwsinc),
(cleanup_bpwsinc), (GST_START_TEST), (bpwsinc_suite), (main):
Add unit tests for bpwsinc, testing fundamental functionality again.

17 years agotests/check/: Add unit tests for lpwsinc, testing fundamental functionality.
Sebastian Dröge [Sun, 12 Aug 2007 20:19:37 +0000 (20:19 +0000)]
tests/check/: Add unit tests for lpwsinc, testing fundamental functionality.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/lpwsinc.c: (setup_lpwsinc),
(cleanup_lpwsinc), (GST_START_TEST), (lpwsinc_suite), (main):
Add unit tests for lpwsinc, testing fundamental functionality.

17 years agogst/filter/: Improve debugging a bit.
Sebastian Dröge [Sun, 12 Aug 2007 15:41:57 +0000 (15:41 +0000)]
gst/filter/: Improve debugging a bit.

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (bpwsinc_build_kernel):
* gst/filter/gstlpwsinc.c: (lpwsinc_build_kernel):
Improve debugging a bit.

17 years agogst/qtdemux/qtdemux.c: Fix parsing of mp4a version 0 atoms. Fixes #465774.
Wim Taymans [Sun, 12 Aug 2007 14:35:41 +0000 (14:35 +0000)]
gst/qtdemux/qtdemux.c: Fix parsing of mp4a version 0 atoms. Fixes #465774.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_node):
Fix parsing of mp4a version 0 atoms. Fixes #465774.

17 years agogst/filter/: Reset the residue in BaseTransform::start to get a clean residue on...
Sebastian Dröge [Sun, 12 Aug 2007 12:46:20 +0000 (12:46 +0000)]
gst/filter/: Reset the residue in BaseTransform::start to get a clean residue on stream changes.

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init),
(bpwsinc_start):
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init),
(lpwsinc_start):
Reset the residue in BaseTransform::start to get a clean residue
on stream changes.

17 years agogst/filter/: Fix processing with buffer sizes that are larger than the filter kernel...
Sebastian Dröge [Sat, 11 Aug 2007 15:58:30 +0000 (15:58 +0000)]
gst/filter/: Fix processing with buffer sizes that are larger than the filter kernel size.

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (process_32), (process_64):
* gst/filter/gstlpwsinc.c: (process_32), (process_64):
Fix processing with buffer sizes that are larger than the filter
kernel size.

17 years agogst/rtp/gstrtpilbcdepay.c: Include stdlib.
Stefan Kost [Fri, 10 Aug 2007 17:08:01 +0000 (17:08 +0000)]
gst/rtp/gstrtpilbcdepay.c: Include stdlib.

Original commit message from CVS:
* gst/rtp/gstrtpilbcdepay.c:
Include stdlib.

17 years agogst/rtp/gstrtpmpvdepay.c: Set the mpegversion in the caps so that autoplugging does...
Wim Taymans [Fri, 10 Aug 2007 16:10:47 +0000 (16:10 +0000)]
gst/rtp/gstrtpmpvdepay.c: Set the mpegversion in the caps so that autoplugging does not get confused.

Original commit message from CVS:
* gst/rtp/gstrtpmpvdepay.c:
Set the mpegversion in the caps so that autoplugging does not get
confused.

17 years agogst/filter/gstbpwsinc.c: Fix a segfault with more than one channel and don't rebuild...
Sebastian Dröge [Fri, 10 Aug 2007 05:51:40 +0000 (05:51 +0000)]
gst/filter/gstbpwsinc.c: Fix a segfault with more than one channel and don't rebuild the kernel & residue with every ...

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (bpwsinc_build_kernel):
Fix a segfault with more than one channel and don't rebuild
the kernel & residue with every buffer.

17 years agogst/filter/gstbpwsinc.*: Add support for a bandreject mode and allow specifying the...
Sebastian Dröge [Fri, 10 Aug 2007 05:35:25 +0000 (05:35 +0000)]
gst/filter/gstbpwsinc.*: Add support for a bandreject mode and allow specifying the window function that should be used.

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_mode_get_type),
(gst_bpwsinc_window_get_type), (gst_bpwsinc_class_init),
(gst_bpwsinc_init), (bpwsinc_build_kernel), (bpwsinc_set_property),
(bpwsinc_get_property):
* gst/filter/gstbpwsinc.h:
Add support for a bandreject mode and allow specifying the window
function that should be used.
* gst/filter/gstlpwsinc.c:
And another small formatting fix.

17 years agogst/filter/gstbpwsinc.*: Apply the same changes to the bandpass filter:
Sebastian Dröge [Fri, 10 Aug 2007 05:20:06 +0000 (05:20 +0000)]
gst/filter/gstbpwsinc.*: Apply the same changes to the bandpass filter:

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init),
(gst_bpwsinc_init), (process_32), (process_64),
(bpwsinc_build_kernel), (bpwsinc_setup), (bpwsinc_get_unit_size),
(bpwsinc_transform), (bpwsinc_set_property),
(bpwsinc_get_property):
* gst/filter/gstbpwsinc.h:
Apply the same changes to the bandpass filter:
- Support double input
- Fix processing for input with >1 channels
- Specify frequency in Hz
- Specify actual filter kernel length
- Use transform instead of transform_ip as we're working
out of place anyway
- Factor out filter kernel generation and update the filter
kernel when the properties are set
Fix bandpass filter kernel generation to actually generate
a bandpass filter by creating a highpass instead of a second
lowpass.
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init):
Small formatting fix.

17 years agogst/filter/gstlpwsinc.*: Specify the actual filter length instead of a weird 2N+1...
Sebastian Dröge [Fri, 10 Aug 2007 04:44:43 +0000 (04:44 +0000)]
gst/filter/gstlpwsinc.*: Specify the actual filter length instead of a weird 2N+1. Setting the property will round to...

Original commit message from CVS:
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init),
(gst_lpwsinc_init), (process_32), (process_64),
(lpwsinc_build_kernel), (lpwsinc_set_property),
(lpwsinc_get_property):
* gst/filter/gstlpwsinc.h:
Specify the actual filter length instead of a weird
2N+1. Setting the property will round to the next odd number.
Also remove now obsolete FIXMEs.

17 years agogst/filter/gstlpwsinc.*: Allow choosing between hamming and blackman window. The...
Sebastian Dröge [Fri, 10 Aug 2007 04:32:47 +0000 (04:32 +0000)]
gst/filter/gstlpwsinc.*: Allow choosing between hamming and blackman window. The blackman window provides a better st...

Original commit message from CVS:
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_window_get_type),
(gst_lpwsinc_class_init), (gst_lpwsinc_init),
(lpwsinc_build_kernel), (lpwsinc_set_property),
(lpwsinc_get_property):
* gst/filter/gstlpwsinc.h:
Allow choosing between hamming and blackman window. The blackman
window provides a better stopband attenuation but a bit slower
rolloff.

17 years agogst/filter/gstlpwsinc.*: Add a highpass mode.
Sebastian Dröge [Fri, 10 Aug 2007 04:21:39 +0000 (04:21 +0000)]
gst/filter/gstlpwsinc.*: Add a highpass mode.

Original commit message from CVS:
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_mode_get_type),
(gst_lpwsinc_class_init), (process_32), (process_64),
(lpwsinc_build_kernel), (lpwsinc_set_property),
(lpwsinc_get_property):
* gst/filter/gstlpwsinc.h:
Add a highpass mode.

17 years agogst/filter/gstlpwsinc.c: Fix processing if the input has more than one channel.
Sebastian Dröge [Fri, 10 Aug 2007 04:06:53 +0000 (04:06 +0000)]
gst/filter/gstlpwsinc.c: Fix processing if the input has more than one channel.

Original commit message from CVS:
* gst/filter/gstlpwsinc.c: (process_32), (process_64),
(lpwsinc_build_kernel):
Fix processing if the input has more than one channel.

17 years agogst/filter/gstbpwsinc.c: "this" is a C++ keyword, use "self" instead.
Sebastian Dröge [Thu, 9 Aug 2007 19:23:33 +0000 (19:23 +0000)]
gst/filter/gstbpwsinc.c: "this" is a C++ keyword, use "self" instead.

Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_dispose),
(gst_bpwsinc_init), (bpwsinc_setup), (bpwsinc_transform_ip),
(bpwsinc_set_property), (bpwsinc_get_property):
"this" is a C++ keyword, use "self" instead.
Add TODOs and FIXMEs and remove two wrong FIXMEs.
* gst/filter/gstlpwsinc.c:
Add FIXMEs and a new TODO.

17 years agogst/filter/gstlpwsinc.*: Add double support, replace "this" with "self" as the former...
Sebastian Dröge [Thu, 9 Aug 2007 18:08:05 +0000 (18:08 +0000)]
gst/filter/gstlpwsinc.*: Add double support, replace "this" with "self" as the former is a C++ keyword.

Original commit message from CVS:
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_dispose),
(gst_lpwsinc_class_init), (gst_lpwsinc_init), (process_32),
(process_64), (lpwsinc_build_kernel), (lpwsinc_setup),
(lpwsinc_get_unit_size), (lpwsinc_transform),
(lpwsinc_set_property), (lpwsinc_get_property):
* gst/filter/gstlpwsinc.h:
Add double support, replace "this" with "self" as the former
is a C++ keyword.
Implement the frequency property in Hz instead of fraction
of sampling frequency.
Remove some unecessary FIXMEs and add some TODOs, add some
required locking and refactor the kernel generation into a
separate function that is also called when the properties
change now.
And use BaseTransform::transform instead of transform_ip
as the convolution is done out of place anyway. Should
be done in place later.

17 years agopo/: Updated translations.
Thomas Vander Stichele [Thu, 9 Aug 2007 10:54:05 +0000 (10:54 +0000)]
po/: Updated translations.

Original commit message from CVS:
* po/hu.po:
* po/uk.po:
* po/vi.po:
Updated translations.

17 years agogst/filter/: Use GstAudioFilter as base class and don't leak the memory of the filter...
Sebastian Dröge [Wed, 8 Aug 2007 20:47:33 +0000 (20:47 +0000)]
gst/filter/: Use GstAudioFilter as base class and don't leak the memory of the filter kernel and residue.

Original commit message from CVS:
* gst/filter/Makefile.am:
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_dispose),
(gst_bpwsinc_base_init), (gst_bpwsinc_class_init),
(gst_bpwsinc_init), (bpwsinc_setup):
* gst/filter/gstbpwsinc.h:
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_dispose),
(gst_lpwsinc_base_init), (gst_lpwsinc_class_init),
(gst_lpwsinc_init), (lpwsinc_setup):
* gst/filter/gstlpwsinc.h:
Use GstAudioFilter as base class and don't leak the memory
of the filter kernel and residue.

17 years agogst/videobox/gstvideobox.c: Render right border in the correct location.
Michael Smith [Wed, 8 Aug 2007 17:47:05 +0000 (17:47 +0000)]
gst/videobox/gstvideobox.c: Render right border in the correct location.

Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_ayuv_i420):
Render right border in the correct location.

17 years agogst/rtp/: Make mode property a string. Fixes #464475.
Olivier Crete [Wed, 8 Aug 2007 10:54:50 +0000 (10:54 +0000)]
gst/rtp/: Make mode property a string. Fixes #464475.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtp/gstrtpilbcdepay.c: (gst_rtp_ilbc_depay_setcaps):
* gst/rtp/gstrtpilbcpay.c: (gst_rtpilbcpay_setcaps):
Make mode property a string. Fixes #464475.

17 years agoext/flac/gstflacenc.c: Widen caps to match decoder a bit and add more FIXMEs.
Stefan Kost [Sun, 5 Aug 2007 14:58:20 +0000 (14:58 +0000)]
ext/flac/gstflacenc.c: Widen caps to match decoder a bit and add more FIXMEs.

Original commit message from CVS:
* ext/flac/gstflacenc.c:
Widen caps to match decoder a bit and add more FIXMEs.

17 years agogst/avi/gstavimux.c: Fix ODML index tag numbering. Fixes #463624.
Mark Nauwelaerts [Sun, 5 Aug 2007 14:53:36 +0000 (14:53 +0000)]
gst/avi/gstavimux.c: Fix ODML index tag numbering. Fixes #463624.

Original commit message from CVS:
patch by: Mark Nauwelaerts <manauw@skynet.be>
* gst/avi/gstavimux.c:
Fix ODML index tag numbering. Fixes #463624.

17 years agogst/rtsp/gstrtspsrc.c: Fix default clock-rate for realmedia.
Wim Taymans [Fri, 3 Aug 2007 16:08:56 +0000 (16:08 +0000)]
gst/rtsp/gstrtspsrc.c: Fix default clock-rate for realmedia.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (get_default_rate_for_pt),
(gst_rtspsrc_parse_rtpmap), (gst_rtspsrc_media_to_caps),
(gst_rtspsrc_stream_configure_tcp),
(gst_rtspsrc_stream_configure_udp_sink):
Fix default clock-rate for realmedia.
Fix parsing of transport.
Don't try to link NULL pads.

17 years agopo/POTFILES.skip: Add POTFILES.skip with list of source files that aren't disted...
Tim-Philipp Müller [Mon, 30 Jul 2007 17:17:04 +0000 (17:17 +0000)]
po/POTFILES.skip: Add POTFILES.skip with list of source files that aren't disted at the moment but contain translatab...

Original commit message from CVS:
* po/POTFILES.skip:
Add POTFILES.skip with list of source files that aren't disted at the
moment but contain translatable strings. Should hopefully pacify
broken tools and make it clearer that these files are left out
intentionally (#461600).

17 years agogst/qtdemux/qtdemux.c: If the buffer was entirely clipped ... don't try sending it :)
Edward Hervey [Mon, 30 Jul 2007 12:41:58 +0000 (12:41 +0000)]
gst/qtdemux/qtdemux.c: If the buffer was entirely clipped ... don't try sending it :)

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_state_movie):
If the buffer was entirely clipped ... don't try sending it :)

17 years agogst/rtsp/gstrtspsrc.c: If we don't hav a session manager, set the caps on outgoing...
Wim Taymans [Fri, 27 Jul 2007 16:56:45 +0000 (16:56 +0000)]
gst/rtsp/gstrtspsrc.c: If we don't hav a session manager, set the caps on outgoing buffers ourselves.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_activate_streams),
(gst_rtspsrc_loop_interleaved), (gst_rtspsrc_parse_methods),
(gst_rtspsrc_create_transports_string),
(gst_rtspsrc_prepare_transports):
If we don't hav a session manager, set the caps on outgoing buffers
ourselves.
Force PAUSE/PLAY methods for now until the extensions can overwrite.
Append final bit of the transport string even when it does not contain a
placeholder.

17 years agogst/rtsp/: Clean up the interface list.
Wim Taymans [Fri, 27 Jul 2007 11:21:20 +0000 (11:21 +0000)]
gst/rtsp/: Clean up the interface list.

Original commit message from CVS:
* gst/rtsp/gstrtspext.c: (gst_rtsp_ext_list_free),
(gst_rtsp_ext_list_connect):
* gst/rtsp/gstrtspext.h:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
(gst_rtspsrc_finalize), (gst_rtspsrc_send_cb):
Clean up the interface list.
Allow connecting to interface signals for the extensions.
Remove old extension code.
Free list on cleanup.
Allow extensions to send additional RTSP messages.

17 years agoext/gconf/gconf.c: Handle a NULL gconf key gracefully by rendering the default element.
Jan Schmidt [Fri, 27 Jul 2007 10:38:34 +0000 (10:38 +0000)]
ext/gconf/gconf.c: Handle a NULL gconf key gracefully by rendering the default element.

Original commit message from CVS:
* ext/gconf/gconf.c: (gst_gconf_render_bin_with_default):
Handle a NULL gconf key gracefully by rendering the default element.

17 years agogst/rtsp/gstrtspext.h: Fix include path for extension interface.
Wim Taymans [Fri, 27 Jul 2007 10:11:18 +0000 (10:11 +0000)]
gst/rtsp/gstrtspext.h: Fix include path for extension interface.

Original commit message from CVS:
* gst/rtsp/gstrtspext.h:
Fix include path for extension interface.

17 years agogst/audiofx/audioamplify.h: Also remove a now unecessary variable here.
Sebastian Dröge [Thu, 26 Jul 2007 19:45:30 +0000 (19:45 +0000)]
gst/audiofx/audioamplify.h: Also remove a now unecessary variable here.

Original commit message from CVS:
* gst/audiofx/audioamplify.h:
Also remove a now unecessary variable here.

17 years agogst/audiofx/: Don't save format information ourselves, this is already saved in
Sebastian Dröge [Thu, 26 Jul 2007 19:41:07 +0000 (19:41 +0000)]
gst/audiofx/: Don't save format information ourselves, this is already saved in

Original commit message from CVS:
* gst/audiofx/audioamplify.c: (gst_audio_amplify_init),
(gst_audio_amplify_setup), (gst_audio_amplify_transform_ip):
* gst/audiofx/audiodynamic.c:
(gst_audio_dynamic_set_process_function), (gst_audio_dynamic_init),
(gst_audio_dynamic_setup), (gst_audio_dynamic_transform_ip):
* gst/audiofx/audiodynamic.h:
* gst/audiofx/audioinvert.c: (gst_audio_invert_init),
(gst_audio_invert_setup), (gst_audio_invert_transform_ip):
* gst/audiofx/audioinvert.h:
Don't save format information ourselves, this is already saved in
GstAudioFilter.

17 years agogst/rtsp/: Use rank to filter out extensions.
Wim Taymans [Thu, 26 Jul 2007 15:48:47 +0000 (15:48 +0000)]
gst/rtsp/: Use rank to filter out extensions.

Original commit message from CVS:
* gst/rtsp/gstrtspext.c: (gst_rtsp_ext_list_filter),
(gst_rtsp_ext_list_stream_select):
* gst/rtsp/gstrtspext.h:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_streams):
Use rank to filter out extensions.
Add url to stream_select interface call.

17 years agogst/rtsp/: Use shiny new RTSP and SDP library.
Wim Taymans [Wed, 25 Jul 2007 18:50:08 +0000 (18:50 +0000)]
gst/rtsp/: Use shiny new RTSP and SDP library.

Original commit message from CVS:
* gst/rtsp/Makefile.am:
* gst/rtsp/base64.c:
* gst/rtsp/base64.h:
* gst/rtsp/gstrtspext.c: (gst_rtsp_ext_list_filter),
(gst_rtsp_ext_list_init), (gst_rtsp_ext_list_get),
(gst_rtsp_ext_list_detect_server), (gst_rtsp_ext_list_before_send),
(gst_rtsp_ext_list_after_send), (gst_rtsp_ext_list_parse_sdp),
(gst_rtsp_ext_list_setup_media),
(gst_rtsp_ext_list_configure_stream),
(gst_rtsp_ext_list_get_transports),
(gst_rtsp_ext_list_stream_select):
* gst/rtsp/gstrtspext.h:
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_lower_trans_get_type),
(gst_rtspsrc_class_init), (gst_rtspsrc_init),
(gst_rtspsrc_finalize), (gst_rtspsrc_create_stream),
(gst_rtspsrc_parse_rtpmap), (gst_rtspsrc_media_to_caps),
(gst_rtspsrc_flush), (gst_rtspsrc_do_seek),
(gst_rtspsrc_sink_chain), (gst_rtspsrc_stream_configure_manager),
(gst_rtspsrc_stream_configure_tcp),
(gst_rtspsrc_stream_configure_mcast),
(gst_rtspsrc_stream_configure_udp),
(gst_rtspsrc_stream_configure_udp_sink),
(gst_rtspsrc_stream_configure_transport),
(gst_rtspsrc_handle_request), (gst_rtspsrc_send_keep_alive),
(gst_rtspsrc_loop_interleaved), (gst_rtspsrc_loop_udp),
(gst_rtspsrc_loop_send_cmd), (gst_rtsp_auth_method_to_string),
(gst_rtspsrc_parse_auth_hdr), (gst_rtspsrc_setup_auth),
(gst_rtspsrc_try_send), (gst_rtspsrc_send),
(gst_rtspsrc_parse_methods),
(gst_rtspsrc_create_transports_string),
(gst_rtspsrc_prepare_transports), (gst_rtspsrc_setup_streams),
(gst_rtspsrc_parse_range), (gst_rtspsrc_open), (gst_rtspsrc_close),
(gst_rtspsrc_play), (gst_rtspsrc_pause),
(gst_rtspsrc_change_state), (gst_rtspsrc_uri_set_uri):
* gst/rtsp/gstrtspsrc.h:
* gst/rtsp/rtsp.h:
* gst/rtsp/rtspconnection.c:
* gst/rtsp/rtspconnection.h:
* gst/rtsp/rtspdefs.c:
* gst/rtsp/rtspdefs.h:
* gst/rtsp/rtspext.h:
* gst/rtsp/rtspextwms.c:
* gst/rtsp/rtspextwms.h:
* gst/rtsp/rtspmessage.c:
* gst/rtsp/rtspmessage.h:
* gst/rtsp/rtsprange.c:
* gst/rtsp/rtsprange.h:
* gst/rtsp/rtsptransport.c:
* gst/rtsp/rtsptransport.h:
* gst/rtsp/rtspurl.c:
* gst/rtsp/rtspurl.h:
* gst/rtsp/sdp.h:
* gst/rtsp/sdpmessage.c:
* gst/rtsp/sdpmessage.h:
* gst/rtsp/test.c:
Use shiny new RTSP and SDP library.
Implement RTSP extensions using the new interface.
Remove a lot of old code.

17 years agogst/qtdemux/qtdemux.c: Add codec mapping for '2vuy' (Raw YUV produced by FCP) and...
Edward Hervey [Tue, 24 Jul 2007 14:31:56 +0000 (14:31 +0000)]
gst/qtdemux/qtdemux.c: Add codec mapping for '2vuy' (Raw YUV produced by FCP) and 'divx'.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add codec mapping for '2vuy' (Raw YUV produced by FCP) and 'divx'.

17 years agoext/wavpack/gstwavpackdec.c: Don't unref the outgoing buffer twice when dropping...
Sebastian Dröge [Tue, 24 Jul 2007 05:07:59 +0000 (05:07 +0000)]
ext/wavpack/gstwavpackdec.c: Don't unref the outgoing buffer twice when dropping it because it's outside of the segment.

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
Don't unref the outgoing buffer twice when dropping it because it's
outside of the segment.

17 years agoUse the new buffer clipping function from gstaudio here and require gst-plugins-base...
Sebastian Dröge [Tue, 24 Jul 2007 04:57:20 +0000 (04:57 +0000)]
Use the new buffer clipping function from gstaudio here and require gst-plugins-base CVS.

Original commit message from CVS:
* configure.ac:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_reset),
(gst_wavpack_dec_chain), (gst_wavpack_dec_sink_event):
Use the new buffer clipping function from gstaudio here and
require gst-plugins-base CVS.
* tests/check/elements/wavpackdec.c: (GST_START_TEST):
For framed Wavpack buffers we require a valid timestamp.

17 years agogst/qtdemux/qtdemux.c: Clip raw audio and video when we can, keep track of current...
Wim Taymans [Mon, 23 Jul 2007 18:03:54 +0000 (18:03 +0000)]
gst/qtdemux/qtdemux.c: Clip raw audio and video when we can, keep track of current output segment.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment),
(gst_qtdemux_clip_buffer), (gst_qtdemux_loop_state_movie),
(qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps):
Clip raw audio and video when we can, keep track of current output
segment.
Don't leak buffers and events when there is no output pad.
Improve debugging here and there.

17 years agoconfigure.ac: Sync liboil check with plugins-base.
Stefan Kost [Mon, 23 Jul 2007 09:02:07 +0000 (09:02 +0000)]
configure.ac: Sync liboil check with plugins-base.

Original commit message from CVS:
* configure.ac:
Sync liboil check with plugins-base.

17 years agogst/equalizer/: Better algorith for the center frequencies. Subtract band filters...
Stefan Kost [Fri, 20 Jul 2007 11:37:37 +0000 (11:37 +0000)]
gst/equalizer/: Better algorith for the center frequencies. Subtract band filters from input for negative gains. Rewo...

Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c:
(gst_iir_equalizer_band_set_property),
(gst_iir_equalizer_child_proxy_get_child_by_index),
(gst_iir_equalizer_child_proxy_get_children_count),
(gst_iir_equalizer_child_proxy_interface_init),
(gst_iir_equalizer_class_init), (arg_to_scale), (setup_filter),
(gst_iir_equalizer_compute_frequencies):
* gst/equalizer/gstiirequalizer10bands.c:
(gst_iir_equalizer_10bands_class_init):
* gst/equalizer/gstiirequalizer3bands.c:
(gst_iir_equalizer_3bands_class_init):
* gst/equalizer/gstiirequalizernbands.c:
Better algorith for the center frequencies. Subtract band filters from
input for negative gains. Rework the gain mapping.

17 years agoext/annodex/Makefile.am: Fix CFLAGS/LIBS.
Stefan Kost [Fri, 20 Jul 2007 07:41:58 +0000 (07:41 +0000)]
ext/annodex/Makefile.am: Fix CFLAGS/LIBS.

Original commit message from CVS:
* ext/annodex/Makefile.am:
Fix CFLAGS/LIBS.
* ext/cdio/gstcdiocddasrc.c:
* ext/libpng/gstpngdec.c: (gst_pngdec_task):
Include stdlib
* ext/cairo/Makefile.am:
* gst/videofilter/Makefile.am:
* tests/examples/level/Makefile.am:
Use $(LIBM) instead of -lm

17 years agosys/v4l2/gstv4l2src.c: Add another example pipeline.
Stefan Kost [Wed, 18 Jul 2007 11:55:13 +0000 (11:55 +0000)]
sys/v4l2/gstv4l2src.c: Add another example pipeline.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c:
Add another example pipeline.

17 years agosys/v4l2/gstv4l2src.c: Use define here.
Alexander Eichner [Wed, 18 Jul 2007 11:42:33 +0000 (11:42 +0000)]
sys/v4l2/gstv4l2src.c: Use define here.

Original commit message from CVS:
Patch by: Alexander Eichner <alexeichi@yahoo.de>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init):
Use define here.
* sys/v4l2/gstv4l2tuner.c:
(gst_v4l2_tuner_set_frequency_and_notify):
Don't touch the property - its still disabled.
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format),
(gst_v4l2src_grab_frame), (gst_v4l2src_get_size_limits):
* sys/v4l2/v4l2src_calls.h:
Improve fallback format negotionation. Fixes #451388

17 years agotests/check/elements/videocrop.c: Fix the test.
Stefan Kost [Wed, 18 Jul 2007 10:33:39 +0000 (10:33 +0000)]
tests/check/elements/videocrop.c: Fix the test.

Original commit message from CVS:
* tests/check/elements/videocrop.c: (GST_START_TEST):
Fix the test.

17 years agoMore docs. More logs in pngdec.
Stefan Kost [Wed, 18 Jul 2007 09:21:23 +0000 (09:21 +0000)]
More docs. More logs in pngdec.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/inspect/plugin-jpeg.xml:
* docs/plugins/inspect/plugin-png.xml:
* ext/jpeg/gstjpegdec.c:
* ext/libpng/gstpngdec.c: (gst_pngdec_task),
(gst_pngdec_sink_setcaps):
More docs. More logs in pngdec.

17 years agogst/multifile/gstmultifilesrc.c: Add example to the docs. Fix buffer-offset-end and...
Stefan Kost [Wed, 18 Jul 2007 07:51:11 +0000 (07:51 +0000)]
gst/multifile/gstmultifilesrc.c: Add example to the docs. Fix buffer-offset-end and add some debug.

Original commit message from CVS:
* gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_create):
Add example to the docs. Fix buffer-offset-end and add some debug.

17 years agoAdd stdlib include (free, atoi, exit).
Stefan Kost [Wed, 18 Jul 2007 07:35:32 +0000 (07:35 +0000)]
Add stdlib include (free, atoi, exit).

Original commit message from CVS:
* examples/app/appsrc_ex.c:
* examples/switch/switcher.c:
* ext/neon/gstneonhttpsrc.c:
* ext/timidity/gstwildmidi.c:
* ext/x264/gstx264enc.c:
* gst/mve/mveaudioenc.c: (mve_compress_audio):
* gst/rtpmanager/gstrtpclient.c:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/spectrum/demo-audiotest.c:
* gst/spectrum/demo-osssrc.c:
* sys/dvb/gstdvbsrc.c:
Add stdlib include (free, atoi, exit).

17 years agosys/v4l2/gstv4l2src.c: Initialize num_buffers with minimum value.
Stefan Kost [Tue, 17 Jul 2007 11:35:29 +0000 (11:35 +0000)]
sys/v4l2/gstv4l2src.c: Initialize num_buffers with minimum value.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init):
Initialize num_buffers with minimum value.
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_probe_caps_for_format), (gst_v4l2src_grab_frame):
Handle frame-size query failure gracefully.