platform/upstream/gstreamer.git
17 years agogst/librfb/gstrfbsrc.c: Minimum raw encoding is working now
Thijs Vermeir [Fri, 21 Sep 2007 10:27:02 +0000 (10:27 +0000)]
gst/librfb/gstrfbsrc.c: Minimum raw encoding is working now

Original commit message from CVS:
* gst/librfb/gstrfbsrc.c:
Minimum raw encoding is working now
* gst/librfb/rfbdecoder.c:
fix address while reading from stream

17 years agogst/librfb/gstrfbsrc.c: raw encoding is working, but it looks like the ffmpegcolorspa...
Thijs Vermeir [Thu, 20 Sep 2007 20:40:05 +0000 (20:40 +0000)]
gst/librfb/gstrfbsrc.c: raw encoding is working, but it looks like the ffmpegcolorspace plugin can't handle high reso...

Original commit message from CVS:
* gst/librfb/gstrfbsrc.c:
raw encoding is working, but it looks like the
ffmpegcolorspace plugin can't handle high resolutions

17 years agogst/librfb/gstrfbsrc.c: bpp, depth and endianness are now set from the stream.
Thijs Vermeir [Thu, 20 Sep 2007 18:30:35 +0000 (18:30 +0000)]
gst/librfb/gstrfbsrc.c: bpp, depth and endianness are now set from the stream.

Original commit message from CVS:
* gst/librfb/gstrfbsrc.c:
bpp, depth and endianness are now set from the
stream.

17 years agoexamples/app/appsrc_ex.c: Fix compilation after changing the name of a method.
Wim Taymans [Thu, 20 Sep 2007 17:38:10 +0000 (17:38 +0000)]
examples/app/appsrc_ex.c: Fix compilation after changing the name of a method.

Original commit message from CVS:
* examples/app/appsrc_ex.c: (main):
Fix compilation after changing the name of a method.

17 years agoFix memory leaks. More to come.
Stefan Kost [Thu, 20 Sep 2007 15:06:23 +0000 (15:06 +0000)]
Fix memory leaks. More to come.

Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.c:
* ext/timidity/gsttimidity.c:
* ext/timidity/gstwildmidi.c:
* gst/mpegvideoparse/mpegvideoparse.c:
Fix memory leaks. More to come.
* tests/check/Makefile.am:
* tests/check/generic/states.c:
Improved state change unit test.

17 years agogst/rtpmanager/: Add notification of active SSRCs to various RTP elements. Fixes...
Wim Taymans [Thu, 20 Sep 2007 14:34:57 +0000 (14:34 +0000)]
gst/rtpmanager/: Add notification of active SSRCs to various RTP elements. Fixes #478566.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (on_ssrc_active), (create_session),
(gst_rtp_bin_class_init):
* gst/rtpmanager/gstrtpbin.h:
* gst/rtpmanager/gstrtpsession.c: (on_ssrc_active),
(gst_rtp_session_class_init), (gst_rtp_session_init),
(gst_rtp_session_event_send_rtp_sink):
* gst/rtpmanager/gstrtpsession.h:
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(on_ssrc_active), (rtp_session_process_rb):
* gst/rtpmanager/rtpsession.h:
Add notification of active SSRCs to various RTP elements. Fixes #478566.

17 years agogst-libs/gst/app/gstappsink.*: Add properties, signals and actions to access the...
Wim Taymans [Thu, 20 Sep 2007 13:59:50 +0000 (13:59 +0000)]
gst-libs/gst/app/gstappsink.*: Add properties, signals and actions to access the element even without linking to the ...

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_marshal_OBJECT__VOID),
(gst_app_sink_class_init), (gst_app_sink_init),
(gst_app_sink_dispose), (gst_app_sink_finalize),
(gst_app_sink_set_property), (gst_app_sink_get_property),
(gst_app_sink_flush_unlocked), (gst_app_sink_start),
(gst_app_sink_event), (gst_app_sink_getcaps),
(gst_app_sink_set_caps), (gst_app_sink_get_caps),
(gst_app_sink_is_eos), (gst_app_sink_pull_preroll),
(gst_app_sink_pull_buffer):
* gst-libs/gst/app/gstappsink.h:
Add properties, signals and actions to access the element even without
linking to the library.
Fix some method names and signatures.

17 years agoext/faad/gstfaad.c: Don't set channel positions on regular mono and stereo cases.
Jonathan Matthew [Wed, 19 Sep 2007 21:18:27 +0000 (21:18 +0000)]
ext/faad/gstfaad.c: Don't set channel positions on regular mono and stereo cases.

Original commit message from CVS:
Patch by: Jonathan Matthew  <jonathan at kaolin wh9 net>
* ext/faad/gstfaad.c: (gst_faad_chanpos_to_gst),
(gst_faad_srcgetcaps), (gst_faad_update_caps):
Don't set channel positions on regular mono and stereo cases.
Fixes #476370.

17 years agogst/librfb/: It is now possible to connect to a vncserver. there are still some issue...
Thijs Vermeir [Wed, 19 Sep 2007 20:55:43 +0000 (20:55 +0000)]
gst/librfb/: It is now possible to connect to a vncserver. there are still some issues with the ouput of the screen. ...

Original commit message from CVS:
* gst/librfb/gstrfbsrc.c:
* gst/librfb/rfbdecoder.c:
* gst/librfb/rfbdecoder.h:
It is now possible to connect to a vncserver.
there are still some issues with the ouput of
the screen. Looks like some lines are confused

17 years agoIgnore registries in any format.
Stefan Kost [Wed, 19 Sep 2007 18:22:23 +0000 (18:22 +0000)]
Ignore registries in any format.

Original commit message from CVS:
* docs/plugins/.cvsignore:
* tests/check/.cvsignore:
Ignore registries in any format.

17 years agogst/real/gstrealvideodec.*: Don't generate an error for occasional decoding errors.
Wim Taymans [Wed, 19 Sep 2007 13:50:44 +0000 (13:50 +0000)]
gst/real/gstrealvideodec.*: Don't generate an error for occasional decoding errors.

Original commit message from CVS:
* gst/real/gstrealvideodec.c: (gst_real_video_dec_chain),
(open_library), (gst_real_video_dec_init),
(gst_real_video_dec_set_property),
(gst_real_video_dec_get_property), (gst_real_video_dec_class_init):
* gst/real/gstrealvideodec.h:
Don't generate an error for occasional decoding errors.
Add max-errors property.
Error out when we receive max-errors in a row. Fixes #478159.

17 years agogst/librfb/gstrfbsrc.c: Add password property (write only)
Thijs Vermeir [Wed, 19 Sep 2007 13:06:17 +0000 (13:06 +0000)]
gst/librfb/gstrfbsrc.c: Add password property (write only)

Original commit message from CVS:
* gst/librfb/gstrfbsrc.c:
Add password property (write only)
* gst/librfb/rfbdecoder.c:
Read the reason on failure
Use the password property for authentication
* gst/librfb/rfbdecoder.h:
Add defines for version checking

17 years agoext/directfb/dfbvideosink.c: When finalizing GstDfbSurface, a subclass of GstBuffer...
Sebastian Dröge [Wed, 19 Sep 2007 12:50:27 +0000 (12:50 +0000)]
ext/directfb/dfbvideosink.c: When finalizing GstDfbSurface, a subclass of GstBuffer, correctly chain up to the parent...

Original commit message from CVS:
* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_surface_destroy),
(gst_dfbsurface_class_init):
When finalizing GstDfbSurface, a subclass of GstBuffer, correctly
chain up to the parent class to free everything, including caps.

17 years agoext/directfb/dfbvideosink.c: When finalizing GstDfbSurface, a subclass of GstBuffer...
Sebastian Dröge [Wed, 19 Sep 2007 12:50:05 +0000 (12:50 +0000)]
ext/directfb/dfbvideosink.c: When finalizing GstDfbSurface, a subclass of GstBuffer, correctly chain up to the parent...

Original commit message from CVS:
* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_surface_destroy),
(gst_dfbsurface_class_init):
When finalizing GstDfbSurface, a subclass of GstBuffer, correctly
chain up to the parent class to free everything, including caps.

17 years agogst/librfb/: VNC Authentication should be working now temperaly with fake password...
Thijs Vermeir [Wed, 19 Sep 2007 08:35:13 +0000 (08:35 +0000)]
gst/librfb/: VNC Authentication should be working now temperaly with fake password 'testtest'

Original commit message from CVS:
* gst/librfb/Makefile.am:
* gst/librfb/d3des.c:
* gst/librfb/d3des.h:
* gst/librfb/rfbdecoder.c:
* gst/librfb/vncauth.c:
* gst/librfb/vncauth.h:
VNC Authentication should be working now
temperaly with fake password 'testtest'

17 years agogst/librfb/rfbdecoder.*: Added some documentation about security handling start imple...
Thijs Vermeir [Tue, 18 Sep 2007 16:32:19 +0000 (16:32 +0000)]
gst/librfb/rfbdecoder.*: Added some documentation about security handling start implementing security handling for rf...

Original commit message from CVS:
* gst/librfb/rfbdecoder.c:
* gst/librfb/rfbdecoder.h:
Added some documentation about security handling
start implementing security handling for rfb 3.3

17 years agogst/spectrum/: Handling window resize.
Stefan Kost [Tue, 18 Sep 2007 13:55:06 +0000 (13:55 +0000)]
gst/spectrum/: Handling window resize.

Original commit message from CVS:
* gst/spectrum/demo-audiotest.c:
* gst/spectrum/demo-osssrc.c:
Handling window resize.

17 years agoChangeLog: Add missing newline.
Stefan Kost [Tue, 18 Sep 2007 11:45:06 +0000 (11:45 +0000)]
ChangeLog: Add missing newline.

Original commit message from CVS:
* ChangeLog:
Add missing newline.
* gst/librfb/rfbdecoder.c:
Fix the build (missing stdlib.h).
* gst/spectrum/gstspectrum.c:
* gst/spectrum/gstspectrum.h:
Use basetransform segment so that it is correctly managed on flushes
and start/stop. Report message timestamp as stream time, which is what
an application can understand. (Yes these are adapted from wim recent
level element changes)

17 years agoAdded a new property for the rfb version
Thijs Vermeir [Mon, 17 Sep 2007 21:12:17 +0000 (21:12 +0000)]
Added a new property for the rfb version

Original commit message from CVS:
Added a new property for the rfb version

17 years agogst/rtpmanager/gstrtpbin.c: Link to the right pads regardless of which one was create...
Wim Taymans [Mon, 17 Sep 2007 02:01:41 +0000 (02:01 +0000)]
gst/rtpmanager/gstrtpbin.c: Link to the right pads regardless of which one was created first in the ssrc demuxer.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (new_ssrc_pad_found):
Link to the right pads regardless of which one was created first in the
ssrc demuxer.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_chain), (gst_rtp_jitter_buffer_loop):
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_process_rtp),
(gst_rtp_session_chain_recv_rtp), (gst_rtp_session_chain_send_rtp):
* gst/rtpmanager/rtpsource.c: (calculate_jitter):
Improve debugging.
* gst/rtpmanager/gstrtpssrcdemux.c: (create_demux_pad_for_ssrc),
(gst_rtp_ssrc_demux_init), (gst_rtp_ssrc_demux_finalize),
(gst_rtp_ssrc_demux_sink_event),
(gst_rtp_ssrc_demux_rtcp_sink_event), (gst_rtp_ssrc_demux_chain),
(gst_rtp_ssrc_demux_rtcp_chain),
(gst_rtp_ssrc_demux_internal_links):
* gst/rtpmanager/gstrtpssrcdemux.h:
Fix race in creating the RTP and RTCP pads when a new SSRC is detected.

17 years agogst/rtpmanager/gstrtpbin.c: Use lock to protect variable.
Wim Taymans [Sun, 16 Sep 2007 19:40:31 +0000 (19:40 +0000)]
gst/rtpmanager/gstrtpbin.c: Use lock to protect variable.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_set_property),
(gst_rtp_bin_get_property):
Use lock to protect variable.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_class_init),
(gst_jitter_buffer_sink_parse_caps), (gst_rtp_jitter_buffer_chain),
(convert_rtptime_to_gsttime), (gst_rtp_jitter_buffer_loop):
Reconstruct GST timestamp from RTP timestamps based on measured clock
skew and sync offset.
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_init),
(rtp_jitter_buffer_set_tail_changed),
(rtp_jitter_buffer_set_clock_rate),
(rtp_jitter_buffer_get_clock_rate), (calculate_skew),
(rtp_jitter_buffer_insert), (rtp_jitter_buffer_peek):
* gst/rtpmanager/rtpjitterbuffer.h:
Measure clock skew.
Add callback to be notfied when a new packet was inserted at the tail.
* gst/rtpmanager/rtpsource.c: (rtp_source_init),
(calculate_jitter), (rtp_source_send_rtp):
* gst/rtpmanager/rtpsource.h:
Remove clock skew detection, it's move to the jitterbuffer now.

17 years agoext/amrwb/gstamrwbenc.*: Add property to control bandmode. Fixes #477306.
Daniel Charles [Sun, 16 Sep 2007 07:28:18 +0000 (07:28 +0000)]
ext/amrwb/gstamrwbenc.*: Add property to control bandmode. Fixes #477306.

Original commit message from CVS:
Patch by: Daniel Charles <dcharles at ti dot com>
* ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_bandmode_get_type),
(gst_amrwbenc_set_property), (gst_amrwbenc_get_property),
(gst_amrwbenc_class_init), (gst_amrwbenc_chain):
* ext/amrwb/gstamrwbenc.h:
Add property to control bandmode. Fixes #477306.

17 years agogst/rtpmanager/gstrtpbin.c: Also set NTP base time on new sessions.
Wim Taymans [Sat, 15 Sep 2007 18:48:03 +0000 (18:48 +0000)]
gst/rtpmanager/gstrtpbin.c: Also set NTP base time on new sessions.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (create_session):
Also set NTP base time on new sessions.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_loop), (gst_rtp_jitter_buffer_query),
(gst_rtp_jitter_buffer_set_property),
(gst_rtp_jitter_buffer_get_property):
Use the right lock to protect our variables.
Fix some comment.
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_getcaps_send_rtp),
(gst_rtp_session_chain_send_rtp), (create_send_rtp_sink):
Implement getcaps on the sender sinkpad so that payloaders can negotiate
the right SSRC.

17 years agogst/rtpmanager/: Various leak fixes.
Wim Taymans [Wed, 12 Sep 2007 21:23:47 +0000 (21:23 +0000)]
gst/rtpmanager/: Various leak fixes.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (create_session), (free_session),
(get_client), (free_client), (gst_rtp_bin_associate),
(free_stream), (gst_rtp_bin_class_init), (gst_rtp_bin_dispose),
(gst_rtp_bin_finalize):
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_class_init),
(gst_rtp_jitter_buffer_finalize):
* gst/rtpmanager/gstrtpptdemux.c: (gst_rtp_pt_demux_release):
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_finalize),
(gst_rtp_session_set_property), (gst_rtp_session_chain_recv_rtp),
(gst_rtp_session_chain_send_rtp):
* gst/rtpmanager/gstrtpssrcdemux.c:
(gst_rtp_ssrc_demux_class_init), (gst_rtp_ssrc_demux_dispose):
* gst/rtpmanager/rtpsession.c: (rtp_session_finalize):
* gst/rtpmanager/rtpsession.h:
Various leak fixes.

17 years agogst/rtpmanager/gstrtpbin.c: Calculate and configure the NTP base time so that we...
Wim Taymans [Wed, 12 Sep 2007 18:04:32 +0000 (18:04 +0000)]
gst/rtpmanager/gstrtpbin.c: Calculate and configure the NTP base time so that we can generate better

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (calc_ntp_ns_base),
(gst_rtp_bin_change_state), (new_payload_found), (create_send_rtp):
Calculate and configure the NTP base time so that we can generate better
NTP times in SR packets.
Set caps on new ghostpad.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_loop):
Clean debug statement.
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_class_init),
(gst_rtp_session_init), (gst_rtp_session_set_property),
(gst_rtp_session_get_property), (get_current_ntp_ns_time),
(rtcp_thread), (gst_rtp_session_event_recv_rtp_sink),
(gst_rtp_session_internal_links), (gst_rtp_session_chain_recv_rtp),
(gst_rtp_session_event_send_rtp_sink),
(gst_rtp_session_chain_send_rtp), (create_recv_rtp_sink),
(create_send_rtp_sink):
* gst/rtpmanager/gstrtpsession.h:
Add ntp-ns-base property to convert running_time to NTP time.
Handle NEWSEGMENT events on send and recv RTP pads so that we can
calculate the running time and thus NTP time of the packets.
Simplify getting the current NTP time using the pipeline clock.
Implement internal links functions.
Use the buffer timestamp to calculate the NTP time instead of the clock.
* gst/rtpmanager/gstrtpssrcdemux.c: (create_demux_pad_for_ssrc),
(gst_rtp_ssrc_demux_init), (gst_rtp_ssrc_demux_sink_event),
(gst_rtp_ssrc_demux_chain), (gst_rtp_ssrc_demux_rtcp_chain),
(gst_rtp_ssrc_demux_internal_links),
(gst_rtp_ssrc_demux_src_query):
* gst/rtpmanager/gstrtpssrcdemux.h:
Implement internal links function.
Calculate the diff between different streams, this might be used later
to get the inter stream latency.
* gst/rtpmanager/rtpsession.c: (rtp_session_send_rtp):
Simple cleanup.
* gst/rtpmanager/rtpsource.c: (rtp_source_init),
(calculate_jitter), (rtp_source_send_rtp), (rtp_source_get_new_sr):
Make the clock skew window a little bigger.
Apply the clock skew to all buffers, not just one with a new timestamp.
Calculate and debug sender clock drift.
Use extended last timestamp to interpollate for SR reports.

17 years agogst/: Printf format fixes (#476128).
Peter Kjellerstedt [Wed, 12 Sep 2007 08:38:22 +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 agoext/neon/gstneonhttpsrc.c: With libneon 2.6, we need to set the NE_SESSFLAG_ICYPROTO...
Thomas Green [Sun, 9 Sep 2007 19:05:19 +0000 (19:05 +0000)]
ext/neon/gstneonhttpsrc.c: With libneon 2.6, we need to set the NE_SESSFLAG_ICYPROTO flag if we want ICY streams to b...

Original commit message from CVS:
Patch by: Thomas Green  <tom78999 gmail com>
* ext/neon/gstneonhttpsrc.c:
With libneon 2.6, we need to set the NE_SESSFLAG_ICYPROTO
flag if we want ICY streams to be handled too, otherwise
libneon will error out with a 'can't parse reponse' error.
Fixes #474696.
* tests/check/elements/neonhttpsrc.c:
Unit test for the above by Yours Truly.

17 years agoconfigure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN for the faad and the xvid...
Tim-Philipp Müller [Sun, 9 Sep 2007 18:22:53 +0000 (18:22 +0000)]
configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN for the faad and the xvid configure checks, so they still work...

Original commit message from CVS:
* configure.ac:
Use AC_TRY_COMPILE instead of AC_TRY_RUN for the faad and the
xvid configure checks, so they still work when cross-compiling.
Fixes #452009.

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 agogst/mpegtsparse/mpegtsparse.c: Fix the build (missing stdlib.h).
Stefan Kost [Thu, 6 Sep 2007 20:37:56 +0000 (20:37 +0000)]
gst/mpegtsparse/mpegtsparse.c: Fix the build (missing stdlib.h).

Original commit message from CVS:
* gst/mpegtsparse/mpegtsparse.c:
Fix the build (missing stdlib.h).

17 years agogst/spectrum/fix_fft.c: Remove fixed point FFT as it's not used anymore.
Sebastian Dröge [Thu, 6 Sep 2007 07:26:45 +0000 (07:26 +0000)]
gst/spectrum/fix_fft.c: Remove fixed point FFT as it's not used anymore.

Original commit message from CVS:
* gst/spectrum/fix_fft.c:
Remove fixed point FFT as it's not used anymore.

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/real/gstrealvideodec.c: Add some more debugging.
Wim Taymans [Wed, 5 Sep 2007 21:09:08 +0000 (21:09 +0000)]
gst/real/gstrealvideodec.c: Add some more debugging.

Original commit message from CVS:
* gst/real/gstrealvideodec.c: (gst_real_video_dec_chain),
(gst_real_video_dec_setcaps):
Add some more debugging.
Don't set LONG for width/height in caps.
Set correct output buffer size when caps changed.
The custom message sent to the decoder should not include the format and
subformat. Fixes #471554.

17 years agogst/rtpmanager/gstrtpsession.c: Make compiler happy: fix compilation with -Wall ...
Tim-Philipp Müller [Tue, 4 Sep 2007 15:23:34 +0000 (15:23 +0000)]
gst/rtpmanager/gstrtpsession.c: Make compiler happy: fix compilation with -Wall -Werror (#473562).

Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c:
Make compiler happy: fix compilation with -Wall -Werror
(#473562).

17 years agoNosefart -> NES Sound Format
Johan Dahlin [Tue, 4 Sep 2007 02:22:20 +0000 (02:22 +0000)]
Nosefart -> NES Sound Format

Original commit message from CVS:
Nosefart -> NES Sound Format

17 years agogst/nsf/gstnsf.*: Add support for (very) basic tagging.
Johan Dahlin [Tue, 4 Sep 2007 02:16:53 +0000 (02:16 +0000)]
gst/nsf/gstnsf.*: Add support for (very) basic tagging.

Original commit message from CVS:
2007-09-03  Johan Dahlin  <johan@gnome.org>

* gst/nsf/gstnsf.c: (gst_nsfdec_finalize), (start_play_tune):
* gst/nsf/gstnsf.h:
Add support for (very) basic tagging.

17 years agogst/rtpmanager/: Updated example pipelines in docs.
Wim Taymans [Mon, 3 Sep 2007 21:19:34 +0000 (21:19 +0000)]
gst/rtpmanager/: Updated example pipelines in docs.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin-marshal.list:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_get_client),
(gst_rtp_bin_associate), (gst_rtp_bin_sync_chain), (create_stream),
(gst_rtp_bin_init), (caps_changed), (new_ssrc_pad_found),
(create_recv_rtp), (create_recv_rtcp), (create_send_rtp):
* gst/rtpmanager/gstrtpbin.h:
Updated example pipelines in docs.
Handle sync_rtcp buffers from the SSRC demuxer to perform lip-sync.
Set the default latency correctly.
Add some more points where we can get caps.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_class_init),
(gst_jitter_buffer_sink_parse_caps), (gst_rtp_jitter_buffer_loop),
(gst_rtp_jitter_buffer_query),
(gst_rtp_jitter_buffer_set_property),
(gst_rtp_jitter_buffer_get_property):
Add ts-offset property to control timestamping.
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_class_init),
(gst_rtp_session_init), (gst_rtp_session_set_property),
(gst_rtp_session_get_property), (get_current_ntp_ns_time),
(rtcp_thread), (stop_rtcp_thread), (gst_rtp_session_change_state),
(gst_rtp_session_send_rtcp), (gst_rtp_session_sync_rtcp),
(gst_rtp_session_cache_caps), (gst_rtp_session_clock_rate),
(gst_rtp_session_sink_setcaps), (gst_rtp_session_chain_recv_rtp),
(gst_rtp_session_event_send_rtp_sink),
(gst_rtp_session_chain_send_rtp), (create_recv_rtp_sink),
(create_recv_rtcp_sink), (create_send_rtp_sink),
(create_send_rtcp_src):
Various cleanups.
Feed rtpsession manager with NTP time based on pipeline clock when
handling RTP packets and RTCP timeouts.
Perform all RTCP with the system clock.
Set caps on RTCP outgoing buffers.
* gst/rtpmanager/gstrtpssrcdemux.c: (find_demux_pad_for_ssrc),
(create_demux_pad_for_ssrc), (gst_rtp_ssrc_demux_base_init),
(gst_rtp_ssrc_demux_init), (gst_rtp_ssrc_demux_sink_event),
(gst_rtp_ssrc_demux_rtcp_sink_event), (gst_rtp_ssrc_demux_chain),
(gst_rtp_ssrc_demux_rtcp_chain):
* gst/rtpmanager/gstrtpssrcdemux.h:
Also demux RTCP messages.
* gst/rtpmanager/rtpsession.c: (rtp_session_set_callbacks),
(update_arrival_stats), (rtp_session_process_rtp),
(rtp_session_process_rb), (rtp_session_process_sr),
(rtp_session_process_rr), (rtp_session_process_rtcp),
(rtp_session_send_rtp), (rtp_session_send_bye),
(session_start_rtcp), (session_report_blocks), (session_cleanup),
(rtp_session_on_timeout):
* gst/rtpmanager/rtpsession.h:
Remove the get_time callback, the GStreamer part will feed us with
enough timing information.
Split sync timing and RTCP timing information.
Factor out common RB handling for SR and RR.
Send out SR RTCP packets for lip-sync.
Move SR and RR packet info generation to the source.
* gst/rtpmanager/rtpsource.c: (rtp_source_init),
(rtp_source_update_caps), (get_clock_rate), (calculate_jitter),
(rtp_source_process_rtp), (rtp_source_send_rtp),
(rtp_source_process_sr), (rtp_source_process_rb),
(rtp_source_get_new_sr), (rtp_source_get_new_rb),
(rtp_source_get_last_sr):
* gst/rtpmanager/rtpsource.h:
* gst/rtpmanager/rtpstats.h:
Use caps on incomming buffers to get timing information when they are
there.
Calculate clock scew of the receiver compared to the sender and adjust
the rtp timestamps.
Calculate the round trip in sources.
Do SR and RR calculations in the source.

17 years agogmythsrc code rewrite;
Renato Filho [Mon, 3 Sep 2007 20:07:17 +0000 (20:07 +0000)]
gmythsrc code rewrite;

Original commit message from CVS:
gmythsrc code rewrite;

17 years agogst/rtpmanager/gstrtpjitterbuffer.c: Use extended timestamp to release buffers from...
Wim Taymans [Fri, 31 Aug 2007 15:26:14 +0000 (15:26 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Use extended timestamp to release buffers from the jitterbuffer so that we can h...

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_flush_stop),
(gst_rtp_jitter_buffer_change_state), (gst_rtp_jitter_buffer_loop):
Use extended timestamp to release buffers from the jitterbuffer so that
we can handle the rtp wraparound correctly.

17 years agogst/rtpmanager/gstrtpjitterbuffer.c: Improve Comments.
Wim Taymans [Wed, 29 Aug 2007 16:56:27 +0000 (16:56 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Improve Comments.

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_loop):
Improve Comments.
* gst/rtpmanager/gstrtpsession.c: (stop_rtcp_thread),
(gst_rtp_session_change_state), (gst_rtp_session_parse_caps),
(gst_rtp_session_clock_rate), (gst_rtp_session_sink_setcaps),
(gst_rtp_session_event_send_rtp_sink), (create_recv_rtp_sink),
(create_send_rtp_sink):
Also parse the sink caps for clock-rate instead of only relying on the
result of the signal.
* gst/rtpmanager/rtpsource.c: (rtp_source_send_rtp):
Make sure we fetch the clock rate for payloads we are sending out so
that we can use it for SR reports.

17 years agogst/switch/gstswitch.c (gst_switch_chain, gst_switch_set_property): If all informatio...
Zaheer Abbas Merali [Wed, 29 Aug 2007 16:20:28 +0000 (16:20 +0000)]
gst/switch/gstswitch.c (gst_switch_chain, gst_switch_set_property): If all information is known at time of setting st...

Original commit message from CVS:
* gst/switch/gstswitch.c (gst_switch_chain, gst_switch_set_property):
If all information is known at time of setting start-time
property, send new segments then.

17 years agogst/rtpmanager/gstrtpsession.*: Distribute synchronisation parameters to the session...
Wim Taymans [Wed, 29 Aug 2007 01:22:43 +0000 (01:22 +0000)]
gst/rtpmanager/gstrtpsession.*: Distribute synchronisation parameters to the session manager so that it can generate ...

Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c: (stop_rtcp_thread),
(gst_rtp_session_change_state),
(gst_rtp_session_event_send_rtp_sink):
* gst/rtpmanager/gstrtpsession.h:
Distribute synchronisation parameters to the session manager so that it
can generate correct SR packets for lip-sync.
* gst/rtpmanager/rtpsession.c: (rtp_session_set_base_time),
(rtp_session_set_timestamp_sync), (session_start_rtcp):
* gst/rtpmanager/rtpsession.h:
Add methods for setting sync parameters.
Set correct RTP time in SR packets using the sync params.
* gst/rtpmanager/rtpsource.c: (rtp_source_send_rtp):
* gst/rtpmanager/rtpsource.h:
Record last RTP <-> GST timestamp so that we can use them to convert NTP
to RTP timestamps in SR packets.

17 years agogst/rtpmanager/gstrtpbin.c: Add some more advanced example pipelines.
Wim Taymans [Tue, 28 Aug 2007 20:30:16 +0000 (20:30 +0000)]
gst/rtpmanager/gstrtpbin.c: Add some more advanced example pipelines.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_clear_pt_map):
Add some more advanced example pipelines.
* gst/rtpmanager/gstrtpsession.c: (rtcp_thread),
(stop_rtcp_thread), (gst_rtp_session_send_rtcp):
Add some debug and FIXME.
Release LOCK when performing session cleanup.
* gst/rtpmanager/rtpsession.c: (session_report_blocks):
Add some debug.
* gst/rtpmanager/rtpsource.c: (calculate_jitter),
(rtp_source_send_rtp):
Make sure we always send RTP packets with the session SSRC.

17 years agogst/dvdspu/gstdvdspu.c: Don't need this include (fixes compilation in uninstalled...
Tim-Philipp Müller [Tue, 28 Aug 2007 08:10:05 +0000 (08:10 +0000)]
gst/dvdspu/gstdvdspu.c: Don't need this include (fixes compilation in uninstalled setup).

Original commit message from CVS:
* gst/dvdspu/gstdvdspu.c:
Don't need this include (fixes compilation in uninstalled setup).

17 years agogst/rtpmanager/gstrtpjitterbuffer.c: When synchronizing buffers, take peer latency...
Wim Taymans [Mon, 27 Aug 2007 21:17:21 +0000 (21:17 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: When synchronizing buffers, take peer latency into account.

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_change_state), (gst_rtp_jitter_buffer_loop),
(gst_rtp_jitter_buffer_query):
When synchronizing buffers, take peer latency into account.
Don't try to add our latency to invalid peer max latency values.

17 years agogst/flv/gstflvdemux.c: Make sure we initialize the seek result.
Julien Moutte [Mon, 27 Aug 2007 14:56:05 +0000 (14:56 +0000)]
gst/flv/gstflvdemux.c: Make sure we initialize the seek result.

Original commit message from CVS:
2007-08-27  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_handle_seek_pull):
Make sure we initialize the seek result.

17 years agogst/dvdspu/Makefile.am: Commit the makefile too.
Jan Schmidt [Mon, 27 Aug 2007 14:41:01 +0000 (14:41 +0000)]
gst/dvdspu/Makefile.am: Commit the makefile too.

Original commit message from CVS:
* gst/dvdspu/Makefile.am:
Commit the makefile too.

17 years agodvdspu element donated by Fluendo. It implements a DVD Sub-Picture
Jan Schmidt [Mon, 27 Aug 2007 14:33:59 +0000 (14:33 +0000)]
dvdspu element donated by Fluendo. It implements a DVD Sub-Picture

Original commit message from CVS:
* configure.ac:
* gst/dvdspu/.cvsignore:
* gst/dvdspu/Notes.txt:
* gst/dvdspu/gstdvdspu-render.c: (dvdspu_recalc_palette),
(dvdspu_update_palettes), (dvdspu_clear_comp_buffers),
(dvdspu_get_nibble), (dvdspu_get_rle_code), (dvdspu_draw_rle_run),
(rle_end_x), (dvdspu_render_line), (dvdspu_update_chgcol),
(dvdspu_render_line_with_chgcol), (dvdspu_blend_comp_buffers),
(gstdvdspu_render_spu):
* gst/dvdspu/gstdvdspu.c: (dvdspu_base_init), (dvdspu_class_init),
(dvdspu_init), (dvdspu_clear), (dvdspu_dispose), (dvdspu_finalize),
(dvdspu_flush_spu_info), (dvdspu_buffer_alloc), (dvdspu_src_event),
(dvdspu_video_set_caps), (dvdspu_video_proxy_getcaps),
(dvdspu_video_event), (dvdspu_video_chain),
(dvspu_handle_vid_buffer), (dvdspu_redraw_still),
(gstdvdspu_parse_chg_colcon), (dvdspu_exec_cmd_blk),
(dvdspu_finish_spu_buf), (dvdspu_setup_cmd_blk),
(dvdspu_handle_new_spu_buf), (dvdspu_handle_dvd_event),
(dvdspu_dump_dcsq), (dvdspu_advance_spu),
(dvdspu_check_still_updates), (dvdspu_subpic_chain),
(dvdspu_subpic_event), (dvdspu_change_state),
(gstdvdspu_plugin_init):
* gst/dvdspu/gstdvdspu.h:
dvdspu element donated by Fluendo. It implements a DVD Sub-Picture
Unit, decoding and overlaying DVD subtitles and menu graphics.
* gst/mpeg2sub/.cvsignore:
* gst/mpeg2sub/Makefile.am:
* gst/mpeg2sub/Notes.txt:
* gst/mpeg2sub/gstmpeg2subt.c:
* gst/mpeg2sub/gstmpeg2subt.h:
* gst/mpeg2sub/mpeg2subt.vcproj:
Delete old and broken mpeg2subt element that was never ported from 0.8

17 years agogst/flv/gstflvdemux.c: Remove some useless ifdef.
Julien Moutte [Fri, 24 Aug 2007 17:03:15 +0000 (17:03 +0000)]
gst/flv/gstflvdemux.c: Remove some useless ifdef.

Original commit message from CVS:
2007-08-24  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_flush),
(gst_flv_demux_chain), (gst_flv_demux_pull_tag),
(gst_flv_demux_find_offset), (gst_flv_demux_handle_seek_push),
(gst_flv_demux_handle_seek_pull), (gst_flv_demux_sink_event),
(gst_flv_demux_src_event): Remove some useless ifdef.

17 years agoMake switch more reliable and also not lock up when sink pad caps change.
Zaheer Abbas Merali [Fri, 24 Aug 2007 15:56:52 +0000 (15:56 +0000)]
Make switch more reliable and also not lock up when sink pad caps change.

Original commit message from CVS:
* examples/switch/switcher.c (main):
* gst/switch/gstswitch.c (gst_switch_chain):
Make switch more reliable and also not lock up when
sink pad caps change.

17 years agogst/flv/gstflvdemux.c: Implement seeking in push mode.
Julien Moutte [Fri, 24 Aug 2007 15:31:26 +0000 (15:31 +0000)]
gst/flv/gstflvdemux.c: Implement seeking in push mode.

Original commit message from CVS:
2007-08-24  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_flush),
(gst_flv_demux_cleanup), (gst_flv_demux_chain),
(gst_flv_demux_pull_tag), (gst_flv_demux_find_offset),
(gst_flv_demux_handle_seek_push),
(gst_flv_demux_handle_seek_pull),
(gst_flv_demux_sink_event), (gst_flv_demux_src_event): Implement
seeking in push mode.
* gst/flv/gstflvdemux.h:

17 years agogst/mpegtsparse/: Update licences to reflect LGPL-ness of these files also.
Zaheer Abbas Merali [Fri, 24 Aug 2007 11:23:28 +0000 (11:23 +0000)]
gst/mpegtsparse/: Update licences to reflect LGPL-ness of these files also.

Original commit message from CVS:
* gst/mpegtsparse/flutspatinfo.c:
* gst/mpegtsparse/flutspatinfo.h:
* gst/mpegtsparse/flutspmtinfo.c:
* gst/mpegtsparse/flutspmtinfo.h:
Update licences to reflect LGPL-ness of these files also.

17 years agoRename all GstRTPFoo structs to GstRtpFoo so that GST_BOILERPLATE registers a GType...
Tim-Philipp Müller [Thu, 23 Aug 2007 21:39:58 +0000 (21:39 +0000)]
Rename all GstRTPFoo structs to GstRtpFoo so that GST_BOILERPLATE registers a GType that's different than the GstRTPF...

Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.signals:
* gst/rtpmanager/gstrtpbin.c:
* gst/rtpmanager/gstrtpbin.h:
* gst/rtpmanager/gstrtpclient.c:
* gst/rtpmanager/gstrtpclient.h:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/rtpmanager/gstrtpjitterbuffer.h:
* gst/rtpmanager/gstrtpptdemux.c:
* gst/rtpmanager/gstrtpptdemux.h:
* gst/rtpmanager/gstrtpsession.c:
* gst/rtpmanager/gstrtpsession.h:
* gst/rtpmanager/gstrtpssrcdemux.c:
* gst/rtpmanager/gstrtpssrcdemux.h:
Rename all GstRTPFoo structs to GstRtpFoo so that GST_BOILERPLATE
registers a GType that's different than the GstRTPFoo types that
farsight registers (luckily GType names are case sensitive). Should
finally fix #430664.

17 years agoAutomatically generate win32/common/config.h via configure (this ensures the win32...
Tim-Philipp Müller [Thu, 23 Aug 2007 17:21:23 +0000 (17:21 +0000)]
Automatically generate win32/common/config.h via configure (this ensures the win32 version of config.h is up-to-date ...

Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
* win32/common/config.h.in:
Automatically generate win32/common/config.h via configure (this
ensures the win32 version of config.h is up-to-date when a release
is made, #433373). config.h.in file might need some more work.

17 years agoPort festival plugin to GStreamer-0.10 (#461377).
Jonathan Matthew [Thu, 23 Aug 2007 13:24:33 +0000 (13:24 +0000)]
Port festival plugin to GStreamer-0.10 (#461377).

Original commit message from CVS:
Patch by: Jonathan Matthew  <jonathan at kaolin wh9 net>
* configure.ac:
* gst/festival/Makefile.am:
* gst/festival/gstfestival.c:
Port festival plugin to GStreamer-0.10 (#461377).

17 years agoext/faad/gstfaad.c: Don't unref the buffer when it was clipped.
Wim Taymans [Wed, 22 Aug 2007 15:32:04 +0000 (15:32 +0000)]
ext/faad/gstfaad.c: Don't unref the buffer when it was clipped.

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_chain):
Don't unref the buffer when it was clipped.

17 years agogst/flv/: Handle pixel aspect ratio through metadata tags like ASF does. Fluendo...
Julien Moutte [Wed, 22 Aug 2007 14:50:51 +0000 (14:50 +0000)]
gst/flv/: Handle pixel aspect ratio through metadata tags like ASF does. Fluendo muxer supports this and

Original commit message from CVS:
2007-08-22  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup),
(gst_flv_demux_pull_tag):
* gst/flv/gstflvdemux.h:
* gst/flv/gstflvparse.c: (gst_flv_parse_metadata_item),
(gst_flv_parse_tag_script), (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video): Handle pixel aspect ratio through
metadata tags like ASF does. Fluendo muxer supports this and
Flash players can support it as well this way.

17 years agogst/flv/: Make sure we don't try filling up the index if no times object was parsed...
Julien Moutte [Wed, 22 Aug 2007 14:03:42 +0000 (14:03 +0000)]
gst/flv/: Make sure we don't try filling up the index if no times object was parsed. Fix the way we decide to push ta...

Original commit message from CVS:
2007-08-22  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag):
* gst/flv/gstflvparse.c: (gst_flv_parse_metadata_item),
(gst_flv_parse_tag_script), (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video): Make sure we don't try filling up the
index if no times object was parsed. Fix the way we decide to
push
tags and emit no-more-pads. Fix some printf typing in debugging.

17 years agogst/rtpmanager/gstrtpjitterbuffer.c: When drop-on-latency is set but we have no laten...
Wim Taymans [Tue, 21 Aug 2007 17:18:29 +0000 (17:18 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: When drop-on-latency is set but we have no latency configured, just push the buf...

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_chain),
(gst_rtp_jitter_buffer_set_property):
When drop-on-latency is set but we have no latency configured, just push
the buffer as fast as possible.
Fix typo in comment.

17 years agogst/rtpmanager/rtpjitterbuffer.*: Fix undefined overflow prone ts_diff handling.
Wim Taymans [Tue, 21 Aug 2007 16:04:47 +0000 (16:04 +0000)]
gst/rtpmanager/rtpjitterbuffer.*: Fix undefined overflow prone ts_diff handling.

Original commit message from CVS:
* gst/rtpmanager/rtpjitterbuffer.c:
(rtp_jitter_buffer_get_ts_diff):
* gst/rtpmanager/rtpjitterbuffer.h:
Fix undefined overflow prone ts_diff handling.

17 years agogst/modplug/gstmodplug.cc: Fix compiler warning.
Wim Taymans [Tue, 21 Aug 2007 15:59:39 +0000 (15:59 +0000)]
gst/modplug/gstmodplug.cc: Fix compiler warning.

Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
Fix compiler warning.

17 years agogst/modplug/gstmodplug.cc: Don't use NULL caps for srcpad is not yet connected.
Stefan Kost [Tue, 21 Aug 2007 12:59:00 +0000 (12:59 +0000)]
gst/modplug/gstmodplug.cc: Don't use NULL caps for srcpad is not yet connected.

Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
Don't use NULL caps for srcpad is not yet connected.

17 years agoAdd mpeg transport stream parser written by:
Zaheer Abbas Merali [Mon, 20 Aug 2007 14:23:45 +0000 (14:23 +0000)]
Add mpeg transport stream parser written by:

Original commit message from CVS:
* configure.ac:
* gst/mpegtsparse/Makefile.am:
* gst/mpegtsparse/flutspatinfo.c:
* gst/mpegtsparse/flutspatinfo.h:
* gst/mpegtsparse/flutspmtinfo.c:
* gst/mpegtsparse/flutspmtinfo.h:
* gst/mpegtsparse/flutspmtstreaminfo.c:
* gst/mpegtsparse/flutspmtstreaminfo.h:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtspacketizer.h:
* gst/mpegtsparse/mpegtsparse.c:
* gst/mpegtsparse/mpegtsparse.h:
* gst/mpegtsparse/mpegtsparsemarshal.list:
Add mpeg transport stream parser written by:
Alessandro Decina. Includes a couple of files from the
Fluendo transport stream demuxer that Fluendo have
kindly allowed to be licenced under LGPL also.

17 years agoext/mythtv/gstmythtvsrc.c: Add examples for live mythtv:// URIs to docs (#468039).
Bastien Nocera [Mon, 20 Aug 2007 09:13:47 +0000 (09:13 +0000)]
ext/mythtv/gstmythtvsrc.c: Add examples for live mythtv:// URIs to docs (#468039).

Original commit message from CVS:
Patch by: Bastien Nocera  <hadess at hadess net>
* ext/mythtv/gstmythtvsrc.c:
Add examples for live mythtv:// URIs to docs (#468039).
Also convert some tabs into spaces.

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 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 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 agoext/amrwb/gstamrwbparse.c: Don't leak the adapter.
Stefan Kost [Fri, 17 Aug 2007 06:55:37 +0000 (06:55 +0000)]
ext/amrwb/gstamrwbparse.c: Don't leak the adapter.

Original commit message from CVS:
* ext/amrwb/gstamrwbparse.c:
Don't leak the adapter.

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-libs/gst/app/gstappsink.c: Override the preroll vmethod instead of overriding...
Wim Taymans [Thu, 16 Aug 2007 17:11:48 +0000 (17:11 +0000)]
gst-libs/gst/app/gstappsink.c: Override the preroll vmethod instead of overriding the render method twice.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init):
Override the preroll vmethod instead of overriding the render method
twice.

17 years agogst/rtpmanager/gstrtpjitterbuffer.c: Fix EOS handling.
Wim Taymans [Thu, 16 Aug 2007 11:40:16 +0000 (11:40 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Fix EOS handling.

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_sink_event), (gst_rtp_jitter_buffer_chain),
(gst_rtp_jitter_buffer_loop):
Fix EOS handling.
Convert some DEBUG into WARNINGs.
Pause task when flushing.
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_class_init),
(rtcp_thread), (gst_rtp_session_event_recv_rtcp_sink):
Use system clock for RTCP session management timeouts.
* gst/rtpmanager/rtpsession.c: (on_new_ssrc), (on_ssrc_collision),
(on_ssrc_validated), (on_bye_ssrc), (on_bye_timeout), (on_timeout):
Release the session lock when emiting signals.

17 years agoext/faad/gstfaad.c: Add some debug info.
Wim Taymans [Thu, 16 Aug 2007 11:34:54 +0000 (11:34 +0000)]
ext/faad/gstfaad.c: Add some debug info.

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_setcaps),
(gst_faad_chanpos_to_gst):
Add some debug info.

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 agoext/ladspa/gstladspa.c: Don't leak like hell.
Stefan Kost [Thu, 16 Aug 2007 07:07:41 +0000 (07:07 +0000)]
ext/ladspa/gstladspa.c: Don't leak like hell.

Original commit message from CVS:
* ext/ladspa/gstladspa.c:
Don't leak like hell.

17 years agotests/check/: Add generic state-change test suite to help to fi leaks.
Stefan Kost [Thu, 16 Aug 2007 06:49:39 +0000 (06:49 +0000)]
tests/check/: Add generic state-change test suite to help to fi leaks.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/generic/.cvsignore:
* tests/check/generic/states.c:
Add generic state-change test suite to help to fi leaks.

17 years agoChangeLog surgery
Stefan Kost [Wed, 15 Aug 2007 13:28:39 +0000 (13:28 +0000)]
ChangeLog surgery

Original commit message from CVS:
ChangeLog surgery

17 years agoext/timidity/gstwildmidi.*:
Stefan Kost [Wed, 15 Aug 2007 13:26:57 +0000 (13:26 +0000)]
ext/timidity/gstwildmidi.*:

Original commit message from CVS:
reviewed by: <delete if not using a buddy>
patch by: <delete if not someone else's patch>
* ext/timidity/gstwildmidi.c:
* ext/timidity/gstwildmidi.h:

17 years agogst-libs/gst/app/gstappsink.c: Don't use new API.
Wim Taymans [Tue, 14 Aug 2007 17:47:34 +0000 (17:47 +0000)]
gst-libs/gst/app/gstappsink.c: Don't use new API.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_flush_unlocked):
Don't use new API.

17 years agogst-libs/gst/app/gstappsink.*: Make love to appsink.
Wim Taymans [Tue, 14 Aug 2007 17:38:05 +0000 (17:38 +0000)]
gst-libs/gst/app/gstappsink.*: Make love to appsink.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_base_init),
(gst_app_sink_class_init), (gst_app_sink_dispose),
(gst_app_sink_flush_unlocked), (gst_app_sink_start),
(gst_app_sink_stop), (gst_app_sink_event), (gst_app_sink_preroll),
(gst_app_sink_render), (gst_app_sink_get_caps),
(gst_app_sink_set_caps), (gst_app_sink_end_of_stream),
(gst_app_sink_pull_preroll), (gst_app_sink_pull_buffer):
* gst-libs/gst/app/gstappsink.h:
Make love to appsink.
Make it support pulling of the preroll buffer.
Add docs and debug statements.
Fix some races wrt to EOS handling and stopping.
Implement getcaps.
Implement FLUSHING.
API: gst_app_sink_pull_preroll()

17 years agogst/flv/gstflvdemux.c: Fix locking and refcounting on the index.
Wim Taymans [Tue, 14 Aug 2007 14:56:20 +0000 (14:56 +0000)]
gst/flv/gstflvdemux.c: Fix locking and refcounting on the index.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_set_index),
(gst_flv_demux_get_index):
Fix locking and refcounting on the index.

17 years agogst/flv/gstflvdemux.c: First method for seeking in pull mode using the index built...
Julien Moutte [Tue, 14 Aug 2007 14:22:09 +0000 (14:22 +0000)]
gst/flv/gstflvdemux.c: First method for seeking in pull mode using the index built step by step or coming from metadata.

Original commit message from CVS:
2007-08-14  Julien MOUTTE  <julien@moutte.net>

* gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup),
(gst_flv_demux_adapter_flush), (gst_flv_demux_chain),
(gst_flv_demux_pull_tag), (gst_flv_demux_do_seek),
(gst_flv_demux_handle_seek), (gst_flv_demux_sink_event),
(gst_flv_demux_src_event), (gst_flv_demux_query),
(gst_flv_demux_change_state), (gst_flv_demux_set_index),
(gst_flv_demux_get_index), (gst_flv_demux_dispose),
(gst_flv_demux_class_init): First method for seeking in pull
mode using the index built step by step or coming from metadata.
* gst/flv/gstflvdemux.h:
* gst/flv/gstflvparse.c: (FLV_GET_STRING),
(gst_flv_parse_metadata_item), (gst_flv_parse_tag_script),
(gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Parse
more metadata types and keyframes index.

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 agogst/rtpmanager/rtpjitterbuffer.c: Include stdlib.
Stefan Kost [Mon, 13 Aug 2007 06:16:40 +0000 (06:16 +0000)]
gst/rtpmanager/rtpjitterbuffer.c: Include stdlib.

Original commit message from CVS:
* gst/rtpmanager/rtpjitterbuffer.c:
Include stdlib.

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/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 agoChangelog surgery
Sebastian Dröge [Sat, 11 Aug 2007 21:30:03 +0000 (21:30 +0000)]
Changelog surgery

Original commit message from CVS:
Changelog surgery

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/rtpmanager/: Remove complicated async queue and replace with more simple jitterbu...
Wim Taymans [Fri, 10 Aug 2007 17:16:53 +0000 (17:16 +0000)]
gst/rtpmanager/: Remove complicated async queue and replace with more simple jitterbuffer code while also fixing some...

Original commit message from CVS:
* gst/rtpmanager/Makefile.am:
* gst/rtpmanager/async_jitter_queue.c:
* gst/rtpmanager/async_jitter_queue.h:
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_class_init),
(rtp_jitter_buffer_init), (rtp_jitter_buffer_finalize),
(rtp_jitter_buffer_new), (compare_seqnum),
(rtp_jitter_buffer_insert), (rtp_jitter_buffer_pop),
(rtp_jitter_buffer_flush), (rtp_jitter_buffer_num_packets),
(rtp_jitter_buffer_get_ts_diff):
* gst/rtpmanager/rtpjitterbuffer.h:
Remove complicated async queue and replace with more simple jitterbuffer
code while also fixing some bugs.
* gst/rtpmanager/gstrtpbin-marshal.list:
* gst/rtpmanager/gstrtpbin.c: (on_new_ssrc), (on_ssrc_collision),
(on_ssrc_validated), (on_bye_ssrc), (on_bye_timeout), (on_timeout),
(create_session), (gst_rtp_bin_class_init), (create_recv_rtp),
(create_send_rtp):
* gst/rtpmanager/gstrtpbin.h:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_init), (gst_rtp_jitter_buffer_dispose),
(gst_jitter_buffer_sink_parse_caps),
(gst_rtp_jitter_buffer_flush_start),
(gst_rtp_jitter_buffer_flush_stop),
(gst_rtp_jitter_buffer_change_state),
(gst_rtp_jitter_buffer_sink_event), (gst_rtp_jitter_buffer_chain),
(gst_rtp_jitter_buffer_loop), (gst_rtp_jitter_buffer_set_property):
* gst/rtpmanager/gstrtpsession.c: (on_new_ssrc),
(on_ssrc_collision), (on_ssrc_validated), (on_bye_ssrc),
(on_bye_timeout), (on_timeout), (gst_rtp_session_class_init),
(gst_rtp_session_init):
* gst/rtpmanager/gstrtpsession.h:
* gst/rtpmanager/rtpsession.c: (on_bye_ssrc), (session_cleanup):
Use new jitterbuffer code.
Expose some new signals in preparation for handling EOS.

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.