platform/upstream/gstreamer.git
18 years agoext/gnomevfs/: Fix URI interface implementation return type.
Josep Torre Valles [Tue, 10 Oct 2006 12:49:02 +0000 (12:49 +0000)]
ext/gnomevfs/: Fix URI interface implementation return type.

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

Patch by: Josep Torre Valles <josep@fluendo.com>

* ext/gnomevfs/gstgnomevfssink.c:
* ext/gnomevfs/gstgnomevfssrc.c:
Fix URI interface implementation return type.
* ext/pango/gsttextoverlay.c: (gst_text_overlay_set_property):
Fix what looks like a copy/paste issue when assigning values.
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
(gst_audio_filter_template_get_type):
Cast to prevent Forte warnings.
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
Fix URI interface implementation return type.
gst_pad_query_position requires a signed integer pointer as
3rd parameter, GstClockTime is unsigned.
* gst/audioconvert/audioconvert.c:
Fix integer overflow when treated as signed.
* gst/audioresample/resample.c: (resample_add_input_data):
Cast to prevent warnings on Forte.
* gst/ffmpegcolorspace/imgconvert.c: (build_rgb_palette):
Fix integer overflow when treated as signed.
* gst/ffmpegcolorspace/imgconvert_template.h:
Fix integer overflow when treated as signed. RGBA_OUT shifts bits.
* gst/playback/gstdecodebin.c: (queue_filled_cb),
(cleanup_decodebin):
Who initialises a guint to -1!
Cast function pointers to prevent warnings on Forte.
* gst/playback/gstplaybasebin.c: (queue_deadlock_check),
(queue_threshold_reached):
Cast function pointers correctly to prevent warnings on Forte.
* gst/playback/gststreaminfo.c: (gst_stream_info_dispose):
Cast function pointers correctly to prevent warnings on Forte.
* gst/subparse/gstssaparse.c: (gst_ssa_parse_setcaps):
Obvious change to unsigned, 0xEF > max signed char.
* gst/tcp/gstmultifdsink.c: (get_buffers_max), (count_burst_unit):
GstClockTime is unsigned, initialise correctly.
* gst/tcp/gsttcp.c: (gst_tcp_socket_write):
Cast so pointer arithemetic doesn't cause warnings on Forte.
* gst/videorate/gstvideorate.c:
Use correct return value.
* tests/examples/seek/scrubby.c:
GstClockTime is unsigned, initialise correctly.

18 years agogst/qtdemux/qtdemux.c: Reorganise some stuff.
Wim Taymans [Tue, 10 Oct 2006 09:57:19 +0000 (09:57 +0000)]
gst/qtdemux/qtdemux.c: Reorganise some stuff.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_push_event), (gst_qtdemux_do_seek),
(gst_qtdemux_change_state), (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header), (gst_qtdemux_activate_segment),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop),
(gst_qtdemux_post_buffering), (gst_qtdemux_chain),
(gst_qtdemux_add_stream), (qtdemux_process_redirects),
(qtdemux_parse_tree), (qtdemux_parse_trak):
Reorganise some stuff.
Parse RTSP redirection URLS.

18 years agodocs/plugins/: Add/update docs stuff.
Tim-Philipp Müller [Sat, 7 Oct 2006 11:37:59 +0000 (11:37 +0000)]
docs/plugins/: Add/update docs stuff.

Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-mms.xml:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-neon.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-spcdec.xml:
* docs/plugins/inspect/plugin-swfdec.xml:
* docs/plugins/inspect/plugin-videocrop.xml:
* docs/plugins/inspect/plugin-wavpack.xml:
Add/update docs stuff.

18 years agoAdd ReplayGain analysis element (#357069).
René Stadler [Fri, 6 Oct 2006 15:56:01 +0000 (15:56 +0000)]
Add ReplayGain analysis element (#357069).

Original commit message from CVS:
Patch by: René Stadler  <mail at renestadler de>
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* gst/replaygain/Makefile.am:
* gst/replaygain/gstrganalysis.c: (gst_rg_analysis_base_init),
(gst_rg_analysis_class_init), (gst_rg_analysis_init),
(gst_rg_analysis_set_property), (gst_rg_analysis_get_property),
(gst_rg_analysis_start), (gst_rg_analysis_set_caps),
(gst_rg_analysis_transform_ip), (gst_rg_analysis_event),
(gst_rg_analysis_stop), (gst_rg_analysis_handle_tags),
(gst_rg_analysis_handle_eos), (gst_rg_analysis_track_result),
(gst_rg_analysis_album_result), (plugin_init):
* gst/replaygain/gstrganalysis.h:
* gst/replaygain/rganalysis.c: (yule_filter), (butter_filter),
(apply_filters), (reset_filters), (accumulator_add),
(accumulator_clear), (accumulator_result), (rg_analysis_new),
(rg_analysis_set_sample_rate), (rg_analysis_destroy),
(rg_analysis_analyze_mono_float),
(rg_analysis_analyze_stereo_float),
(rg_analysis_analyze_mono_int16),
(rg_analysis_analyze_stereo_int16), (rg_analysis_analyze),
(rg_analysis_track_result), (rg_analysis_album_result),
(rg_analysis_reset_album), (rg_analysis_reset):
* gst/replaygain/rganalysis.h:
Add ReplayGain analysis element (#357069).
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/rganalysis.c: (get_expected_gain),
(setup_rganalysis), (cleanup_rganalysis), (set_playing_state),
(send_eos_event), (send_tag_event), (poll_eos), (poll_tags),
(fail_unless_track_gain), (fail_unless_track_peak),
(fail_unless_album_gain), (fail_unless_album_peak),
(fail_if_track_tags), (fail_if_album_tags),
(fail_unless_num_tracks), (test_buffer_const_float_mono),
(test_buffer_const_float_stereo), (test_buffer_const_int16_mono),
(test_buffer_const_int16_stereo), (test_buffer_square_float_mono),
(test_buffer_square_float_stereo), (test_buffer_square_int16_mono),
(test_buffer_square_int16_stereo), (push_buffer), (GST_START_TEST),
(rganalysis_suite), (main):
Unit tests for the new replaygain element.

18 years agoext/faad/gstfaad.c: Some cleanups.
Wim Taymans [Fri, 6 Oct 2006 15:49:39 +0000 (15:49 +0000)]
ext/faad/gstfaad.c: Some cleanups.

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_setcaps), (gst_faad_chain),
(gst_faad_close_decoder):
Some cleanups.
Added some more debugging.
Don't ever ignore unlinked, we're not a demuxer.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream):
Activate pad before adding it to the element.

18 years agoext/theora/theoradec.*: Port lots of changes from theoradec to theoraexpdec.
Michael Smith [Fri, 6 Oct 2006 12:02:09 +0000 (12:02 +0000)]
ext/theora/theoradec.*: Port lots of changes from theoradec to theoraexpdec.

Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theoradec_reset),
(theora_get_query_types), (theora_dec_src_query),
(theora_dec_src_event), (theora_dec_sink_event),
(theora_handle_comment_packet), (theora_handle_type_packet),
(theora_handle_header_packet), (clip_buffer), (theora_dec_push),
(theora_handle_422_image), (theora_handle_420_image),
(theora_handle_data_packet), (theora_dec_chain),
(theora_dec_change_state):
* ext/theora/theoradec.h:
Port lots of changes from theoradec to theoraexpdec.
This catches this plugin up to theoradec. Note that duplicate frames
are broken in theoradec at the moment.

18 years agogst/spectrum/gstspectrum.c: Fix mem leak, avoid unnecessary memcpy.
Tim-Philipp Müller [Fri, 6 Oct 2006 11:31:11 +0000 (11:31 +0000)]
gst/spectrum/gstspectrum.c: Fix mem leak, avoid unnecessary memcpy.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_transform_ip):
Fix mem leak, avoid unnecessary memcpy.

18 years agogst/spectrum/gstspectrum.c: Removed cruft code that was just commented out. Removed...
Stefan Kost [Fri, 6 Oct 2006 02:29:35 +0000 (02:29 +0000)]
gst/spectrum/gstspectrum.c: Removed cruft code that was just commented out. Removed some obsolete debug logs statements.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_init),
(gst_spectrum_transform_ip):
Removed cruft code that was just commented out. Removed some obsolete
debug logs statements.

18 years agoAnother batch of printf format fixes.
Tim-Philipp Müller [Thu, 5 Oct 2006 18:14:46 +0000 (18:14 +0000)]
Another batch of printf format fixes.

Original commit message from CVS:
* ext/dts/gstdtsdec.c: (gst_dtsdec_chain):
* ext/musicbrainz/gsttrm.c: (gst_trm_setcaps):
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_sink_set_caps):
* gst/qtdemux/qtdemux.c: (gst_qtdemux_chain), (qtdemux_parse),
(qtdemux_parse_trak):
* gst/spectrum/gstspectrum.c: (gst_spectrum_transform_ip):
Another batch of printf format fixes.

18 years agoPrintf format fixes.
Tim-Philipp Müller [Thu, 5 Oct 2006 15:55:20 +0000 (15:55 +0000)]
Printf format fixes.

Original commit message from CVS:
* ext/alsa/gstalsadeviceprobe.c:
(gst_alsa_device_property_probe_get_values):
* ext/alsa/gstalsasink.c: (set_hwparams):
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_elem_pad),
(gst_ogg_chain_new_stream), (gst_ogg_demux_read_chain):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_send_headers),
(gst_ogg_mux_process_best_pad):
* ext/ogg/gstoggparse.c: (gst_ogg_parse_new_stream),
(gst_ogg_parse_chain):
* ext/ogg/gstogmparse.c: (gst_ogm_parse_stream_header):
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_setup),
(gst_vorbis_enc_buffer_check_discontinuous):
* ext/vorbis/vorbisparse.c: (vorbis_parse_src_query):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_handle_track_seek):
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_push_full):
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
* gst/audioresample/resample.c: (resample_input_pushthrough):
* gst/playback/gstplaybasebin.c: (queue_out_of_data):
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_handle_clients):
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
(wavpack_type_find):
* gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_create):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new):
* tests/check/elements/volume.c: (GST_START_TEST):
Printf format fixes.

18 years agogst/videocrop/gstvideocrop.*: Handle packed YUV formats (UYVY, YUY2, YUYV) separately...
Tim-Philipp Müller [Wed, 4 Oct 2006 22:37:07 +0000 (22:37 +0000)]
gst/videocrop/gstvideocrop.*: Handle packed YUV formats (UYVY, YUY2, YUYV) separately; also, fix passthrough mode; la...

Original commit message from CVS:
* gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init),
(gst_video_crop_init),
(gst_video_crop_get_image_details_from_caps),
(gst_video_crop_transform_packed_complex),
(gst_video_crop_transform_packed_simple),
(gst_video_crop_transform), (gst_video_crop_transform_caps),
(gst_video_crop_set_caps),
(gst_videocrop_clear_negotiated_caps_locked),
(gst_video_crop_set_property):
* gst/videocrop/gstvideocrop.h:
Handle packed YUV formats (UYVY, YUY2, YUYV) separately; also, fix
passthrough mode; lastly, clear negotiated basetransform caps when
the cropping changes in order to force renegotiation.

18 years agotests/icles/: Visual test for videocrop, shows that packed yuv doesn't work right...
Tim-Philipp Müller [Wed, 4 Oct 2006 20:05:07 +0000 (20:05 +0000)]
tests/icles/: Visual test for videocrop, shows that packed yuv doesn't work right yet. --with-ffmpegcolorspace option...

Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/videocrop-test.c: (quit_mainloop), (tick_cb),
(test_with_caps), (video_crop_get_test_caps), (main):
Visual test for videocrop, shows that packed yuv doesn't work right
yet. --with-ffmpegcolorspace option doesn't work yet for unknown
reasons (another basetransform issue?)

18 years agoRemove more v4l2 stuff, hopefully fixing 'make distcheck' again.
Tim-Philipp Müller [Wed, 4 Oct 2006 10:55:21 +0000 (10:55 +0000)]
Remove more v4l2 stuff, hopefully fixing 'make distcheck' again.

Original commit message from CVS:
* po/POTFILES.in:
* sys/v4l2/.cvsignore:
Remove more v4l2 stuff, hopefully fixing 'make distcheck' again.

18 years agoremoved v4l2
Thomas Vander Stichele [Wed, 4 Oct 2006 10:29:22 +0000 (10:29 +0000)]
removed v4l2

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/inspect/plugin-video4linux2.xml:
* gst-plugins-bad.spec.in:
removed v4l2

18 years agoremoving icle for v4l2
Thomas Vander Stichele [Tue, 3 Oct 2006 18:32:31 +0000 (18:32 +0000)]
removing icle for v4l2

Original commit message from CVS:
removing icle for v4l2

18 years agoremove last cond
Thomas Vander Stichele [Tue, 3 Oct 2006 18:27:57 +0000 (18:27 +0000)]
remove last cond

Original commit message from CVS:
remove last cond

18 years agomoved to gst-plugins-good
Thomas Vander Stichele [Tue, 3 Oct 2006 18:23:21 +0000 (18:23 +0000)]
moved to gst-plugins-good

Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/v4l2/Makefile.am:
* sys/v4l2/README:
* 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/gstv4l2vidorient.c:
* sys/v4l2/gstv4l2vidorient.h:
* sys/v4l2/gstv4l2xoverlay.c:
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.c:
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.c:
* sys/v4l2/v4l2src_calls.h:
moved to gst-plugins-good

18 years agocomment out the notifies for removed properties
Thomas Vander Stichele [Tue, 3 Oct 2006 13:47:10 +0000 (13:47 +0000)]
comment out the notifies for removed properties

Original commit message from CVS:
comment out the notifies for removed properties

18 years agosys/v4l2/gstv4l2object.c: comment out the properties that are already part of the...
Thomas Vander Stichele [Tue, 3 Oct 2006 13:30:48 +0000 (13:30 +0000)]
sys/v4l2/gstv4l2object.c: comment out the properties that are already part of the tuner interface.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper):
comment out the properties that are already part of the tuner
interface.

18 years agosys/v4l2/gstv4l2src.c: Improve docs.
Zaheer Abbas Merali [Tue, 3 Oct 2006 13:18:59 +0000 (13:18 +0000)]
sys/v4l2/gstv4l2src.c: Improve docs.

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

* sys/v4l2/gstv4l2src.c:
Improve docs.

18 years agoext/xvid/gstxvid.c: Set rank of xviddec to NONE until someone fixes it (too many...
Tim-Philipp Müller [Mon, 2 Oct 2006 13:28:49 +0000 (13:28 +0000)]
ext/xvid/gstxvid.c: Set rank of xviddec to NONE until someone fixes it (too many crasher bug reports against totem, p...

Original commit message from CVS:
* ext/xvid/gstxvid.c: (plugin_init):
Set rank of xviddec to NONE until someone fixes it (too many crasher
bug reports against totem, people should use gst-ffmpeg).

18 years agosys/v4l2/: Framerate can be 0/1 too.
Wim Taymans [Thu, 28 Sep 2006 17:08:47 +0000 (17:08 +0000)]
sys/v4l2/: Framerate can be 0/1 too.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_all_caps),
(gst_v4l2src_get_caps):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
Framerate can be 0/1 too.
Init framerate to 0/1 before querying it so that we can detect
devices that don't know about a framerate.
Add some more debugging info.

18 years agogst/qtdemux/qtdemux.c: Add support for 'yv12' fourcc.
Tim-Philipp Müller [Thu, 28 Sep 2006 14:31:41 +0000 (14:31 +0000)]
gst/qtdemux/qtdemux.c: Add support for 'yv12' fourcc.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add support for 'yv12' fourcc.

18 years agoRemoved set-undef-fps.
Edgard Lima [Wed, 27 Sep 2006 17:47:57 +0000 (17:47 +0000)]
Removed set-undef-fps.

Original commit message from CVS:
Removed set-undef-fps.

18 years agosys/v4l2/: Renamed some properties to match the tuner interface naming.
Wim Taymans [Wed, 27 Sep 2006 17:04:22 +0000 (17:04 +0000)]
sys/v4l2/: Renamed some properties to match the tuner interface naming.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new),
(gst_v4l2_object_set_property_helper),
(gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_create):
* sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_contains_channel),
(gst_v4l2_tuner_list_channels),
(gst_v4l2_tuner_set_channel_and_notify),
(gst_v4l2_tuner_get_channel), (gst_v4l2_tuner_contains_norm),
(gst_v4l2_tuner_list_norms), (gst_v4l2_tuner_set_norm_and_notify),
(gst_v4l2_tuner_get_norm):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_empty_lists):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_get_fps):
Renamed some properties to match the tuner interface naming.

18 years agoSmall cleanups.
Wim Taymans [Wed, 27 Sep 2006 16:14:18 +0000 (16:14 +0000)]
Small cleanups.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_object_set_property_helper),
(gst_v4l2_set_defaults):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_create):
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_open), (gst_v4l2_set_norm),
(gst_v4l2_get_frequency), (gst_v4l2_set_frequency),
(gst_v4l2_signal_strength), (gst_v4l2_get_attribute),
(gst_v4l2_set_attribute), (gst_v4l2_get_input),
(gst_v4l2_set_input):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_grab_frame), (gst_v4l2src_get_capture),
(gst_v4l2src_set_capture), (gst_v4l2src_capture_init),
(gst_v4l2src_capture_start), (gst_v4l2src_capture_stop),
(gst_v4l2src_buffer_new):
* tests/icles/v4l2src-test.c: (my_bus_callback), (main):
Small cleanups.
Fix error messages.
Use locks when getting timestamps.
Fix leaks in test.
Add licensing header to tests.

18 years agoSome cleanups and comments.
Edgard Lima [Wed, 27 Sep 2006 15:14:07 +0000 (15:14 +0000)]
Some cleanups and comments.

Original commit message from CVS:
Some cleanups and comments.

18 years agodocs/plugins/: Add v4l2 plugin to the docs.
Wim Taymans [Tue, 26 Sep 2006 14:17:54 +0000 (14:17 +0000)]
docs/plugins/: Add v4l2 plugin to the 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 v4l2 plugin to the docs.
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2vidorient.c:
Fix docs.
Remove some more externs.

18 years agosys/v4l2/Makefile.am: Fix makefile, list libs in stack order.
Wim Taymans [Tue, 26 Sep 2006 13:18:06 +0000 (13:18 +0000)]
sys/v4l2/Makefile.am: Fix makefile, list libs in stack order.

Original commit message from CVS:
* sys/v4l2/Makefile.am:
Fix makefile, list libs in stack order.
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_device_get_type),
(gst_v4l2_object_install_properties_helper):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2tuner.h:
* sys/v4l2/gstv4l2vidorient.h:
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.h:
Fix coding style:
- Remove extern from functions.
- Fix header indentation.
Fix Flags, add defaults for properties.
Remove unused enums.
Fix TOO_LAZY in error messages.

18 years agosys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for...
Wim Taymans [Tue, 26 Sep 2006 11:06:17 +0000 (11:06 +0000)]
sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for additional code clarity.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_class_probe_devices),
(gst_v4l2_probe_needs_probe),
(gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new),
(gst_v4l2_object_destroy), (gst_v4l2_object_set_property_helper),
(gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults),
(gst_v4l2_object_start), (gst_v4l2_object_stop):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_init), (gst_v4l2src_dispose),
(gst_v4l2src_set_property), (gst_v4l2src_get_property),
(gst_v4l2src_fixate), (gst_v4l2src_get_caps),
(gst_v4l2src_set_caps), (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_open), (gst_v4l2_close), (gst_v4l2_get_norm),
(gst_v4l2_set_norm), (gst_v4l2_get_frequency),
(gst_v4l2_set_frequency), (gst_v4l2_signal_strength),
(gst_v4l2_get_attribute), (gst_v4l2_set_attribute),
(gst_v4l2_get_input), (gst_v4l2_set_input):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_queue_frame), (gst_v4l2src_grab_frame),
(gst_v4l2src_get_capture), (gst_v4l2src_set_capture),
(gst_v4l2src_capture_init), (gst_v4l2src_capture_start),
(gst_v4l2src_capture_stop), (gst_v4l2src_capture_deinit),
(gst_v4l2src_get_size_limits), (gst_v4l2src_set_fps),
(gst_v4l2src_get_fps), (gst_v4l2src_buffer_finalize),
(gst_v4l2src_buffer_new):
Fix pass at code cleanups, move errors cases out of the normal
flow for additional code clarity.

18 years agoext/cdaudio/gstcdaudio.c: Port to 0.10.
Wim Taymans [Sat, 23 Sep 2006 13:21:43 +0000 (13:21 +0000)]
ext/cdaudio/gstcdaudio.c: Port to 0.10.

Original commit message from CVS:
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init),
(gst_cdaudio_init), (gst_cdaudio_set_property),
(gst_cdaudio_get_property), (gst_cdaudio_change_state),
(gst_cdaudio_send_event), (gst_cdaudio_get_query_types),
(gst_cdaudio_query), (cdaudio_uri_set_uri):
Port to 0.10.

18 years agosys/glsink/glimagesink.c: Fix problems when the element cannot open the display....
David Schleef [Sat, 23 Sep 2006 00:28:35 +0000 (00:28 +0000)]
sys/glsink/glimagesink.c: Fix problems when the element cannot open the display. (fixes #357212)

Original commit message from CVS:
* sys/glsink/glimagesink.c:
Fix problems when the element cannot open the display.
(fixes #357212)

18 years agoconfigure.ac: Up requirements to -base CVS and core CVS (the format for the video...
Tim-Philipp Müller [Fri, 22 Sep 2006 16:08:38 +0000 (16:08 +0000)]
configure.ac: Up requirements to -base CVS and core CVS (the format for the video orientation interface used by v4l2s...

Original commit message from CVS:
* configure.ac:
Up requirements to -base CVS and core CVS (the format for the
video orientation interface used by v4l2src and the latter
since that's what -base CVS requires).

18 years agoext/directfb/dfbvideosink.c: Lower rank from SECONDARY to MARGINAL. Plugins in -bad...
Tim-Philipp Müller [Fri, 22 Sep 2006 15:59:59 +0000 (15:59 +0000)]
ext/directfb/dfbvideosink.c: Lower rank from SECONDARY to MARGINAL. Plugins in -bad that might be autoplugged shouldn...

Original commit message from CVS:
* ext/directfb/dfbvideosink.c: (plugin_init):
Lower rank from SECONDARY to MARGINAL. Plugins in -bad that might
be autoplugged shouldn't trump plugins in -base, -good or -ugly
(in this case ximagesink).
* sys/glsink/glimagesink.c: (plugin_init):
Set rank to NONE to prevent it from being autoplugged until
errors are handled properly (see #357212).

18 years agoReverted previous commit (2006-09-19 - Allow internal codes from last.fm). As dicusse...
Edgard Lima [Thu, 21 Sep 2006 14:01:18 +0000 (14:01 +0000)]
Reverted previous commit (2006-09-19 - Allow internal codes from last.fm). As dicussed on #gstreamer it should be don...

Original commit message from CVS:
Reverted previous commit (2006-09-19 - Allow internal codes from last.fm). As dicussed on #gstreamer it should be done in separete element.

18 years agoext/faac/gstfaac.c: Add decoder specific info on the caps.
Wim Taymans [Thu, 21 Sep 2006 13:41:42 +0000 (13:41 +0000)]
ext/faac/gstfaac.c: Add decoder specific info on the caps.

Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_configure_source_pad),
(gst_faac_chain):
Add decoder specific info on the caps.
Some cleanups here and there.

18 years agoAllow internal codes from last.fm
Edgard Lima [Tue, 19 Sep 2006 21:49:52 +0000 (21:49 +0000)]
Allow internal codes from last.fm

Original commit message from CVS:
Allow internal codes from last.fm

18 years agoJust a small fix to the app options.
Edgard Lima [Tue, 19 Sep 2006 16:24:10 +0000 (16:24 +0000)]
Just a small fix to the app options.

Original commit message from CVS:
Just a small fix to the app options.

18 years agoAdd Video Orientation interface support to v4l2src.
Edgard Lima [Tue, 19 Sep 2006 13:08:35 +0000 (13:08 +0000)]
Add Video Orientation interface support to v4l2src.

Original commit message from CVS:
Add Video Orientation interface support to v4l2src.

18 years agoext/gsm/gstgsmdec.*: Handle WAV49 variant (GSM in WAV).
Wim Taymans [Tue, 19 Sep 2006 10:10:12 +0000 (10:10 +0000)]
ext/gsm/gstgsmdec.*: Handle WAV49 variant (GSM in WAV).

Original commit message from CVS:
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init),
(gst_gsmdec_sink_setcaps), (gst_gsmdec_sink_event),
(gst_gsmdec_chain):
* ext/gsm/gstgsmdec.h:
Handle WAV49 variant (GSM in WAV).
Some small cleanups.

18 years agoFix GST_BUFFER_DURATION.
Edgard Lima [Mon, 18 Sep 2006 15:36:14 +0000 (15:36 +0000)]
Fix GST_BUFFER_DURATION.

Original commit message from CVS:
Fix GST_BUFFER_DURATION.

18 years agotests/check/: Fix big batch of compiler warnings.
Stefan Kost [Sat, 16 Sep 2006 22:30:50 +0000 (22:30 +0000)]
tests/check/: Fix big batch of compiler warnings.

Original commit message from CVS:
* tests/check/elements/audioresample.c: (GST_START_TEST):
* tests/check/elements/videotestsrc.c: (check_rgb_buf):
* tests/check/elements/volume.c: (GST_START_TEST):
* tests/check/elements/vorbisdec.c: (GST_START_TEST):
* tests/check/pipelines/oggmux.c: (validate_ogg_page), (eos_watch),
(test_pipeline), (GST_START_TEST):
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
* tests/check/pipelines/vorbisenc.c: (GST_START_TEST):
Fix big batch of compiler warnings.

18 years agoMore G_OBJECT macro fixing.
Stefan Kost [Sat, 16 Sep 2006 22:14:36 +0000 (22:14 +0000)]
More G_OBJECT macro fixing.

Original commit message from CVS:
* ext/hermes/gsthermescolorspace.c:
* ext/ivorbis/vorbisfile.c:
* ext/lcs/gstcolorspace.c:
* ext/wavpack/gstwavpackenc.h:
* ext/xine/xineaudiodec.c:
* ext/xine/xineaudiosink.c:
* ext/xine/xineinput.c:
* gst/chart/gstchart.c:
* gst/equalizer/gstiirequalizer.c:
* gst/games/gstpuzzle.c:
* gst/librfb/gstrfbsrc.c:
* gst/mixmatrix/mixmatrix.c:
* gst/nsf/gstnsf.h:
* gst/vbidec/gstvbidec.c:
* gst/virtualdub/gstxsharpen.c:
More G_OBJECT macro fixing.

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.