platform/upstream/gstreamer.git
17 years agowin32/MANIFEST: Add new project files to MANIFEST.
Sébastien Moutte [Sat, 10 Mar 2007 16:07:31 +0000 (16:07 +0000)]
win32/MANIFEST: Add new project files to MANIFEST.

Original commit message from CVS:
* win32/MANIFEST:
Add new project files to MANIFEST.
* win32/vs6/libgstaudiofx.dsp:
* win32/vs6/libgstrtp.dsp:
* win32/vs6/libgstrtsp.dsp:
Update project files.

17 years agoPrintf format fixes; also add some missing quotes in translated strings. Fixes #41672...
Tim-Philipp Müller [Sat, 10 Mar 2007 12:30:48 +0000 (12:30 +0000)]
Printf format fixes; also add some missing quotes in translated strings. Fixes #416728 and #416727.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_subindex),
(gst_avi_demux_parse_index):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_grab_frame):
Printf format fixes; also add some missing quotes in translated
strings. Fixes #416728 and #416727.

17 years agogst/autodetect/gstautoaudiosink.c: Tim and I can't think of any reason the child...
Jan Schmidt [Fri, 9 Mar 2007 20:12:08 +0000 (20:12 +0000)]
gst/autodetect/gstautoaudiosink.c: Tim and I can't think of any reason the child audio sink needs to be set back to N...

Original commit message from CVS:
* gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_find_best):
Tim and I can't think of any reason the child audio sink needs to
be set back to NULL after successfully determining that it can
reach READY - it gets immediately set back to READY by the caller
anyway, causing an unnecessary close/open of any audio devices
involved.

17 years agopo/: Add ja.po file from #377306.
Tim-Philipp Müller [Fri, 9 Mar 2007 19:51:27 +0000 (19:51 +0000)]
po/: Add ja.po file from #377306.

Original commit message from CVS:
* po/LINGUAS:
* po/ja.po:
Add ja.po file from #377306.

17 years agosys/sunaudio/: Actually translate sunaudio mixer track labels instead of just marking...
Tim-Philipp Müller [Fri, 9 Mar 2007 19:44:30 +0000 (19:44 +0000)]
sys/sunaudio/: Actually translate sunaudio mixer track labels instead of just marking the strings as translatable (#3...

Original commit message from CVS:
* sys/sunaudio/gstsunaudio.c: (plugin_init):
* sys/sunaudio/gstsunaudiomixertrack.c:
(gst_sunaudiomixer_track_new):
Actually translate sunaudio mixer track labels instead of just
marking the strings as translatable (#377306); clean up weird
label string mapping code that serves no apparent purpose. Also
set the 'untranslated-label' property when creating mixer tracks
if the GstMixerTrack base class supports this.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/sunaudio.c: (GST_START_TEST),
(sunaudio_suite):
Very minimalistic unit test for sunaudiomixer element (compiles, but not
actually tested on a system where sunaudiomixer is available).

17 years agotests/check/Makefile.am: Re-enable the states test and see if it works on the buildbots.
Jan Schmidt [Fri, 9 Mar 2007 18:49:37 +0000 (18:49 +0000)]
tests/check/Makefile.am: Re-enable the states test and see if it works on the buildbots.

Original commit message from CVS:
* tests/check/Makefile.am:
Re-enable the states test and see if it works on the buildbots.

17 years agoext/dv/gstdvdec.*: Infer pixel-aspect-ratio from the video frame format if it isn...
Wim Taymans [Fri, 9 Mar 2007 17:32:32 +0000 (17:32 +0000)]
ext/dv/gstdvdec.*: Infer pixel-aspect-ratio from the video frame format if it isn't provided by the container, as hap...

Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_sink_setcaps),
(gst_dvdec_src_negotiate), (gst_dvdec_chain),
(gst_dvdec_change_state):
* ext/dv/gstdvdec.h:
Infer pixel-aspect-ratio from the video frame format if it isn't
provided by the container, as happens when playing DV from AVI
or Quicktime containers.
Patch by: Wim Taymans <wim@fluendo.com>
Fixes #380944

17 years agogst/rtsp/gstrtspsrc.c: When activated, remove the udpsrc timeout, we have dataflow...
Wim Taymans [Fri, 9 Mar 2007 17:05:17 +0000 (17:05 +0000)]
gst/rtsp/gstrtspsrc.c: When activated, remove the udpsrc timeout, we have dataflow and timeouts will later be handled...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_activate_streams):
When activated, remove the udpsrc timeout, we have dataflow and timeouts
will later be handled by the jitterbuffer.

17 years agoext/taglib/gstid3v2mux.cc: Add write support for GST_TAG_MUSICBRAINZ_SORTNAME (TSOP...
Wim Taymans [Fri, 9 Mar 2007 16:53:39 +0000 (16:53 +0000)]
ext/taglib/gstid3v2mux.cc: Add write support for GST_TAG_MUSICBRAINZ_SORTNAME (TSOP) tag.

Original commit message from CVS:
* ext/taglib/gstid3v2mux.cc:
Add write support for GST_TAG_MUSICBRAINZ_SORTNAME (TSOP) tag.
Fixes #414496.

17 years agogst/avi/gstavidemux.c: Fix stream position reporting after a seek. Fixes #416445.
Wim Taymans [Fri, 9 Mar 2007 15:04:45 +0000 (15:04 +0000)]
gst/avi/gstavidemux.c: Fix stream position reporting after a seek. Fixes #416445.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
(gst_avi_demux_push_event), (gst_avi_demux_do_seek),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
(gst_avi_demux_chain):
Fix stream position reporting after a seek. Fixes #416445.

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 agogst/avi/gstavidemux.c: Make avidemux accept optional header chunks in any order.
René Stadler [Thu, 8 Mar 2007 16:01:42 +0000 (16:01 +0000)]
gst/avi/gstavidemux.c: Make avidemux accept optional header chunks in any order.

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
(gst_avi_demux_push_event), (gst_avi_demux_process_next_entry),
(gst_avi_demux_stream_data), (gst_avi_demux_chain):
Make avidemux accept optional header chunks in any order.
Fixes #415446.

17 years agotests/check/Makefile.am: Disable the states check until the remaining Valgrind errors...
Jan Schmidt [Thu, 8 Mar 2007 12:23:57 +0000 (12:23 +0000)]
tests/check/Makefile.am: Disable the states check until the remaining Valgrind errors are fixed or suppressed.

Original commit message from CVS:
* tests/check/Makefile.am:
Disable the states check until the remaining Valgrind errors
are fixed or suppressed.

17 years agotests/check/elements/.cvsignore: Add audiodynamic check to .cvsignore
Sebastian Dröge [Thu, 8 Mar 2007 10:24:43 +0000 (10:24 +0000)]
tests/check/elements/.cvsignore: Add audiodynamic check to .cvsignore

Original commit message from CVS:
* tests/check/elements/.cvsignore:
Add audiodynamic check to .cvsignore

17 years agogst/audiofx/: Add new audiodynamic element which can act as a compressor or expander...
Sebastian Dröge [Thu, 8 Mar 2007 10:02:12 +0000 (10:02 +0000)]
gst/audiofx/: Add new audiodynamic element which can act as a compressor or expander. Supported are hard-knee and sof...

Original commit message from CVS:
reviewed by: Stefan Kost  <ensonic@users.sf.net>
* gst/audiofx/Makefile.am:
* gst/audiofx/audiodynamic.c:
(gst_audio_dynamic_characteristics_get_type),
(gst_audio_dynamic_mode_get_type),
(gst_audio_dynamic_set_process_function),
(gst_audio_dynamic_base_init), (gst_audio_dynamic_class_init),
(gst_audio_dynamic_init), (gst_audio_dynamic_set_property),
(gst_audio_dynamic_get_property), (gst_audio_dynamic_setup),
(gst_audio_dynamic_transform_hard_knee_compressor_int),
(gst_audio_dynamic_transform_hard_knee_compressor_float),
(gst_audio_dynamic_transform_soft_knee_compressor_int),
(gst_audio_dynamic_transform_soft_knee_compressor_float),
(gst_audio_dynamic_transform_hard_knee_expander_int),
(gst_audio_dynamic_transform_hard_knee_expander_float),
(gst_audio_dynamic_transform_soft_knee_expander_int),
(gst_audio_dynamic_transform_soft_knee_expander_float),
(gst_audio_dynamic_transform_ip):
* gst/audiofx/audiodynamic.h:
* gst/audiofx/audiofx.c: (plugin_init):
Add new audiodynamic element which can act as a compressor or
expander. Supported are hard-knee and soft-knee operation modes with
user-specified ratio and threshold.
Attack and release parameters are not yet implemented but will follow.
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/inspect/plugin-audiofx.xml:
Integrate audiodynamic into the docs.
* tests/check/Makefile.am:
* tests/check/elements/audiodynamic.c: (setup_dynamic),
(cleanup_dynamic), (GST_START_TEST), (dynamic_suite), (main):
Add unit test for audiodynamic.

17 years agoext/raw1394/gstdv1394src.c: Free handles that we allocated when exiting via the error...
Jan Schmidt [Wed, 7 Mar 2007 19:48:03 +0000 (19:48 +0000)]
ext/raw1394/gstdv1394src.c: Free handles that we allocated when exiting via the error paths.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_start):
Free handles that we allocated when exiting via the error paths.

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/level/gstlevel.*: Resolve message timestamps against the playback segment.
Stefan Kost [Wed, 7 Mar 2007 11:24:05 +0000 (11:24 +0000)]
gst/level/gstlevel.*: Resolve message timestamps against the playback segment.

Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_class_init),
(gst_level_set_caps), (gst_level_start), (gst_level_event),
(gst_level_transform_ip):
* gst/level/gstlevel.h:
Resolve message timestamps against the playback segment.

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 agoFix ChangeLog message
Tim-Philipp Müller [Tue, 6 Mar 2007 23:21:41 +0000 (23:21 +0000)]
Fix ChangeLog message

Original commit message from CVS:
Fix ChangeLog message

17 years agogst/id3demux/gstid3demux.c: Don't leak caps: make gst_id3demux_add_srcpad() not take...
Tim-Philipp Müller [Tue, 6 Mar 2007 23:19:30 +0000 (23:19 +0000)]
gst/id3demux/gstid3demux.c: Don't leak caps: make gst_id3demux_add_srcpad() not take ownership of the caps passed to ...

Original commit message from CVS:
* gst/id3demux/gstid3demux.c: (gst_id3demux_add_srcpad),
(gst_id3demux_sink_activate):
Don't leak caps: make gst_id3demux_add_srcpad() not take ownership of the
caps passed to it (previouslly one code path assumes it takes ownership
while another one assumes it doesn't).
* configure.ac:
* tests/files/Makefile.am:
* tests/files/id3-407349-1.tag:
* tests/files/id3-407349-2.tag:
Add directory where data for unit tests can be stored.
* tests/Makefile.am:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/id3demux.c: (pad_added_cb), (error_cb),
(read_tags_from_file), (run_check_for_file),
(check_date_1977_06_23), (GST_START_TEST), (id3demux_suite):
Add unit test for id3demux, and in particular for bug #407349. Only
testing pull-mode for now; push mode doesn't work yet because the test
files are smaller than ID3_TYPE_FIND_MIN_SIZE.

17 years agotests/check/Makefile.am: Add missing backslash at end of line.
Tim-Philipp Müller [Tue, 6 Mar 2007 22:14:59 +0000 (22:14 +0000)]
tests/check/Makefile.am: Add missing backslash at end of line.

Original commit message from CVS:
* tests/check/Makefile.am:
Add missing backslash at end of line.

17 years agoTrigger rebuild.
Jan Schmidt [Tue, 6 Mar 2007 18:36:09 +0000 (18:36 +0000)]
Trigger rebuild.

Original commit message from CVS:
Trigger rebuild.

17 years agogst/id3demux/: Do not convert obsolete TDA/TDAT frames to TDRC frames, otherwise...
Tim-Philipp Müller [Tue, 6 Mar 2007 18:16:49 +0000 (18:16 +0000)]
gst/id3demux/: Do not convert obsolete TDA/TDAT frames to TDRC frames, otherwise the four-digit number will be interp...

Original commit message from CVS:
* gst/id3demux/id3tags.c: (id3demux_id3v2_frames_to_tag_list):
* gst/id3demux/id3tags.h:
* gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame),
(parse_obsolete_tdat_frame):
Do not convert obsolete TDA/TDAT frames to TDRC frames, otherwise
the four-digit number will be interpreted as a year, whereas it is
month and day in DDMM format. Instead, parse TDAT frames and fix up
the date in the GST_TAG_DATE tag later if we also extracted a year.
Fixes #407349.

17 years agoext/gconf/gstswitchsink.c: Fix up the dispose logic so it doesn't leak, and fix setti...
Jan Schmidt [Tue, 6 Mar 2007 14:53:04 +0000 (14:53 +0000)]
ext/gconf/gstswitchsink.c: Fix up the dispose logic so it doesn't leak, and fix setting of the child state so that we...

Original commit message from CVS:
* ext/gconf/gstswitchsink.c: (gst_switch_sink_dispose),
(gst_switch_commit_new_kid):
Fix up the dispose logic so it doesn't leak, and fix setting of
the child state so that we don't set a child to our current state
just as we are changing it to something else.

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/goom/gstgoom.*: Document, fix and improve goom adapter behaviour.
Wim Taymans [Tue, 6 Mar 2007 13:21:23 +0000 (13:21 +0000)]
gst/goom/gstgoom.*: Document, fix and improve goom adapter behaviour.

Original commit message from CVS:
* gst/goom/gstgoom.c: (gst_goom_src_setcaps), (get_buffer),
(gst_goom_chain):
* gst/goom/gstgoom.h:
Document, fix and improve goom adapter behaviour.
Fixes #407006.

17 years agoext/esd/esdsink.c: Unref static pad template after using it.
Jan Schmidt [Mon, 5 Mar 2007 18:43:29 +0000 (18:43 +0000)]
ext/esd/esdsink.c: Unref static pad template after using it.

Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_open):
Unref static pad template after using it.

17 years agoext/gconf/gstswitchsink.c: Fix up the reference counting of the child elements.
Jan Schmidt [Mon, 5 Mar 2007 17:17:04 +0000 (17:17 +0000)]
ext/gconf/gstswitchsink.c: Fix up the reference counting of the child elements.

Original commit message from CVS:
* ext/gconf/gstswitchsink.c: (gst_switch_sink_dispose),
(gst_switch_commit_new_kid):
Fix up the reference counting of the child elements.

17 years agogst/rtp/: Fix encoding-name case.
Wim Taymans [Mon, 5 Mar 2007 17:08:32 +0000 (17:08 +0000)]
gst/rtp/: Fix encoding-name case.

Original commit message from CVS:
* gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_setcaps):
* gst/rtp/gstrtptheorapay.c: (gst_rtp_theora_pay_finish_headers):
* gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_finish_headers):
Fix encoding-name case.

17 years agogst/rtp/: Fix speex (de)payloader. Fixes #358040.
Wim Taymans [Mon, 5 Mar 2007 16:39:29 +0000 (16:39 +0000)]
gst/rtp/: Fix speex (de)payloader. Fixes #358040.

Original commit message from CVS:
* gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_class_init),
(gst_rtp_speex_depay_get_mode), (gst_rtp_speex_depay_setcaps),
(gst_rtp_speex_depay_process):
* gst/rtp/gstrtpspeexpay.c: (gst_rtp_speex_pay_base_init),
(gst_rtp_speex_pay_class_init), (gst_rtp_speex_pay_setcaps),
(gst_rtp_speex_pay_parse_ident), (gst_rtp_speex_pay_handle_buffer),
(gst_rtp_speex_pay_change_state):
* gst/rtp/gstrtpspeexpay.h:
Fix speex (de)payloader. Fixes #358040.

17 years agoext/gconf/gstswitchsink.c: Install fakesink in NULL by fixing some broken logic....
Jan Schmidt [Mon, 5 Mar 2007 15:42:58 +0000 (15:42 +0000)]
ext/gconf/gstswitchsink.c: Install fakesink in NULL by fixing some broken logic. This obviates the need to manually s...

Original commit message from CVS:
* ext/gconf/gstswitchsink.c: (gst_switch_sink_reset),
(gst_switch_commit_new_kid), (gst_switch_sink_set_child):
Install fakesink in NULL by fixing some broken logic. This obviates
the need to manually set _IS_SINK.
Add some comments and remove a little cruft while I'm at it.

17 years agoext/gconf/gstswitchsink.c: Mark us as a sink when we have no fakesink in NULL. Fixes...
Wim Taymans [Mon, 5 Mar 2007 14:46:43 +0000 (14:46 +0000)]
ext/gconf/gstswitchsink.c: Mark us as a sink when we have no fakesink in NULL. Fixes #414887.

Original commit message from CVS:
* ext/gconf/gstswitchsink.c: (gst_switch_sink_reset):
Mark us as a sink when we have no fakesink in NULL. Fixes #414887.

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 agopo/POTFILES.in: Update.
Tim-Philipp Müller [Sun, 4 Mar 2007 18:52:12 +0000 (18:52 +0000)]
po/POTFILES.in: Update.

Original commit message from CVS:
* po/POTFILES.in:
Update.

17 years agotests/check/Makefile.am: Gah! Also disable gconfvideosink from the tests, otherwise...
Jan Schmidt [Sun, 4 Mar 2007 17:33:34 +0000 (17:33 +0000)]
tests/check/Makefile.am: Gah! Also disable gconfvideosink from the tests, otherwise it will instantiate autovideosink...

Original commit message from CVS:
* tests/check/Makefile.am:
Gah! Also disable gconfvideosink from the tests, otherwise
it will instantiate autovideosink, and dfbvideosink and
leak on the buildbots.

17 years agoext/cdio/gstcdiocddasrc.c: Make sure we always destroy our libcdio handle.
Jan Schmidt [Sun, 4 Mar 2007 17:13:19 +0000 (17:13 +0000)]
ext/cdio/gstcdiocddasrc.c: Make sure we always destroy our libcdio handle.

Original commit message from CVS:
* ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_open),
(gst_cdio_cdda_src_finalize):
Make sure we always destroy our libcdio handle.

17 years agotests/check/Makefile.am: Disable autovideosink so the buildbots don't barf over memor...
Jan Schmidt [Sun, 4 Mar 2007 17:05:58 +0000 (17:05 +0000)]
tests/check/Makefile.am: Disable autovideosink so the buildbots don't barf over memory leaked in the directfb sink.

Original commit message from CVS:
* tests/check/Makefile.am:
Disable autovideosink so the buildbots don't barf over memory
leaked in the directfb sink.

17 years agosys/ximage/gstximagesrc.c: Chain up in dispose
Jan Schmidt [Sun, 4 Mar 2007 15:28:30 +0000 (15:28 +0000)]
sys/ximage/gstximagesrc.c: Chain up in dispose

Original commit message from CVS:
* sys/ximage/gstximagesrc.c: (gst_ximage_src_dispose):
Chain up in dispose

17 years agogst/multipart/multipartdemux.c: Use gst_pad_new_from_static_template instead of stati...
Jan Schmidt [Sun, 4 Mar 2007 15:07:15 +0000 (15:07 +0000)]
gst/multipart/multipartdemux.c: Use gst_pad_new_from_static_template instead of static_pad_template_get+pad_new.

Original commit message from CVS:
* gst/multipart/multipartdemux.c: (gst_multipart_demux_init),
(gst_multipart_find_pad_by_mime):
Use gst_pad_new_from_static_template instead of
static_pad_template_get+pad_new.

17 years agosys/ximage/gstximagesrc.c: Catch the case where no clock has been set.
Jan Schmidt [Sun, 4 Mar 2007 14:56:53 +0000 (14:56 +0000)]
sys/ximage/gstximagesrc.c: Catch the case where no clock has been set.

Original commit message from CVS:
* sys/ximage/gstximagesrc.c: (gst_ximage_src_create):
Catch the case where no clock has been set.

17 years agoFix a bunch of leaks shown by the newly-added states test.
Jan Schmidt [Sun, 4 Mar 2007 13:52:03 +0000 (13:52 +0000)]
Fix a bunch of leaks shown by the newly-added states test.

Original commit message from CVS:
* ext/flac/gstflacenc.c: (gst_flac_enc_finalize):
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_class_init),
(gst_gconf_audio_sink_dispose), (gst_gconf_audio_sink_finalize):
* ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_base_init),
(gst_gconf_audio_src_class_init), (gst_gconf_audio_src_dispose),
(gst_gconf_audio_src_finalize), (do_toggle_element):
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init),
(gst_gconf_video_sink_class_init), (gst_gconf_video_sink_finalize),
(do_toggle_element):
* ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_base_init),
(gst_gconf_video_src_class_init), (gst_gconf_video_src_dispose),
(gst_gconf_video_src_finalize), (do_toggle_element):
* ext/gconf/gstswitchsink.c: (gst_switch_sink_class_init),
(gst_switch_sink_reset), (gst_switch_sink_set_child):
* ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init):
* ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init):
* ext/shout2/gstshout2.c: (gst_shout2send_class_init),
(gst_shout2send_init), (gst_shout2send_finalize):
* gst/debug/testplugin.c: (gst_test_class_init),
(gst_test_finalize):
* gst/flx/gstflxdec.c: (gst_flxdec_class_init),
(gst_flxdec_dispose):
* gst/multipart/multipartmux.c: (gst_multipart_mux_finalize):
* gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_finalize):
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
(gst_rtspsrc_finalize):
* gst/rtsp/rtspextwms.c: (rtsp_ext_wms_free_context):
* gst/rtsp/rtspextwms.h:
* gst/smpte/gstsmpte.c: (gst_smpte_class_init),
(gst_smpte_finalize):
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_finalize):
* gst/udp/gstudpsink.c: (gst_udpsink_class_init),
(gst_udpsink_finalize):
* gst/wavparse/gstwavparse.c: (gst_wavparse_dispose),
(gst_wavparse_sink_activate):
* sys/oss/gstosssink.c: (gst_oss_sink_finalise):
* sys/oss/gstosssrc.c: (gst_oss_src_class_init),
(gst_oss_src_finalize):
* sys/v4l2/gstv4l2object.c: (gst_v4l2_object_destroy):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_finalize):
* sys/ximage/gstximagesrc.c: (gst_ximage_src_ximage_get):
Fix a bunch of leaks shown by the newly-added states test.

17 years agoext/dv/gstdvdec.c: Use gst_pad_new_from_static_template instead of static_pad_templat...
Jan Schmidt [Sun, 4 Mar 2007 13:41:00 +0000 (13:41 +0000)]
ext/dv/gstdvdec.c: Use gst_pad_new_from_static_template instead of static_pad_template_get+pad_new.

Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_init):
Use gst_pad_new_from_static_template instead of
static_pad_template_get+pad_new.

17 years agoDon't mix tabs and spaces (#414168).
Loïc Minier [Sat, 3 Mar 2007 13:06:21 +0000 (13:06 +0000)]
Don't mix tabs and spaces (#414168).

Original commit message from CVS:
Patch by: Loïc Minier <lool+gnome at via ecp fr>
* ext/libcaca/Makefile.am:
* gst/debug/Makefile.am:
Don't mix tabs and spaces (#414168).

17 years agotests/check/generic/.cvsignore: Ignore files to please buildbot.
Stefan Kost [Fri, 2 Mar 2007 21:35:11 +0000 (21:35 +0000)]
tests/check/generic/.cvsignore: Ignore files to please buildbot.

Original commit message from CVS:
* tests/check/generic/.cvsignore:
Ignore files to please buildbot.

17 years agogst/wavparse/gstwavparse.c: Unbreak my previous commit (swapped nominator & denominat...
Stefan Kost [Fri, 2 Mar 2007 21:01:19 +0000 (21:01 +0000)]
gst/wavparse/gstwavparse.c: Unbreak my previous commit (swapped nominator & denominator). Tim, thanks for spotting.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers),
(gst_wavparse_stream_data):
Unbreak my previous commit (swapped nominator & denominator). Tim,
thanks for spotting.

17 years agoext/cdio/gstcdiocddasrc.c: Small code cleanups.
Wim Taymans [Fri, 2 Mar 2007 16:08:17 +0000 (16:08 +0000)]
ext/cdio/gstcdiocddasrc.c: Small code cleanups.

Original commit message from CVS:
* ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_probe_devices),
(gst_cdio_cdda_src_read_sector), (gst_cdio_cdda_src_open),
(gst_cdio_cdda_src_finalize):
Small code cleanups.
Don't use pad_alloc as the base class cannot deal with the error codes.

17 years agogst/udp/gstudpsrc.c: Fix doc.
Wim Taymans [Fri, 2 Mar 2007 13:40:06 +0000 (13:40 +0000)]
gst/udp/gstudpsrc.c: Fix doc.

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init),
(gst_udpsrc_create):
Fix doc.

17 years agogst/wavparse/gstwavparse.c: Handle rounding better to not drop last sample frame...
René Stadler [Fri, 2 Mar 2007 13:29:25 +0000 (13:29 +0000)]
gst/wavparse/gstwavparse.c: Handle rounding better to not drop last sample frame. Fixes #356692

Original commit message from CVS:
Patch by: René Stadler <mail@renestadler.de>
* gst/wavparse/gstwavparse.c: (uint64_ceiling_scale_int),
(gst_wavparse_perform_seek), (gst_wavparse_stream_headers),
(gst_wavparse_stream_data):
Handle rounding better to not drop last sample frame. Fixes #356692

17 years agotests/check/Makefile.am: Disable cacasink from the states check too - it also calls...
Jan Schmidt [Fri, 2 Mar 2007 13:19:57 +0000 (13:19 +0000)]
tests/check/Makefile.am: Disable cacasink from the states check too - it also calls exit(1) on us when it can't find ...

Original commit message from CVS:
* tests/check/Makefile.am:
Disable cacasink from the states check too - it also calls exit(1)
on us when it can't find a terminal to talk to.

17 years agogst/udp/gstudpsrc.*: Add support to strip proprietary headers. Fixes #350296.
Thijs Vermeir [Fri, 2 Mar 2007 12:56:13 +0000 (12:56 +0000)]
gst/udp/gstudpsrc.*: Add support to strip proprietary headers. Fixes #350296.

Original commit message from CVS:
Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>
* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init), (gst_udpsrc_init),
(gst_udpsrc_create), (gst_udpsrc_set_property),
(gst_udpsrc_get_property):
* gst/udp/gstudpsrc.h:
Add support to strip proprietary headers. Fixes #350296.

17 years agogst/rtp/gstrtpmp2tdepay.c: Fix compilation.
Wim Taymans [Fri, 2 Mar 2007 12:52:56 +0000 (12:52 +0000)]
gst/rtp/gstrtpmp2tdepay.c: Fix compilation.

Original commit message from CVS:
* gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_process):
Fix compilation.

17 years agogst/rtp/gstrtpmp2tdepay.*: Add support to strip off proprietary headers. Fixes #350278.
Thijs Vermeir [Fri, 2 Mar 2007 12:16:16 +0000 (12:16 +0000)]
gst/rtp/gstrtpmp2tdepay.*: Add support to strip off proprietary headers. Fixes #350278.

Original commit message from CVS:
Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>
* gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_class_init),
(gst_rtp_mp2t_depay_init), (gst_rtp_mp2t_depay_process),
(gst_rtp_mp2t_depay_set_property),
(gst_rtp_mp2t_depay_get_property):
* gst/rtp/gstrtpmp2tdepay.h:
Add support to strip off proprietary headers. Fixes #350278.

17 years agoext/hal/hal.c: Fix compilation.
Wim Taymans [Fri, 2 Mar 2007 11:22:35 +0000 (11:22 +0000)]
ext/hal/hal.c: Fix compilation.

Original commit message from CVS:
* ext/hal/hal.c:
Fix compilation.

17 years agosys/sunaudio/gstsunaudiosrc.*: Remove device-name from GstSunAudioSrc. Fixes #412597.
Wim Taymans [Fri, 2 Mar 2007 10:54:49 +0000 (10:54 +0000)]
sys/sunaudio/gstsunaudiosrc.*: Remove device-name from GstSunAudioSrc. Fixes #412597.

Original commit message from CVS:
* sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_class_init),
(gst_sunaudiosrc_init), (gst_sunaudiosrc_get_property),
(gst_sunaudiosrc_open):
* sys/sunaudio/gstsunaudiosrc.h:
Remove device-name from GstSunAudioSrc. Fixes #412597.

17 years agoext/hal/: Having NULL as UDI previously selected the default sink/src. Change this...
Sebastian Dröge [Thu, 1 Mar 2007 21:50:36 +0000 (21:50 +0000)]
ext/hal/: Having NULL as UDI previously selected the default sink/src. Change this back but mention it in the debug o...

Original commit message from CVS:
* ext/hal/gsthalaudiosink.c: (do_toggle_element):
* ext/hal/gsthalaudiosrc.c: (do_toggle_element):
Having NULL as UDI previously selected the default sink/src. Change
this back but mention it in the debug output.
* ext/hal/hal.c: (gst_hal_get_alsa_element),
(gst_hal_get_oss_element), (gst_hal_get_string),
(gst_hal_render_bin_from_udi), (gst_hal_get_audio_sink),
(gst_hal_get_audio_src):
* ext/hal/hal.h:
Refactor a bit, check all error conditions, greatly improve debugging
and fix some possible memory leaks. Also implement OSS support
and allow specifying an UDI that points to a real device. For this the
child device which supports ALSA (preferred) or OSS is used.
As a side effect this makes it impossible now to get a alsasink in
halaudiosrc and a alsasrc in halaudiosink.

17 years agogst/rtsp/gstrtspsrc.c: Errors from the udp sources are not fatal unless all of them...
Wim Taymans [Thu, 1 Mar 2007 18:47:28 +0000 (18:47 +0000)]
gst/rtsp/gstrtspsrc.c: Errors from the udp sources are not fatal unless all of them are in error.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (find_stream_by_channel),
(find_stream_by_udpsrc), (gst_rtspsrc_handle_message):
Errors from the udp sources are not fatal unless all of them are in
error.

17 years agotests/check/Makefile.am: Disable aasink in the states test. I suspect this is the...
Jan Schmidt [Thu, 1 Mar 2007 18:14:42 +0000 (18:14 +0000)]
tests/check/Makefile.am: Disable aasink in the states test. I suspect this is the element that is calling exit(1) whe...

Original commit message from CVS:
* tests/check/Makefile.am:
Disable aasink in the states test. I suspect this is the element that
is calling exit(1) when it can't proceed.

17 years agotests/check/Makefile.am: Draw plugins in from the build tree sys/ dir, rather than...
Jan Schmidt [Thu, 1 Mar 2007 17:26:30 +0000 (17:26 +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 agosys/ximage/gstximagesrc.c: Error out correctly when getting xcontext fails.
Zaheer Abbas Merali [Thu, 1 Mar 2007 10:44:36 +0000 (10:44 +0000)]
sys/ximage/gstximagesrc.c: Error out correctly when getting xcontext fails.

Original commit message from CVS:
2007-03-01  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/ximage/gstximagesrc.c: (gst_ximage_src_open_display):
Error out correctly when getting xcontext fails.

17 years agogst/rtsp/gstrtpdec.c: Make state change to PAUSED NO_PREROLL because that's what...
Wim Taymans [Thu, 1 Mar 2007 09:29:34 +0000 (09:29 +0000)]
gst/rtsp/gstrtpdec.c: Make state change to PAUSED NO_PREROLL because that's what it will be in the future and rtspsrc...

Original commit message from CVS:
* gst/rtsp/gstrtpdec.c: (gst_rtpdec_change_state):
Make state change to PAUSED NO_PREROLL because that's what it will be in
the future and rtspsrc relies on it.
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_transport),
(gst_rtspsrc_change_state):
Don't error out when we don't get an error from the state change
function.

17 years agoext/hal/: Check if the device UDI is set before trying to query HAL about it and...
Sebastian Dröge [Thu, 1 Mar 2007 01:48:59 +0000 (01:48 +0000)]
ext/hal/: Check if the device UDI is set before trying to query HAL about it and give a useful error message if it wa...

Original commit message from CVS:
* ext/hal/gsthalaudiosink.c: (do_toggle_element):
* ext/hal/gsthalaudiosrc.c: (do_toggle_element):
Check if the device UDI is set before trying to query HAL
about it and give a useful error message if it wasn't set.
* ext/hal/hal.c: (gst_hal_get_string):
Don't query HAL for NULL UDIs. Passing NULL as UDI to HAL
gives an assertion failure in D-Bus when running with
DBUS_FATAL_WARNINGS=1.

17 years agoupdate config to trunk
Thomas Vander Stichele [Wed, 28 Feb 2007 19:29:42 +0000 (19:29 +0000)]
update config to trunk

Original commit message from CVS:
update config to trunk

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

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

17 years agotests/check/: add test for states
Thomas Vander Stichele [Wed, 28 Feb 2007 12:59:43 +0000 (12:59 +0000)]
tests/check/: add test for states

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/generic/states.c: (GST_START_TEST), (states_suite):
add test for states

17 years agotests/check/elements/.cvsignore: Add new videofilter check to .cvsignore.
Wim Taymans [Wed, 28 Feb 2007 10:58:10 +0000 (10:58 +0000)]
tests/check/elements/.cvsignore: Add new videofilter check to .cvsignore.

Original commit message from CVS:
* tests/check/elements/.cvsignore:
Add new videofilter check to .cvsignore.

17 years agogst/avi/gstavidemux.c: Fix combined flow return. Fixes #412608.
Wim Taymans [Wed, 28 Feb 2007 10:54:55 +0000 (10:54 +0000)]
gst/avi/gstavidemux.c: Fix combined flow return. Fixes #412608.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_combine_flows),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
(gst_avi_demux_loop), (gst_avi_demux_chain):
Fix combined flow return. Fixes #412608.

17 years agogst/videofilter/Makefile.am: Dist header..
Wim Taymans [Wed, 28 Feb 2007 10:41:14 +0000 (10:41 +0000)]
gst/videofilter/Makefile.am: Dist header..

Original commit message from CVS:
* gst/videofilter/Makefile.am:
Dist header..

17 years agogst/videofilter/gstgamma.h: Add header too.
Wim Taymans [Wed, 28 Feb 2007 10:29:08 +0000 (10:29 +0000)]
gst/videofilter/gstgamma.h: Add header too.

Original commit message from CVS:
* gst/videofilter/gstgamma.h:
Add header too.

17 years agogst/videofilter/: Port gamma filter to 0.10. Fixes #412704.
Mark Nauwelaerts [Wed, 28 Feb 2007 10:17:15 +0000 (10:17 +0000)]
gst/videofilter/: Port gamma filter to 0.10. Fixes #412704.

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* gst/videofilter/Makefile.am:
* gst/videofilter/gstgamma.c: (gst_gamma_base_init),
(gst_gamma_class_init), (gst_gamma_init), (gst_gamma_set_property),
(gst_gamma_get_property), (gst_gamma_calculate_tables),
(oil_tablelookup_u8), (gst_gamma_set_caps),
(gst_gamma_planar411_ip), (gst_gamma_transform_ip), (plugin_init):
Port gamma filter to 0.10. Fixes #412704.
* tests/check/Makefile.am:
* tests/check/elements/videofilter.c: (setup_filter),
(cleanup_filter), (check_filter), (GST_START_TEST),
(videobalance_suite), (videoflip_suite), (gamma_suite), (main):
Add unit tests for videofilters.

17 years agogst/rtsp/URLS: Add another interesting test url.
Wim Taymans [Wed, 28 Feb 2007 10:06:27 +0000 (10:06 +0000)]
gst/rtsp/URLS: Add another interesting test url.

Original commit message from CVS:
* gst/rtsp/URLS:
Add another interesting test url.
* gst/rtsp/rtspmessage.c: (rtsp_message_get_header):
Don't allow getting header fields from data packets.

17 years agoext/shout2/gstshout2.*: Add a property for username.
Michael Smith [Tue, 27 Feb 2007 23:43:08 +0000 (23:43 +0000)]
ext/shout2/gstshout2.*: Add a property for username.

Original commit message from CVS:
* ext/shout2/gstshout2.c: (gst_shout2send_class_init),
(gst_shout2send_init), (gst_shout2send_start),
(gst_shout2send_set_property), (gst_shout2send_get_property):
* ext/shout2/gstshout2.h:
Add a property for username.

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 agoupdate copyright statement
Christian Schaller [Tue, 27 Feb 2007 11:59:21 +0000 (11:59 +0000)]
update copyright statement

Original commit message from CVS:
update copyright statement

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 agogst/rtsp/Makefile.am: Fix make check too.
Jan Schmidt [Mon, 26 Feb 2007 12:07:14 +0000 (12:07 +0000)]
gst/rtsp/Makefile.am: Fix make check too.

Original commit message from CVS:
* gst/rtsp/Makefile.am:
Fix make check too.

17 years agogst/rtsp/base64.*: Commit missing files for base64 encoding.
Jan Schmidt [Mon, 26 Feb 2007 10:00:28 +0000 (10:00 +0000)]
gst/rtsp/base64.*: Commit missing files for base64 encoding.

Original commit message from CVS:
* gst/rtsp/base64.c: (util_base64_encode):
* gst/rtsp/base64.h:
Commit missing files for base64 encoding.

17 years agoFix build with LDFLAGS='-Wl,-z,defs' (#410997)
Loïc Minier [Sat, 24 Feb 2007 22:57:49 +0000 (22:57 +0000)]
Fix build with LDFLAGS='-Wl,-z,defs' (#410997)

Original commit message from CVS:
Patch by: Loïc Minier <lool+gnome at via ecp fr>
* configure.ac:
* ext/annodex/Makefile.am:
* ext/jpeg/Makefile.am:
* ext/speex/Makefile.am:
* gst/alpha/Makefile.am:
* gst/cutter/Makefile.am:
* gst/debug/Makefile.am:
* gst/effectv/Makefile.am:
* gst/goom/Makefile.am:
* gst/level/Makefile.am:
* gst/smpte/Makefile.am:
* gst/videofilter/Makefile.am:
Fix build with LDFLAGS='-Wl,-z,defs' (#410997)

17 years agoFix build with LDFLAGS='-Wl,-z,defs'.
Tim-Philipp Müller [Sat, 24 Feb 2007 22:52:47 +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 agogst/rtsp/: g_base64_encode is a GLib 2.12 function. Use an equivalent taken from...
Jan Schmidt [Fri, 23 Feb 2007 19:12:52 +0000 (19:12 +0000)]
gst/rtsp/: g_base64_encode is a GLib 2.12 function. Use an equivalent taken from icecast to replace it. Relicensed fr...

Original commit message from CVS:
* gst/rtsp/Makefile.am:
* gst/rtsp/rtspconnection.c: (append_auth_header),
(rtsp_connection_send), (rtsp_connection_set_auth):
g_base64_encode is a GLib 2.12 function. Use an equivalent taken
from icecast to replace it. Relicensed from GPL courtesy of Mike
Smith.

17 years agogst/rtsp/: Implement simple Basic Authentication support so that urls like rtsp:...
Jan Schmidt [Fri, 23 Feb 2007 18:12:27 +0000 (18:12 +0000)]
gst/rtsp/: Implement simple Basic Authentication support so that urls like rtsp://user:pass@hostname/rtspstream work ...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_finalize),
(gst_rtspsrc_create_stream), (rtsp_auth_method_to_string),
(gst_rtspsrc_parse_auth_hdr), (gst_rtspsrc_setup_auth),
(gst_rtspsrc_send), (gst_rtspsrc_try_send), (gst_rtspsrc_open),
(gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause),
(gst_rtspsrc_uri_set_uri):
* gst/rtsp/gstrtspsrc.h:
* gst/rtsp/rtspconnection.c: (rtsp_connection_create),
(append_auth_header), (rtsp_connection_send),
(rtsp_connection_free), (rtsp_connection_set_auth):
* gst/rtsp/rtspconnection.h:
* gst/rtsp/rtspdefs.h:
* gst/rtsp/rtspurl.c: (rtsp_url_get_request_uri):
* gst/rtsp/rtspurl.h:
Implement simple Basic Authentication support so that urls like
rtsp://user:pass@hostname/rtspstream work on hosts that require
authentication.

17 years agoFix segfault when oppening a radio device.
Edgard Lima [Thu, 22 Feb 2007 17:53:26 +0000 (17:53 +0000)]
Fix segfault when oppening a radio device.

Original commit message from CVS:
Fix segfault when oppening a radio device.

17 years agoFix level for multi-channel case.
Stefan Kost [Thu, 22 Feb 2007 14:35:28 +0000 (14:35 +0000)]
Fix level for multi-channel case.

Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_set_caps),
(gst_level_transform_ip):
* sys/v4l2/README:
* tests/check/elements/level.c: (GST_START_TEST):
Fix level for multi-channel case.

17 years agogst/level/gstlevel.*: Use function pointer for process function and add process funct...
Stefan Kost [Wed, 21 Feb 2007 10:18:12 +0000 (10:18 +0000)]
gst/level/gstlevel.*: Use function pointer for process function and add process functions for float audio.

Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_init), (gst_level_set_caps),
(gst_level_transform_ip):
* gst/level/gstlevel.h:
Use function pointer for process function and add process functions
for float audio.

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/v4l2/v4l2src_calls.c: Readd GST_ELEMENT_ERROR if we can't reenque buffers after...
Stefan Kost [Mon, 19 Feb 2007 12:22:43 +0000 (12:22 +0000)]
sys/v4l2/v4l2src_calls.c: Readd GST_ELEMENT_ERROR if we can't reenque buffers after EIO, fixes #407369

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_grab_frame), (gst_v4l2src_set_capture),
(gst_v4l2src_capture_init):
Readd GST_ELEMENT_ERROR if we can't reenque buffers after EIO,
fixes #407369

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 agogst/rtp/: Added simple mpeg transport stream payloader.
Wim Taymans [Sun, 18 Feb 2007 13:24:26 +0000 (13:24 +0000)]
gst/rtp/: Added simple mpeg transport stream payloader.

Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpmp2tpay.c: (gst_rtp_mp2t_pay_base_init),
(gst_rtp_mp2t_pay_class_init), (gst_rtp_mp2t_pay_init),
(gst_rtp_mp2t_pay_setcaps), (gst_rtp_mp2t_pay_handle_buffer),
(gst_rtp_mp2t_pay_plugin_init):
* gst/rtp/gstrtpmp2tpay.h:
Added simple mpeg transport stream payloader.

17 years agogst/rtsp/URLS: Add example H264 rtsp url.
Wim Taymans [Fri, 16 Feb 2007 12:32:01 +0000 (12:32 +0000)]
gst/rtsp/URLS: Add example H264 rtsp url.

Original commit message from CVS:
* gst/rtsp/URLS:
Add example H264 rtsp url.
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps),
(gst_rtspsrc_handle_message), (gst_rtspsrc_change_state):
Don't convert values to lowercase or we might mess up base64 encoded
properties.

17 years agogst/rtp/README: Fix case of string params.
Wim Taymans [Fri, 16 Feb 2007 12:30:22 +0000 (12:30 +0000)]
gst/rtp/README: Fix case of string params.

Original commit message from CVS:
* gst/rtp/README:
Fix case of string params.
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_class_init),
(gst_rtp_h264_depay_setcaps), (gst_rtp_h264_depay_process):
Fix depayloader, support more packet types.
Add sync codes to make sure the packetizer can do its job.
* gst/rtp/gstrtpmp4gdepay.c:
* gst/rtp/gstrtpmp4gpay.c:
* gst/rtp/gstrtpmpvdepay.c: (gst_rtp_mpv_depay_process):
Fix caps case again.

17 years agogst/rtp/gstrtph264depay.c: Set right caps on output buffers.
Wim Taymans [Thu, 15 Feb 2007 12:26:28 +0000 (12:26 +0000)]
gst/rtp/gstrtph264depay.c: Set right caps on output buffers.

Original commit message from CVS:
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_process):
Set right caps on output buffers.

17 years agogst/rtsp/sdpmessage.c: Clear stack allocated SDPMedia struct before calling _init...
Wim Taymans [Wed, 14 Feb 2007 17:04:47 +0000 (17:04 +0000)]
gst/rtsp/sdpmessage.c: Clear stack allocated SDPMedia struct before calling _init() on it.

Original commit message from CVS:
* gst/rtsp/sdpmessage.c: (sdp_parse_line):
As spotted by: Peter Kjellerstedt  <pkj at axis com>:
Clear stack allocated SDPMedia struct before calling _init() on it.
Clarify this in the docs as well.

17 years agoext/gconf/gstgconfaudiosink.c: Don't reset the profile when going switching states...
Jan Schmidt [Wed, 14 Feb 2007 17:01:25 +0000 (17:01 +0000)]
ext/gconf/gstgconfaudiosink.c: Don't reset the profile when going switching states, as it makes the element non-reusa...

Original commit message from CVS:
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_reset),
(do_change_child):
Don't reset the profile when going switching states, as it makes
the element non-reusable.

17 years agogst/rtsp/sdpmessage.*: Fix memory management of SDP messages. Fixes #407793.
jp.liu [Wed, 14 Feb 2007 15:24:50 +0000 (15:24 +0000)]
gst/rtsp/sdpmessage.*: Fix memory management of SDP messages. Fixes #407793.

Original commit message from CVS:
* gst/rtsp/sdpmessage.c: (sdp_origin_init), (sdp_connection_init),
(sdp_bandwidth_init), (sdp_time_init), (sdp_zone_init),
(sdp_key_init), (sdp_attribute_init), (sdp_message_init),
(sdp_message_uninit), (sdp_message_free), (sdp_media_init),
(sdp_media_uninit), (sdp_media_free), (sdp_message_add_media),
(sdp_parse_line):
* gst/rtsp/sdpmessage.h:
Based on patch by: jp.liu <jp_liu at astrocom dot cn>
Fix memory management of SDP messages. Fixes #407793.

17 years agogst/avi/gstavimux.c: Allow muxing video/x-h264 (was already in the caps). Fixes ...
zhangfei gao [Wed, 14 Feb 2007 12:07:01 +0000 (12:07 +0000)]
gst/avi/gstavimux.c: Allow muxing video/x-h264 (was already in the caps). Fixes #407780.

Original commit message from CVS:
Patch by: zhangfei gao <gaozhangfei@yahoo.com.cn>
* gst/avi/gstavimux.c: (gst_avi_mux_vidsink_set_caps):
Allow muxing video/x-h264 (was already in the caps). Fixes #407780.

17 years agogst/rtsp/rtspurl.c: Fix parsing of password field in url. Fixes #407797.
jp.liu [Wed, 14 Feb 2007 10:09:12 +0000 (10:09 +0000)]
gst/rtsp/rtspurl.c: Fix parsing of password field in url. Fixes #407797.

Original commit message from CVS:
Patch by: jp.liu <jp_liu at astrocom dot cn>
* gst/rtsp/rtspurl.c: (rtsp_url_parse):
Fix parsing of password field in url. Fixes #407797.

17 years agogst/wavparse/gstwavparse.*: Update docs.
Wim Taymans [Wed, 14 Feb 2007 09:55:47 +0000 (09:55 +0000)]
gst/wavparse/gstwavparse.*: Update docs.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_class_init),
(gst_wavparse_reset), (gst_wavparse_init),
(gst_wavparse_destroy_sourcepad), (gst_wavparse_fmt),
(gst_wavparse_parse_file_header), (gst_wavparse_stream_init),
(gst_wavparse_perform_seek), (gst_wavparse_peek_chunk_info),
(gst_wavparse_stream_headers), (gst_wavparse_parse_stream_init),
(gst_wavparse_add_src_pad), (gst_wavparse_stream_data),
(gst_wavparse_loop), (gst_wavparse_chain),
(gst_wavparse_pad_convert), (gst_wavparse_pad_query),
(gst_wavparse_srcpad_event), (gst_wavparse_change_state),
(plugin_init):
* gst/wavparse/gstwavparse.h:
Update docs.
Use boilerplate.
Various code cleanups.
When the bitrate is not known (bps == 0 or compressed formats) let
downstream element guestimate the duration and position and don't
generate timestamps or durations. Fixes #405213.
Fix EOS and ERROR conditions in chain mode, we just need to forward the
error flowreturn upstream.

17 years agoRe-factor the gconfaudiosink into a "GstSwitchSink" base class and a child that imple...
Jan Schmidt [Tue, 13 Feb 2007 16:01:29 +0000 (16:01 +0000)]
Re-factor the gconfaudiosink into a "GstSwitchSink" base class and a child that implements the GConf key monitoring. ...

Original commit message from CVS:
* ext/gconf/Makefile.am:
* ext/gconf/gconf.c: (gst_gconf_get_string),
(gst_gconf_get_key_for_sink_profile), (gst_gconf_set_string),
(gst_gconf_render_bin_with_default):
* ext/gconf/gconf.h:
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init),
(gst_gconf_audio_sink_reset), (gst_gconf_audio_sink_init),
(gst_gconf_audio_sink_dispose), (do_change_child),
(gst_gconf_switch_profile), (gst_gconf_audio_sink_set_property),
(cb_change_child), (gst_gconf_audio_sink_change_state):
* ext/gconf/gstgconfaudiosink.h:
* ext/gconf/gstswitchsink.c: (gst_switch_sink_base_init),
(gst_switch_sink_class_init), (gst_switch_sink_reset),
(gst_switch_sink_init), (gst_switch_sink_dispose),
(gst_switch_commit_new_kid), (gst_switch_sink_set_child),
(gst_switch_sink_set_property), (gst_switch_sink_handle_event),
(gst_switch_sink_get_property), (gst_switch_sink_change_state):
* ext/gconf/gstswitchsink.h:
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_class_init), (gst_auto_audio_sink_dispose),
(gst_auto_audio_sink_clear_kid), (gst_auto_audio_sink_reset),
(gst_auto_audio_sink_detect):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_class_init), (gst_auto_video_sink_dispose),
(gst_auto_video_sink_clear_kid), (gst_auto_video_sink_reset),
(gst_auto_video_sink_detect):
Re-factor the gconfaudiosink into a "GstSwitchSink" base class
and a child that implements the GConf key monitoring. The end goal of
this is an audio sink that can be changed on the fly, but at the
moment it still only changes on the next READY transition.

17 years agogst/avi/gstavidemux.c: Put debug stuff into #ifndef GST_DISABLE_DEBUG #endif
Stefan Kost [Tue, 13 Feb 2007 11:57:18 +0000 (11:57 +0000)]
gst/avi/gstavidemux.c: Put debug stuff into #ifndef GST_DISABLE_DEBUG #endif

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
(gst_avi_demux_parse_index), (gst_avi_demux_stream_index),
(gst_avi_demux_sync), (gst_avi_demux_massage_index),
(gst_avi_demux_calculate_durations_from_index),
(gst_avi_demux_push_event), (gst_avi_demux_stream_header_pull),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
(gst_avi_demux_loop):
Put debug stuff into #ifndef GST_DISABLE_DEBUG #endif