platform/upstream/gst-plugins-base.git
19 years agogst/: Some GCC4 fixes
Andy Wingo [Thu, 5 May 2005 14:57:20 +0000 (14:57 +0000)]
gst/: Some GCC4 fixes

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

* gst-libs/gst/tag/gstid3tag.c: (gst_tag_list_new_from_id3v1):
* gst-libs/gst/tag/gstvorbistag.c:
(gst_tag_list_from_vorbiscomment_buffer), (gst_vorbis_tag_chain):
* gst/adder/gstadder.h:
* gst/audioconvert/gstchannelmix.c:
(gst_audio_convert_fill_one_other):
* gst/audiorate/gstaudiorate.c: (gst_audiorate_setcaps),
(gst_audiorate_init), (gst_audiorate_chain):
* gst/playback/gstplaybasebin.c: (setup_source):
* gst/playback/test3.c: (update_scale):
Some GCC4 fixes

* po/af.po:
* po/az.po:
* po/cs.po:
* po/en_GB.po:
* po/hu.po:
* po/it.po:
* po/nb.po:
* po/nl.po:
* po/or.po:
* po/sq.po:
* po/sr.po:
* po/sv.po:
* po/uk.po:
* po/vi.po: Foo

19 years agoGCC 4 compile fixes
Wim Taymans [Thu, 5 May 2005 10:42:41 +0000 (10:42 +0000)]
GCC 4 compile fixes

Original commit message from CVS:
GCC 4 compile fixes

19 years agoremove play.c so the package is distable
Christian Schaller [Thu, 5 May 2005 10:13:41 +0000 (10:13 +0000)]
remove play.c so the package is distable

Original commit message from CVS:
remove play.c so the package is distable

19 years agogst/: Don't ignore _push() return values.
Wim Taymans [Thu, 5 May 2005 09:49:08 +0000 (09:49 +0000)]
gst/: Don't ignore _push() return values.

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain),
(gst_audio_convert_caps_remove_format_info),
(gst_audio_convert_setcaps), (gst_audio_convert_fixate),
(gst_audio_convert_change_state), (gst_audio_convert_channels):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_negotiate), (gst_videotestsrc_src_link),
(gst_videotestsrc_parse_caps), (gst_videotestsrc_src_accept_caps),
(gst_videotestsrc_setcaps), (gst_videotestsrc_activate),
(gst_videotestsrc_init), (gst_videotestsrc_loop):
Don't ignore _push() return values.
Make sure no processing is done when shutting down.
Videotestsrc pad activation fix.

19 years agogst/adder/: Ported adder as an example of a mixer element using collect pads. Needs...
Wim Taymans [Thu, 5 May 2005 09:46:03 +0000 (09:46 +0000)]
gst/adder/: Ported adder as an example of a mixer element using collect pads. Needs more negotiation work.

Original commit message from CVS:
* gst/adder/Makefile.am:
* gst/adder/gstadder.c: (gst_adder_setcaps),
(gst_adder_class_init), (gst_adder_init),
(gst_adder_request_new_pad), (gst_adder_collected),
(gst_adder_change_state):
* gst/adder/gstadder.h:
Ported adder as an example of a mixer element using
collect pads. Needs more negotiation work.

19 years agoext/theora/: Added stream lock to decoder so that we can serialize the discont event.
Wim Taymans [Thu, 5 May 2005 09:44:01 +0000 (09:44 +0000)]
ext/theora/: Added stream lock to decoder so that we can serialize the discont event.

Original commit message from CVS:
* ext/theora/theoradec.c: (_inc_granulepos),
(theora_dec_src_event), (theora_dec_sink_event),
(theora_handle_comment_packet), (theora_handle_type_packet),
(theora_handle_header_packet), (theora_handle_data_packet),
(theora_dec_chain):
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(gst_theora_enc_init), (theora_enc_sink_setcaps),
(theora_push_buffer), (theora_push_packet),
(theora_enc_sink_event), (theora_enc_chain),
(theora_enc_change_state), (theora_enc_set_property),
(theora_enc_get_property):
Added stream lock to decoder so that we can serialize
the discont event.
More theoraenc porting, recover from errors, do clean
shutdown.

19 years agoext/ogg/: Ported ogg muxer.
Wim Taymans [Thu, 5 May 2005 09:39:35 +0000 (09:39 +0000)]
ext/ogg/: Ported ogg muxer.

Original commit message from CVS:
* ext/ogg/Makefile.am:
* ext/ogg/README:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind),
(gst_ogg_pad_submit_packet), (gst_ogg_demux_sink_activate),
(gst_ogg_print):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
(gst_ogg_mux_request_new_pad), (gst_ogg_mux_next_buffer),
(gst_ogg_mux_push_page), (gst_ogg_mux_queue_pads),
(gst_ogg_mux_get_headers), (gst_ogg_mux_set_header_on_caps),
(gst_ogg_mux_send_headers), (gst_ogg_mux_collected),
(gst_ogg_mux_change_state):
Ported ogg muxer.

19 years agoMore work on the audiosink, mostly debugging and a race in shutdown.
Wim Taymans [Thu, 5 May 2005 09:37:46 +0000 (09:37 +0000)]
More work on the audiosink, mostly debugging and a race in shutdown.

Original commit message from CVS:
* docs/design-audiosinks.txt:
* gst-libs/gst/audio/TODO:
* gst-libs/gst/audio/gstaudiosink.c:
(gst_audioringbuffer_get_type), (gst_audioringbuffer_class_init),
(audioringbuffer_thread_func), (gst_audioringbuffer_init),
(gst_audioringbuffer_acquire), (gst_audioringbuffer_release),
(gst_audioringbuffer_play), (gst_audioringbuffer_stop),
(gst_audioringbuffer_delay), (gst_audiosink_class_init),
(gst_audiosink_create_ringbuffer):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_baseaudiosink_class_init), (gst_baseaudiosink_init),
(gst_baseaudiosink_get_clock), (gst_baseaudiosink_get_time),
(gst_baseaudiosink_set_property), (build_linear_format),
(debug_spec_caps), (debug_spec_buffer),
(gst_baseaudiosink_setcaps), (gst_baseaudiosink_get_times),
(gst_baseaudiosink_event), (gst_baseaudiosink_preroll),
(gst_baseaudiosink_render), (gst_baseaudiosink_create_ringbuffer),
(gst_baseaudiosink_callback), (gst_baseaudiosink_change_state):
* gst-libs/gst/audio/gstringbuffer.c: (gst_ringbuffer_get_type),
(gst_ringbuffer_set_callback), (gst_ringbuffer_acquire),
(gst_ringbuffer_release), (gst_ringbuffer_play),
(gst_ringbuffer_pause), (gst_ringbuffer_stop),
(gst_ringbuffer_delay), (gst_ringbuffer_played_samples),
(gst_ringbuffer_set_sample), (wait_segment),
(gst_ringbuffer_commit), (gst_ringbuffer_prepare_read),
(gst_ringbuffer_advance), (gst_ringbuffer_clear):
More work on the audiosink, mostly debugging and a race in
shutdown.

19 years agoext/: Don't crap out when seeking back to position 0.
Wim Taymans [Thu, 28 Apr 2005 17:13:47 +0000 (17:13 +0000)]
ext/: Don't crap out when seeking back to position 0.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_sink_activate):
* ext/vorbis/vorbisdec.c: (vorbis_dec_convert),
(vorbis_dec_src_query), (vorbis_dec_src_event),
(vorbis_dec_sink_event), (vorbis_handle_comment_packet),
(vorbis_handle_type_packet), (vorbis_handle_header_packet),
(copy_samples), (vorbis_handle_data_packet), (vorbis_dec_chain):
Don't crap out when seeking back to position 0.

19 years agoexamples/seeking/seek.c: Make audio sink configurable, use alsasink as default.
Wim Taymans [Thu, 28 Apr 2005 16:24:23 +0000 (16:24 +0000)]
examples/seeking/seek.c: Make audio sink configurable, use alsasink as default.

Original commit message from CVS:
* examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline),
(make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline),
(make_vorbis_pipeline), (make_vorbis_theora_pipeline),
(make_avi_msmpeg4v3_mp3_pipeline), (make_mp3_pipeline),
(make_avi_pipeline), (make_mpeg_pipeline), (make_mpegnt_pipeline):
Make audio sink configurable, use alsasink as default.

19 years agoext/vorbis/vorbisdec.*: Refactor, use STREAM_LOCK.
Wim Taymans [Thu, 28 Apr 2005 16:22:47 +0000 (16:22 +0000)]
ext/vorbis/vorbisdec.*: Refactor, use STREAM_LOCK.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_sink_event), (vorbis_handle_comment_packet),
(vorbis_handle_type_packet), (vorbis_handle_header_packet),
(copy_samples), (vorbis_handle_data_packet), (vorbis_dec_chain),
(vorbis_dec_change_state):
* ext/vorbis/vorbisdec.h:
Refactor, use STREAM_LOCK.

19 years agoext/theora/theoradec.c: Refactor a bit, use STREAM_LOCK.
Wim Taymans [Thu, 28 Apr 2005 16:21:19 +0000 (16:21 +0000)]
ext/theora/theoradec.c: Refactor a bit, use STREAM_LOCK.

Original commit message from CVS:
* ext/theora/theoradec.c: (_inc_granulepos),
(theora_dec_sink_event), (theora_handle_comment_packet),
(theora_handle_type_packet), (theora_handle_header_packet),
(theora_handle_data_packet), (theora_dec_chain),
(theora_dec_change_state):
Refactor a bit, use STREAM_LOCK.

19 years agoext/alsa/: Implement alsasink with simple open/write/close API.
Wim Taymans [Thu, 28 Apr 2005 16:19:06 +0000 (16:19 +0000)]
ext/alsa/: Implement alsasink with simple open/write/close API.

Original commit message from CVS:
* ext/alsa/Makefile.am:
* ext/alsa/gstalsa.c: (gst_alsa_init), (gst_alsa_get_caps),
(gst_alsa_fixate_to_mimetype), (gst_alsa_fixate_field_nearest_int),
(gst_alsa_link), (gst_alsa_close_audio):
* ext/alsa/gstalsaplugin.c: (plugin_init):
* ext/alsa/gstalsasink.c: (gst_alsasink_get_type),
(gst_alsasink_dispose), (gst_alsasink_base_init),
(gst_alsasink_class_init), (gst_alsasink_init),
(gst_alsasink_getcaps), (set_hwparams), (set_swparams),
(alsasink_parse_spec), (gst_alsasink_open), (gst_alsasink_close),
(xrun_recovery), (gst_alsasink_write), (gst_alsasink_delay),
(gst_alsasink_reset):
* ext/alsa/gstalsasink.h:
Implement alsasink with simple open/write/close API.
Make alsa dir build by disabling compilation of code.

19 years agoMake ringbuffer faster and more simple by removing the locks in the playback thread.
Wim Taymans [Thu, 28 Apr 2005 16:15:42 +0000 (16:15 +0000)]
Make ringbuffer faster and more simple by removing the locks in the playback thread.

Original commit message from CVS:
Make ringbuffer faster and more simple by removing the locks
in the playback thread.
Add sample accurate playback based on buffer sample offsets.
Make the baseaudiosink provide a clock.
Parse caps in the base class.
Correctly handle seeking, flushing and state changes.

19 years agoFix part of the build. Come on guys, autogen didn't even work :)
Thomas Vander Stichele [Mon, 25 Apr 2005 13:29:40 +0000 (13:29 +0000)]
Fix part of the build.  Come on guys, autogen didn't even work :)

Original commit message from CVS:
Fix part of the build.  Come on guys, autogen didn't even work :)

19 years agoRemove media-info, which is also successed by playbin (see Totem implementation).
Ronald S. Bultje [Mon, 25 Apr 2005 10:15:12 +0000 (10:15 +0000)]
Remove media-info, which is also successed by playbin (see Totem implementation).

Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/media-info/.cvsignore:
* gst-libs/gst/media-info/Makefile.am:
* gst-libs/gst/media-info/README:
* gst-libs/gst/media-info/media-info-priv.c:
* gst-libs/gst/media-info/media-info-priv.h:
* gst-libs/gst/media-info/media-info-test.c:
* gst-libs/gst/media-info/media-info.c:
* gst-libs/gst/media-info/media-info.h:
* gst-libs/gst/media-info/media-info.vcproj:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-media-info-uninstalled.pc.in:
* pkgconfig/gstreamer-media-info.pc.in:
Remove media-info, which is also successed by playbin (see Totem
implementation).

19 years agoRemove libgstplay, playbin is now the official successor.
Ronald S. Bultje [Mon, 25 Apr 2005 09:33:35 +0000 (09:33 +0000)]
Remove libgstplay, playbin is now the official successor.

Original commit message from CVS:
* configure.ac:
* examples/Makefile.am:
* examples/gstplay/.cvsignore:
* examples/gstplay/Makefile.am:
* examples/gstplay/player.c:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/play/.cvsignore:
* gst-libs/gst/play/Makefile.am:
* gst-libs/gst/play/play.c:
* gst-libs/gst/play/play.h:
* gst-libs/gst/play/play.vcproj:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-play-uninstalled.pc.in:
* pkgconfig/gstreamer-play.pc.in:
Remove libgstplay, playbin is now the official successor.

19 years agoRemove deprecated xwindowlistener (I've moved xwindowlistening in the v4l/v4l2 plugin...
Ronald S. Bultje [Mon, 25 Apr 2005 08:53:41 +0000 (08:53 +0000)]
Remove deprecated xwindowlistener (I've moved xwindowlistening in the v4l/v4l2 plugins over to serverside).

Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/xwindowlistener/Makefile.am:
* gst-libs/gst/xwindowlistener/xwindowlistener.c:
* gst-libs/gst/xwindowlistener/xwindowlistener.h:
Remove deprecated xwindowlistener (I've moved xwindowlistening
in the v4l/v4l2 plugins over to serverside).

19 years agoexamples/dynparams/Makefile.am: Move demo-dparams from gst/sine to examples/dynparams...
David Schleef [Mon, 25 Apr 2005 07:26:28 +0000 (07:26 +0000)]
examples/dynparams/Makefile.am: Move demo-dparams from gst/sine to examples/dynparams.  Examples do not belong inters...

Original commit message from CVS:
* examples/dynparams/Makefile.am: Move demo-dparams from gst/sine
to examples/dynparams.  Examples do not belong interspersed with
source code.
* examples/dynparams/demo-dparams.c:
* gst/sine/Makefile.am:
* gst/sine/demo-dparams.c:

19 years agoDon't use GST_PLUGIN_LDFLAGS, because these aren't plugins.
David Schleef [Mon, 25 Apr 2005 07:06:09 +0000 (07:06 +0000)]
Don't use GST_PLUGIN_LDFLAGS, because these aren't plugins.

Original commit message from CVS:
Don't use GST_PLUGIN_LDFLAGS, because these aren't plugins.
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/riff/Makefile.am:
* gst-libs/gst/tag/Makefile.am:
* gst-libs/gst/video/Makefile.am:
* gst-libs/gst/xwindowlistener/Makefile.am:
Convert to 0.9 API, seems to work:
* sys/ximage/Makefile.am:
* sys/ximage/ximagesink.c:

19 years agoLink plugins against libraries:
David Schleef [Mon, 25 Apr 2005 00:35:15 +0000 (00:35 +0000)]
Link plugins against libraries:

Original commit message from CVS:
Link plugins against libraries:
* ext/alsa/Makefile.am:
* gst/tcp/Makefile.am:
Remove asm code that should be in liboil
* gst/videoscale/Makefile.am:
* gst/videoscale/videoscale_x86_asm.s:
gettext wants these checked in:
* po/af.po:
* po/az.po:
* po/cs.po:
* po/en_GB.po:
* po/hu.po:
* po/it.po:
* po/nb.po:
* po/nl.po:
* po/or.po:
* po/sq.po:
* po/sr.po:
* po/sv.po:
* po/uk.po:
* po/vi.po:

19 years agoConvert gst_main() to g_main_loop_run()
David Schleef [Mon, 25 Apr 2005 00:30:40 +0000 (00:30 +0000)]
Convert gst_main() to g_main_loop_run()

Original commit message from CVS:
Convert gst_main() to g_main_loop_run()
* gst/playback/decodetest.c: (main):
* gst/playback/test2.c: (main):
* gst/playback/test3.c: (main):
* gst/playback/test4.c: (main):
Link plugins against libraries:
* ext/libvisual/Makefile.am:
* sys/xvimage/Makefile.am:

19 years agoconfigure.ac: Remove idct and resample libs
David Schleef [Mon, 25 Apr 2005 00:23:06 +0000 (00:23 +0000)]
configure.ac: Remove idct and resample libs

Original commit message from CVS:
* configure.ac: Remove idct and resample libs
* gst-libs/gst/Makefile.am: same
Remove usage of gst_library_load():
* ext/alsa/gstalsaplugin.c: (plugin_init):
* ext/libvisual/visual.c: (plugin_init):
* ext/ogg/gstogg.c: (plugin_init):
* ext/theora/theora.c: (plugin_init):
* ext/vorbis/vorbis.c: (plugin_init):
* gst-libs/gst/audio/gstaudiofiltertemplate.c: (plugin_init):
* gst/audioscale/gstaudioscale.c:
* gst/adder/gstadder.c: (plugin_init):
* gst/audioconvert/plugin.c: (plugin_init):
* sys/ximage/ximagesink.c: (plugin_init):
* sys/xvimage/xvimagesink.c: (plugin_init):
* gst/tcp/gsttcpplugin.c: (plugin_init):
Link plugins against libraries:
* ext/ogg/Makefile.am:
* ext/theora/Makefile.am:
* ext/vorbis/Makefile.am:
* gst/audioconvert/Makefile.am:
Create proper libraries:
* gst-libs/gst/riff/Makefile.am:
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/video/Makefile.am:
Move resample library to audioscale plugin directory:
* gst-libs/gst/resample/Makefile.am:
* gst-libs/gst/resample/README:
* gst-libs/gst/resample/dtof.c:
* gst-libs/gst/resample/dtos.c:
* gst-libs/gst/resample/functable.c:
* gst-libs/gst/resample/private.h:
* gst-libs/gst/resample/resample.c:
* gst-libs/gst/resample/resample.h:
* gst-libs/gst/resample/resample.vcproj:
* gst-libs/gst/resample/test.c:
* gst/audioscale/Makefile.am:
* gst/audioscale/README:
* gst/audioscale/dtof.c:
* gst/audioscale/dtos.c:
* gst/audioscale/functable.c:
* gst/audioscale/private.h:
* gst/audioscale/resample.c:
* gst/audioscale/resample.h:
* gst/audioscale/test.c:
Move tagedit library to gst-libs:
* gst-libs/gst/tag/Makefile.am:
* gst-libs/gst/tag/gstid3tag.c:
* gst-libs/gst/tag/gsttagediting.c:
* gst-libs/gst/tag/gsttageditingprivate.h:
* gst-libs/gst/tag/gstvorbistag.c:
* gst/tags/Makefile.am:
* gst/tags/gstid3tag.c:
* gst/tags/gstvorbistag.c:
Fix for core changes:
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init),
(gst_sinesrc_init), (gst_sinesrc_src_fixate), (gst_sinesrc_link),
(gst_sinesrc_getrange):

19 years agogst-libs/gst/Makefile.am: Remove idct. It hasn't been used in gst-plugins in a long...
David Schleef [Sat, 23 Apr 2005 20:59:48 +0000 (20:59 +0000)]
gst-libs/gst/Makefile.am: Remove idct.  It hasn't been used in gst-plugins in a long time, and properly belongs in li...

Original commit message from CVS:
* gst-libs/gst/Makefile.am: Remove idct.  It hasn't been used
in gst-plugins in a long time, and properly belongs in liboil.
* gst-libs/gst/idct/Makefile.am:
* gst-libs/gst/idct/README:
* gst-libs/gst/idct/dct.h:
* gst-libs/gst/idct/doieee:
* gst-libs/gst/idct/fastintidct.c:
* gst-libs/gst/idct/floatidct.c:
* gst-libs/gst/idct/idct.c:
* gst-libs/gst/idct/idct.h:
* gst-libs/gst/idct/idtc.vcproj:
* gst-libs/gst/idct/ieeetest.c:
* gst-libs/gst/idct/intidct.c:

19 years agoAn attempt at a set of audio base classes together with some design docs.
Wim Taymans [Wed, 20 Apr 2005 10:19:54 +0000 (10:19 +0000)]
An attempt at a set of audio base classes together with some design docs.

Original commit message from CVS:
* docs/design-audiosinks.txt:
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/audio/TODO:
* gst-libs/gst/audio/gstaudiosink.c:
(gst_audioringbuffer_get_type), (gst_audioringbuffer_class_init),
(audioringbuffer_thread_func), (gst_audioringbuffer_init),
(gst_audioringbuffer_dispose), (gst_audioringbuffer_finalize),
(gst_audioringbuffer_acquire), (gst_audioringbuffer_release),
(gst_audioringbuffer_play), (gst_audioringbuffer_stop),
(gst_audioringbuffer_delay), (gst_audiosink_base_init),
(gst_audiosink_class_init), (gst_audiosink_init),
(gst_audiosink_create_ringbuffer):
* gst-libs/gst/audio/gstaudiosink.h:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_baseaudiosink_base_init), (gst_baseaudiosink_class_init),
(gst_baseaudiosink_init), (gst_baseaudiosink_set_property),
(gst_baseaudiosink_get_property), (gst_baseaudiosink_setcaps),
(gst_baseaudiosink_get_times), (gst_baseaudiosink_event),
(gst_baseaudiosink_preroll), (gst_baseaudiosink_render),
(gst_baseaudiosink_create_ringbuffer),
(gst_baseaudiosink_callback), (gst_baseaudiosink_change_state):
* gst-libs/gst/audio/gstbaseaudiosink.h:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ringbuffer_get_type),
(gst_ringbuffer_class_init), (gst_ringbuffer_init),
(gst_ringbuffer_dispose), (gst_ringbuffer_finalize),
(gst_ringbuffer_set_callback), (gst_ringbuffer_acquire),
(gst_ringbuffer_release), (gst_ringbuffer_play_unlocked),
(gst_ringbuffer_play), (gst_ringbuffer_pause),
(gst_ringbuffer_resume), (gst_ringbuffer_stop),
(gst_ringbuffer_callback), (gst_ringbuffer_delay),
(gst_ringbuffer_played_samples), (gst_ringbuffer_commit),
(gst_ringbuffer_prepare_read), (gst_ringbuffer_clear):
* gst-libs/gst/audio/gstringbuffer.h:
An attempt at a set of audio base classes together with some
design docs.

19 years agogst/audioconvert/: Link against audio libs.
Wim Taymans [Wed, 20 Apr 2005 09:45:33 +0000 (09:45 +0000)]
gst/audioconvert/: Link against audio libs.

Original commit message from CVS:
* gst/audioconvert/Makefile.am:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain),
(gst_audio_convert_caps_remove_format_info),
(gst_audio_convert_setcaps), (gst_audio_convert_fixate),
(gst_audio_convert_channels):
Link against audio libs.
Fix audio convert plugin.

19 years agoext/: Fix theora encoder.
Wim Taymans [Wed, 20 Apr 2005 09:42:56 +0000 (09:42 +0000)]
ext/: Fix theora encoder.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_factory_filter),
(gst_ogg_demux_sink_activate):
* ext/theora/theoraenc.c: (theora_enc_sink_setcaps),
(theora_set_header_on_caps), (theora_enc_sink_event),
(theora_enc_chain):
Fix theora encoder.

19 years agonot a system header
Thomas Vander Stichele [Sat, 16 Apr 2005 20:30:11 +0000 (20:30 +0000)]
not a system header

Original commit message from CVS:
not a system header

19 years agoWork with staticpadtemplates in elementfactories.
Ronald S. Bultje [Tue, 12 Apr 2005 15:00:57 +0000 (15:00 +0000)]
Work with staticpadtemplates in elementfactories.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_factory_filter):
* gst/playback/gstdecodebin.c: (find_compatibles):
Work with staticpadtemplates in elementfactories.

19 years agoRaw and crude port of decodebin.
Wim Taymans [Tue, 12 Apr 2005 10:48:58 +0000 (10:48 +0000)]
Raw and crude port of decodebin.

Original commit message from CVS:
* gst/playback/README:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(compare_ranks), (print_feature), (gst_decode_bin_init),
(dynamic_create), (dynamic_free), (find_compatibles),
(mimetype_is_raw), (close_pad_link), (got_redirect),
(try_to_link_1), (get_our_ghost_pad), (remove_element_chain),
(new_pad), (no_more_pads), (unlinked), (close_link), (type_found),
(gst_decode_bin_change_state):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(gst_play_base_bin_init), (group_destroy), (group_commit),
(check_queue), (queue_overrun), (queue_threshold_reached),
(queue_out_of_data), (gen_preroll_element), (unknown_type),
(new_decoded_pad), (setup_subtitle), (gen_source_element),
(got_redirect), (setup_source), (play_base_eos),
(gst_play_base_bin_change_state), (gst_play_base_bin_add_element),
(gst_play_base_bin_remove_element):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_init), (gst_play_bin_dispose),
(gst_play_bin_set_property), (gen_video_element),
(gen_text_element), (gen_audio_element), (remove_sinks),
(gst_play_bin_send_event):
* gst/playback/gststreaminfo.c: (gst_stream_info_dispose),
(stream_info_change_state), (gst_stream_info_set_mute):
* gst/playback/gststreamselector.c: (gst_stream_selector_init),
(gst_stream_selector_get_caps), (gst_stream_selector_setcaps),
(gst_stream_selector_request_new_pad), (gst_stream_selector_event),
(gst_stream_selector_chain):
* gst/playback/test.c: (gen_video_element), (gen_audio_element),
(main):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_getcaps),
(gst_xvimagesink_setcaps), (gst_xvimagesink_get_times),
(gst_xvimagesink_show_frame), (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_alloc), (gst_xvimagesink_class_init):
Raw and crude port of decodebin.
Make playbin compile.

19 years agoignore already applied patch
Thomas Vander Stichele [Sun, 10 Apr 2005 20:23:09 +0000 (20:23 +0000)]
ignore already applied patch

Original commit message from CVS:
ignore already applied patch

19 years agoMake gnomevfssrc extend the source base class.
Wim Taymans [Wed, 6 Apr 2005 17:33:07 +0000 (17:33 +0000)]
Make gnomevfssrc extend the source base class.

Original commit message from CVS:
* ext/gnomevfs/Makefile.am:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get_type),
(gst_gnomevfssrc_class_init), (gst_gnomevfssrc_init),
(gst_gnomevfssrc_set_property), (gst_gnomevfssrc_get_property),
(gst_gnomevfssrc_create), (gst_gnomevfssrc_is_seekable),
(gst_gnomevfssrc_get_size), (gst_gnomevfssrc_start),
(gst_gnomevfssrc_stop):
* ext/ogg/Makefile.am:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_get_data),
(gst_ogg_demux_find_chains), (gst_ogg_demux_sink_activate):
* ext/theora/Makefile.am:
* ext/theora/theoradec.c: (_inc_granulepos),
(theora_dec_sink_event), (theora_dec_chain):
* ext/vorbis/Makefile.am:
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_sink_event), (vorbis_dec_chain):
* gst-libs/gst/audio/Makefile.am:
* sys/xvimage/Makefile.am:
Make gnomevfssrc extend the source base class.
Fix linking against libs in various plugins.

19 years agogst-libs/gst/video/Makefile.am (libgstvideo_la_LDFLAGS): Use
Andy Wingo [Wed, 6 Apr 2005 11:34:30 +0000 (11:34 +0000)]
gst-libs/gst/video/Makefile.am (libgstvideo_la_LDFLAGS): Use

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

* gst-libs/gst/video/Makefile.am (libgstvideo_la_LDFLAGS): Use
GST_BASE_LIBS.

19 years agoconfigure.ac: Add check and AC_SUBST for libgstbase.
Andy Wingo [Wed, 6 Apr 2005 11:17:14 +0000 (11:17 +0000)]
configure.ac: Add check and AC_SUBST for libgstbase.

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

* configure.ac: Add check and AC_SUBST for libgstbase.

19 years agoPlugin port to 0.9, ogg/theora playback should work in the seek example now.
Wim Taymans [Thu, 31 Mar 2005 09:43:49 +0000 (09:43 +0000)]
Plugin port to 0.9, ogg/theora playback should work in the seek example now.

Original commit message from CVS:
Plugin port to 0.9, ogg/theora playback should work in the seek
example now.
Removed old examples.
Removed old oggvorbisenc, renamed rawvorbisenc to vorbisenc as
explained in 0.9 TODO doc.

19 years agoremove a whole bunch of plugins. This module now contains a set of free reference...
Thomas Vander Stichele [Wed, 23 Feb 2005 12:45:50 +0000 (12:45 +0000)]
remove a whole bunch of plugins.  This module now contains a set of free reference plugins/elements as agreed.

Original commit message from CVS:
remove a whole bunch of plugins.  This module now contains a set
of free reference plugins/elements as agreed.

19 years agoadd libvisual plugin
Christian Schaller [Tue, 22 Feb 2005 18:14:34 +0000 (18:14 +0000)]
add libvisual plugin

Original commit message from CVS:
add libvisual plugin

19 years agohunting season on 0.9 is now OPEN
Thomas Vander Stichele [Tue, 22 Feb 2005 16:48:58 +0000 (16:48 +0000)]
hunting season on 0.9 is now OPEN

Original commit message from CVS:
hunting season on 0.9 is now OPEN

19 years agosys/oss/gstosselement.c: Kick the hell out of gcc for not warning me about a symbol... BRANCH-GSTREAMER-0_8-ROOT
Ronald S. Bultje [Tue, 22 Feb 2005 15:23:04 +0000 (15:23 +0000)]
sys/oss/gstosselement.c: Kick the hell out of gcc for not warning me about a symbol conflict.

Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Kick the hell out of gcc for not warning me about a symbol conflict.

19 years agoext/gdk_pixbuf/pixbufscale.c: Don't leak caps string (fixes #168134)
Tim-Philipp Müller [Tue, 22 Feb 2005 12:04:15 +0000 (12:04 +0000)]
ext/gdk_pixbuf/pixbufscale.c: Don't leak caps string (fixes #168134)

Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_link):
Don't leak caps string (fixes #168134)

* ext/jpeg/gstjpegenc.c: (gst_jpegenc_class_init),
(gst_jpegenc_init), (gst_jpegenc_finalize),
(gst_jpegenc_change_state):
Don't leak line buffers and context struct (fixes #168133).

19 years agoSince dirac 0.5.0 the framerate in dirac is expressed as a rational number. Fix build...
Tim-Philipp Müller [Mon, 21 Feb 2005 23:41:23 +0000 (23:41 +0000)]
Since dirac 0.5.0 the framerate in dirac is expressed as a rational number. Fix build and up requirement to 0.5.0, an...

Original commit message from CVS:
Since dirac 0.5.0 the framerate in dirac is expressed as a rational number. Fix build and up requirement to 0.5.0, and also pass parameters to gst_diracdec_link in the right order. (fixes #167959)

19 years agoWhoops.
Maciej Katafiasz [Mon, 21 Feb 2005 19:01:58 +0000 (19:01 +0000)]
Whoops.

Original commit message from CVS:
Whoops.

19 years agoFix playback of certain invalid muxed streams. Partial fix for #149158
Maciej Katafiasz [Mon, 21 Feb 2005 18:58:46 +0000 (18:58 +0000)]
Fix playback of certain invalid muxed streams. Partial fix for #149158

Original commit message from CVS:
Fix playback of certain invalid muxed streams. Partial fix for #149158

19 years agogst/dvdlpcmdec/gstdvdlpcmdec.c: Make sure we only write to writable buffers
Jan Schmidt [Sun, 20 Feb 2005 15:26:04 +0000 (15:26 +0000)]
gst/dvdlpcmdec/gstdvdlpcmdec.c: Make sure we only write to writable buffers

Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_chain):
Make sure we only write to writable buffers

19 years agogst-libs/gst/riff/riff-media.c: Do actually fix invalid RIFF fmt header values for...
Tim-Philipp Müller [Sun, 20 Feb 2005 12:49:19 +0000 (12:49 +0000)]
gst-libs/gst/riff/riff-media.c: Do actually fix invalid RIFF fmt header values for alaw and mulaw audio instead of ju...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data):
Do actually fix invalid RIFF fmt header values for alaw
and mulaw audio instead of just saying so.

* gst/wavparse/gstwavparse.c: (gst_wavparse_fmt):
Give gst_riff_create_audio_caps_with_data() a chance to
fix up broken format header fields before extracting any
parameters from the header. (fixes #167633)

19 years agoDon't leak othercaps in link function (fixes #167878)
Tim-Philipp Müller [Sat, 19 Feb 2005 20:01:36 +0000 (20:01 +0000)]
Don't leak othercaps in link function (fixes #167878)

Original commit message from CVS:
Don't leak othercaps in link function (fixes #167878)

19 years agosupport libvisual 0.2.0
Arwed v. Merkatz [Sat, 19 Feb 2005 17:08:27 +0000 (17:08 +0000)]
support libvisual 0.2.0

Original commit message from CVS:
support libvisual 0.2.0

19 years agoFix rowstrides
Tim-Philipp Müller [Fri, 18 Feb 2005 10:38:34 +0000 (10:38 +0000)]
Fix rowstrides

Original commit message from CVS:
Fix rowstrides

19 years agogst/avi/gstavidemux.c: Declare variables at beginning of block and make gcc-2.95...
Gergely Nagy [Thu, 17 Feb 2005 19:21:42 +0000 (19:21 +0000)]
gst/avi/gstavidemux.c: Declare variables at beginning of block and make gcc-2.95 happy

Original commit message from CVS:

* gst/avi/gstavidemux.c: (gst_avi_demux_invert):
Declare variables at beginning of block and make gcc-2.95 happy
(fixes # 167482, patch by Gergely Nagy).

* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpclientsrc.h:
Move some includes into the header, so that struct sockaddr_in is
defined when it should be defined on FreeBSD as well (fixes
#167483).

* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init_receive):
Don't pass uninitialised values to setsockopt() here either.

19 years agoDo not pass uninitialised values to setsockopt(). (fixes #167704)
Tim-Philipp Müller [Thu, 17 Feb 2005 17:56:39 +0000 (17:56 +0000)]
Do not pass uninitialised values to setsockopt(). (fixes #167704)

Original commit message from CVS:
Do not pass uninitialised values to setsockopt(). (fixes #167704)

19 years agogst/playback/gstplaybin.c: Invert bin_add/link order to workaround deadlock in opt.
Ronald S. Bultje [Wed, 16 Feb 2005 13:33:12 +0000 (13:33 +0000)]
gst/playback/gstplaybin.c: Invert bin_add/link order to workaround deadlock in opt.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (add_sink):
Invert bin_add/link order to workaround deadlock in opt.

19 years agogst/modplug/gstmodplug.cc: Add missing break causing position queries to fail.
Ronald S. Bultje [Tue, 15 Feb 2005 16:25:48 +0000 (16:25 +0000)]
gst/modplug/gstmodplug.cc: Add missing break causing position queries to fail.

Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
Add missing break causing position queries to fail.

19 years agoext/ogg/gstoggdemux.c: Granpos can apparently be -1, which screws up calculations...
Ronald S. Bultje [Tue, 15 Feb 2005 15:58:15 +0000 (15:58 +0000)]
ext/ogg/gstoggdemux.c: Granpos can apparently be -1, which screws up calculations...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_populate):
Granpos can apparently be -1, which screws up calculations...

19 years agosys/: Use a mutex protected list to marshal navigation events into the stream thread...
Jan Schmidt [Tue, 15 Feb 2005 14:12:11 +0000 (14:12 +0000)]
sys/: Use a mutex protected list to marshal navigation events into the stream thread from whichever thread sends them.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_send_pending_navigation),
(gst_ximagesink_navigation_send_event), (gst_ximagesink_finalize),
(gst_ximagesink_init):
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_send_pending_navigation),
(gst_xvimagesink_navigation_send_event),
(gst_xvimagesink_finalize), (gst_xvimagesink_init):
* sys/xvimage/xvimagesink.h:
Use a mutex protected list to marshal navigation
events into the stream thread from whichever thread
sends them.

19 years agoAdd query function to GstSpeed, so that the stream length and current position get...
Tim-Philipp Müller [Tue, 15 Feb 2005 11:05:34 +0000 (11:05 +0000)]
Add query function to GstSpeed, so that the stream length and current position get adjusted when queried (note that c...

Original commit message from CVS:
Add query function to GstSpeed, so that the stream length and current position get adjusted when queried (note that current position queries may still be wrong if the audio sink returns values based on buffer timestamps instead of passing on the query

19 years agogst/audioconvert/gstaudioconvert.c: create channel conversion matrix when linking
Benjamin Otte [Sun, 13 Feb 2005 17:39:22 +0000 (17:39 +0000)]
gst/audioconvert/gstaudioconvert.c: create channel conversion matrix when linking

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link),
(gst_audio_convert_channels):
create channel conversion matrix when linking
* gst/audioconvert/.cvsignore:
* gst/audioconvert/Makefile.am:
* gst/audioconvert/channelmixtest.c: (main):
add (ugly) test that ensures stereo <=> mono conversion works
correctly

19 years agogst/audioconvert/gstchannelmix.h: include missing header file
Benjamin Otte [Sun, 13 Feb 2005 16:10:16 +0000 (16:10 +0000)]
gst/audioconvert/gstchannelmix.h: include missing header file

Original commit message from CVS:
* gst/audioconvert/gstchannelmix.h:
include missing header file
* gst/audioconvert/gstchannelmix.c:
(gst_audio_convert_fill_compatible):
use same sign for both channels when converting to/from compatible
channel. Previously used different signs made the signals cancel
each other out and appear like silence. (fixes #167269)

19 years agoConvert to and from YV12 (fixes #156379)
Tim-Philipp Müller [Sat, 12 Feb 2005 22:29:00 +0000 (22:29 +0000)]
Convert to and from YV12 (fixes #156379)

Original commit message from CVS:
Convert to and from YV12 (fixes #156379)

19 years agosys/ximage/ximagesink.c: Protect interface methods from chain and negotiation and...
Julien Moutte [Sat, 12 Feb 2005 18:41:49 +0000 (18:41 +0000)]
sys/ximage/ximagesink.c: Protect interface methods from chain and negotiation and vice versa (Fixes #166142).

Original commit message from CVS:
2005-02-12  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new),
(gst_ximagesink_sink_link), (gst_ximagesink_change_state),
(gst_ximagesink_chain), (gst_ximagesink_set_xwindow_id),
(gst_ximagesink_expose), (gst_ximagesink_set_property),
(gst_ximagesink_finalize), (gst_ximagesink_init): Protect interface
methods from chain and negotiation and vice versa (Fixes #166142).
* sys/ximage/ximagesink.h: Add stream_lock.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_sink_link),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc), (gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_expose): Check for xcontext before trying to link.

19 years agoDon't send 'Hey! You gave me a NULL pointer yo naughty person' as error message when...
Tim-Philipp Müller [Sat, 12 Feb 2005 17:37:37 +0000 (17:37 +0000)]
Don't send 'Hey! You gave me a NULL pointer yo naughty person' as error message when we can't open the DVD device; se...

Original commit message from CVS:
Don't send 'Hey! You gave me a NULL pointer yo naughty person' as error message when we can't open the DVD device; send something more useful instead (fixes #167117)

19 years agosys/xvimage/xvimagesink.c: Protect interface methods from chain and negotiation and...
Julien Moutte [Fri, 11 Feb 2005 22:49:23 +0000 (22:49 +0000)]
sys/xvimage/xvimagesink.c: Protect interface methods from chain and negotiation and vice versa (Fixes #166142).

Original commit message from CVS:
2005-02-11  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_sink_link), (gst_xvimagesink_change_state),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc), (gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_expose), (gst_xvimagesink_set_property),
(gst_xvimagesink_finalize), (gst_xvimagesink_init): Protect interface
methods from chain and negotiation and vice versa (Fixes #166142).
Fix a possible bug of images in the buffer pool being discarded because
we are looking at the wrong geometry.
* sys/xvimage/xvimagesink.h: Add stream_lock.

19 years agoext/mpeg2dec/gstmpeg2dec.c: Change uint to unsigned int. (fixes #167128)
David Schleef [Fri, 11 Feb 2005 22:25:33 +0000 (22:25 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Change uint to unsigned int. (fixes #167128)

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer): Change uint to
unsigned int. (fixes #167128)

19 years agogst/librfb/Makefile.am: Testing stuff before committing is for wimps... and people...
David Schleef [Fri, 11 Feb 2005 22:16:02 +0000 (22:16 +0000)]
gst/librfb/Makefile.am: Testing stuff before committing is for wimps... and people with fast machines.  Fix stupid mi...

Original commit message from CVS:
* gst/librfb/Makefile.am: Testing stuff before committing is
for wimps... and people with fast machines.  Fix stupid
mistake.

19 years agoconfigure.ac: Pull in librfb from my CVS tree, because it is too small and annoying...
David Schleef [Fri, 11 Feb 2005 22:01:19 +0000 (22:01 +0000)]
configure.ac: Pull in librfb from my CVS tree, because it is too small and annoying to be separate.  Move rfbsrc plug...

Original commit message from CVS:
* configure.ac: Pull in librfb from my CVS tree, because it is
too small and annoying to be separate.  Move rfbsrc plugin
to gst/.
* ext/Makefile.am:
* ext/librfb/Makefile.am:
* ext/librfb/gstrfbsrc.c:
* gst/librfb/Makefile.am:
* gst/librfb/gstrfbsrc.c:
* gst/librfb/rfb.c:
* gst/librfb/rfb.h:
* gst/librfb/rfbbuffer.c:
* gst/librfb/rfbbuffer.h:
* gst/librfb/rfbbytestream.c:
* gst/librfb/rfbbytestream.h:
* gst/librfb/rfbcontext.h:
* gst/librfb/rfbdecoder.c:
* gst/librfb/rfbdecoder.h:
* gst/librfb/rfbutil.h:

19 years agoand make it handle more than one channel.
Tim-Philipp Müller [Thu, 10 Feb 2005 15:06:12 +0000 (15:06 +0000)]
and make it handle more than one channel.

Original commit message from CVS:
Fix speed element and make it chain-based (fixes #156467), and make it handle more than one channel.

19 years agoext/dts/gstdtsdec.*: Don't clobber the stack constructing the channels array.
Jan Schmidt [Thu, 10 Feb 2005 06:46:14 +0000 (06:46 +0000)]
ext/dts/gstdtsdec.*: Don't clobber the stack constructing the channels array.

Original commit message from CVS:
* ext/dts/gstdtsdec.c: (gst_dtsdec_init), (gst_dtsdec_channels),
(gst_dtsdec_handle_event), (gst_dtsdec_handle_frame),
(gst_dtsdec_chain), (gst_dtsdec_change_state):
* ext/dts/gstdtsdec.h:
Don't clobber the stack constructing the channels array.
Make the element chain-based. DTS tracks can now be played.

19 years agoAdd G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work...
Tim-Philipp Müller [Wed, 9 Feb 2005 22:31:05 +0000 (22:31 +0000)]
Add G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work when included from C++ code

Original commit message from CVS:
Add G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work when included from C++ code

19 years agotestsuite/gst-lint: Check for non-statically scoped parent_class variables. This...
David Schleef [Wed, 9 Feb 2005 20:50:35 +0000 (20:50 +0000)]
testsuite/gst-lint: Check for non-statically scoped parent_class variables.  This won't be a problem once plugins are...

Original commit message from CVS:
* testsuite/gst-lint: Check for non-statically scoped
parent_class variables.  This won't be a problem once
plugins are loaded with RTLD_LOCAL.

19 years agoext/mplex/gstmplexibitstream.cc: gcc madness.
Ronald S. Bultje [Wed, 9 Feb 2005 14:27:08 +0000 (14:27 +0000)]
ext/mplex/gstmplexibitstream.cc: gcc madness.

Original commit message from CVS:
* ext/mplex/gstmplexibitstream.cc:
gcc madness.

19 years agoDie, thou faulty symbol pollutors (non-static parent_class).
Ronald S. Bultje [Wed, 9 Feb 2005 14:19:33 +0000 (14:19 +0000)]
Die, thou faulty symbol pollutors (non-static parent_class).

Original commit message from CVS:
* ext/ogg/gstogmparse.c:
* gst/debug/gstnavigationtest.c:
Die, thou faulty symbol pollutors (non-static parent_class).

19 years agoext/mplex/gstmplexibitstream.cc: Fix event handling (#165525).
Ronald S. Bultje [Tue, 8 Feb 2005 18:51:24 +0000 (18:51 +0000)]
ext/mplex/gstmplexibitstream.cc: Fix event handling (#165525).

Original commit message from CVS:
* ext/mplex/gstmplexibitstream.cc:
Fix event handling (#165525).

19 years agoAdd missing endianness to template (fixes #165509).
Ronald S. Bultje [Tue, 8 Feb 2005 15:03:41 +0000 (15:03 +0000)]
Add missing endianness to template (fixes #165509).

Original commit message from CVS:
* ext/mikmod/gstmikmod.c:
* gst/modplug/gstmodplug.cc:
Add missing endianness to template (fixes #165509).

19 years agogst/asfdemux/gstasfdemux.c: Fix wrong order of reading of optional bytes (#165290).
Ronald S. Bultje [Tue, 8 Feb 2005 13:38:11 +0000 (13:38 +0000)]
gst/asfdemux/gstasfdemux.c: Fix wrong order of reading of optional bytes (#165290).

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_data):
Fix wrong order of reading of optional bytes (#165290).

19 years agoext/alsa/gstalsasink.c: Implement FILLER event awareness.
Ronald S. Bultje [Tue, 8 Feb 2005 13:06:41 +0000 (13:06 +0000)]
ext/alsa/gstalsasink.c: Implement FILLER event awareness.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
Implement FILLER event awareness.

19 years agoext/cdparanoia/gstcdparanoia.c: Fix track calculations (#166208).
Ronald S. Bultje [Tue, 8 Feb 2005 11:28:54 +0000 (11:28 +0000)]
ext/cdparanoia/gstcdparanoia.c: Fix track calculations (#166208).

Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_convert):
Fix track calculations (#166208).

19 years agoext/libpng/: Fix byte-order, use proper fixed caps. Fixes #164197.
Ronald S. Bultje [Tue, 8 Feb 2005 11:11:20 +0000 (11:11 +0000)]
ext/libpng/: Fix byte-order, use proper fixed caps. Fixes #164197.

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/libpng/gstpngdec.c: (gst_pngdec_init), (gst_pngdec_chain):
* ext/libpng/gstpngenc.c:
Fix byte-order, use proper fixed caps. Fixes #164197.

19 years agoconfigure.ac: Add dvdlpcmdec
Jan Schmidt [Tue, 8 Feb 2005 11:08:15 +0000 (11:08 +0000)]
configure.ac: Add dvdlpcmdec

Original commit message from CVS:

* configure.ac:
Add dvdlpcmdec

* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_reset),
(free_all_buffers), (gst_mpeg2dec_alloc_buffer):
Don't push buffers if the src pad isn't negotiated yet.

* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_buffer_to_default_format),
(gst_audio_convert_buffer_from_default_format):
Add support for 24-bit width.

* gst/dvdlpcmdec/.cvsignore:
* gst/dvdlpcmdec/Makefile.am:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_get_type),
(gst_dvdlpcmdec_base_init), (gst_dvdlpcmdec_class_init),
(gst_dvdlpcm_reset), (gst_dvdlpcmdec_init), (gst_dvdlpcmdec_link),
(gst_dvdlpcmdec_chain), (gst_dvdlpcmdec_change_state),
(plugin_init):
* gst/dvdlpcmdec/gstdvdlpcmdec.h:
New decoder for rearranging DVD LPCM into our audio/x-raw-int
format. Needs support for the channels maps if someone can find
a DVD LPCM track with > 2 channels.

* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_handle_dvd_event),
(gst_dvd_demux_send_discont), (gst_dvd_demux_handle_discont),
(gst_dvd_demux_get_audio_stream), (gst_dvd_demux_process_private):
* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_discont),
(gst_mpeg_demux_new_output_pad), (gst_mpeg_demux_init_stream),
(gst_mpeg_demux_send_subbuffer), (gst_mpeg_demux_handle_src_query):
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_reset),
(gst_mpeg_parse_parse_packhead), (gst_mpeg_parse_loop),
(gst_mpeg_parse_get_rate), (gst_mpeg_parse_convert_src),
(gst_mpeg_parse_handle_src_query),
(gst_mpeg_parse_handle_src_event):
Use audio/x-dvd-lpcm for LPCM output.
Add DTS output.

19 years agogst/alpha/gstalphacolor.c: Add BGRA handling (#165736).
Ronald S. Bultje [Tue, 8 Feb 2005 11:02:58 +0000 (11:02 +0000)]
gst/alpha/gstalphacolor.c: Add BGRA handling (#165736).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/alpha/gstalphacolor.c: (gst_alpha_color_sink_link),
(transform_rgb), (transform_bgr), (gst_alpha_color_chain):
Add BGRA handling (#165736).

19 years agogst/law/: Fix caps memleaks (#166600).
Ronald S. Bultje [Tue, 8 Feb 2005 10:58:13 +0000 (10:58 +0000)]
gst/law/: Fix caps memleaks (#166600).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/law/alaw-decode.c: (alawdec_link):
* gst/law/alaw-encode.c: (alawenc_link):
* gst/law/mulaw-decode.c: (mulawdec_link):
* gst/law/mulaw-encode.c: (mulawenc_link):
Fix caps memleaks (#166600).

19 years agoInclude "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not have...
Tim-Philipp Müller [Tue, 8 Feb 2005 10:37:43 +0000 (10:37 +0000)]
Include "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not have stdint.h, like Solaris 9 (fixes #1...

Original commit message from CVS:
Include "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not have stdint.h, like Solaris 9 (fixes #166631).

19 years agosys/: Clear window on PAUSED->READY instead of READY->PAUSED. Stop
Ronald S. Bultje [Sat, 5 Feb 2005 23:01:59 +0000 (23:01 +0000)]
sys/: Clear window on PAUSED->READY instead of READY->PAUSED. Stop

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_change_state):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_clear),
(gst_xvimagesink_change_state):
Clear window on PAUSED->READY instead of READY->PAUSED. Stop
Xv video (and thereby regenerate Xv colourkey) in clear() so
that PLAY -> READY -> PLAY works (fixes #162504).

19 years agosys/v4l/gstv4lmjpegsrc.c: Switch to list instead of range, since MJPEG-devices really...
Ronald S. Bultje [Sat, 5 Feb 2005 16:18:15 +0000 (16:18 +0000)]
sys/v4l/gstv4lmjpegsrc.c: Switch to list instead of range, since MJPEG-devices really just support decimations, not a...

Original commit message from CVS:
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_getcaps):
Switch to list instead of range, since MJPEG-devices really just
support decimations, not any size.

19 years agoext/mpeg2dec/gstmpeg2dec.*: The libmpeg2 user-allocated buffer management is awkward...
Jan Schmidt [Sat, 5 Feb 2005 07:36:01 +0000 (07:36 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: The libmpeg2 user-allocated buffer management is awkward, to say the least. Hopefully thi...

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_open_decoder),
(gst_mpeg2dec_reset), (free_all_buffers),
(gst_mpeg2dec_alloc_buffer), (handle_sequence):
* ext/mpeg2dec/gstmpeg2dec.h:
The libmpeg2 user-allocated buffer management is awkward,
to say the least. Hopefully this fixes things.

19 years agogst/audioconvert/bufferframesconvert.c
Andy Wingo [Fri, 4 Feb 2005 15:40:38 +0000 (15:40 +0000)]
gst/audioconvert/bufferframesconvert.c

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

* gst/audioconvert/bufferframesconvert.c
(buffer_frames_convert_fixate): New function, fixates to 256
frames per buffer by default. (Much better than 1.)
(buffer_frames_convert_init): Set the fixate function for both src
and sink pad.
(buffer_frames_convert_link): After success setting nonfixed caps,
get the negotiated caps so we can know how many buffer-frames it
will be. No idea how this worked at all before.

19 years agoext/mpeg2dec/gstmpeg2dec.*: Rearrange buffer tracking and refcounting and refactor...
Jan Schmidt [Fri, 4 Feb 2005 13:43:27 +0000 (13:43 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Rearrange buffer tracking and refcounting and refactor a little for readability.

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init),
(gst_mpeg2dec_close_decoder), (put_buffer), (check_buffer),
(free_buffer), (free_all_buffers), (gst_mpeg2dec_alloc_buffer),
(handle_sequence), (handle_picture):
* ext/mpeg2dec/gstmpeg2dec.h:
Rearrange buffer tracking and refcounting and refactor
a little for readability.

19 years agosys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg inside...
Jan Schmidt [Thu, 3 Feb 2005 18:23:17 +0000 (18:23 +0000)]
sys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg inside rgb frames" driver.

Original commit message from CVS:
* sys/v4l/gstv4l.c: (plugin_init):
* sys/v4l/gstv4ljpegsrc.c: (gst_v4ljpegsrc_get_type),
(gst_v4ljpegsrc_base_init), (gst_v4ljpegsrc_class_init),
(gst_v4ljpegsrc_init), (gst_v4ljpegsrc_src_link),
(gst_v4ljpegsrc_getcaps), (gst_v4ljpegsrc_get):
* sys/v4l/gstv4ljpegsrc.h:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_open), (gst_v4lsrc_src_link):
* sys/v4l/v4l_calls.h:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_palette_name),
(gst_v4lsrc_get_fps):
* sys/v4l/v4lsrc_calls.h:
Add new v4ljpegsrc for handling the ov51x hacky "I'll give
you jpeg inside rgb frames" driver.
Don't error in the v4lsrc link function, just return
REFUSED.

19 years agosys/qcam/gstqcamsrc.c: Use GST_ELEMENT_ERROR, not g_warning, if open failed.
Ronald S. Bultje [Thu, 3 Feb 2005 12:15:59 +0000 (12:15 +0000)]
sys/qcam/gstqcamsrc.c: Use GST_ELEMENT_ERROR, not g_warning, if open failed.

Original commit message from CVS:
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_change_state),
(gst_qcamsrc_open):
Use GST_ELEMENT_ERROR, not g_warning, if open failed.

19 years agogst/qtdemux/qtdemux.c: Change caps on MJPEG-B so it doesn't interfere with MJPEG...
Ronald S. Bultje [Wed, 2 Feb 2005 17:22:59 +0000 (17:22 +0000)]
gst/qtdemux/qtdemux.c: Change caps on MJPEG-B so it doesn't interfere with MJPEG/JPEG.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Change caps on MJPEG-B so it doesn't interfere with MJPEG/JPEG.

19 years agoext/raw1394/gstdv1394src.c: Reset negotiated state on PAUSED->READY.
Ronald S. Bultje [Wed, 2 Feb 2005 16:59:23 +0000 (16:59 +0000)]
ext/raw1394/gstdv1394src.c: Reset negotiated state on PAUSED->READY.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_change_state):
Reset negotiated state on PAUSED->READY.

19 years agoconfigure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes...
David Schleef [Wed, 2 Feb 2005 08:14:01 +0000 (08:14 +0000)]
configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible.  (Fixes #165997)

Original commit message from CVS:
* configure.ac: Put DEFAULT_AUDIOSINK in config.h and use
whereever possible.  (Fixes #165997)
* examples/capsfilter/capsfilter1.c: (main):
* examples/dynparams/filter.c: (create_ui):
* examples/seeking/cdparanoia.c: (get_track_info), (main):
* examples/seeking/chained.c: (main):
* examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline),
(make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline),
(make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (make_mpegnt_pipeline):
* examples/seeking/spider_seek.c: (make_spider_pipeline):
* examples/switch/switcher.c: (main):
* ext/dv/demo-play.c: (main):
* ext/faad/gstfaad.c: (gst_faad_change_state):
* ext/mad/gstmad.c: (gst_mad_chain):
* ext/smoothwave/demo-osssrc.c: (main):
* gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_audio_sink),
(gst_gconf_get_default_video_sink),
(gst_gconf_get_default_audio_src),
(gst_gconf_get_default_video_src),
(gst_gconf_get_default_visualization_element):
* gst/level/demo.c: (main):
* gst/level/plot.c: (main):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/playondemand/demo-mp3.c: (setup_pipeline):
* gst/sine/demo-dparams.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
* gst/speed/demo-mp3.c: (main):
* gst/volume/demo.c: (main):
* testsuite/embed/embed.c: (main):

19 years agogst/tcp/: Don't leak the hostname when shutting down.
Jan Schmidt [Wed, 2 Feb 2005 06:26:15 +0000 (06:26 +0000)]
gst/tcp/: Don't leak the hostname when shutting down.

Original commit message from CVS:
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_class_init),
(gst_tcpclientsink_finalize):
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_class_init),
(gst_tcpclientsrc_finalize):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init),
(gst_tcpserversink_init), (gst_tcpserversink_finalize):
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_class_init),
(gst_tcpserversrc_init), (gst_tcpserversrc_finalize):
Don't leak the hostname when shutting down.
In tcpserversrc, take a copy of the default hostname.

19 years agoext/raw1394/gstdv1394src.c: Set caps to systemstream=TRUE.
Ronald S. Bultje [Tue, 1 Feb 2005 22:06:17 +0000 (22:06 +0000)]
ext/raw1394/gstdv1394src.c: Set caps to systemstream=TRUE.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_iso_receive):
Set caps to systemstream=TRUE.

19 years agotestsuite/Makefile.am: Fix more OSX buildbots.
Ronald S. Bultje [Tue, 1 Feb 2005 18:13:20 +0000 (18:13 +0000)]
testsuite/Makefile.am: Fix more OSX buildbots.

Original commit message from CVS:
* testsuite/Makefile.am:
Fix more OSX buildbots.

19 years agoext/mpeg2dec/gstmpeg2dec.c: Don't send things to NULL PAD_PEERs
Jan Schmidt [Tue, 1 Feb 2005 16:40:09 +0000 (16:40 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Don't send things to NULL PAD_PEERs

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c:
Don't send things to NULL PAD_PEERs

* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_chain):
Copy-on-write the incoming buffer.

* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegclock.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead),
(normal_seek), (gst_mpeg_demux_handle_src_event):
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegpacketize.h:
* gst/mpegstream/gstmpegparse.c:
(gst_mpeg_parse_update_streaminfo), (gst_mpeg_parse_reset),
(gst_mpeg_parse_handle_discont), (gst_mpeg_parse_parse_packhead),
(gst_mpeg_parse_loop), (gst_mpeg_parse_get_rate),
(gst_mpeg_parse_convert_src), (gst_mpeg_parse_handle_src_query),
(gst_mpeg_parse_handle_src_event), (gst_mpeg_parse_change_state):
* gst/mpegstream/gstmpegparse.h:
* gst/mpegstream/gstrfc2250enc.h:
Various changes to the way time is computed that make seeking and
total time estimation much better here.
Use G_BEGIN/END_DECLS instead of __cplusplus

* gst/videocrop/gstvideocrop.c: (gst_video_crop_chain):
Use gst_buffer_stamp instead of only copying the TIMESTAMP

19 years agogst/subparse/gstsubparse.c: Fix OSX buildbot.
Ronald S. Bultje [Tue, 1 Feb 2005 15:04:07 +0000 (15:04 +0000)]
gst/subparse/gstsubparse.c: Fix OSX buildbot.

Original commit message from CVS:
* gst/subparse/gstsubparse.c:
Fix OSX buildbot.

19 years agofile NOTE was initially added on branch BRANCH-THREADED.
Ronald S. Bultje [Tue, 1 Feb 2005 10:23:22 +0000 (10:23 +0000)]
file NOTE was initially added on branch BRANCH-THREADED.

Original commit message from CVS:
file NOTE was initially added on branch BRANCH-THREADED.

19 years agoSet granulepos and timestamp correctly for streams not starting at 0, taking into...
Tim-Philipp Müller [Mon, 31 Jan 2005 19:23:08 +0000 (19:23 +0000)]
Set granulepos and timestamp correctly for streams not starting at 0, taking into account the initial delay

Original commit message from CVS:
Set granulepos and timestamp correctly for streams not starting at 0, taking into account the initial delay

19 years agoAdd audio/x-dts to audio pad template caps
Tim-Philipp Müller [Mon, 31 Jan 2005 18:39:32 +0000 (18:39 +0000)]
Add audio/x-dts to audio pad template caps

Original commit message from CVS:
Add audio/x-dts to audio pad template caps

19 years agoext/polyp/polypsink.c: Fix silly endianness bug. Add some debugging. Remove float...
David Schleef [Mon, 31 Jan 2005 01:55:03 +0000 (01:55 +0000)]
ext/polyp/polypsink.c: Fix silly endianness bug.  Add some debugging.  Remove float from caps; it doesn't work.  Atte...

Original commit message from CVS:
* ext/polyp/polypsink.c: (gst_polypsink_base_init),
(create_context), (gst_polypsink_link): Fix silly endianness
bug.  Add some debugging.  Remove float from caps; it doesn't
work.  Attempt to get remote audio working.

19 years agogst/qtdemux/qtdemux.c: Add 3IV2 fourcc.
Ronald S. Bultje [Sat, 29 Jan 2005 20:31:46 +0000 (20:31 +0000)]
gst/qtdemux/qtdemux.c: Add 3IV2 fourcc.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add 3IV2 fourcc.