platform/upstream/gstreamer.git
17 years agogst/rtpmanager/: Some more ghostpad magic.
Wim Taymans [Tue, 3 Apr 2007 11:35:39 +0000 (11:35 +0000)]
gst/rtpmanager/: Some more ghostpad magic.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (find_session_by_id),
(create_session), (gst_rtp_bin_base_init), (create_recv_rtp),
(create_recv_rtcp), (create_send_rtp), (create_rtcp),
(gst_rtp_bin_request_new_pad):
* gst/rtpmanager/gstrtpbin.h:
* gst/rtpmanager/gstrtpclient.c:
Some more ghostpad magic.

17 years agogst/rtpmanager/Makefile.am: Add .h file so it can be disted properly.
Wim Taymans [Tue, 3 Apr 2007 09:51:13 +0000 (09:51 +0000)]
gst/rtpmanager/Makefile.am: Add .h file so it can be disted properly.

Original commit message from CVS:
* gst/rtpmanager/Makefile.am:
Add .h file so it can be disted properly.

17 years agoAdd RTP session management elements. Still in progress.
Wim Taymans [Tue, 3 Apr 2007 09:13:17 +0000 (09:13 +0000)]
Add RTP session management elements. Still in progress.

Original commit message from CVS:
* configure.ac:
* gst/rtpmanager/Makefile.am:
* gst/rtpmanager/async_jitter_queue.c: (async_jitter_queue_new),
(signal_waiting_threads), (async_jitter_queue_ref),
(async_jitter_queue_ref_unlocked),
(async_jitter_queue_set_low_threshold),
(async_jitter_queue_set_high_threshold),
(async_jitter_queue_set_max_queue_length),
(async_jitter_queue_get_g_queue), (calculate_ts_diff),
(async_jitter_queue_length_ts_units_unlocked),
(async_jitter_queue_unref_and_unlock), (async_jitter_queue_unref),
(async_jitter_queue_lock), (async_jitter_queue_unlock),
(async_jitter_queue_push), (async_jitter_queue_push_unlocked),
(async_jitter_queue_push_sorted),
(async_jitter_queue_push_sorted_unlocked),
(async_jitter_queue_insert_after_unlocked),
(async_jitter_queue_pop_intern_unlocked), (async_jitter_queue_pop),
(async_jitter_queue_pop_unlocked), (async_jitter_queue_length),
(async_jitter_queue_length_unlocked),
(async_jitter_queue_set_flushing_unlocked),
(async_jitter_queue_unset_flushing_unlocked),
(async_jitter_queue_set_blocking_unlocked):
* gst/rtpmanager/async_jitter_queue.h:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_base_init),
(gst_rtp_bin_class_init), (gst_rtp_bin_init),
(gst_rtp_bin_finalize), (gst_rtp_bin_set_property),
(gst_rtp_bin_get_property), (gst_rtp_bin_change_state),
(gst_rtp_bin_request_new_pad), (gst_rtp_bin_release_pad):
* gst/rtpmanager/gstrtpbin.h:
* gst/rtpmanager/gstrtpclient.c: (new_pad), (create_stream),
(free_stream), (find_stream_by_ssrc), (gst_rtp_client_base_init),
(gst_rtp_client_class_init), (gst_rtp_client_init),
(gst_rtp_client_finalize), (gst_rtp_client_set_property),
(gst_rtp_client_get_property), (gst_rtp_client_change_state),
(gst_rtp_client_request_new_pad), (gst_rtp_client_release_pad):
* gst/rtpmanager/gstrtpclient.h:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_base_init),
(gst_rtp_jitter_buffer_class_init), (gst_rtp_jitter_buffer_init),
(gst_rtp_jitter_buffer_dispose), (gst_rtp_jitter_buffer_getcaps),
(gst_jitter_buffer_sink_setcaps), (free_func),
(gst_rtp_jitter_buffer_flush_start),
(gst_rtp_jitter_buffer_flush_stop),
(gst_rtp_jitter_buffer_src_activate_push),
(gst_rtp_jitter_buffer_change_state), (priv_compare_rtp_seq_lt),
(compare_rtp_buffers_seq_num), (gst_rtp_jitter_buffer_sink_event),
(gst_rtp_jitter_buffer_chain), (gst_rtp_jitter_buffer_loop),
(gst_rtp_jitter_buffer_query),
(gst_rtp_jitter_buffer_set_property),
(gst_rtp_jitter_buffer_get_property):
* gst/rtpmanager/gstrtpjitterbuffer.h:
* gst/rtpmanager/gstrtpmanager.c: (plugin_init):
* gst/rtpmanager/gstrtpptdemux.c: (gst_rtp_pt_demux_base_init),
(gst_rtp_pt_demux_class_init), (gst_rtp_pt_demux_init),
(gst_rtp_pt_demux_finalize), (gst_rtp_pt_demux_chain),
(gst_rtp_pt_demux_getcaps), (find_pad_for_pt),
(gst_rtp_pt_demux_setup), (gst_rtp_pt_demux_release),
(gst_rtp_pt_demux_change_state):
* gst/rtpmanager/gstrtpptdemux.h:
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_base_init),
(gst_rtp_session_class_init), (gst_rtp_session_init),
(gst_rtp_session_finalize), (gst_rtp_session_set_property),
(gst_rtp_session_get_property), (gst_rtp_session_change_state),
(gst_rtp_session_chain_recv_rtp),
(gst_rtp_session_chain_recv_rtcp),
(gst_rtp_session_chain_send_rtp), (create_recv_rtp_sink),
(create_recv_rtcp_sink), (create_send_rtp_sink), (create_rtcp_src),
(gst_rtp_session_request_new_pad), (gst_rtp_session_release_pad):
* gst/rtpmanager/gstrtpsession.h:
Add RTP session management elements. Still in progress.

17 years agoext/wavpack/: Don't play audioconvert. As wavpack wants/outputs all samples with...
Sebastian Dröge [Fri, 30 Mar 2007 04:50:11 +0000 (04:50 +0000)]
ext/wavpack/: Don't play audioconvert. As wavpack wants/outputs all samples with width==32 and depth=[1,32] accept th...

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_reset),
(gst_wavpack_dec_init), (gst_wavpack_dec_sink_set_caps),
(gst_wavpack_dec_clip_outgoing_buffer),
(gst_wavpack_dec_post_tags), (gst_wavpack_dec_chain):
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_reset),
(gst_wavpack_enc_sink_set_caps), (gst_wavpack_enc_set_wp_config),
(gst_wavpack_enc_chain):
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.c:
Don't play audioconvert. As wavpack wants/outputs all samples with
width==32 and depth=[1,32] accept this and let audioconvert convert
to accepted formats instead of doing it in the element for n*8 depths.
This also adds support for non-n*8 depths and prevents some useless
memory allocations. Fixes #421598
Also add a workaround for bug #421542 in wavpackenc for now...
* tests/check/elements/wavpackdec.c: (GST_START_TEST):
* tests/check/elements/wavpackenc.c: (GST_START_TEST):
* tests/check/elements/wavpackparse.c: (GST_START_TEST):
Consider the change above in the unit tests and test if the correct
caps are accepted and set. Also check for GST_BUFFER_OFFSET_END in
the wavpackparse unit test.
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_init),
(gst_wavpack_dec_sink_set_caps):
Set caps on the src pad as soon as possible.
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackcommon.h:
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.h:
Fix indention. gst-indent is now called by cicl.

17 years agogst/qtdemux/: Process 'ctts' atoms, which are present in AVC ISO files (.mov files...
Edward Hervey [Wed, 28 Mar 2007 15:17:27 +0000 (15:17 +0000)]
gst/qtdemux/: Process 'ctts' atoms, which are present in AVC ISO files (.mov files with h264 video).

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_prepare_current_sample),
(gst_qtdemux_chain), (qtdemux_parse_samples):
* gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_ctts):
* gst/qtdemux/qtdemux_dump.h:
* gst/qtdemux/qtdemux_fourcc.h:
* gst/qtdemux/qtdemux_types.c:
Process 'ctts' atoms, which are present in AVC ISO files (.mov files
with h264 video).
Use the offset present in 'ctts' to calculate the PTS for each packet
and set the PTS on outgoing buffers.
Fixes #423283

17 years agoext/xvid/gstxviddec.c: Add some debug log and fix a stupid output buffer duration...
Julien Moutte [Tue, 27 Mar 2007 18:00:56 +0000 (18:00 +0000)]
ext/xvid/gstxviddec.c: Add some debug log and fix a stupid output buffer duration bug.

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

* ext/xvid/gstxviddec.c: (gst_xviddec_chain): Add some
debug log and fix a stupid output buffer duration bug.

17 years agoupdate spec file for x264 encoder
Christian Schaller [Mon, 26 Mar 2007 14:49:47 +0000 (14:49 +0000)]
update spec file for x264 encoder

Original commit message from CVS:
update spec file for x264 encoder

17 years agoAdd libx264-based h264 encoder plugin (#421110). Probably doesn't handle 'odd' widths...
Michal Benes [Sun, 25 Mar 2007 13:06:26 +0000 (13:06 +0000)]
Add libx264-based h264 encoder plugin (#421110). Probably doesn't handle 'odd' widths and heights correctly yet.

Original commit message from CVS:
Patch by: Michal Benes <michal.benes at itonis tv>
Patch by: Josef Zlomek <josef.zlomek at itonis tv>
* configure.ac:
* ext/Makefile.am:
* ext/x264/Makefile.am:
* ext/x264/gstx264enc.c: (gst_x264_enc_me_get_type),
(gst_x264_enc_analyse_get_type),
(gst_x264_enc_timestamp_queue_init),
(gst_x264_enc_timestamp_queue_free),
(gst_x264_enc_timestamp_queue_put),
(gst_x264_enc_timestamp_queue_get), (gst_x264_enc_header_buf),
(gst_x264_enc_set_src_caps), (gst_x264_enc_sink_set_caps),
(gst_x264_enc_base_init), (gst_x264_enc_class_init),
(gst_x264_enc_init), (gst_x264_enc_init_encoder),
(gst_x264_enc_close_encoder), (gst_x264_enc_dispose),
(gst_x264_enc_sink_event), (gst_x264_enc_chain),
(gst_x264_enc_encode_frame), (gst_x264_enc_change_state),
(gst_x264_enc_set_property), (gst_x264_enc_get_property),
(plugin_init):
* ext/x264/gstx264enc.h:
Add libx264-based h264 encoder plugin (#421110). Probably doesn't
handle 'odd' widths and heights correctly yet.

17 years agogst/interleave/deinterleave.c: Remove 'channel-positions' field when munging input...
Tim-Philipp Müller [Sat, 24 Mar 2007 19:46:59 +0000 (19:46 +0000)]
gst/interleave/deinterleave.c: Remove 'channel-positions' field when munging input caps into 1-channel output caps (I...

Original commit message from CVS:
* gst/interleave/deinterleave.c: (gst_deinterleave_sink_setcaps):
Remove 'channel-positions' field when munging input caps into
1-channel output caps (I guess technically we should set the
position for each channel on the output caps if it's non-NONE,
but I'll save that as a task for another day).

17 years agogst/vmnc/vmncdec.c: Redesign to include a parser for raw files (no timestamps in...
Michael Smith [Fri, 23 Mar 2007 18:41:52 +0000 (18:41 +0000)]
gst/vmnc/vmncdec.c: Redesign to include a parser for raw files (no timestamps in that mode yet, though).

Original commit message from CVS:
* gst/vmnc/vmncdec.c: (gst_vmnc_dec_class_init),
(gst_vmnc_dec_init), (vmnc_dec_finalize), (gst_vmnc_dec_reset),
(vmnc_handle_wmvi_rectangle), (render_colour_cursor),
(render_cursor), (vmnc_make_buffer), (vmnc_handle_wmvd_rectangle),
(vmnc_handle_wmve_rectangle), (vmnc_handle_wmvf_rectangle),
(vmnc_handle_wmvg_rectangle), (vmnc_handle_wmvh_rectangle),
(vmnc_handle_wmvj_rectangle), (render_raw_tile), (render_subrect),
(vmnc_handle_raw_rectangle), (vmnc_handle_copy_rectangle),
(vmnc_handle_hextile_rectangle), (vmnc_handle_packet),
(vmnc_dec_setcaps), (vmnc_dec_chain_frame), (vmnc_dec_chain),
(vmnc_dec_set_property), (vmnc_dec_get_property):
Redesign to include a parser for raw files (no timestamps in that
mode yet, though).

17 years agogst/interleave/deinterleave.c: Don't leak input buffer in chain function; maintain...
Tim-Philipp Müller [Thu, 22 Mar 2007 22:14:29 +0000 (22:14 +0000)]
gst/interleave/deinterleave.c: Don't leak input buffer in chain function; maintain our own list of source pads - ther...

Original commit message from CVS:
* gst/interleave/deinterleave.c: (gst_deinterleave_add_new_pads),
(gst_deinterleave_remove_pads), (gst_deinterleave_process),
(gst_deinterleave_chain):
Don't leak input buffer in chain function; maintain our own list of
source pads - there are no guarantees about the order of the list
in the GstElement struct, and we want a very specific order; lastly,
some more debugging.

17 years agoext/neon/gstneonhttpsrc.c: Alloc user agent string only once.
Tim-Philipp Müller [Thu, 22 Mar 2007 21:07:02 +0000 (21:07 +0000)]
ext/neon/gstneonhttpsrc.c: Alloc user agent string only once.

Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_init):
Alloc user agent string only once.

17 years agoext/wavpack/gstwavpackparse.c: Revert last commit, preventing infinite plugging loops...
Sebastian Dröge [Thu, 22 Mar 2007 16:25:56 +0000 (16:25 +0000)]
ext/wavpack/gstwavpackparse.c: Revert last commit, preventing infinite plugging loops with ranks is no clean solution...

Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init):
Revert last commit, preventing infinite plugging loops with ranks
is no clean solution and in general there's no reason why one wants
to parse framed wavpack data again.

17 years agoext/wavpack/gstwavpackenc.c: Send the new segment event in time format instead of...
Sebastian Dröge [Thu, 22 Mar 2007 15:52:51 +0000 (15:52 +0000)]
ext/wavpack/gstwavpackenc.c: Send the new segment event in time format instead of bytes. This allows "wavpackenc ! wa...

Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_push_block):
Send the new segment event in time format instead of bytes. This
allows "wavpackenc ! wavpackdec ! someaudiosink" pipelines.
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init):
Accept framed and non-framed input, wavpackparse doesn't care. To
prevent "wavpackparse ! wavpackparse ! ..." pipelines lower the
rank of wavpackparse by one. This allows "wavpackenc ! wavpackparse !
..." pipelines.

17 years agogst-libs/gst/app/Makefile.am: Use GST_ALL_LDFLAGS, which actually exists, but maybe...
Thomas Vander Stichele [Thu, 22 Mar 2007 14:37:08 +0000 (14:37 +0000)]
gst-libs/gst/app/Makefile.am: Use GST_ALL_LDFLAGS, which actually exists, but maybe David can confirm that was what h...

Original commit message from CVS:
* gst-libs/gst/app/Makefile.am:
Use GST_ALL_LDFLAGS, which actually exists, but maybe David
can confirm that was what he wanted.

17 years agoext/wavpack/gstwavpackdec.c: Revert to use gst_pad_alloc_buffer() here. We can and...
Sebastian Dröge [Thu, 22 Mar 2007 11:08:03 +0000 (11:08 +0000)]
ext/wavpack/gstwavpackdec.c: Revert to use gst_pad_alloc_buffer() here. We can and should use it.

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
Revert to use gst_pad_alloc_buffer() here. We can and should use it.
Thanks to Jan and Mike for noticing my mistake.

17 years agoext/wavpack/gstwavpackenc.*: Put the write helpers into the GstWavpackEnc struct...
Sebastian Dröge [Thu, 22 Mar 2007 00:17:41 +0000 (00:17 +0000)]
ext/wavpack/gstwavpackenc.*: Put the write helpers into the GstWavpackEnc struct directly and not as a pointer to sav...

Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init),
(gst_wavpack_enc_init), (gst_wavpack_enc_chain),
(gst_wavpack_enc_rewrite_first_block):
* ext/wavpack/gstwavpackenc.h:
Put the write helpers into the GstWavpackEnc struct directly and not
as a pointer to save two small, but useless mallocs. This also makes
it possible to drop the finalize method.
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_push_buffer):
For consistency reasons also set GST_BUFFER_OFFSET_END on the outgoing
buffers the same way wavpackenc does it.

17 years agoext/wavpack/gstwavpackdec.c: Don't use gst_pad_alloc_buffer() as we might clip the...
Sebastian Dröge [Wed, 21 Mar 2007 23:50:09 +0000 (23:50 +0000)]
ext/wavpack/gstwavpackdec.c: Don't use gst_pad_alloc_buffer() as we might clip the buffer later and

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
Don't use gst_pad_alloc_buffer() as we might clip the buffer later and
BaseTransform-based elements will likely break because of wrong
unit-size. Also plug a possible memleak that happens when decoding
fails for some reason.

17 years agoext/jack/gstjackaudioclient.c: Don't need to take the connection lock, it will not...
Paul Davis [Sun, 18 Mar 2007 17:57:48 +0000 (17:57 +0000)]
ext/jack/gstjackaudioclient.c: Don't need to take the connection lock, it will not be used and could cause deadlocks.

Original commit message from CVS:
Based on patch by: Paul Davis <paul at linuxaudiosystems dot com>
* ext/jack/gstjackaudioclient.c: (gst_jack_audio_unref_connection):
Don't need to take the connection lock, it will not be used and could
cause deadlocks.

17 years agosys/osxvideo/osxvideosink.m: Fix previous commit, we want to pass the NSView in the...
Edward Hervey [Fri, 16 Mar 2007 18:38:18 +0000 (18:38 +0000)]
sys/osxvideo/osxvideosink.m: Fix previous commit, we want to pass the NSView in the message.

Original commit message from CVS:
* sys/osxvideo/osxvideosink.m:
Fix previous commit, we want to pass the NSView in the message.

17 years agosys/osxvideo/osxvideosink.m: Emit 'have-ns-view' message when working in embedded...
Edward Hervey [Fri, 16 Mar 2007 16:27:20 +0000 (16:27 +0000)]
sys/osxvideo/osxvideosink.m: Emit 'have-ns-view' message when working in embedded mode. The message will contain a po...

Original commit message from CVS:
* sys/osxvideo/osxvideosink.m:
Emit 'have-ns-view' message when working in embedded mode. The message
will contain a pointer to the newly created NSView.

17 years agogst/mpegvideoparse/: Move the MPEG specific byte parsing into the mpegpacketiser...
Jan Schmidt [Fri, 16 Mar 2007 11:22:47 +0000 (11:22 +0000)]
gst/mpegvideoparse/: Move the MPEG specific byte parsing into the mpegpacketiser code.

Original commit message from CVS:
* gst/mpegvideoparse/mpegpacketiser.c: (mpeg_util_find_start_code),
(collect_packets), (set_par_from_dar), (set_fps_from_code),
(mpeg_util_parse_extension_packet), (mpeg_util_parse_sequence_hdr),
(mpeg_util_parse_picture_hdr):
* gst/mpegvideoparse/mpegpacketiser.h:
* gst/mpegvideoparse/mpegvideoparse.c:
(mpegvideoparse_handle_sequence), (mpegvideoparse_handle_picture),
(mpegvideoparse_drain_avail), (gst_mpegvideoparse_chain),
(mpv_parse_sink_event), (plugin_init):
* gst/mpegvideoparse/mpegvideoparse.h:
Move the MPEG specific byte parsing into the mpegpacketiser code.
Add parsing of picture types, that just feeds into a debug message
for now.
Fix some 64-bit format strings.

17 years agoChangelog surgery
Stefan Kost [Fri, 16 Mar 2007 10:15:48 +0000 (10:15 +0000)]
Changelog surgery

Original commit message from CVS:
Changelog surgery

17 years agogst/equalizer/gstiirequalizer10bands.c: A 10 band EQ should be initialized to 1 bands...
Stefan Kost [Fri, 16 Mar 2007 09:57:40 +0000 (09:57 +0000)]
gst/equalizer/gstiirequalizer10bands.c: A 10 band EQ should be initialized to 1 bands and not to 3.

Original commit message from CVS:
* gst/equalizer/gstiirequalizer10bands.c:
(gst_iir_equalizer_10bands_init):
A 10 band EQ should be initialized to 1 bands and not to 3.

17 years agoPort mpeg1videoparse to 0.10 and give it rank SECONDARY-1, so that it's below existin...
Jan Schmidt [Thu, 15 Mar 2007 20:48:08 +0000 (20:48 +0000)]
Port mpeg1videoparse to 0.10 and give it rank SECONDARY-1, so that it's below existing decoders.

Original commit message from CVS:
* configure.ac:
* gst/mpeg1videoparse/Makefile.am:
* gst/mpeg1videoparse/gstmp1videoparse.c:
* gst/mpeg1videoparse/gstmp1videoparse.h:
* gst/mpeg1videoparse/mp1videoparse.vcproj:
* gst/mpegvideoparse/Makefile.am:
* gst/mpegvideoparse/mpegpacketiser.c: (mpeg_packetiser_init),
(mpeg_packetiser_free), (mpeg_packetiser_add_buf),
(mpeg_packetiser_flush), (mpeg_find_start_code),
(get_next_free_block), (complete_current_block),
(append_to_current_block), (start_new_block), (handle_packet),
(collect_packets), (mpeg_packetiser_handle_eos),
(mpeg_packetiser_get_block), (mpeg_packetiser_next_block):
* gst/mpegvideoparse/mpegpacketiser.h:
* gst/mpegvideoparse/mpegvideoparse.c: (mpegvideoparse_get_type),
(gst_mpegvideoparse_base_init), (gst_mpegvideoparse_class_init),
(mpv_parse_reset), (gst_mpegvideoparse_init),
(gst_mpegvideoparse_dispose), (set_par_from_dar),
(set_fps_from_code), (mpegvideoparse_parse_seq),
(gst_mpegvideoparse_time_code), (gst_mpegvideoparse_flush),
(mpegvideoparse_drain_avail), (gst_mpegvideoparse_chain),
(mpv_parse_sink_event), (gst_mpegvideoparse_change_state),
(plugin_init):
* gst/mpegvideoparse/mpegvideoparse.h:
* gst/mpegvideoparse/mpegvideoparse.vcproj:
Port mpeg1videoparse to 0.10 and give it rank SECONDARY-1, so
that it's below existing decoders.
Rename it to mpegvideoparse to reflect that it handles MPEG-1 and
MPEG-2 now.
Re-write the parsing code so that it collects packets differently
and timestamps Picture packets correctly.
Add a list of FIXME's at the top.

17 years agogst/audioresample/gstaudioresample.c: Don't trigger discontinuities for very small...
Michael Smith [Thu, 15 Mar 2007 10:52:21 +0000 (10:52 +0000)]
gst/audioresample/gstaudioresample.c: Don't trigger discontinuities for very small imperfections; a filter flush will...

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c:
(audioresample_check_discont), (audioresample_transform):
Don't trigger discontinuities for very small imperfections; a filter
flush will sound bad, and many plugins have rounding errors leading
to these.

17 years agogst/audioresample/gstaudioresample.c: Handle discontinuous streams.
Julien Moutte [Wed, 14 Mar 2007 17:16:30 +0000 (17:16 +0000)]
gst/audioresample/gstaudioresample.c: Handle discontinuous streams.

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

* gst/audioresample/gstaudioresample.c: (gst_audioresample_init),
(audioresample_transform_size), (audioresample_do_output),
(audioresample_transform), (audioresample_pushthrough): Handle
discontinuous streams.
* gst/audioresample/gstaudioresample.h:
* tests/check/elements/audioresample.c:
(test_discont_stream_instance), (GST_START_TEST),
(audioresample_suite): Add a test for discontinuous streams.
* win32/common/config.h: Updated.

17 years agotests/icles/equalizer-test.c: Port the example to new equalizer api.
Stefan Kost [Wed, 14 Mar 2007 16:33:03 +0000 (16:33 +0000)]
tests/icles/equalizer-test.c: Port the example to new equalizer api.

Original commit message from CVS:
* tests/icles/equalizer-test.c: (equalizer_set_band_value),
(equalizer_set_all_band_values),
(equalizer_set_band_value_and_wait),
(equalizer_set_all_band_values_and_wait), (do_slider_fiddling),
(main):
Port the example to new equalizer api.

17 years agosys/osxvideo/: Fix leaks when running a NSApp.
Edward Hervey [Wed, 14 Mar 2007 16:30:19 +0000 (16:30 +0000)]
sys/osxvideo/: Fix leaks when running a NSApp.

Original commit message from CVS:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Fix leaks when running a NSApp.
Accept any kind of resolutions.
Works in fullscreen. Can maximize.
Only thing left before being able to move this to -good is documentation
and embedded window support.

17 years agopo/: Updated translations.
Thomas Vander Stichele [Wed, 14 Mar 2007 15:33:25 +0000 (15:33 +0000)]
po/: Updated translations.

Original commit message from CVS:
* po/hu.po:
* po/it.po:
* po/sv.po:
Updated translations.

17 years agogst/audioresample/: Since I really am not interested in a debug line for each sample...
Thomas Vander Stichele [Wed, 14 Mar 2007 14:48:12 +0000 (14:48 +0000)]
gst/audioresample/: Since I really am not interested in a debug line for each sample being processed, move the librar...

Original commit message from CVS:
* gst/audioresample/debug.h:
* gst/audioresample/resample.c: (resample_init):
Since I really am not interested in a debug line for each sample
being processed, move the library's debugging to its own category,
libaudioresample

17 years agogst/equalizer/: Add 3 and 10 band version and add missing gst_object_sync_values.
Stefan Kost [Wed, 14 Mar 2007 14:48:08 +0000 (14:48 +0000)]
gst/equalizer/: Add 3 and 10 band version and add missing gst_object_sync_values.

Original commit message from CVS:
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer.c: (_do_init),
(gst_iir_equalizer_band_set_property),
(gst_iir_equalizer_band_class_init),
(gst_iir_equalizer_band_get_type),
(gst_iir_equalizer_child_proxy_get_child_by_index),
(gst_iir_equalizer_child_proxy_get_children_count),
(gst_iir_equalizer_child_proxy_interface_init), (setup_filter),
(gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_transform_ip), (plugin_init):
* gst/equalizer/gstiirequalizer10bands.c:
(gst_iir_equalizer_10bands_base_init),
(gst_iir_equalizer_10bands_class_init),
(gst_iir_equalizer_10bands_init),
(gst_iir_equalizer_10bands_set_property),
(gst_iir_equalizer_10bands_get_property):
* gst/equalizer/gstiirequalizer10bands.h:
* gst/equalizer/gstiirequalizer3bands.c:
(gst_iir_equalizer_3bands_base_init),
(gst_iir_equalizer_3bands_class_init),
(gst_iir_equalizer_3bands_init),
(gst_iir_equalizer_3bands_set_property),
(gst_iir_equalizer_3bands_get_property):
* gst/equalizer/gstiirequalizer3bands.h:
* gst/equalizer/gstiirequalizernbands.c:
(gst_iir_equalizer_nbands_base_init),
(gst_iir_equalizer_nbands_init):
Add 3 and 10 band version and add missing gst_object_sync_values.
* gst/spectrum/gstspectrum.c: (gst_spectrum_event),
(gst_spectrum_transform_ip):
Add some comments about float support.

17 years agoadd debugging and reformat docs
Thomas Vander Stichele [Wed, 14 Mar 2007 14:09:21 +0000 (14:09 +0000)]
add debugging and reformat docs

Original commit message from CVS:
add debugging and reformat docs

17 years agogst/mpegaudioparse/: Remove bogus 2nd copy of mp3parse - it's actually in -ugly.
Jan Schmidt [Tue, 13 Mar 2007 18:01:47 +0000 (18:01 +0000)]
gst/mpegaudioparse/: Remove bogus 2nd copy of mp3parse - it's actually in -ugly.

Original commit message from CVS:
* gst/mpegaudioparse/Makefile.am:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/mpegaudioparse/gstmpegaudioparse.h:
* gst/mpegaudioparse/mpegaudioparse.vcproj:
Remove bogus 2nd copy of mp3parse - it's actually
in -ugly.

17 years agoexamples/app/.cvsignore: The buildbot demands .cvsignore files, and I comply.
Jan Schmidt [Mon, 12 Mar 2007 11:47:42 +0000 (11:47 +0000)]
examples/app/.cvsignore: The buildbot demands .cvsignore files, and I comply.

Original commit message from CVS:
* examples/app/.cvsignore:
The buildbot demands .cvsignore files, and I comply.

17 years agosys/directdraw/gstdirectdrawsink.*: Handle display mode changes during playback.
Sébastien Moutte [Sun, 11 Mar 2007 22:23:04 +0000 (22:23 +0000)]
sys/directdraw/gstdirectdrawsink.*: Handle display mode changes during playback.

Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Handle display mode changes during playback.

17 years agoAdd appsrc/appsink example.
David Schleef [Sun, 11 Mar 2007 00:48:26 +0000 (00:48 +0000)]
Add appsrc/appsink example.

Original commit message from CVS:
* configure.ac:
* examples/Makefile.am:
* examples/app/Makefile.am:
* examples/app/appsrc_ex.c:
Add appsrc/appsink example.
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/app/gstapp.c:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsink.h:
* gst/app/gstapp.c:
Add appsink.

17 years agoext/: Printf format string fixes.
Tim-Philipp Müller [Sat, 10 Mar 2007 20:10:09 +0000 (20:10 +0000)]
ext/: Printf format string fixes.

Original commit message from CVS:
* ext/nas/nassink.c: (NAS_createFlow):
* ext/sndfile/gstsfsrc.c: (gst_sf_src_create):
Printf format string fixes.

17 years agogst/equalizer/: Refactor plugin into a base class and a first subclass (nband eq...
Stefan Kost [Fri, 9 Mar 2007 08:58:26 +0000 (08:58 +0000)]
gst/equalizer/: Refactor plugin into a base class and a first subclass (nband eq). The nband eq uses GstChildProxy an...

Original commit message from CVS:
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer.c: (_do_init),
(gst_iir_equalizer_band_set_property),
(gst_iir_equalizer_band_get_property),
(gst_iir_equalizer_band_class_init),
(gst_iir_equalizer_band_get_type),
(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_base_init), (gst_iir_equalizer_class_init),
(gst_iir_equalizer_finalize), (setup_filter),
(gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_set_property), (gst_iir_equalizer_get_property),
(gst_iir_equalizer_setup), (plugin_init):
* gst/equalizer/gstiirequalizer.h:
* gst/equalizer/gstiirequalizernbands.c:
(gst_iir_equalizer_nbands_base_init),
(gst_iir_equalizer_nbands_class_init),
(gst_iir_equalizer_nbands_init),
(gst_iir_equalizer_nbands_set_property),
(gst_iir_equalizer_nbands_get_property):
* gst/equalizer/gstiirequalizernbands.h:
Refactor plugin into a base class and a first subclass (nband eq). The
nband eq uses GstChildProxy and is controlable. More subclasses will
follow.

17 years agoext/jack/: Make an object to manage client connections to the jack server which we...
Paul Davis [Thu, 8 Mar 2007 15:24:52 +0000 (15:24 +0000)]
ext/jack/: Make an object to manage client connections to the jack server which we will use in the future to run sele...

Original commit message from CVS:
Includes patch by: Paul Davis <paul at linuxaudiosystems dot com>
* ext/jack/Makefile.am:
* ext/jack/gstjackaudioclient.c: (gst_jack_audio_client_init),
(jack_process_cb), (jack_sample_rate_cb), (jack_buffer_size_cb),
(jack_shutdown_cb), (connection_find),
(gst_jack_audio_make_connection), (gst_jack_audio_get_connection),
(gst_jack_audio_unref_connection),
(gst_jack_audio_connection_add_client),
(gst_jack_audio_connection_remove_client),
(gst_jack_audio_client_new), (gst_jack_audio_client_free),
(gst_jack_audio_client_get_client),
(gst_jack_audio_client_set_active):
* ext/jack/gstjackaudioclient.h:
Make an object to manage client connections to the jack server which we
will use in the future to run selected jack elements with the same jack
connection.
Make some stuff a bit more threadsafe.
Activate the jack client ASAP.
* ext/jack/gstjackaudiosink.c:
(gst_jack_audio_sink_allocate_channels),
(gst_jack_audio_sink_free_channels), (jack_process_cb),
(gst_jack_ring_buffer_open_device),
(gst_jack_ring_buffer_close_device),
(gst_jack_ring_buffer_acquire), (gst_jack_ring_buffer_release),
(gst_jack_audio_sink_class_init), (gst_jack_audio_sink_init),
(gst_jack_audio_sink_getcaps):
* ext/jack/gstjackaudiosink.h:
Use new client object to manage connections.
Don't remove and recreate all ports, try to reuse them.

17 years agoext/wavpack/: Use a general wavpack debug category for common code.
Sebastian Dröge [Wed, 7 Mar 2007 12:07:07 +0000 (12:07 +0000)]
ext/wavpack/: Use a general wavpack debug category for common code.

Original commit message from CVS:
* ext/wavpack/gstwavpack.c: (plugin_init):
* ext/wavpack/gstwavpackcommon.c:
Use a general wavpack debug category for common code.
* ext/wavpack/gstwavpackstreamreader.c:
(gst_wavpack_stream_reader_set_pos_abs),
(gst_wavpack_stream_reader_set_pos_rel),
(gst_wavpack_stream_reader_write_bytes):
Use the general wavpack debug category here too and add debug
output to the functions that should not be called at all by
the wavpack library.
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_plugin_init):
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_plugin_init):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init):
Change debugging category names to conform to the conventions.

17 years agogst/qtdemux/qtdemux.*: Share qtdemux debug category across all files, otherwise all...
Edward Hervey [Wed, 7 Mar 2007 11:37:23 +0000 (11:37 +0000)]
gst/qtdemux/qtdemux.*: Share qtdemux debug category across all files, otherwise all debugging in files other than qtd...

Original commit message from CVS:
* gst/qtdemux/qtdemux.c:
* gst/qtdemux/qtdemux.h:
Share qtdemux debug category across all files, otherwise all debugging
in files other than qtdemux.c would end up in the default category.

17 years agogst/spectrum/gstspectrum.*: One FIXME less, by resolving message timestamps against...
Stefan Kost [Wed, 7 Mar 2007 11:23:20 +0000 (11:23 +0000)]
gst/spectrum/gstspectrum.*: One FIXME less, by resolving message timestamps against the playback segment.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_start),
(gst_spectrum_event), (gst_spectrum_transform_ip):
* gst/spectrum/gstspectrum.h:
One FIXME less, by resolving message timestamps against the playback
segment.

17 years agogst/spectrum/gstspectrum.c: Fix and cleanup default property values.
Wim Taymans [Tue, 6 Mar 2007 13:57:55 +0000 (13:57 +0000)]
gst/spectrum/gstspectrum.c: Fix and cleanup default property values.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init),
(gst_spectrum_init), (gst_spectrum_set_property),
(gst_spectrum_transform_ip):
Fix and cleanup default property values.
Add FIXMEs for stuff that looks rather wrong.

17 years agogst/spectrum/: Remove two obsolete and confusing comments.
Stefan Kost [Mon, 5 Mar 2007 08:30:52 +0000 (08:30 +0000)]
gst/spectrum/: Remove two obsolete and confusing comments.

Original commit message from CVS:
* gst/spectrum/demo-audiotest.c: (message_handler):
* gst/spectrum/demo-osssrc.c: (message_handler):
Remove two obsolete and confusing comments.

17 years agoext/nas/nassink.c: Some more cleanups/changes; use boilerplate macro.
Tim-Philipp Müller [Sun, 4 Mar 2007 21:36:50 +0000 (21:36 +0000)]
ext/nas/nassink.c: Some more cleanups/changes; use boilerplate macro.

Original commit message from CVS:
* ext/nas/nassink.c: (gst_nas_sink_class_init),
(gst_nas_sink_init), (gst_nas_sink_getcaps),
(gst_nas_sink_unprepare):
Some more cleanups/changes; use boilerplate macro.

17 years agoext/nas/: Bunch of nassink clean-ups: make build by adding the right CFLAGS and LIBS...
Tim-Philipp Müller [Sun, 4 Mar 2007 20:35:26 +0000 (20:35 +0000)]
ext/nas/: Bunch of nassink clean-ups: make build by adding the right CFLAGS and LIBS to Makefile.am; rename structure...

Original commit message from CVS:
* ext/nas/Makefile.am:
* ext/nas/README:
* ext/nas/nassink.c: (gst_nas_sink_get_type),
(gst_nas_sink_base_init), (gst_nas_sink_class_init),
(gst_nas_sink_init), (gst_nas_sink_finalize),
(gst_nas_sink_getcaps), (gst_nas_sink_prepare),
(gst_nas_sink_unprepare), (gst_nas_sink_delay),
(gst_nas_sink_reset), (gst_nas_sink_write),
(gst_nas_sink_set_property), (gst_nas_sink_get_property),
(gst_nas_sink_open), (gst_nas_sink_close), (NAS_flush),
(NAS_sendData), (NAS_EventHandler), (gst_nas_sink_sink_get_format),
(NAS_createFlow), (plugin_init):
* ext/nas/nassink.h:
Bunch of nassink clean-ups: make build by adding the right CFLAGS
and LIBS to Makefile.am; rename structure, macros and functions
according to canonical naming scheme; move some things around a bit;
use GST_CAT_DEFAULT instead of GST_CAT_* everywhere; remove README
file that didn't really contain any useful information anyway (the
useful bits have been moved into the 'host' property description).

17 years agoext/directfb/dfbvideosink.c: Chain up in finalize.
Jan Schmidt [Sun, 4 Mar 2007 16:38:39 +0000 (16:38 +0000)]
ext/directfb/dfbvideosink.c: Chain up in finalize.

Original commit message from CVS:
* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_finalize):
Chain up in finalize.

17 years agoFix up dist.
Michael Smith [Sat, 3 Mar 2007 22:28:03 +0000 (22:28 +0000)]
Fix up dist.

Original commit message from CVS:
* configure.ac:
* gst/vmnc/Makefile.am:
Fix up dist.

17 years agoAdd VMnc decoder.
Michael Smith [Sat, 3 Mar 2007 22:13:22 +0000 (22:13 +0000)]
Add VMnc decoder.

Original commit message from CVS:
* configure.ac:
* gst/vmnc/Makefile.am:
* gst/vmnc/vmncdec.c: (gst_vmnc_dec_base_init),
(gst_vmnc_dec_class_init), (gst_vmnc_dec_init),
(gst_vmnc_dec_reset), (vmnc_handle_wmvi_rectangle),
(render_colour_cursor), (render_cursor), (vmnc_make_buffer),
(vmnc_handle_wmvd_rectangle), (vmnc_handle_wmve_rectangle),
(vmnc_handle_wmvf_rectangle), (vmnc_handle_wmvg_rectangle),
(vmnc_handle_wmvh_rectangle), (vmnc_handle_wmvj_rectangle),
(render_raw_tile), (render_subrect), (vmnc_handle_raw_rectangle),
(vmnc_handle_hextile_rectangle), (vmnc_handle_packet),
(vmnc_dec_setcaps), (vmnc_dec_chain), (vmnc_dec_change_state),
(vmnc_dec_set_property), (vmnc_dec_get_property), (plugin_init):
Add VMnc decoder.
Still missing support for:
- rectangle types I didn't find in my samples (e.g. copy, RRE,
ZRLE)
- alpha-composited cursors

17 years agogst-libs/gst/app/Makefile.am: Install the headers.
David Schleef [Sat, 3 Mar 2007 10:23:03 +0000 (10:23 +0000)]
gst-libs/gst/app/Makefile.am: Install the headers.

Original commit message from CVS:
* gst-libs/gst/app/Makefile.am:
Install the headers.

17 years agogst-libs/gst/app/: Add GstAppBuffer that includes a callback and closure for proper...
David Schleef [Sat, 3 Mar 2007 10:10:30 +0000 (10:10 +0000)]
gst-libs/gst/app/: Add GstAppBuffer that includes a callback and closure for proper handling of data chunks.

Original commit message from CVS:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/app/gstappbuffer.c:
* gst-libs/gst/app/gstappbuffer.h:
* gst-libs/gst/app/gstappsrc.c:
Add GstAppBuffer that includes a callback and closure for
proper handling of data chunks.

17 years agogst-libs/gst/app/gstappsrc.*: Hacking to address issues in 413418.
David Schleef [Sat, 3 Mar 2007 09:06:06 +0000 (09:06 +0000)]
gst-libs/gst/app/gstappsrc.*: Hacking to address issues in 413418.

Original commit message from CVS:
* gst-libs/gst/app/gstappsrc.c:
* gst-libs/gst/app/gstappsrc.h:
Hacking to address issues in 413418.

17 years agoMove the app library to gst-libs/gst/app (duh!)
David Schleef [Sat, 3 Mar 2007 08:16:57 +0000 (08:16 +0000)]
Move the app library to gst-libs/gst/app (duh!)

Original commit message from CVS:
* Makefile.am:
* configure.ac:
* ext/Makefile.am:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/app/gstapp.c:
* gst-libs/gst/app/gstappsrc.c:
* gst-libs/gst/app/gstappsrc.h:
* gst/app/Makefile.am:
* gst/app/gstapp.c:
* gst/app/gstappsrc.c:
* gst/app/gstappsrc.h:
Move the app library to gst-libs/gst/app (duh!)

17 years agoCommit NAS Sink, closed bugzilla 345633
Christian Schaller [Fri, 2 Mar 2007 19:43:48 +0000 (19:43 +0000)]
Commit NAS Sink, closed bugzilla 345633

Original commit message from CVS:
Commit NAS Sink, closed bugzilla 345633

17 years agoext/dts/gstdtsdec.c: A few small clean-ups.
Tim-Philipp Müller [Fri, 2 Mar 2007 18:24:14 +0000 (18:24 +0000)]
ext/dts/gstdtsdec.c: A few small clean-ups.

Original commit message from CVS:
* ext/dts/gstdtsdec.c: (gst_dtsdec_init), (gst_dtsdec_sink_event):
A few small clean-ups.
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps):
More debug output for failure cases.

17 years agoext/dts/gstdtsdec.c: Don't do forced downmixing to stereo, but check what downstream...
Young-Ho Cha [Fri, 2 Mar 2007 18:10:06 +0000 (18:10 +0000)]
ext/dts/gstdtsdec.c: Don't do forced downmixing to stereo, but check what downstream can do and let libdts do the dow...

Original commit message from CVS:
Patch by: Young-Ho Cha  <ganadist at chollian net>
* ext/dts/gstdtsdec.c: (gst_dtsdec_handle_frame),
(gst_dtsdec_change_state):
Don't do forced downmixing to stereo, but check what downstream
can do and let libdts do the downmixing based on that (#400555).

17 years agoRemove spurious conflict marker
Jan Schmidt [Fri, 2 Mar 2007 13:33:39 +0000 (13:33 +0000)]
Remove spurious conflict marker

Original commit message from CVS:

Remove spurious conflict marker

17 years agoext/neon/gstneonhttpsrc.*: Simplify _set_uri() and _set_proxy() and remove the unused...
Lutz Mueller [Fri, 2 Mar 2007 12:04:02 +0000 (12:04 +0000)]
ext/neon/gstneonhttpsrc.*: Simplify _set_uri() and _set_proxy() and remove the unused ishttp member (#388050).

Original commit message from CVS:
Patch by: Lutz Mueller  <lutz topfrose de>
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init),
(gst_neonhttp_src_init), (gst_neonhttp_src_set_property),
(gst_neonhttp_src_set_uri), (gst_neonhttp_src_set_proxy),
(gst_neonhttp_src_send_request_and_redirect),
(gst_neonhttp_src_uri_set_uri):
* ext/neon/gstneonhttpsrc.h:
Simplify _set_uri() and _set_proxy() and remove the unused ishttp
member (#388050).
* tests/check/elements/neonhttpsrc.c: (GST_START_TEST):
Fix bogus URI to something that actually exists, otherwise we just
bypass the test (and also to something that doesn't redirect, since
neonhttpsrc doesn't seem to handle this very gracefully yet)

17 years agoAdd patch from Bug 357055 from Chris Lord, adding support for Vorbis streams
Christian Schaller [Fri, 2 Mar 2007 11:14:33 +0000 (11:14 +0000)]
Add patch from Bug 357055 from Chris Lord, adding support for Vorbis streams

Original commit message from CVS:
Add patch from Bug 357055 from Chris Lord, adding support for Vorbis streams

17 years agotests/check/Makefile.am: Draw plugins in from the build tree sys/ dir, rather than...
Jan Schmidt [Thu, 1 Mar 2007 17:27:34 +0000 (17:27 +0000)]
tests/check/Makefile.am: Draw plugins in from the build tree sys/ dir, rather than picking up the already installed v...

Original commit message from CVS:
* tests/check/Makefile.am:
Draw plugins in from the build tree sys/ dir, rather than
picking up the already installed versions.

17 years agoconfigure.ac: Convert to new AG_GST style.
Thomas Vander Stichele [Wed, 28 Feb 2007 19:31:12 +0000 (19:31 +0000)]
configure.ac: Convert to new AG_GST style.

Original commit message from CVS:
* configure.ac:
Convert to new AG_GST style.

17 years agoupdate copyright statements
Christian Schaller [Tue, 27 Feb 2007 12:02:03 +0000 (12:02 +0000)]
update copyright statements

Original commit message from CVS:
update copyright statements

17 years agosys/osxvideo/: Disable the cocoa event loop since it's a huge memory leak. Should...
Edward Hervey [Tue, 27 Feb 2007 11:30:19 +0000 (11:30 +0000)]
sys/osxvideo/: Disable the cocoa event loop since it's a huge memory leak. Should only matter if the sink isn't used ...

Original commit message from CVS:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Disable the cocoa event loop since it's a huge memory leak. Should only
matter if the sink isn't used within an NSApp (which has already got
a coca event loop).
Remove all unused code.

17 years agoAdd a new plugin/library to make it easy for apps to shove data into a pipeline.
David Schleef [Mon, 26 Feb 2007 21:01:03 +0000 (21:01 +0000)]
Add a new plugin/library to make it easy for apps to shove data into a pipeline.

Original commit message from CVS:
* configure.ac:
* gst/app/Makefile.am:
* gst/app/gstapp.c:
* gst/app/gstappsrc.c:
* gst/app/gstappsrc.h:
Add a new plugin/library to make it easy for apps to shove
data into a pipeline.

17 years agogst/real/: Use gst_pad_use_fixed_caps() on source pads, to avoid negotiation errors...
Tim-Philipp Müller [Mon, 26 Feb 2007 10:32:30 +0000 (10:32 +0000)]
gst/real/: Use gst_pad_use_fixed_caps() on source pads, to avoid negotiation errors in certain situations (e.g. dec !...

Original commit message from CVS:
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_init):
* gst/real/gstrealvideodec.c: (gst_real_video_dec_init):
Use gst_pad_use_fixed_caps() on source pads, to avoid negotiation
errors in certain situations (e.g. dec ! cs ! ximagesink and the
imagesink window is resized); also, some minor clean-ups.

17 years agoFix build with LDFLAGS='-Wl,-z,defs'.
Tim-Philipp Müller [Sat, 24 Feb 2007 22:52:48 +0000 (22:52 +0000)]
Fix build with LDFLAGS='-Wl,-z,defs'.

Original commit message from CVS:
* configure.ac:
* ext/gsm/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/wavpack/Makefile.am:
* gst/equalizer/Makefile.am:
* gst/filter/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/replaygain/Makefile.am:
* gst/speed/Makefile.am:
Fix build with LDFLAGS='-Wl,-z,defs'.

17 years agosys/directsound/gstdirectsoundsink.*: Remove include of unused headers.
Sébastien Moutte [Tue, 20 Feb 2007 21:34:00 +0000 (21:34 +0000)]
sys/directsound/gstdirectsoundsink.*: Remove include of unused headers.

Original commit message from CVS:
* sys/directsound/gstdirectsoundsink.c:
* sys/directsound/gstdirectsoundsink.h:
Remove include of unused headers.
* sys/waveform/gstwaveformplugin.c:
* sys/waveform/gstwaveformsink.c:
* sys/waveform/gstwaveformsink.h:
* win32/vs6/libgstwaveform.dsp:
Add a new waveform plugin which includes an audio sink
element using the WaveForm win32 API.
* win32/MANIFEST:
Add the new project file form waveform plugin.

17 years agosys/directdraw/: Prepare the plugin to move to good:
Sébastien Moutte [Sun, 18 Feb 2007 18:00:51 +0000 (18:00 +0000)]
sys/directdraw/: Prepare the plugin to move to good:

Original commit message from CVS:
* sys/directdraw/gstdirectdrawplugin.c:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Prepare the plugin to move to good:
Remove unused/untested code (rendering to an extern surface,
yuv format rendering).Use GST_(DEBUG/*)_OBJECT macros
Rename all functions from gst_directdrawsink to gst_directdraw_sink.
Add gtk doc section
Fix a bug in gst_directdraw_sink_show_frame, memcpy line by line
respecting destination surface stride.
* sys/directsound/gstdirectsoundplugin.c:
* sys/directsound/gstdirectsoundsink.c:
* sys/directsound/gstdirectsoundsink.h:
Prepare the plugin to move to good:
Rename all functions from gst_directsoundsink to gst_directsound_sink.
Add gtk doc section
* win32/common/config.h.in:
* win32/MANIFEST:
Add config.h.in

17 years agoadd equalizer plugin
Christian Schaller [Fri, 16 Feb 2007 16:26:31 +0000 (16:26 +0000)]
add equalizer plugin

Original commit message from CVS:
add equalizer plugin

17 years agoadd missing \ in Makefile.am
Christian Schaller [Tue, 13 Feb 2007 14:22:53 +0000 (14:22 +0000)]
add missing \ in Makefile.am

Original commit message from CVS:
add missing \ in Makefile.am

17 years agoAdd crossreferences to glib/gobject/gstream docs. Also fix typo in timidity.cfg check.
Stefan Kost [Tue, 13 Feb 2007 09:44:20 +0000 (09:44 +0000)]
Add crossreferences to glib/gobject/gstream docs. Also fix typo in timidity.cfg check.

Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
Add crossreferences to glib/gobject/gstream docs. Also fix typo in
timidity.cfg check.
* ext/timidity/gsttimidity.c: (plugin_init):
Also build if no config was detected at configure time.

17 years agoAdd second midi renderer. Fix some double frees and leaks. Clean up logging.
Stefan Kost [Sun, 11 Feb 2007 15:46:24 +0000 (15:46 +0000)]
Add second midi renderer. Fix some double frees and leaks. Clean up logging.

Original commit message from CVS:
* configure.ac:
* ext/timidity/Makefile.am:
* ext/timidity/gsttimidity.c: (plugin_init):
* ext/timidity/gstwildmidi.c: (gst_wildmidi_base_init),
(gst_wildmidi_class_init), (gst_wildmidi_init),
(gst_wildmidi_src_convert), (gst_wildmidi_src_query),
(gst_wildmidi_get_upstream_size), (gst_wildmidi_get_segment),
(gst_wildmidi_get_new_segment_event), (gst_wildmidi_src_event),
(gst_wildmidi_activate), (gst_wildmidi_activatepull),
(gst_wildmidi_allocate_buffer), (gst_wildmidi_clip_buffer),
(gst_wildmidi_fill_buffer), (gst_wildmidi_get_buffer),
(gst_wildmidi_loop), (gst_wildmidi_change_state),
(gst_wildmidi_set_property), (gst_wildmidi_get_property),
(gst_wildmidi_typefind), (wildmidi_open_config), (plugin_init):
* ext/timidity/gstwildmidi.h:
Add second midi renderer. Fix some double frees and leaks. Clean up
logging.

17 years agoMakefile.am: Add win32 MANIFEST
Sébastien Moutte [Sun, 11 Feb 2007 15:26:49 +0000 (15:26 +0000)]
Makefile.am: Add win32 MANIFEST

Original commit message from CVS:
* Makefile.am:
Add win32 MANIFEST
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Clear unused code and add comments.
Remove yuv from template caps, it only supports RGB
actually.
Implement XOverlay interface and remove window and fullscreen
properties.
Add debug logs.
Test for blit capabilities to return only the current colorspace if
the hardware can't blit for one colorspace to another.
* sys/directsound/gstdirectsoundsink.c:
Add some debugs.
* win32/MANIFEST:
Add VS7 project files and solution.
* win32/vs6/gst_plugins_bad.dsw:
* win32/vs6/libgstdirectdraw.dsp:
* win32/vs6/libgstdirectsound.dsp:
* win32/vs6/libgstqtdemux.dsp:
Update project files.

17 years agoext/faad/gstfaad.c: Also update the comment that describes the hack.
Stefan Kost [Sun, 11 Feb 2007 11:59:49 +0000 (11:59 +0000)]
ext/faad/gstfaad.c: Also update the comment that describes the hack.

Original commit message from CVS:
* ext/faad/gstfaad.c:
Also update the comment that describes the hack.

17 years agoconfigure.ac: Tell the code which faad it is, so that we can adjust the hacks needed.
Stefan Kost [Sun, 11 Feb 2007 11:35:47 +0000 (11:35 +0000)]
configure.ac: Tell the code which faad it is, so that we can adjust the hacks needed.

Original commit message from CVS:
* configure.ac:
Tell the code which faad it is, so that we can adjust the hacks
needed.
* ext/faad/gstfaad.c:
Make our hacks dependent on the fadd lib in use.

17 years agoconfigure.ac: Fix faad detection to support also fadd with new symbol prefix.
Stefan Kost [Sun, 11 Feb 2007 10:58:14 +0000 (10:58 +0000)]
configure.ac: Fix faad detection to support also fadd with new symbol prefix.

Original commit message from CVS:
* configure.ac:
Fix faad detection to support also fadd with new symbol prefix.
ChangeLog surgery.

17 years agoAdd timitity midi render plugin (#403992)
Wouter Paesen [Thu, 8 Feb 2007 15:00:00 +0000 (15:00 +0000)]
Add timitity midi render plugin (#403992)

Original commit message from CVS:
Patch by: Wouter Paesen <wouter@blue-gate.be>
* configure.ac:
* ext/Makefile.am:
* ext/timidity/Makefile.am:
* ext/timidity/gsttimidity.c: (gst_timidity_base_init),
(gst_timidity_class_init), (gst_timidity_init),
(gst_timidity_set_song_options), (gst_timidity_src_convert),
(gst_timidity_src_query), (gst_timidity_get_upstream_size),
(gst_timidity_get_segment), (gst_timidity_get_new_segment_event),
(gst_timidity_src_event), (gst_timidity_activate),
(gst_timidity_activatepull), (gst_timidity_allocate_buffer),
(gst_timidity_clip_buffer), (gst_timidity_fill_buffer),
(gst_timidity_get_buffer), (gst_timidity_loop),
(gst_timidity_change_state), (gst_timidity_typefind),
(plugin_init):
* ext/timidity/gsttimidity.h:
Add timitity midi render plugin (#403992)

17 years agoext/amrwb/gstamrwbparse.c: GST_PAD_PARENT doesn't return a GstObject with an incremen...
Edward Hervey [Wed, 7 Feb 2007 12:29:03 +0000 (12:29 +0000)]
ext/amrwb/gstamrwbparse.c: GST_PAD_PARENT doesn't return a GstObject with an incremented refcount.

Original commit message from CVS:
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_query):
GST_PAD_PARENT doesn't return a GstObject with an incremented refcount.
Switched to using gst_pad_get_parent().

17 years agogst/modplug/gstmodplug.cc: Remove superfluous gst_caps_get_structure() call.
Tim-Philipp Müller [Tue, 6 Feb 2007 16:00:37 +0000 (16:00 +0000)]
gst/modplug/gstmodplug.cc: Remove superfluous gst_caps_get_structure() call.

Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
Remove superfluous gst_caps_get_structure() call.

17 years agoconfigure.ac: Increase required libsndfile version to a version that's known to have...
Tim-Philipp Müller [Tue, 6 Feb 2007 10:16:52 +0000 (10:16 +0000)]
configure.ac: Increase required libsndfile version to a version that's known to have the function sf_write_sync() to ...

Original commit message from CVS:
* configure.ac:
Increase required libsndfile version to a version that's known to
have the function sf_write_sync() to make the build bots happy.

17 years agoext/sndfile/gstsfsrc.c: Fix build (installed setup).
Tim-Philipp Müller [Tue, 6 Feb 2007 09:39:16 +0000 (09:39 +0000)]
ext/sndfile/gstsfsrc.c: Fix build (installed setup).

Original commit message from CVS:
* ext/sndfile/gstsfsrc.c:
Fix build (installed setup).

17 years agoext/sndfile/: Port sfsrc to 0.10, pull or push, with random access woo.
Andy Wingo [Mon, 5 Feb 2007 18:42:45 +0000 (18:42 +0000)]
ext/sndfile/: Port sfsrc to 0.10, pull or push, with random access woo.

Original commit message from CVS:
2007-02-05  Andy Wingo  <wingo@pobox.com>

* ext/sndfile/Makefile.am:
* ext/sndfile/gstsfsrc.h:
* ext/sndfile/gstsfsrc.c: Port sfsrc to 0.10, pull or push, with
random access woo.

17 years agoFix up to use the newly ported (actually working) GstAudioFilter.
Tim-Philipp Müller [Sat, 3 Feb 2007 23:35:26 +0000 (23:35 +0000)]
Fix up to use the newly ported (actually working) GstAudioFilter.

Original commit message from CVS:
* configure.ac:
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init),
(gst_iir_equalizer_class_init), (gst_iir_equalizer_init),
(setup_filter), (gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_set_property), (gst_iir_equalizer_get_property),
(gst_iir_equalizer_transform_ip), (gst_iir_equalizer_setup),
(plugin_init):
* gst/equalizer/gstiirequalizer.h:
Fix up to use the newly ported (actually working) GstAudioFilter.
Bump core/base requirements to CVS for this.
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/equalizer-test.c: (check_bus),
(equalizer_set_band_value), (equalizer_set_all_band_values),
(equalizer_set_band_value_and_wait),
(equalizer_set_all_band_values_and_wait), (do_slider_fiddling),
(main):
Add brain-dead interactive test for equalizer.

17 years agogst/equalizer/gstiirequalizer.c: Rename "values" property to "band-values" and change...
Tim-Philipp Müller [Fri, 2 Feb 2007 18:36:28 +0000 (18:36 +0000)]
gst/equalizer/gstiirequalizer.c: Rename "values" property to "band-values" and change type into a

Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_class_init),
(gst_iir_equalizer_set_property), (gst_iir_equalizer_get_property),
(gst_iir_equalizer_filter_inplace):
Rename "values" property to "band-values" and change type into a
GValueArray, so it's more easily bindable and the range of the
values passed in is defined and checked etc.; also do some
locking.

17 years agoPort equalizer plugin to 0.10 (#403572).
James Doc Livingston [Fri, 2 Feb 2007 17:39:21 +0000 (17:39 +0000)]
Port equalizer plugin to 0.10 (#403572).

Original commit message from CVS:
Patch by: James "Doc" Livingston  <doclivingston at gmail com>
* configure.ac:
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_get_type),
(gst_iir_equalizer_base_init), (gst_iir_equalizer_class_init),
(gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_set_property),
(gst_iir_equalizer_filter_inplace), (gst_iir_equalizer_setup),
(plugin_init):
Port equalizer plugin to 0.10 (#403572).

17 years agoconfigure.ac: ext/Makefile.am
Andy Wingo [Fri, 2 Feb 2007 13:28:05 +0000 (13:28 +0000)]
configure.ac: ext/Makefile.am

Original commit message from CVS:
2007-02-02  Andy Wingo  <wingo@pobox.com>

* configure.ac:
* ext/Makefile.am
* ext/sndfile/Makefile.am:
* ext/sndfile/gstsf.c:
* ext/sndfile/gstsf.h:
* ext/sndfile/gstsfsink.c:
* ext/sndfile/gstsfsink.h: Port sfsink to 0.10. Works in pull or
push mode with interleaved float or int data.

17 years agoext/alsaspdif/alsaspdifsink.c: Set rank to NONE so that it doesn't get autoplugged...
Tim-Philipp Müller [Fri, 2 Feb 2007 11:09:50 +0000 (11:09 +0000)]
ext/alsaspdif/alsaspdifsink.c: Set rank to NONE so that it doesn't get autoplugged by autoaudiosink (which didn't hap...

Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.c: (plugin_init):
Set rank to NONE so that it doesn't get autoplugged by autoaudiosink
(which didn't happen previously because the klass string didn't
contain anything autoaudiosink was looking for).

17 years agogst/real/: Fix classification in GstElementDetails.
Stefan Kost [Wed, 31 Jan 2007 10:02:05 +0000 (10:02 +0000)]
gst/real/: Fix classification in GstElementDetails.

Original commit message from CVS:
* gst/real/gstrealaudiodec.c:
* gst/real/gstrealvideodec.c:
Fix classification in GstElementDetails.

17 years agoext/wavpack/gstwavpackparse.c: Fix a off by one that leads to the duration reported...
Sebastian Dröge [Wed, 31 Jan 2007 08:32:59 +0000 (08:32 +0000)]
ext/wavpack/gstwavpackparse.c: Fix a off by one that leads to the duration reported as one sample less than it is

Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_src_query),
(gst_wavpack_parse_handle_seek_event),
(gst_wavpack_parse_create_src_pad):
Fix a off by one that leads to the duration reported as one
sample less than it is

17 years agoFix classification in GstElementDetails.
Stefan Kost [Wed, 31 Jan 2007 08:16:59 +0000 (08:16 +0000)]
Fix classification in GstElementDetails.

Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.c:
* gst/nsf/gstnsf.c:
Fix classification in GstElementDetails.
* ext/ladspa/gstladspa.c: (gst_ladspa_base_init),
(gst_ladspa_class_init):
Improve Klassification and reduce code slighly.

17 years agoconfigure.ac: Check for an Objective C compiler
Edward Hervey [Tue, 30 Jan 2007 17:19:33 +0000 (17:19 +0000)]
configure.ac: Check for an Objective C compiler

Original commit message from CVS:
* configure.ac:
Check for an Objective C compiler
* sys/Makefile.am:
* sys/osxvideo/Makefile.am:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Port of osxvideo plugin to 0.10. Do NOT consider 100% stable !
Fixes #402470

17 years agoupdate spec file
Christian Schaller [Mon, 29 Jan 2007 20:51:02 +0000 (20:51 +0000)]
update spec file

Original commit message from CVS:
update spec file

17 years agogst/videocrop/gstvideocrop.c: Fix cropping for packed 4:2:2 formats YUYV/YUY2 and...
Tim-Philipp Müller [Sun, 28 Jan 2007 18:28:33 +0000 (18:28 +0000)]
gst/videocrop/gstvideocrop.c: Fix cropping for packed 4:2:2 formats YUYV/YUY2 and UYVY.

Original commit message from CVS:
* gst/videocrop/gstvideocrop.c:
(gst_video_crop_get_image_details_from_caps),
(gst_video_crop_transform_packed_complex):
Fix cropping for packed 4:2:2 formats YUYV/YUY2 and UYVY.
* tests/icles/videocrop-test.c: (check_bus_for_errors),
(test_with_caps), (main):
Block streaming thread before changing filter caps while the
pipeline is running so that we don't get random not-negotiated
errors just because GStreamer can't handle that yet.

17 years agoext/ladspa/: add GstController support to ladspa
Stefan Kost [Sun, 28 Jan 2007 17:35:13 +0000 (17:35 +0000)]
ext/ladspa/: add GstController support to ladspa

Original commit message from CVS:
* ext/ladspa/Makefile.am:
* ext/ladspa/gstladspa.c: (gst_ladspa_class_get_param_spec):
add GstController support to ladspa

17 years agoext/mythtv/gstmythtvsrc.c: Remove sleep calls, they've been moved into the library...
Rosfran Borges [Sun, 28 Jan 2007 13:01:02 +0000 (13:01 +0000)]
ext/mythtv/gstmythtvsrc.c: Remove sleep calls, they've been moved into the library now ... (#354451).

Original commit message from CVS:
Patch by: Rosfran Borges <rosfran dot borges at idnt org br>
* ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_start),
(gst_mythtv_src_next_program_chain):
Remove sleep calls, they've been moved into the library now ...
(#354451).

17 years agotests/icles/videocrop-test.c: Catch errors while the test is running.
Tim-Philipp Müller [Sat, 27 Jan 2007 16:08:15 +0000 (16:08 +0000)]
tests/icles/videocrop-test.c: Catch errors while the test is running.

Original commit message from CVS:
* tests/icles/videocrop-test.c: (test_with_caps):
Catch errors while the test is running.

17 years agoext/wavpack/gstwavpackparse.c: Fix the SEEKING query. We can seek if we are in pull...
Sebastian Dröge [Thu, 25 Jan 2007 23:27:59 +0000 (23:27 +0000)]
ext/wavpack/gstwavpackparse.c: Fix the SEEKING query. We can seek if we are in pull mode, not the other way around. A...

Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_src_query):
Fix the SEEKING query. We can seek if we are in pull mode, not the
other way around. Also set the correct format in the seeking query and
handle the case where the headers are not read yet and we can't say
anything about our seeking capabilities.

17 years agoext/wavpack/: Fix spelling in 2 places: It's called Wavpack, not WavePack.
Sebastian Dröge [Thu, 25 Jan 2007 21:55:49 +0000 (21:55 +0000)]
ext/wavpack/: Fix spelling in 2 places: It's called Wavpack, not WavePack.

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
Fix spelling in 2 places: It's called Wavpack, not WavePack.

17 years agogst/: Use proper print statements.
Edward Hervey [Thu, 25 Jan 2007 12:05:11 +0000 (12:05 +0000)]
gst/: Use proper print statements.

Original commit message from CVS:
* gst/multifile/gstmultifilesink.c:
(gst_multi_file_sink_class_init):
* gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_class_init):
* gst/mve/gstmvedemux.c: (gst_mve_video_create_buffer),
(gst_mve_video_palette), (gst_mve_video_code_map),
(gst_mve_audio_init), (gst_mve_audio_data), (gst_mve_timer_create),
(gst_mve_demux_chain):
* gst/mve/gstmvemux.c: (gst_mve_mux_push_chunk):
* gst/mve/mveaudioenc.c: (mve_compress_audio):
* gst/mve/mvevideodec16.c: (ipvideo_copy_block):
* gst/mve/mvevideodec8.c: (ipvideo_copy_block):
* gst/mve/mvevideoenc16.c: (mve_encode_frame16):
* gst/mve/mvevideoenc8.c: (mve_encode_frame8):
Use proper print statements.
Fixes build on mac os x.
<wingo> oo look at me my name is edward i'm hacking on macos wooo