platform/upstream/gstreamer.git
18 years agoThe test application and the plgind error messages has been improved.
Edgard Lima [Fri, 15 Sep 2006 19:11:00 +0000 (19:11 +0000)]
The test application and the plgind error messages has been improved.

Original commit message from CVS:
The test application and the plgind error messages has been improved.

18 years agogst/spectrum/gstspectrum.c: Implements stop() to clear the adapter and event() to...
Stefan Kost [Tue, 12 Sep 2006 20:18:55 +0000 (20:18 +0000)]
gst/spectrum/gstspectrum.c: Implements stop() to clear the adapter and event() to clear the adapter on FLUSH_STOP and...

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init),
(gst_spectrum_start), (gst_spectrum_stop), (gst_spectrum_event):
Implements stop() to clear the adapter and event() to clear the
adapter on FLUSH_STOP and EOS.

18 years agogst/spectrum/gstspectrum.*: Fix type mixup in spectrum->interval (gdouble<->guint64...
Stefan Kost [Mon, 11 Sep 2006 18:23:59 +0000 (18:23 +0000)]
gst/spectrum/gstspectrum.*: Fix type mixup in spectrum->interval (gdouble<->guint64). Spotted by

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_init),
(gst_spectrum_set_property):
* gst/spectrum/gstspectrum.h:
Fix type mixup in spectrum->interval (gdouble<->guint64). Spotted by
René Stadler

18 years agogst/spectrum/demo-osssrc.c: Use more defines
Stefan Kost [Mon, 11 Sep 2006 18:02:39 +0000 (18:02 +0000)]
gst/spectrum/demo-osssrc.c: Use more defines

Original commit message from CVS:
* gst/spectrum/demo-osssrc.c: (draw_spectrum), (main):
Use more defines
* gst/spectrum/gstspectrum.c: (gst_spectrum_init),
(gst_spectrum_dispose), (gst_spectrum_set_caps),
(gst_spectrum_transform_ip):
* gst/spectrum/gstspectrum.h:
Apply some of the spectrum cleanup changes suggested in #348085.

18 years agoconfigure.ac: Bump requirements of -base (videocrop test case needs this).
Tim-Philipp Müller [Fri, 8 Sep 2006 16:47:46 +0000 (16:47 +0000)]
configure.ac: Bump requirements of -base (videocrop test case needs this).

Original commit message from CVS:
* configure.ac:
Bump requirements of -base (videocrop test case needs this).
* gst/videocrop/gstvideocrop.c:
Document sloppy handling of subsampled chroma planes if
left/top cropping is an odd number.
* tests/check/elements/videocrop.c: (handoff_cb),
(videocrop_test_cropping_init_context),
(videocrop_test_cropping_deinit_context),
(videocrop_test_cropping), (check_1x1_buffer), (GST_START_TEST),
(videocrop_suite), (main):
Add another unit test that crops the input to 1x1 (and checks
that that pixel has the expected values in a number of formats).

18 years agogst/videocrop/: Some quick tests indicate that it doesn't make a great deal of sense...
Tim-Philipp Müller [Fri, 8 Sep 2006 11:04:24 +0000 (11:04 +0000)]
gst/videocrop/: Some quick tests indicate that it doesn't make a great deal of sense to use liboil here, at least not...

Original commit message from CVS:
* gst/videocrop/Makefile.am:
* gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init),
(gst_video_crop_transform_packed),
(gst_video_crop_transform_planar):
Some quick tests indicate that it doesn't make a great deal
of sense to use liboil here, at least not for the memcpy()s
we do, so remove liboil usage until there is clear evidence
it actually makes a positive difference somewhere.

18 years agohigher up first
Thomas Vander Stichele [Sun, 3 Sep 2006 21:12:36 +0000 (21:12 +0000)]
higher up first

Original commit message from CVS:
higher up first

18 years agotests/check/elements/videocrop.c: More tests: check passthrough mode and caps transfo...
Tim-Philipp Müller [Sun, 3 Sep 2006 10:46:17 +0000 (10:46 +0000)]
tests/check/elements/videocrop.c: More tests: check passthrough mode and caps transform in both directions with fixed...

Original commit message from CVS:
* tests/check/elements/videocrop.c: (handoff_cb),
(buffer_probe_cb), (test_caps_transform), (test_passthrough),
(notgst_value_list_get_nth_int), (videocrop_suite):
More tests: check passthrough mode and caps transform in
both directions with fixed values, ranges and lists.

18 years agodocs/plugins/: Add videocrop to docs.
Tim-Philipp Müller [Sat, 2 Sep 2006 18:49:01 +0000 (18:49 +0000)]
docs/plugins/: Add videocrop to docs.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
Add videocrop to docs.
* gst/videocrop/Makefile.am:
* gst/videocrop/gstvideocrop.c:
* gst/videocrop/gstvideocrop.h:
Move boilerplate stuff and structures into a header file.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/videocrop.c: (video_crop_get_test_caps),
(test_unit_sizes), (videocrop_test_cropping_init_context),
(videocrop_test_cropping_deinit_context),
(videocrop_test_cropping), (test_cropping), (videocrop_suite):
Add unit tests for videocrop.

18 years agoPort/rewrite videocrop from scratch for GStreamer-0.10, and make it support all forma...
Tim-Philipp Müller [Sat, 2 Sep 2006 15:30:45 +0000 (15:30 +0000)]
Port/rewrite videocrop from scratch for GStreamer-0.10, and make it support all formats videoscale supports (#345653).

Original commit message from CVS:
* configure.ac:
* gst/videocrop/Makefile.am:
* gst/videocrop/gstvideocrop.c: (gst_video_crop_base_init),
(gst_video_crop_class_init), (gst_video_crop_init),
(gst_video_crop_get_image_details_from_caps),
(gst_video_crop_get_unit_size), (gst_video_crop_transform_packed),
(gst_video_crop_transform_planar), (gst_video_crop_transform),
(gst_video_crop_transform_dimension),
(gst_video_crop_transform_dimension_value),
(gst_video_crop_transform_caps), (gst_video_crop_set_caps),
(gst_video_crop_set_property), (gst_video_crop_get_property),
(plugin_init):
Port/rewrite videocrop from scratch for GStreamer-0.10, and make
it support all formats videoscale supports (#345653).

18 years agosys/v4l2/: Whitespace cleanups, dashify property-names.
Stefan Kost [Sat, 2 Sep 2006 14:45:04 +0000 (14:45 +0000)]
sys/v4l2/: Whitespace cleanups, dashify property-names.

Original commit message from CVS:
* sys/v4l2/gstv4l2.c:
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init):
* sys/v4l2/gstv4l2src.h:
Whitespace cleanups, dashify property-names.

18 years agosys/v4l2/: Cleanup error messages and unify header comments
Stefan Kost [Sat, 2 Sep 2006 14:28:55 +0000 (14:28 +0000)]
sys/v4l2/: Cleanup error messages and unify header comments

Original commit message from CVS:
* sys/v4l2/gstv4l2.c:
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2object.c:
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c:
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2tuner.c:
* sys/v4l2/gstv4l2tuner.h:
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open):
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_open):
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_queue_frame),
(gst_v4l2src_capture_init):
* sys/v4l2/v4l2src_calls.h:
Cleanup error messages and unify header comments

18 years agogst/nsf/Makefile.am: Add missing GST_LIBS
Jan Schmidt [Thu, 31 Aug 2006 13:01:15 +0000 (13:01 +0000)]
gst/nsf/Makefile.am: Add missing GST_LIBS

Original commit message from CVS:
* gst/nsf/Makefile.am:
Add missing GST_LIBS

18 years agoAnother small fix to set_caps function.
Edgard Lima [Wed, 30 Aug 2006 18:01:52 +0000 (18:01 +0000)]
Another small fix to set_caps function.

Original commit message from CVS:
Another small fix to set_caps function.

18 years agoSend new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.
Edgard Lima [Wed, 30 Aug 2006 13:30:13 +0000 (13:30 +0000)]
Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.

Original commit message from CVS:
Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.

18 years agoA small fix to set_caps function.
Edgard Lima [Wed, 30 Aug 2006 11:36:06 +0000 (11:36 +0000)]
A small fix to set_caps function.

Original commit message from CVS:
A small fix to set_caps function.

18 years agogst/qtdemux/qtdemux.c: Reset each streams last_flow to GST_FLOW_OK.
Edward Hervey [Wed, 30 Aug 2006 11:27:40 +0000 (11:27 +0000)]
gst/qtdemux/qtdemux.c: Reset each streams last_flow to GST_FLOW_OK.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c:
(gst_qtdemux_do_seek):
Reset each streams last_flow to GST_FLOW_OK.
(gst_qtdemux_activate_segment):
Removing mystic modifications for good.

18 years agogst/qtdemux/qtdemux.c: put back 'segment start<=stop' change that was mystically...
Stefan Kost [Wed, 30 Aug 2006 11:07:37 +0000 (11:07 +0000)]
gst/qtdemux/qtdemux.c: put back 'segment start<=stop' change that was mystically reverted by the last commit

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment),
(qtdemux_parse_tree):
put back 'segment start<=stop' change that was mystically reverted by
the last commit

18 years agogst/qtdemux/qtdemux.c: Fix the build for disabled debug
Stefan Kost [Wed, 30 Aug 2006 10:43:53 +0000 (10:43 +0000)]
gst/qtdemux/qtdemux.c: Fix the build for disabled debug

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment),
(qtdemux_parse_tree):
Fix the build for disabled debug

18 years agoFixed framerate negotiation.
Edgard Lima [Tue, 29 Aug 2006 20:59:47 +0000 (20:59 +0000)]
Fixed framerate negotiation.

Original commit message from CVS:
Fixed framerate negotiation.

18 years agoext/sdl/: Only de-init the subsystem we previously initialised. Avoids borkage when...
Andrew Andkjar [Tue, 29 Aug 2006 12:07:38 +0000 (12:07 +0000)]
ext/sdl/: Only de-init the subsystem we previously initialised. Avoids borkage when both sdlvideosink and sdlaudiosin...

Original commit message from CVS:
Patch by: Andrew Andkjar  <enki at goodship net>
* ext/sdl/sdlaudiosink.c: (gst_sdlaudio_sink_close):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_supported),
(gst_sdlvideosink_deinitsdl):
Only de-init the subsystem we previously initialised. Avoids
borkage when both sdlvideosink and sdlaudiosink are used
at the same time and one is shut down.

18 years agogst/qtdemux/qtdemux.c: Make sure segment start<=stop in weird quicktime files.
Wim Taymans [Mon, 28 Aug 2006 17:47:29 +0000 (17:47 +0000)]
gst/qtdemux/qtdemux.c: Make sure segment start<=stop in weird quicktime files.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment),
(gst_qtdemux_add_stream), (qtdemux_parse_trak),
(qtdemux_video_caps):
Make sure segment start<=stop in weird quicktime files.

18 years agosys/v4l2/v4l2_calls.c: add comments and more debug logging
Stefan Kost [Mon, 28 Aug 2006 14:59:05 +0000 (14:59 +0000)]
sys/v4l2/v4l2_calls.c: add comments and more debug logging

Original commit message from CVS:
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
add comments and more debug logging

18 years agoext/wavpack/gstwavpackdec.c: Post audio codec and average bitrate tags on bus (#344472).
Sebastian Dröge [Thu, 24 Aug 2006 09:24:11 +0000 (09:24 +0000)]
ext/wavpack/gstwavpackdec.c: Post audio codec and average bitrate tags on bus (#344472).

Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_post_tags),
(gst_wavpack_dec_chain):
Post audio codec and average bitrate tags on bus (#344472).
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init),
(gst_wavpack_parse_src_query):
Forward queries in other formats (BYTE format in particular)
upstream; add Sebastian to authors.

18 years agoFix set_caps to set width and height to the values the driver is really working with.
Edgard Lima [Thu, 24 Aug 2006 00:40:07 +0000 (00:40 +0000)]
Fix set_caps to set width and height to the values the driver is really working with.

Original commit message from CVS:
Fix set_caps to set width and height to the values the driver is really working with.

18 years agoext/wavpack/gstwavpackenc.c: Fix mem leak, send newsegment event on correction pad...
Tim-Philipp Müller [Wed, 23 Aug 2006 10:30:31 +0000 (10:30 +0000)]
ext/wavpack/gstwavpackenc.c: Fix mem leak, send newsegment event on correction pad as well (#352476).

Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_push_block):
Fix mem leak, send newsegment event on correction pad
as well (#352476).
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
Restore original author (on Sebastian's request).
* tests/check/Makefile.am:
* tests/check/gst-plugins-bad.supp:
Add (so far empty) suppression file for -bad. Remove
wavpackenc test from VALGRIND_TO_FIX now that the leak
is fixed.

18 years agotests/check/: Add unit tests for wavpack elements (#352476).
Sebastian Dröge [Wed, 23 Aug 2006 09:22:07 +0000 (09:22 +0000)]
tests/check/: Add unit tests for wavpack elements (#352476).

Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/wavpackdec.c: (setup_wavpackdec),
(cleanup_wavpackdec), (GST_START_TEST), (wavpackdec_suite), (main):
* tests/check/elements/wavpackenc.c: (setup_wavpackenc),
(cleanup_wavpackenc), (GST_START_TEST), (wavpackenc_suite), (main):
* tests/check/elements/wavpackparse.c: (wavpackparse_found_pad),
(setup_wavpackparse), (cleanup_wavpackparse), (GST_START_TEST),
(wavpackparse_suite), (main):
Add unit tests for wavpack elements (#352476).

18 years agoAdd docs for wavpack elements (#352476).
Sebastian Dröge [Wed, 23 Aug 2006 08:52:50 +0000 (08:52 +0000)]
Add docs for wavpack elements (#352476).

Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/inspect/plugin-wavpack.xml:
* ext/wavpack/gstwavpackdec.c:
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackenc.c:
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.c:
* ext/wavpack/gstwavpackparse.h:
Add docs for wavpack elements (#352476).

18 years agoFixed query size to work with drivers that uses intermediate step like "width * heigh...
Edgard Lima [Tue, 22 Aug 2006 20:39:26 +0000 (20:39 +0000)]
Fixed query size to work with drivers that uses intermediate step like "width * height" to find closest size.

Original commit message from CVS:
Fixed query size to work with drivers that uses intermediate step like "width * height" to find closest size.

18 years agomove gdp plugin to good.
Thomas Vander Stichele [Mon, 21 Aug 2006 19:02:13 +0000 (19:02 +0000)]
move gdp plugin to good.

Original commit message from CVS:

* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* gst/gdp/Makefile.am:
* gst/gdp/gstgdp.c:
* gst/gdp/gstgdpdepay.c:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.c:
* gst/gdp/gstgdppay.h:
* tests/check/Makefile.am:
* tests/check/elements/gdpdepay.c:
* tests/check/elements/gdppay.c:
move gdp plugin to good.

18 years agogst/qtdemux/qtdemux.c: Some more constification.
Wim Taymans [Mon, 21 Aug 2006 16:24:28 +0000 (16:24 +0000)]
gst/qtdemux/qtdemux.c: Some more constification.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse),
(qtdemux_node_dump_foreach), (qtdemux_parse_trak),
(qtdemux_video_caps), (qtdemux_audio_caps):
Some more constification.
Fix some paletted data formats again.
Fix ulaw/alaw in qt.
Set correct caps for raw RGB.
Add support for yuv2, which is like Yuv2.
Add support for raw audio with the NONE fourcc, which is like raw.

18 years agoext/gsm/gstgsm.c: Make rank PRIMARY now that GSM seems to work fine.
Wim Taymans [Mon, 21 Aug 2006 16:21:03 +0000 (16:21 +0000)]
ext/gsm/gstgsm.c: Make rank PRIMARY now that GSM seems to work fine.

Original commit message from CVS:
* ext/gsm/gstgsm.c: (plugin_init):
Make rank PRIMARY now that GSM seems to work fine.

18 years agoext/wavpack/: More clean-ups: use shorter variable names to make code easier to read...
Tim-Philipp Müller [Mon, 21 Aug 2006 13:59:52 +0000 (13:59 +0000)]
ext/wavpack/: More clean-ups: use shorter variable names to make code easier to read; prefix structures we define wit...

Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_init),
(gst_wavpack_enc_finalize), (gst_wavpack_enc_sink_set_caps),
(gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_format_samples),
(gst_wavpack_enc_push_block), (gst_wavpack_enc_chain),
(gst_wavpack_enc_rewrite_first_block),
(gst_wavpack_enc_sink_event), (gst_wavpack_enc_change_state),
(gst_wavpack_enc_set_property), (gst_wavpack_enc_get_property):
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset),
(gst_wavpack_parse_src_query), (gst_wavpack_parse_src_event),
(gst_wavpack_parse_init), (gst_wavpack_parse_get_upstream_length),
(gst_wavpack_parse_loop):
More clean-ups: use shorter variable names to make code easier to
read; prefix structures we define with 'Gst' to make it clearer
where they come from.

18 years agoext/wavpack/gstwavpackenc.c: Fix caps set on buffers and template caps (output is...
Tim-Philipp Müller [Mon, 21 Aug 2006 13:26:37 +0000 (13:26 +0000)]
ext/wavpack/gstwavpackenc.c: Fix caps set on buffers and template caps (output is framed) and make them match (#35166...

Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_init),
(gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_push_block),
(gst_wavpack_enc_chain), (gst_wavpack_enc_rewrite_first_block),
(gst_wavpack_enc_sink_event):
Fix caps set on buffers and template caps (output is framed)
and make them match (#351663); use GST_WARNING_OBJECT instead of
GST_ELEMENT_WARNING; simplify push_block(); do some small
clean-ups here and there; fix memleak (#351663).

18 years agogst/audioconvert/gstaudioconvert.c: Lower debug, use g_assert in _get_unit_size
Stefan Kost [Sun, 20 Aug 2006 13:05:43 +0000 (13:05 +0000)]
gst/audioconvert/gstaudioconvert.c: Lower debug, use g_assert in _get_unit_size

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_get_unit_size), (set_structure_widths):
Lower debug, use g_assert in _get_unit_size
* gst/audioresample/gstaudioresample.c:
(audioresample_get_unit_size):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_get_unit_size):
* gst/videoscale/gstvideoscale.c: (gst_video_scale_get_unit_size):
use g_assert in _get_unit_size

18 years agoext/wavpack/gstwavpackparse.c: Fix resyncing in push mode not stopping re-syncing...
Sebastian Dröge [Fri, 18 Aug 2006 21:39:00 +0000 (21:39 +0000)]
ext/wavpack/gstwavpackparse.c: Fix resyncing in push mode not stopping re-syncing at embedded zeroes; skip garbage be...

Original commit message from CVS:
Based on patch by: Sebastian Dröge <slomo at circular-chaos.org>
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_sink_event),
(gst_wavpack_parse_get_upstream_length),
(gst_wavpack_parse_find_marker), (gst_wavpack_parse_resync_loop),
(gst_wavpack_parse_loop), (gst_wavpack_parse_resync_adapter):
Fix resyncing in push mode not stopping re-syncing at embedded
zeroes; skip garbage between frames in pull mode as well if
necessary; use gst_pad_query_peer_duration(); push EOS and
NEWSEGMENT event in right direction (#351659).

18 years agoext/ladspa/gstsignalprocessor.c: Make ladspa elements reusable. Fixes #350006.
Andy Wingo [Wed, 16 Aug 2006 16:50:00 +0000 (16:50 +0000)]
ext/ladspa/gstsignalprocessor.c: Make ladspa elements reusable. Fixes #350006.

Original commit message from CVS:
Patch by: Andy Wingo <wingo at pobox dot com>
* ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_setup),
(gst_signal_processor_start), (gst_signal_processor_stop),
(gst_signal_processor_cleanup), (gst_signal_processor_setcaps),
(gst_signal_processor_pen_buffer), (gst_signal_processor_flush),
(gst_signal_processor_do_pulls), (gst_signal_processor_do_pushes),
(gst_signal_processor_change_state):
Make ladspa elements reusable. Fixes #350006.

18 years agoext/ladspa/gstladspa.c: Convert ' ' into '_'. Try to keep as many characters in the...
Wim Taymans [Wed, 16 Aug 2006 15:33:12 +0000 (15:33 +0000)]
ext/ladspa/gstladspa.c: Convert ' ' into '_'. Try to keep as many characters in the padtemplate names as possible.

Original commit message from CVS:
* ext/ladspa/gstladspa.c: (gst_ladspa_base_init):
Convert ' ' into '_'. Try to keep as many characters in the padtemplate
names as possible.

18 years agoext/ladspa/gstsignalprocessor.c: A push() gives away our refcount so we should not...
Wim Taymans [Wed, 16 Aug 2006 14:47:50 +0000 (14:47 +0000)]
ext/ladspa/gstsignalprocessor.c: A push() gives away our refcount so we should not use the buffer on the pen anymore.

Original commit message from CVS:
* ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_flush),
(gst_signal_processor_do_pushes):
A push() gives away our refcount so we should not use the buffer on the
pen anymore.

18 years agoext/wavpack/: In push mode, re-sync to next wavpack header if sync is lost (#351557...
Sebastian Dröge [Wed, 16 Aug 2006 10:40:04 +0000 (10:40 +0000)]
ext/wavpack/: In push mode, re-sync to next wavpack header if sync is lost (#351557). Also use hyphens instead of und...

Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init):
* ext/wavpack/gstwavpackparse.c:
(gst_wavpack_parse_resync_adapter), (gst_wavpack_parse_chain):
In push mode, re-sync to next wavpack header if sync is lost
(#351557). Also use hyphens instead of underscores in
GObject property names.

18 years agoext/wavpack/gstwavpackparse.*: Make wavpackparse also work in push-mode (not seekable...
Sebastian Dröge [Tue, 15 Aug 2006 20:29:45 +0000 (20:29 +0000)]
ext/wavpack/gstwavpackparse.*: Make wavpackparse also work in push-mode (not seekable yet though); some small clean-u...

Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_class_init),
(gst_wavpack_parse_reset), (gst_wavpack_parse_get_src_query_types),
(gst_wavpack_parse_src_query),
(gst_wavpack_parse_handle_seek_event),
(gst_wavpack_parse_sink_event), (gst_wavpack_parse_init),
(gst_wavpack_parse_create_src_pad),
(gst_wavpack_parse_push_buffer), (gst_wavpack_parse_loop),
(gst_wavpack_parse_chain), (gst_wavpack_parse_sink_activate),
(gst_wavpack_parse_sink_activate_pull):
* ext/wavpack/gstwavpackparse.h:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
Make wavpackparse also work in push-mode (not seekable yet though);
some small clean-ups along the way; add support for SEEKING query
and query types function. (#351495).

18 years agoFix leaks (#351502).
Tim-Philipp Müller [Tue, 15 Aug 2006 19:29:58 +0000 (19:29 +0000)]
Fix leaks (#351502).

Original commit message from CVS:
* ext/libfame/gstlibfame.c: (gst_fameenc_get_property):
* sys/glsink/glimagesink.c: (gst_glimage_sink_get_property):
Fix leaks (#351502).

18 years agogst/qtdemux/qtdemux.c: Extract all references/redirections if there is more than...
Tim-Philipp Müller [Mon, 14 Aug 2006 10:06:55 +0000 (10:06 +0000)]
gst/qtdemux/qtdemux.c: Extract all references/redirections if there is more than one and sort them; also extract mini...

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_redirects_sort_func),
(qtdemux_process_redirects), (qtdemux_parse_tree):
Extract all references/redirections if there is more
than one and sort them; also extract minimum required
bitrate information if available. (#350399)

18 years agoext/faac/gstfaac.c: Bitrate in the faac structure is per output channel, not total...
Michal Benes [Thu, 10 Aug 2006 17:09:10 +0000 (17:09 +0000)]
ext/faac/gstfaac.c: Bitrate in the faac structure is per output channel, not total bitrate (#350741).

Original commit message from CVS:
Patch by: Michal Benes  <michal.benes at itonis tv>
* ext/faac/gstfaac.c: (gst_faac_configure_source_pad):
Bitrate in the faac structure is per output channel,
not total bitrate (#350741).

18 years agoext/xvid/gstxvidenc.c: Fix GST_ELEMENT_ERROR usage.
Tim-Philipp Müller [Wed, 9 Aug 2006 17:41:26 +0000 (17:41 +0000)]
ext/xvid/gstxvidenc.c: Fix GST_ELEMENT_ERROR usage.

Original commit message from CVS:
* ext/xvid/gstxvidenc.c: (gst_xvidenc_chain):
Fix GST_ELEMENT_ERROR usage.

18 years agofixed up and cleaned up the -bad spec file to have proper tests for whats installed...
Christian Schaller [Wed, 9 Aug 2006 10:45:32 +0000 (10:45 +0000)]
fixed up and cleaned up the -bad spec file to have proper tests for whats installed and items put in correct categories.

Original commit message from CVS:
fixed up and cleaned up the -bad spec file to have proper tests for whats installed and items put in correct categories.

18 years agogst/qtdemux/qtdemux.c: Fix silly typo.
Tim-Philipp Müller [Tue, 8 Aug 2006 14:55:53 +0000 (14:55 +0000)]
gst/qtdemux/qtdemux.c: Fix silly typo.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_tree):
Fix silly typo.

18 years agotests/check/elements/gdpdepay.c: I forgot to include the file containing the #define :)
Edward Hervey [Tue, 8 Aug 2006 13:57:29 +0000 (13:57 +0000)]
tests/check/elements/gdpdepay.c: I forgot to include the file containing the #define :)

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
I forgot to include the file containing the #define :)
Now includes "config.h"

18 years agotests/check/elements/gdpdepay.c: Ignore test known to fail on PPC64. See #348114.
Edward Hervey [Tue, 8 Aug 2006 13:45:44 +0000 (13:45 +0000)]
tests/check/elements/gdpdepay.c: Ignore test known to fail on PPC64. See #348114.

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
Ignore test known to fail on PPC64. See #348114.

18 years agoAllow HTTP redirect (HTTP status code 302).
Edgard Lima [Fri, 4 Aug 2006 21:04:55 +0000 (21:04 +0000)]
Allow HTTP redirect (HTTP status code 302).

Original commit message from CVS:
Allow HTTP redirect (HTTP status code 302).

18 years agogst/gdp/gstgdpdepay.c: Fix event parsing by gdpdepay. Fixes #349916.
Zaheer Abbas Merali [Fri, 4 Aug 2006 13:20:23 +0000 (13:20 +0000)]
gst/gdp/gstgdpdepay.c: Fix event parsing by gdpdepay.  Fixes #349916.

Original commit message from CVS:
2006-08-04  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
Fix event parsing by gdpdepay.  Fixes #349916.

18 years agoext/ladspa/gstsignalprocessor.h: Add infrastructure for storing whether a processor...
Andy Wingo [Fri, 4 Aug 2006 11:38:54 +0000 (11:38 +0000)]
ext/ladspa/gstsignalprocessor.h: Add infrastructure for storing whether a processor can work in place or not, and for...

Original commit message from CVS:
2006-08-04  Andy Wingo  <wingo@pobox.com>

* ext/ladspa/gstsignalprocessor.h: Add infrastructure for storing
whether a processor can work in place or not, and for keeping
track of its state. Change the FlowReturn instance variable from
"state" to "flow_state", all callers changed.

* ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setup)
(gst_signal_processor_start, gst_signal_processor_stop)
(gst_signal_processor_cleanup): New functions to manage the
processor's state.
(gst_signal_processor_setcaps): start() as well as setup() here.
(gst_signal_processor_prepare): Respect CAN_PROCESS_IN_PLACE.
(gst_signal_processor_change_state): Stop and cleanup the
processor as we go to NULL.

* ext/ladspa/gstladspa.c (gst_ladspa_base_init): Reuse buffers if
INPLACE_BROKEN is not set.

* ext/ladspa/gstsignalprocessor.c (gst_signal_processor_prepare):
Do the alloc_buffer in bytes, not frames.

18 years agoBPB
Andy Wingo [Fri, 4 Aug 2006 09:20:26 +0000 (09:20 +0000)]
BPB

Original commit message from CVS:
(gst_signal_processor_src_activate_pull): BPB

18 years agoext/ladspa/gstsignalprocessor.c (gst_signal_processor_setcaps) (gst_signal_processor_...
Andy Wingo [Fri, 4 Aug 2006 09:05:53 +0000 (09:05 +0000)]
ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setcaps) (gst_signal_processor_prepare) (gst_signal_processor_u...

Original commit message from CVS:
2006-08-04  Andy Wingo  <wingo@pobox.com>

* ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setcaps)
(gst_signal_processor_prepare)
(gst_signal_processor_update_inputs)
(gst_signal_processor_process, gst_signal_processor_pen_buffer)
(gst_signal_processor_flush)
(gst_signal_processor_sink_activate_push)
(gst_signal_processor_src_activate_pull)
(gst_signal_processor_change_state): Remove the last of the code
that assumes that we process whole buffers at a time. Fix some
debugging. Seems to work now in some cases.

18 years agoext/Makefile.am: Use right variables when USE_SPC is defined.
cascardo at holoscopio dot com [Thu, 3 Aug 2006 14:48:22 +0000 (14:48 +0000)]
ext/Makefile.am: Use right variables when USE_SPC is defined.

Original commit message from CVS:
Patch by:  cascardo at holoscopio dot com
* ext/Makefile.am:
Use right variables when USE_SPC is defined.

18 years agogst/gdp/gstgdpdepay.c: Disable seeking.
Wim Taymans [Wed, 2 Aug 2006 16:56:19 +0000 (16:56 +0000)]
gst/gdp/gstgdpdepay.c: Disable seeking.

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init),
(gst_gdp_depay_finalize), (gst_gdp_depay_sink_event),
(gst_gdp_depay_src_event), (gst_gdp_depay_chain),
(gst_gdp_depay_change_state):
Disable seeking.
Small cleanups.
Clear adapter on disconts.
Clear caps when going to READY instead of NULL
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
(gst_gdp_pay_init), (gst_gdp_pay_finalize), (gst_gdp_pay_reset),
(gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer),
(gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader),
(gst_gdp_queue_buffer), (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event), (gst_gdp_pay_src_event),
(gst_gdp_pay_change_state):
* gst/gdp/gstgdppay.h:
Reset payloader when going to READY.
Fix leaked buffers in ->queue on push errors.
Disable seeking.
Code cleanups.
Create packetizer in _init, free in _finalize.

18 years agoext/ladspa/gstsignalprocessor.c (gst_signal_processor_process): Fix nframes-choosing.
Andy Wingo [Mon, 31 Jul 2006 22:27:22 +0000 (22:27 +0000)]
ext/ladspa/gstsignalprocessor.c (gst_signal_processor_process): Fix nframes-choosing.

Original commit message from CVS:
2006-08-01  Andy Wingo  <wingo@pobox.com>

* ext/ladspa/gstsignalprocessor.c (gst_signal_processor_process):
Fix nframes-choosing.
(gst_signal_processor_init): Init pending_in and pending_out.

18 years agoext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): No more default sample...
Andy Wingo [Mon, 31 Jul 2006 22:03:09 +0000 (22:03 +0000)]
ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): No more default sample rate, although we never check tha...

Original commit message from CVS:
2006-08-01  Andy Wingo  <wingo@pobox.com>

* ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): No
more default sample rate, although we never check that the sample
rate actually gets set. Something for the future.
(gst_signal_processor_setcaps): Some refcount fixes, flow fixes.
(gst_signal_processor_event): Refcount fixen.
(gst_signal_processor_process): Pull the number of frames to
process from the sizes of the buffers in the input pens.
(gst_signal_processor_pen_buffer): Remove an incorrect FIXME :)
(gst_signal_processor_do_pulls): Add an nframes argument, and use
it instead of buffer_frames.
(gst_signal_processor_getrange): Refcount fixen, pass nframes on
to do_pulls.
(gst_signal_processor_chain)
(gst_signal_processor_sink_activate_push)
(gst_signal_processor_src_activate_pull):  Refcount fixen.

* ext/ladspa/gstsignalprocessor.h: No more buffer_frames, yay.

18 years agoext/ladspa/gstsignalprocessor.c: don't query buffer-frames from caps, add lots of...
Stefan Kost [Mon, 31 Jul 2006 19:44:18 +0000 (19:44 +0000)]
ext/ladspa/gstsignalprocessor.c: don't query buffer-frames from caps, add lots of debug-log, try fix for assert (#349...

Original commit message from CVS:
* ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_setcaps),
(gst_signal_processor_process):
don't query buffer-frames from caps, add lots of debug-log,
try fix for assert (#349189)

18 years agoext/directfb/dfbvideosink.c: Post an error message.
Julien Moutte [Mon, 31 Jul 2006 17:29:22 +0000 (17:29 +0000)]
ext/directfb/dfbvideosink.c: Post an error message.

Original commit message from CVS:
2006-07-31  Julien MOUTTE  <julien@moutte.net>

* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_change_state),
(gst_dfbvideosink_buffer_alloc): Post an error message.

18 years agoext/directfb/dfbvideosink.c: Don't try allocating if we are not setup yet. Fail chang...
Julien Moutte [Mon, 31 Jul 2006 16:50:27 +0000 (16:50 +0000)]
ext/directfb/dfbvideosink.c: Don't try allocating if we are not setup yet. Fail changing state if setup fails.

Original commit message from CVS:
2006-07-31  Julien MOUTTE  <julien@moutte.net>

* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_change_state),
(gst_dfbvideosink_buffer_alloc): Don't try allocating if we are
not
setup yet. Fail changing state if setup fails.

18 years agogst/gdp/gstgdpdepay.c: Consume all events except EOS because we generate events from...
Wim Taymans [Mon, 31 Jul 2006 08:48:36 +0000 (08:48 +0000)]
gst/gdp/gstgdpdepay.c: Consume all events except EOS because we generate events from the gdp payload instead. Fixes #...

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init),
(gst_gdp_depay_sink_event), (gst_gdp_depay_chain):
Consume all events except EOS because we generate events from
the gdp payload instead. Fixes #349204

18 years agoext/ladspa/gstsignalprocessor.c: Add debugs logs here and there, add more error handl...
Stefan Kost [Sat, 29 Jul 2006 16:32:26 +0000 (16:32 +0000)]
ext/ladspa/gstsignalprocessor.c: Add debugs logs here and there, add more error handling, add some

Original commit message from CVS:
* ext/ladspa/gstsignalprocessor.c:
(gst_signal_processor_add_pad_from_template),
(gst_signal_processor_init), (gst_signal_processor_setcaps),
(gst_signal_processor_process), (gst_signal_processor_pen_buffer),
(gst_signal_processor_do_pulls), (gst_signal_processor_getrange),
(gst_signal_processor_sink_activate_push),
(gst_signal_processor_src_activate_pull),
(gst_signal_processor_change_state):
Add debugs logs here and there, add more error handling, add some
FIXME comments, filed #349189

18 years agogst/audioresample/gstaudioresample.c: Don't leak references to the incoming caps...
Jan Schmidt [Fri, 28 Jul 2006 17:17:24 +0000 (17:17 +0000)]
gst/audioresample/gstaudioresample.c: Don't leak references to the incoming caps. Clean them up when stopping.

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c: (audioresample_stop),
(audioresample_set_caps):
Don't leak references to the incoming caps. Clean them up when
stopping.
* gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init),
(gst_video_scale_finalize):
Don't leak our temporary pixel buffer.
* tests/check/Makefile.am:
* tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
(GST_START_TEST), (simple_launch_lines_suite):
Fix leaks and re-enable the test for valgrind checking.

18 years agoext/xvid/gstxviddec.*: Clean-ups and code reflows. Pass return value from gst_pad_all...
Tim-Philipp Müller [Fri, 28 Jul 2006 12:14:06 +0000 (12:14 +0000)]
ext/xvid/gstxviddec.*: Clean-ups and code reflows. Pass return value from gst_pad_alloc_buffer() upstream among other...

Original commit message from CVS:
* ext/xvid/gstxviddec.c: (gst_xviddec_init), (gst_xviddec_reset),
(gst_xviddec_unset), (gst_xviddec_handle_sink_event),
(gst_xviddec_setup), (gst_xviddec_negotiate), (gst_xviddec_chain),
(gst_xviddec_flush_buffers), (gst_xviddec_src_getcaps),
(gst_xviddec_setcaps), (gst_xviddec_change_state):
* ext/xvid/gstxviddec.h:
Clean-ups and code reflows. Pass return value from
gst_pad_alloc_buffer() upstream among other things. Also check
for NULL GValue before using GST_VALUE_TYPE macro (#348976).
Mass rename of xviddec -> dec variable for better
code readability.

18 years agoext/xvid/gstxvid.c: Fix size calculation for I420/YV12. Fixes #348976.
Tim-Philipp Müller [Fri, 28 Jul 2006 10:19:02 +0000 (10:19 +0000)]
ext/xvid/gstxvid.c: Fix size calculation for I420/YV12. Fixes #348976.

Original commit message from CVS:
* ext/xvid/gstxvid.c: (gst_xvid_image_fill):
Fix size calculation for I420/YV12. Fixes #348976.

18 years agoext/gsm/: Fix negotiation.
Wim Taymans [Thu, 27 Jul 2006 10:50:39 +0000 (10:50 +0000)]
ext/gsm/: Fix negotiation.

Original commit message from CVS:
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init),
(gst_gsmdec_sink_setcaps), (gst_gsmdec_sink_event):
* ext/gsm/gstgsmenc.c: (gst_gsmenc_init), (gst_gsmenc_setcaps):
Fix negotiation.

18 years agogst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we reall...
Thomas Vander Stichele [Wed, 26 Jul 2006 10:52:05 +0000 (10:52 +0000)]
gst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we really do change caps quite fundament...

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init):
proxying get/set caps is the wrong thing to do, since we really
do change caps quite fundamentally
* tests/check/elements/gdpdepay.c:
* tests/check/elements/gdppay.c:
remove declaration of buffers, it's already done in gstcheck.h

18 years agosys/directsound/gstdirectsoundsink.*: Add an attenuation property that will directly...
Sébastien Moutte [Mon, 24 Jul 2006 21:43:06 +0000 (21:43 +0000)]
sys/directsound/gstdirectsoundsink.*: Add an attenuation property that will directly attenuate the directsound buffer.

Original commit message from CVS:
* sys/directsound/gstdirectsoundsink.h:
* sys/directsound/gstdirectsoundsink.c:
Add an attenuation property that will directly attenuate the
directsound buffer.
Change the size of the directsound secondary buffer to a half second.
Add more debug logs.
Add a lock to protect dsound buffer write access.
Fix a bad implementation of reset.
* sys/directsound/gstdirectdrawsink.c:
* sys/directsound/gstdirectdrawsink.h:
Add a keep_aspect_ratio property.
Do not use overlay if not supported.
Add more debug logs.
Remove overwrite of WM_ERASEBKGND message handling. It was not
redrawing border when keep_aspect_ratio was enabled.
* win32/common/config.h:
update version waiting an auto-generated config.h

18 years agoAdd libopenspc-based SPC decoder element (#348220).
Chris Lee [Sun, 23 Jul 2006 11:52:34 +0000 (11:52 +0000)]
Add libopenspc-based SPC decoder element (#348220).

Original commit message from CVS:
Patch by: Chris Lee  <clee at kde org>
* configure.ac:
* ext/Makefile.am:
* ext/spc/Makefile.am:
* ext/spc/gstspc.c: (spc_negotiate), (gst_spc_dec_base_init),
(gst_spc_dec_class_init), (gst_spc_dec_init), (gst_spc_dec_chain),
(gst_spc_dec_sink_event), (gst_spc_dec_src_event),
(gst_spc_dec_src_query), (spc_play), (spc_setup),
(gst_spc_dec_change_state), (plugin_init):
* ext/spc/gstspc.h:
Add libopenspc-based SPC decoder element (#348220).

18 years agosys/v4l2/gstv4l2object.c: If "device-name" is requested and the device is not open...
Martin Szulecki [Wed, 19 Jul 2006 14:36:00 +0000 (14:36 +0000)]
sys/v4l2/gstv4l2object.c: If "device-name" is requested and the device is not open, try to temporarily open it to obt...

Original commit message from CVS:
Patch by: Martin Szulecki
* sys/v4l2/gstv4l2object.c: (gst_v4l2_object_get_property_helper):
If "device-name" is requested and the device is not
open, try to temporarily open it to obtain this
information (#342494).

18 years agoupdate spec file
Christian Schaller [Wed, 19 Jul 2006 11:47:20 +0000 (11:47 +0000)]
update spec file

Original commit message from CVS:
update spec file

18 years agogst/nsf/nsf.c: Really fix compilation. Apparently it's not enough to just check the...
Tim-Philipp Müller [Wed, 19 Jul 2006 11:43:50 +0000 (11:43 +0000)]
gst/nsf/nsf.c: Really fix compilation. Apparently it's not enough to just check the return value for errors, but we n...

Original commit message from CVS:
* gst/nsf/nsf.c: (nsf_load):
Really fix compilation. Apparently it's not enough to
just check the return value for errors, but we need to
check for short reads as well (now if only we handled
them too ...). Fixes #347935.

18 years agoext/wavpack/gstwavpackdec.c: Fix caps after previous change to byte order endianness.
Tim-Philipp Müller [Tue, 18 Jul 2006 18:05:15 +0000 (18:05 +0000)]
ext/wavpack/gstwavpackdec.c: Fix caps after previous change to byte order endianness.

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
Fix caps after previous change to byte order endianness.
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset),
(gst_wavpack_parse_sink_event), (gst_wavpack_parse_init),
(gst_wavpack_parse_loop):
* ext/wavpack/gstwavpackparse.h:
Queue incoming events if there's no source pad yet and
send them downstream later when the pad is there.

18 years agoext/wavpack/gstwavpackdec.*: Output audio in native byte order (which is also how...
Tim-Philipp Müller [Tue, 18 Jul 2006 16:47:25 +0000 (16:47 +0000)]
ext/wavpack/gstwavpackdec.*: Output audio in native byte order (which is also how we get samples from wavpack); outpu...

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_init),
(gst_wavpack_dec_format_samples),
(gst_wavpack_dec_clip_outgoing_buffer), (gst_wavpack_dec_chain),
(gst_wavpack_dec_change_state):
* ext/wavpack/gstwavpackdec.h:
Output audio in native byte order (which is also how we get
samples from wavpack); output samples with 21-24 bit depth
with 32 bit width (makes things easier for us).

18 years agoext/wavpack/gstwavpackdec.*: More clean-ups: remove most of the disfunctional correct...
Tim-Philipp Müller [Tue, 18 Jul 2006 15:53:35 +0000 (15:53 +0000)]
ext/wavpack/gstwavpackdec.*: More clean-ups: remove most of the disfunctional correction pad stuff for now, if it eve...

Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init),
(gst_wavpack_dec_class_init), (gst_wavpack_dec_init),
(gst_wavpack_dec_finalize), (gst_wavpack_dec_format_samples),
(gst_wavpack_dec_clip_outgoing_buffer), (gst_wavpack_dec_chain),
(gst_wavpack_dec_sink_event), (gst_wavpack_dec_change_state):
* ext/wavpack/gstwavpackdec.h:
More clean-ups: remove most of the disfunctional correction
pad stuff for now, if it ever gets implemented a lot of stuff
will have to be rewritten anyway; redo chain function, move
errors to end, error out instead of g_assert()ing. Also rename
overly long variable 'wavpackdec' to just 'dec'; miscellaneous
other small stuff.

18 years agoconfigure.ac: Check for wavpack version and define WAVPACK_OLD_API if necessary.
Sebastian Dröge [Tue, 18 Jul 2006 14:08:06 +0000 (14:08 +0000)]
configure.ac: Check for wavpack version and define WAVPACK_OLD_API if necessary.

Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* configure.ac:
Check for wavpack version and define WAVPACK_OLD_API if
necessary.
* ext/wavpack/Makefile.am:
* ext/wavpack/gstwavpackcommon.c: (gst_wavpack_read_header),
(gst_wavpack_read_metadata):
* ext/wavpack/gstwavpackcommon.h:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init),
(gst_wavpack_dec_class_init), (gst_wavpack_dec_init),
(gst_wavpack_dec_finalize), (gst_wavpack_dec_format_samples),
(gst_wavpack_dec_clip_outgoing_buffer), (gst_wavpack_dec_chain),
(gst_wavpack_dec_sink_event), (gst_wavpack_dec_change_state),
(gst_wavpack_dec_request_new_pad), (gst_wavpack_dec_plugin_init):
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init),
(gst_wavpack_enc_init), (gst_wavpack_enc_finalize),
(gst_wavpack_enc_set_wp_config):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init),
(gst_wavpack_parse_finalize), (gst_wavpack_parse_class_init),
(gst_wavpack_parse_index_get_entry_from_sample),
(gst_wavpack_parse_scan_to_find_sample),
(gst_wavpack_parse_handle_seek_event),
(gst_wavpack_parse_create_src_pad):
* ext/wavpack/gstwavpackstreamreader.c:
* ext/wavpack/gstwavpackstreamreader.h:
Port to new/official wavpack API, don't use API that was exported
in wavpack header files and in the lib but meant to be private, at
least not for recent wavpack versions; misc. 'cleanups' (#347443).

18 years agogst/nsf/nsf.c: Fix compilation by not ignoring return values of fread.
Wim Taymans [Tue, 18 Jul 2006 09:36:46 +0000 (09:36 +0000)]
gst/nsf/nsf.c: Fix compilation by not ignoring return values of fread.

Original commit message from CVS:
* gst/nsf/nsf.c: (nsf_load):
Fix compilation by not ignoring return values of fread.

18 years agodocs/plugins/inspect/: adding more inspect docs
Thomas Vander Stichele [Mon, 17 Jul 2006 15:09:31 +0000 (15:09 +0000)]
docs/plugins/inspect/: adding more inspect docs

Original commit message from CVS:
* docs/plugins/inspect/plugin-alsaspdif.xml:
* docs/plugins/inspect/plugin-filter.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-sdl.xml:
* docs/plugins/inspect/plugin-spectrum.xml:
adding more inspect docs

18 years agodocs/plugins/inspect/plugin-gdp.xml: actually commit inspectation of gdp element
Thomas Vander Stichele [Mon, 17 Jul 2006 14:43:55 +0000 (14:43 +0000)]
docs/plugins/inspect/plugin-gdp.xml: actually commit inspectation of gdp element

Original commit message from CVS:
* docs/plugins/inspect/plugin-gdp.xml:
actually commit inspectation of gdp element

18 years agogst/gdp/: remove parent_class setting, BOILERPLATE does this fix typo in comment
Thomas Vander Stichele [Mon, 17 Jul 2006 14:17:45 +0000 (14:17 +0000)]
gst/gdp/: remove parent_class setting, BOILERPLATE does this fix typo in comment

Original commit message from CVS:
2006-07-17  Thomas Vander Stichele  <thomas at apestaart dot org>

* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_class_init):
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
remove parent_class setting, BOILERPLATE does this
(gst_gdp_pay_reset_streamheader):
fix typo in comment

18 years agogst/qtdemux/qtdemux.c: Store duration in uint64 too instead of clipping.
Wim Taymans [Mon, 17 Jul 2006 10:25:57 +0000 (10:25 +0000)]
gst/qtdemux/qtdemux.c: Store duration in uint64 too instead of clipping.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_perform_seek),
(gst_qtdemux_prepare_current_sample),
(gst_qtdemux_loop_state_movie):
Store duration in uint64 too instead of clipping.
When we do a keyframe seek and the requested time is at the
keyframe, don't seek back to the beginning of the keyframe.
Fixes #347439.

18 years agoext/faad/gstfaad.c: Don't crash on small buffers.
Wim Taymans [Sun, 16 Jul 2006 14:46:02 +0000 (14:46 +0000)]
ext/faad/gstfaad.c: Don't crash on small buffers.

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_setcaps), (gst_faad_sync):
Don't crash on small buffers.

18 years agoext/ivorbis/vorbisfile.c: Reset adapter.
Stefan Kost [Sat, 15 Jul 2006 11:57:00 +0000 (11:57 +0000)]
ext/ivorbis/vorbisfile.c: Reset adapter.

Original commit message from CVS:
* ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_sink_activate):
Reset adapter.

18 years agogst/spectrum/: Do not use deprecated gtk functions.
Stefan Kost [Sat, 15 Jul 2006 11:50:25 +0000 (11:50 +0000)]
gst/spectrum/: Do not use deprecated gtk functions.

Original commit message from CVS:
* gst/spectrum/demo-audiotest.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
Do not use deprecated gtk functions.

18 years agobuild as a plugin, not a lib
Thomas Vander Stichele [Fri, 14 Jul 2006 10:34:36 +0000 (10:34 +0000)]
build as a plugin, not a lib

Original commit message from CVS:
build as a plugin, not a lib

18 years agogst/nsf/: Remove crack malloc/free replacement.
Wim Taymans [Fri, 14 Jul 2006 09:11:11 +0000 (09:11 +0000)]
gst/nsf/: Remove crack malloc/free replacement.

Original commit message from CVS:
* gst/nsf/Makefile.am:
* gst/nsf/memguard.c:
* gst/nsf/memguard.h:
* gst/nsf/types.h:
Remove crack malloc/free replacement.

18 years agodocs/plugins/: add more plugins and elements to docs
Thomas Vander Stichele [Thu, 13 Jul 2006 15:25:58 +0000 (15:25 +0000)]
docs/plugins/: add more plugins and elements to docs

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
add more plugins and elements to docs
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
fix segfaults due to wrong g_free
add example
* gst/gdp/gstgdppay.c:
add example

18 years agogst/nsf/Makefile.am: Fix build.
Wim Taymans [Thu, 13 Jul 2006 15:22:36 +0000 (15:22 +0000)]
gst/nsf/Makefile.am: Fix build.

Original commit message from CVS:
* gst/nsf/Makefile.am:
Fix build.

18 years agoremove sdlvideosink plugin and update the rest
Thomas Vander Stichele [Thu, 13 Jul 2006 15:22:20 +0000 (15:22 +0000)]
remove sdlvideosink plugin and update the rest

Original commit message from CVS:
remove sdlvideosink plugin and update the rest

18 years agoAdded NSF decoder plugin. Fixes 151192.
Wim Taymans [Thu, 13 Jul 2006 15:07:28 +0000 (15:07 +0000)]
Added NSF decoder plugin. Fixes 151192.

Original commit message from CVS:
Based on patches by: Johan Dahlin <johan at gnome dot org>
Ronald Bultje <rbultje at ronald dot bitfreak dot net>
* configure.ac:
* gst/nsf/Makefile.am:
* gst/nsf/dis6502.h:
* gst/nsf/fds_snd.c:
* gst/nsf/fds_snd.h:
* gst/nsf/fmopl.c:
* gst/nsf/fmopl.h:
* gst/nsf/gstnsf.c:
* gst/nsf/gstnsf.h:
* gst/nsf/log.c:
* gst/nsf/log.h:
* gst/nsf/memguard.c:
* gst/nsf/memguard.h:
* gst/nsf/mmc5_snd.c:
* gst/nsf/mmc5_snd.h:
* gst/nsf/nes6502.c:
* gst/nsf/nes6502.h:
* gst/nsf/nes_apu.c:
* gst/nsf/nes_apu.h:
* gst/nsf/nsf.c:
* gst/nsf/nsf.h:
* gst/nsf/osd.h:
* gst/nsf/types.h:
* gst/nsf/vrc7_snd.c:
* gst/nsf/vrc7_snd.h:
* gst/nsf/vrcvisnd.c:
* gst/nsf/vrcvisnd.h:
Added NSF decoder plugin. Fixes 151192.

18 years agotests/check/Makefile.am: Only run mpeg2enc unit test if we built the mpeg2enc plugin.
Tim-Philipp Müller [Thu, 13 Jul 2006 12:42:29 +0000 (12:42 +0000)]
tests/check/Makefile.am: Only run mpeg2enc unit test if we built the mpeg2enc plugin.

Original commit message from CVS:
* tests/check/Makefile.am:
Only run mpeg2enc unit test if we built the mpeg2enc plugin.

18 years agoconfigure.ac: Don't error out in configure if mjpegtools dev is not there.
Tim-Philipp Müller [Thu, 13 Jul 2006 12:24:58 +0000 (12:24 +0000)]
configure.ac: Don't error out in configure if mjpegtools dev is not there.

Original commit message from CVS:
* configure.ac:
Don't error out in configure if mjpegtools dev is not there.

18 years agoPort mpeg2enc to 0.10 (#343184).
Mark Nauwelaerts [Thu, 13 Jul 2006 11:06:45 +0000 (11:06 +0000)]
Port mpeg2enc to 0.10 (#343184).

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* configure.ac:
* ext/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mpeg2enc/gstmpeg2enc.cc:
* ext/mpeg2enc/gstmpeg2enc.hh:
* ext/mpeg2enc/gstmpeg2encoder.cc:
* ext/mpeg2enc/gstmpeg2encoder.hh:
* ext/mpeg2enc/gstmpeg2encoptions.cc:
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
* ext/mpeg2enc/gstmpeg2encpicturereader.hh:
* ext/mpeg2enc/gstmpeg2encstreamwriter.cc:
* ext/mpeg2enc/gstmpeg2encstreamwriter.hh:
Port mpeg2enc to 0.10 (#343184).
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/mpeg2enc.c:
Add unit test for mpeg2enc.
* tests/icles/.cvsignore:
Ignore pitch-test.

18 years agogst/spectrum/gstspectrum.c: Fix typo in property nick.
Tim-Philipp Müller [Wed, 12 Jul 2006 09:28:46 +0000 (09:28 +0000)]
gst/spectrum/gstspectrum.c: Fix typo in property nick.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init):
Fix typo in property nick.

18 years agogst/filter/: Don't forget new files.
Wim Taymans [Mon, 10 Jul 2006 14:49:46 +0000 (14:49 +0000)]
gst/filter/: Don't forget new files.

Original commit message from CVS:
* gst/filter/gstbpwsinc.h:
* gst/filter/gstiir.h:
* gst/filter/gstlpwsinc.h:
Don't forget new files.

18 years agoI'm too lazy to comment this
Wim Taymans [Mon, 10 Jul 2006 14:43:35 +0000 (14:43 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
*** empty log message ***

18 years agoPorted the gstfilter plugin to GStreamer 0.10.
Mathis Hofer [Mon, 10 Jul 2006 14:42:15 +0000 (14:42 +0000)]
Ported the gstfilter plugin to GStreamer 0.10.

Original commit message from CVS:
Patch by: Mathis Hofer <mathis dot hofer at dreamlab dot net>
* configure.ac:
* gst/filter/Makefile.am:
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_dispose),
(gst_bpwsinc_base_init), (gst_bpwsinc_class_init),
(gst_bpwsinc_init), (bpwsinc_set_caps), (bpwsinc_transform_ip),
(bpwsinc_set_property), (bpwsinc_get_property):
* gst/filter/gstfilter.c: (plugin_init):
* gst/filter/gstfilter.h:
* gst/filter/gstiir.c: (gst_iir_dispose), (gst_iir_base_init),
(gst_iir_class_init), (gst_iir_init), (iir_set_caps),
(iir_transform_ip), (iir_set_property), (iir_get_property):
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_dispose),
(gst_lpwsinc_base_init), (gst_lpwsinc_class_init),
(gst_lpwsinc_init), (lpwsinc_set_caps), (lpwsinc_transform_ip),
(lpwsinc_set_property), (lpwsinc_get_property):
Ported the gstfilter plugin to GStreamer 0.10.

18 years agogst/qtdemux/qtdemux.c: Extract comment information!!
Wim Taymans [Mon, 10 Jul 2006 09:57:26 +0000 (09:57 +0000)]
gst/qtdemux/qtdemux.c: Extract comment information!!

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_udta):
Extract comment information!!

18 years agogst/qtdemux/qtdemux.c: Extract year/date information (fixes #347079).
Tim-Philipp Müller [Mon, 10 Jul 2006 09:46:25 +0000 (09:46 +0000)]
gst/qtdemux/qtdemux.c: Extract year/date information (fixes #347079).

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_udta),
(qtdemux_tag_add_date):
Extract year/date information (fixes #347079).