platform/upstream/gst-plugins-base.git
18 years agoreleasing 0.9.4 RELEASE-0_9_4
Thomas Vander Stichele [Sun, 23 Oct 2005 22:34:38 +0000 (22:34 +0000)]
releasing 0.9.4

Original commit message from CVS:
releasing 0.9.4

18 years agoSTOPPED -> FAILED
Thomas Vander Stichele [Sun, 23 Oct 2005 09:57:59 +0000 (09:57 +0000)]
STOPPED -> FAILED

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_loop):
* po/POTFILES.in:
STOPPED -> FAILED

18 years agogst/playback/gstdecodebin.c: Don't try to remove elements twice.
Wim Taymans [Fri, 21 Oct 2005 16:40:08 +0000 (16:40 +0000)]
gst/playback/gstdecodebin.c: Don't try to remove elements twice.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(gst_decode_bin_dispose), (free_dynamics), (pad_unblocked),
(pad_blocked), (close_pad_link), (new_pad):
Don't try to remove elements twice.

18 years agoext/: Fix old naming.
Wim Taymans [Fri, 21 Oct 2005 15:14:36 +0000 (15:14 +0000)]
ext/: Fix old naming.

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_dec_sink_event):
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_sink_event), (vorbis_handle_identification_packet),
(vorbis_handle_data_packet):
* ext/vorbis/vorbisdec.h:
Fix old naming.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Don't try to sync on buffers without a timestamp.

18 years agoupdate for latest changes
Christian Schaller [Fri, 21 Oct 2005 09:45:13 +0000 (09:45 +0000)]
update for latest changes

Original commit message from CVS:
update for latest changes

18 years agoext/vorbis/vorbisenc.c: Implement position and duration queries.
Tim-Philipp Müller [Thu, 20 Oct 2005 19:06:43 +0000 (19:06 +0000)]
ext/vorbis/vorbisenc.c: Implement position and duration queries.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_get_query_types),
(gst_vorbisenc_src_query):
Implement position and duration queries.
* gst/playback/test3.c: (update_scale), (main):
Fix for async state changes and print nicer output.

18 years agogst/playback/: Fix tests again
Wim Taymans [Thu, 20 Oct 2005 17:42:57 +0000 (17:42 +0000)]
gst/playback/: Fix tests again

Original commit message from CVS:
* gst/playback/test5.c: (new_pad), (no_more_pads), (start_finding),
(dump_element_stats), (main):
* gst/playback/test6.c: (main):
Fix tests again

18 years agogst/: Don't use functions for position queries when handling duration queries.
Tim-Philipp Müller [Thu, 20 Oct 2005 16:44:17 +0000 (16:44 +0000)]
gst/: Don't use functions for position queries when handling duration queries.

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c: (gst_audiotestsrc_src_query):
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_query):
Don't use functions for position queries when handling
duration queries.

18 years agoext/vorbis/vorbisdec.*: Vorbis streams can be embedded in other container formats...
Tim-Philipp Müller [Thu, 20 Oct 2005 16:01:43 +0000 (16:01 +0000)]
ext/vorbis/vorbisdec.*: Vorbis streams can be embedded in other container formats than ogg, container formats where t...

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_handle_data_packet), (vorbis_dec_chain),
(vorbis_dec_change_state):
* ext/vorbis/vorbisdec.h:
Vorbis streams can be embedded in other container formats
than ogg, container formats where the demuxer might set
timestamps on encoded vorbis buffers instead of those silly
granulepos thingies. In short: make vorbisdec handle
timestamps on incoming buffers as well.

18 years agogst/playback/gstplaybasebin.c: Fix leak.
Wim Taymans [Thu, 20 Oct 2005 10:35:06 +0000 (10:35 +0000)]
gst/playback/gstplaybasebin.c: Fix leak.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_destroy),
(gst_play_base_bin_change_state):
Fix leak.
Handle case where playbasebin is now ASYNC because
decodebin is.

18 years agogst/audioconvert/: And bye bye buffer-frames-convert
Tim-Philipp Müller [Wed, 19 Oct 2005 17:50:17 +0000 (17:50 +0000)]
gst/audioconvert/: And bye bye buffer-frames-convert

Original commit message from CVS:
* gst/audioconvert/Makefile.am:
* gst/audioconvert/bufferframesconvert.c:
* gst/audioconvert/plugin.c: (plugin_init):
* gst/audioconvert/plugin.h:
And bye bye buffer-frames-convert

18 years agoBye bye buffer-frames.
Wim Taymans [Wed, 19 Oct 2005 17:02:46 +0000 (17:02 +0000)]
Bye bye buffer-frames.

Original commit message from CVS:
* check/elements/audioconvert.c:
* docs/libs/tmpl/gstaudio.sgml:
* docs/libs/tmpl/gstcolorbalance.sgml:
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_handle_identification_packet), (vorbis_handle_data_packet):
* ext/vorbis/vorbisenc.c: (raw_caps_factory):
* gst-libs/gst/audio/audio.c: (gst_audio_structure_set_int):
* gst-libs/gst/audio/audio.h:
* gst/audioconvert/audioconvert.h:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_parse_caps):
* gst/volume/gstvolume.c:
Bye bye buffer-frames.

18 years agoQuery API update.
Wim Taymans [Wed, 19 Oct 2005 15:55:33 +0000 (15:55 +0000)]
Query API update.

Original commit message from CVS:
* examples/seeking/seek.c: (make_avi_msmpeg4v3_mp3_pipeline),
(query_positions_elems), (query_positions_pads), (update_scale),
(do_seek), (set_update_scale), (message_received), (main):
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_find_chains),
(gst_ogg_demux_loop):
* ext/ogg/gstogmparse.c: (gst_ogm_parse_sink_query):
* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_dec_sink_event):
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_sink_event), (vorbis_handle_data_packet):
* gst/adder/gstadder.c: (gst_adder_query):
* gst/audiotestsrc/gstaudiotestsrc.c: (gst_audiotestsrc_src_query):
* gst/playback/test3.c: (update_scale):
* gst/playback/test5.c: (new_pad), (no_more_pads), (start_finding),
(dump_element_stats), (main):
* gst/playback/test6.c: (main):
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_query):
Query API update.

18 years agogst/typefind/gsttypefindfunctions.c: Akos Maroy (#308663).
Tim-Philipp Müller [Wed, 19 Oct 2005 09:21:46 +0000 (09:21 +0000)]
gst/typefind/gsttypefindfunctions.c: Akos Maroy (#308663).

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (utf8_type_find),
(xml_check_first_element), (xml_type_find), (smil_type_find),
(plugin_init):
Add typefinding for SMIL and for generic XML. Based on patch by
Akos Maroy (#308663).

18 years agogst/playback/: Make playbin async, it'll commit state to paused when all streams...
Wim Taymans [Tue, 18 Oct 2005 17:13:56 +0000 (17:13 +0000)]
gst/playback/: Make playbin async, it'll commit state to paused when all streams are detected.

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(gst_decode_bin_dispose), (dynamic_create), (dynamic_free),
(free_dynamics), (pad_unblocked), (pad_blocked), (close_pad_link),
(try_to_link_1), (new_pad), (no_more_pads), (type_found),
(gst_decode_bin_change_state):
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_send_event_to_sink):
* gst/playback/test5.c: (new_pad), (no_more_pads), (start_finding),
(dump_element_stats), (main):
* gst/playback/test6.c: (main):
Make playbin async, it'll commit state to paused when all streams
are detected.
Remove ugly hack.
Added test6.c to show async behaviour.

18 years agoext/ogg/gstoggdemux.c: Fix for segment-start/stop API change.
Wim Taymans [Tue, 18 Oct 2005 13:20:29 +0000 (13:20 +0000)]
ext/ogg/gstoggdemux.c: Fix for segment-start/stop API change.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_peer),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_loop):
Fix for segment-start/stop API change.

18 years agocheck/: Add future test for clock selection.
Wim Taymans [Tue, 18 Oct 2005 11:13:34 +0000 (11:13 +0000)]
check/: Add future test for clock selection.

Original commit message from CVS:
* check/Makefile.am:
* check/clocks/selection.c: (GST_START_TEST), (volume_suite),
(main):
Add future test for clock selection.

18 years agoext/alsa/gstalsasink.c: Set handle to NULL.
Wim Taymans [Tue, 18 Oct 2005 11:07:26 +0000 (11:07 +0000)]
ext/alsa/gstalsasink.c: Set handle to NULL.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_init),
(gst_alsasink_close):
Set handle to NULL.

* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_open_device), (gst_ring_buffer_close_device),
(gst_ring_buffer_acquire), (gst_ring_buffer_release),
(gst_ring_buffer_start), (gst_ring_buffer_pause),
(gst_ring_buffer_stop), (gst_ring_buffer_commit),
(gst_ring_buffer_read):
More debug info.

18 years agogst/: fix broken build of controllerized plugins
Stefan Kost [Mon, 17 Oct 2005 19:57:05 +0000 (19:57 +0000)]
gst/: fix broken build of controllerized plugins

Original commit message from CVS:
* gst/audiotestsrc/Makefile.am:
* gst/sine/Makefile.am:
* gst/volume/Makefile.am:
fix broken build of controllerized plugins

18 years agogst-libs/gst/riff/riff-media.c: Add support for Indeo-3 (IV32).
Tim-Philipp Müller [Mon, 17 Oct 2005 16:14:29 +0000 (16:14 +0000)]
gst-libs/gst/riff/riff-media.c: Add support for Indeo-3 (IV32).

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add support for Indeo-3 (IV32).

18 years agoconfigure.ac: rewrite
Thomas Vander Stichele [Mon, 17 Oct 2005 15:53:53 +0000 (15:53 +0000)]
configure.ac: rewrite

Original commit message from CVS:

* configure.ac:
rewrite

18 years agogst/: doc updates
Thomas Vander Stichele [Mon, 17 Oct 2005 15:37:45 +0000 (15:37 +0000)]
gst/: doc updates

Original commit message from CVS:
* gst-libs/gst/video/video.c: (gst_video_get_size):
* gst/audiotestsrc/gstaudiotestsrc.c:
doc updates

18 years agoext/ogg/gstoggmux.c (gst_ogg_mux_queue_pads): Fix bug introduced with the collectpads...
Andy Wingo [Mon, 17 Oct 2005 15:36:33 +0000 (15:36 +0000)]
ext/ogg/gstoggmux.c (gst_ogg_mux_queue_pads): Fix bug introduced with the collectpads change.

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

* ext/ogg/gstoggmux.c (gst_ogg_mux_queue_pads): Fix bug introduced
with the collectpads change.
(gst_ogg_mux_send_headers): Elevate warning to a g_critical.

18 years agoupdate docs
Thomas Vander Stichele [Mon, 17 Oct 2005 15:33:39 +0000 (15:33 +0000)]
update docs

Original commit message from CVS:
update docs

18 years agogst/tcp/gstmultifdsink.c: Convert to use the boilerplate macro.
Andy Wingo [Mon, 17 Oct 2005 13:46:22 +0000 (13:46 +0000)]
gst/tcp/gstmultifdsink.c: Convert to use the boilerplate macro.

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

* gst/tcp/gstmultifdsink.c: Convert to use the boilerplate macro.

* gst/tcp/gsttcp.c (gst_tcp_socket_read): Comment update.

18 years agoext/theora/theoraenc.c (theora_buffer_from_packet): Pass the alloc_buffer flow return...
Andy Wingo [Mon, 17 Oct 2005 13:42:38 +0000 (13:42 +0000)]
ext/theora/theoraenc.c (theora_buffer_from_packet): Pass the alloc_buffer flow return to callers.

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

* ext/theora/theoraenc.c (theora_buffer_from_packet): Pass the
alloc_buffer flow return to callers.
(theora_enc_chain, theora_enc_chain): Adapt to buffer_from_packet
change. Fix some memleaks in theoraenc.

18 years agogtkdoc wants me to commit this
Andy Wingo [Mon, 17 Oct 2005 13:39:22 +0000 (13:39 +0000)]
gtkdoc wants me to commit this

Original commit message from CVS:
gtkdoc wants me to commit this

18 years agoext/ogg/gstoggmux.c (gst_ogg_mux_send_headers): Fix a segfault in strange circumstance.
Andy Wingo [Mon, 17 Oct 2005 11:32:46 +0000 (11:32 +0000)]
ext/ogg/gstoggmux.c (gst_ogg_mux_send_headers): Fix a segfault in strange circumstance.

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

* ext/ogg/gstoggmux.c (gst_ogg_mux_send_headers): Fix a segfault
in strange circumstance.

18 years agogst/ffmpegcolorspace/gstffmpegcolorspace.c: We are asked to compute a buffer size...
Julien Moutte [Mon, 17 Oct 2005 09:34:26 +0000 (09:34 +0000)]
gst/ffmpegcolorspace/gstffmpegcolorspace.c: We are asked to compute a buffer size from caps, let's use the caps...

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

* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_get_unit_size): We are asked to compute a buffer
size
from caps, let's use the caps...

18 years agoconfigure.ac: put back AX_CREATE_STDINT_H, ffmpegcolorspace includes _stdint.h
Thomas Vander Stichele [Mon, 17 Oct 2005 09:33:24 +0000 (09:33 +0000)]
configure.ac: put back AX_CREATE_STDINT_H, ffmpegcolorspace includes _stdint.h

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

* configure.ac:
put back AX_CREATE_STDINT_H, ffmpegcolorspace includes _stdint.h

18 years agofix silly typo
Thomas Vander Stichele [Sun, 16 Oct 2005 17:50:44 +0000 (17:50 +0000)]
fix silly typo

Original commit message from CVS:
fix silly typo

18 years agogst/playback/gstdecodebin.c
Andy Wingo [Sun, 16 Oct 2005 15:08:46 +0000 (15:08 +0000)]
gst/playback/gstdecodebin.c

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

* gst/playback/gstdecodebin.c
(gst_element_set_state_like_a_crazy_man): New kraaaaaaazy
function!
(try_to_link_1): Increase kraziness level.

18 years agorestructure configure.ac, use correct libtool LDFLAGS, fix up defines
Thomas Vander Stichele [Sun, 16 Oct 2005 13:54:44 +0000 (13:54 +0000)]
restructure configure.ac, use correct libtool LDFLAGS, fix up defines

Original commit message from CVS:
restructure configure.ac, use correct libtool LDFLAGS, fix up defines

18 years agoconfigure.ac: It's GST_GLIB_CHECK, not GLIB2_CHECK; fix argument.
Andy Wingo [Sun, 16 Oct 2005 13:11:04 +0000 (13:11 +0000)]
configure.ac: It's GST_GLIB_CHECK, not GLIB2_CHECK; fix argument.

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

* configure.ac: It's GST_GLIB_CHECK, not GLIB2_CHECK; fix
argument.

18 years agoFix handling of GST_TAG_DATE, which is now of GST_TYPE_DATE.
Tim-Philipp Müller [Thu, 13 Oct 2005 15:34:02 +0000 (15:34 +0000)]
Fix handling of GST_TAG_DATE, which is now of GST_TYPE_DATE.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c:
* gst-libs/gst/tag/gstid3tag.c: (gst_tag_list_new_from_id3v1):
* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add),
(gst_tag_to_vorbis_comments):
Fix handling of GST_TAG_DATE, which is now of GST_TYPE_DATE.

18 years agotypo fixes
Stefan Kost [Thu, 13 Oct 2005 15:26:22 +0000 (15:26 +0000)]
typo fixes

Original commit message from CVS:
* examples/stats/mp2ogg.c:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
typo fixes

18 years agoMagic glib macro usage to ensure constants are passed properly to vararg functions.
Michael Smith [Thu, 13 Oct 2005 12:09:56 +0000 (12:09 +0000)]
Magic glib macro usage to ensure constants are passed properly to vararg functions.

Original commit message from CVS:
Magic glib macro usage to ensure constants are passed properly to vararg
functions.

18 years ago- Don't use non-portable LL suffix on constants, since MSVC doesn't allow them. These...
Michael Smith [Thu, 13 Oct 2005 11:36:14 +0000 (11:36 +0000)]
- Don't use non-portable LL suffix on constants, since MSVC doesn't allow them. These constants all fit into ints any...

Original commit message from CVS:
- Don't use non-portable LL suffix on constants, since MSVC doesn't allow
them. These constants all fit into ints anyway.

- Continue to hate nano.

18 years agorenamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition
Stefan Kost [Wed, 12 Oct 2005 14:32:29 +0000 (14:32 +0000)]
renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition

Original commit message from CVS:
* examples/indexing/indexmpeg.c: (main):
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_get),
(cdparanoia_open), (cdparanoia_close), (cdparanoia_event),
(cdparanoia_convert), (cdparanoia_query):
* ext/cdparanoia/gstcdparanoia.h:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_init),
(gst_gnomevfssink_open_file), (gst_gnomevfssink_close_file),
(gst_gnomevfssink_chain), (gst_gnomevfssink_change_state):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_init):
* gst/audioscale/gstaudioscale.c: (gst_audioscale_init):
* gst/playback/gststreamselector.c: (gst_stream_selector_init):
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_init),
(gst_multifdsink_render), (gst_multifdsink_start),
(gst_multifdsink_stop):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_init),
(gst_tcpclientsink_render), (gst_tcpclientsink_start),
(gst_tcpclientsink_stop):
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init),
(gst_tcpclientsrc_getcaps), (gst_tcpclientsrc_create),
(gst_tcpclientsrc_start), (gst_tcpclientsrc_stop):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init),
(gst_tcpserversrc_create), (gst_tcpserversrc_start),
(gst_tcpserversrc_stop):
* gst/tcp/gsttcpserversrc.h:
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init):
* sys/ximage/ximagesink.c: (gst_ximagesink_init):
renamed GST_FLAGS macros to GST_OBJECT_FLAGS
moved bitshift from macro to enum definition

18 years agorenamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition
Stefan Kost [Wed, 12 Oct 2005 14:29:42 +0000 (14:29 +0000)]
renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition

Original commit message from CVS:
* examples/indexing/indexmpeg.c: (main):
* ext/esd/esdmon.c: (gst_esdmon_open_audio),
(gst_esdmon_close_audio), (gst_esdmon_change_state):
* ext/esd/esdmon.h:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_init):
* ext/pango/gsttextoverlay.c: (gst_textoverlay_init):
* gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_init):
* gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_init):
* gst/avi/gstavimux.c: (gst_avimux_init):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_init):
* gst/multipart/multipartdemux.c: (gst_multipart_demux_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_init):
* gst/oldcore/gstmultifilesrc.c: (gst_multifilesrc_init),
(gst_multifilesrc_get), (gst_multifilesrc_open_file),
(gst_multifilesrc_close_file), (gst_multifilesrc_change_state):
* gst/oldcore/gstmultifilesrc.h:
* gst/oldcore/gstpipefilter.c: (gst_pipefilter_init),
(gst_pipefilter_open_file), (gst_pipefilter_close_file),
(gst_pipefilter_change_state):
* gst/oldcore/gstpipefilter.h:
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_init):
* gst/videomixer/videomixer.c: (gst_videomixer_init):
* sys/osxaudio/gstosxaudiosink.c: (gst_osxaudiosink_init):
* sys/osxaudio/gstosxaudiosink.h:
* sys/osxaudio/gstosxaudiosrc.h:
renamed GST_FLAGS macros to GST_OBJECT_FLAGS
moved bitshift from macro to enum definition

18 years agoexamples/seeking/Makefile.am: Oops.
Wim Taymans [Wed, 12 Oct 2005 12:45:44 +0000 (12:45 +0000)]
examples/seeking/Makefile.am: Oops.

Original commit message from CVS:
* examples/seeking/Makefile.am:
Oops.

18 years agogst-libs/gst/audio/gstringbuffer.c: Don't assert on normal stuff.
Wim Taymans [Wed, 12 Oct 2005 12:38:20 +0000 (12:38 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Don't assert on normal stuff.

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit),
(gst_ring_buffer_read), (gst_ring_buffer_clear):
Don't assert on normal stuff.

* gst/playback/gstplaybin.c: (do_playbin_seek):
API fix.

18 years agoUpdate for _get_state() API change.
Wim Taymans [Wed, 12 Oct 2005 12:25:31 +0000 (12:25 +0000)]
Update for _get_state() API change.

Original commit message from CVS:
* check/pipelines/simple_launch_lines.c: (run_pipeline):
* examples/seeking/Makefile.am:
* examples/seeking/cdplayer.c: (play_cb), (pause_cb), (stop_cb):
* examples/seeking/seek.c: (make_avi_msmpeg4v3_mp3_pipeline),
(do_seek), (set_update_scale), (message_received), (main):
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit),
(gst_ring_buffer_read), (gst_ring_buffer_clear):
Update for _get_state() API change.

18 years agogst-libs/gst/audio/: Cleanups.
Wim Taymans [Tue, 11 Oct 2005 18:32:01 +0000 (18:32 +0000)]
gst-libs/gst/audio/: Cleanups.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create):
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit),
(gst_ring_buffer_read):
Cleanups.
Commit and read from ringbuffer in samples rather than bytes.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Respect segment rate and accum when scheduling...
Wim Taymans [Tue, 11 Oct 2005 17:31:48 +0000 (17:31 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Respect segment rate and accum when scheduling samples.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Respect segment rate and accum when scheduling samples.

18 years agoext/ogg/gstoggmux.c: Quick hack to fix build. We need to handle
Julien Moutte [Tue, 11 Oct 2005 17:19:36 +0000 (17:19 +0000)]
ext/ogg/gstoggmux.c: Quick hack to fix build. We need to handle

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

* ext/ogg/gstoggmux.c: (gst_ogg_mux_queue_pads),
(gst_ogg_mux_collected): Quick hack to fix build. We need to
handle
EOS correctly, that needs more work.

18 years agocheck/generic/states.c: remove old property.
Wim Taymans [Tue, 11 Oct 2005 16:30:55 +0000 (16:30 +0000)]
check/generic/states.c: remove old property.

Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST):
remove old property.

* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_perform_seek):
* ext/theora/theoradec.c: (theora_dec_sink_event):
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_handle_data_packet):
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_set_gst_timestamp):
* gst/videorate/gstvideorate.c: (gst_videorate_event):
Update for newsegment API change.

18 years agogst/playback/gstplaybin.c: Override send_event differently, so that we can takes...
Michael Smith [Tue, 11 Oct 2005 15:49:31 +0000 (15:49 +0000)]
gst/playback/gstplaybin.c: Override send_event differently, so that we can takes bits of functionality from GstPipeli...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_send_event_to_sink),
(do_playbin_seek), (gst_play_bin_send_event):
Override send_event differently, so that we can takes bits of
functionality from GstPipeline (special handling for seeks,
including pausing/resuming, and resetting stream time) and
still get
the appropriate behaviour of only forwarding event to a single
sink,
rather than all of them.
Unfortunately requires a lot of code duplication, but the
alternatives are equally ugly in the end.

18 years agocheck/elements/audioconvert.c: clean up tests a little, fix some leaks.
Thomas Vander Stichele [Tue, 11 Oct 2005 14:49:44 +0000 (14:49 +0000)]
check/elements/audioconvert.c: clean up tests a little, fix some leaks.

Original commit message from CVS:
* check/elements/audioconvert.c: (setup_audioconvert),
(cleanup_audioconvert), (get_int_caps), (verify_convert),
(GST_START_TEST), (audioconvert_suite):
clean up tests a little, fix some leaks.

18 years agoplug some leaks
Thomas Vander Stichele [Tue, 11 Oct 2005 01:37:11 +0000 (01:37 +0000)]
plug some leaks

Original commit message from CVS:
plug some leaks

18 years agoext/alsa/gstalsasink.c: Also allow unsigned int.
Wim Taymans [Mon, 10 Oct 2005 17:04:24 +0000 (17:04 +0000)]
ext/alsa/gstalsasink.c: Also allow unsigned int.

Original commit message from CVS:
* ext/alsa/gstalsasink.c:
Also allow unsigned int.

* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create), (gst_base_audio_src_change_state):
Small cleanup

18 years agocheck/pipelines/simple_launch_lines.c: Small update, use API as stated in design...
Wim Taymans [Mon, 10 Oct 2005 16:26:40 +0000 (16:26 +0000)]
check/pipelines/simple_launch_lines.c: Small update, use API as stated in design docs.

Original commit message from CVS:
* check/pipelines/simple_launch_lines.c: (run_pipeline):
Small update, use API as stated in design docs.

* examples/seeking/seek.c: (make_avi_msmpeg4v3_mp3_pipeline),
(update_scale), (do_seek), (seek_cb), (set_update_scale),
(start_seek), (stop_seek), (play_cb), (pause_cb), (stop_cb),
(message_received), (main):
Updated seek example for GOption. Some usability improvements.

18 years agogst/audioconvert/: Alloc temp storage somewhere else where we can do it more portable.
Wim Taymans [Mon, 10 Oct 2005 13:45:39 +0000 (13:45 +0000)]
gst/audioconvert/: Alloc temp storage somewhere else where we can do it more portable.

Original commit message from CVS:
* gst/audioconvert/audioconvert.h:
* gst/audioconvert/gstchannelmix.c: (gst_channel_mix_unset_matrix),
(gst_channel_mix_setup_matrix), (gst_channel_mix_mix):
Alloc temp storage somewhere else where we can do it more
portable.

18 years agogst/tcp/gsttcpserversrc.c: Don't block in accept while doing the state change, move...
Wim Taymans [Mon, 10 Oct 2005 12:29:22 +0000 (12:29 +0000)]
gst/tcp/gsttcpserversrc.c: Don't block in accept while doing the state change, move to poll and make cancellable.

Original commit message from CVS:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_create),
(gst_tcpserversrc_start):
Don't block in accept while doing the state change, move
to poll and make cancellable.

18 years agogst-libs/gst/rtp/rtpbasedepayload.c: Set timestamp and add queue delay to timestamp
Philippe Kalaf [Sun, 9 Oct 2005 21:32:34 +0000 (21:32 +0000)]
gst-libs/gst/rtp/rtpbasedepayload.c: Set timestamp and add queue delay to timestamp

Original commit message from CVS:
2005-10-09  Philippe Khalaf <burger@speedy.org>

* gst-libs/gst/rtp/rtpbasedepayload.c:
Set timestamp and add queue delay to timestamp
* gst-libs/gst/rtp/rtpbuffer.h:
Set correct payload type for h263

18 years agogst/audiotestsrc/gstaudiotestsrc.*: fixed typo, added pink noise
Stefan Kost [Sun, 9 Oct 2005 20:47:31 +0000 (20:47 +0000)]
gst/audiotestsrc/gstaudiotestsrc.*: fixed typo, added pink noise

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiostestsrc_wave_get_type), (gst_audiotestsrc_class_init),
(gst_audiotestsrc_init), (gst_audiotestsrc_create_sine),
(gst_audiotestsrc_create_square), (gst_audiotestsrc_create_saw),
(gst_audiotestsrc_create_triangle),
(gst_audiotestsrc_create_silence),
(gst_audiotestsrc_create_white_noise),
(gst_audiotestsrc_init_pink_noise),
(gst_audiotestsrc_generate_pink_noise_value),
(gst_audiotestsrc_create_pink_noise),
(gst_audiotestsrc_change_wave):
* gst/audiotestsrc/gstaudiotestsrc.h:
fixed typo, added pink noise

18 years agogst/typefind/gsttypefindfunctions.c: Add wavpack and spc typefind functions from...
Tim-Philipp Müller [Sun, 9 Oct 2005 19:16:15 +0000 (19:16 +0000)]
gst/typefind/gsttypefindfunctions.c: Add wavpack and spc typefind functions from 0.8 branch.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (wavpack_type_find),
(plugin_init):
Add wavpack and spc typefind functions from 0.8 branch.

18 years agogst/typefind/gsttypefindfunctions.c: Add typefind functions for tar archives, ar...
Tim-Philipp Müller [Sun, 9 Oct 2005 19:01:10 +0000 (19:01 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefind functions for tar archives, ar archives,

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (tar_type_find),
(ar_type_find), (msdos_type_find), (plugin_init):
Add typefind functions for tar archives, ar archives,
RAR archives, and msdos-executables (dlls, exe, etc.).
Some of those would be wrongly identified as mpeg
streams of some sort before (#315550).

18 years agoadd new plugin and element
Stefan Kost [Sun, 9 Oct 2005 18:34:44 +0000 (18:34 +0000)]
add new plugin and element

Original commit message from CVS:
* configure.ac:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* gst/audioscale/gstaudioscale.c: (gst_audioscale_method_get_type):
* gst/audiotestsrc/Makefile.am:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiostestsrc_wave_get_type), (gst_audiotestsrc_base_init),
(gst_audiotestsrc_class_init), (gst_audiotestsrc_init),
(gst_audiotestsrc_src_fixate), (gst_audiotestsrc_setcaps),
(gst_audiotestsrc_get_query_types), (gst_audiotestsrc_src_query),
(gst_audiotestsrc_wait), (gst_audiotestsrc_unlock),
(gst_audiotestsrc_create_sine), (gst_audiotestsrc_create_square),
(gst_audiotestsrc_create_saw), (gst_audiotestsrc_create_triangle),
(gst_audiotestsrc_create_silence),
(gst_audiotestsrc_create_white_noise),
(gst_audiotestsrc_change_wave), (gst_audiotestsrc_create),
(gst_audiotestsrc_set_property), (gst_audiotestsrc_get_property),
(gst_audiotestsrc_start), (plugin_init):
* gst/audiotestsrc/gstaudiotestsrc.h:
add new plugin and element
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init):
use gobject_class

18 years agogst/adder/gstadder.c: Add query function to source pad, so adder reports the correct...
Tim-Philipp Müller [Sun, 9 Oct 2005 08:56:54 +0000 (08:56 +0000)]
gst/adder/gstadder.c: Add query function to source pad, so adder reports the correct time/sample position when querie...

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_query), (gst_adder_class_init),
(gst_adder_init), (gst_adder_request_new_pad),
(gst_adder_change_state):
Add query function to source pad, so adder reports the correct
time/sample position when queried (#315457); fix state change
function; use GST_DEBUG_FUNCPTR() for pad functions.

18 years agogst/typefind/gsttypefindfunctions.c: Fix leaks in typefind registration
Thomas Vander Stichele [Sat, 8 Oct 2005 15:36:50 +0000 (15:36 +0000)]
gst/typefind/gsttypefindfunctions.c: Fix leaks in typefind registration

Original commit message from CVS:

* gst/typefind/gsttypefindfunctions.c: (utf8_type_find):
Fix leaks in typefind registration
Clean up the gratuitous commenting and whitespacing a little

18 years agogst-libs/gst/audio/gstaudiosink.c: Only actually wait for the thread to be stopped...
Wim Taymans [Sat, 8 Oct 2005 12:02:08 +0000 (12:02 +0000)]
gst-libs/gst/audio/gstaudiosink.c: Only actually wait for the thread to be stopped if it's running.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c: (gst_audioringbuffer_stop):
Only actually wait for the thread to be stopped if it's
running.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: If we receive EOS we can start playback of...
Wim Taymans [Sat, 8 Oct 2005 11:47:52 +0000 (11:47 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: If we receive EOS we can start playback of what we had.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render):
If we receive EOS we can start playback of what we had.

18 years agogst/tcp/gstmultifdsink.c: Fix crasher when going to NULL multiple times.
Wim Taymans [Sat, 8 Oct 2005 08:50:37 +0000 (08:50 +0000)]
gst/tcp/gstmultifdsink.c: Fix crasher when going to NULL multiple times.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
(gst_multifdsink_finalize), (multifdsink_hash_remove),
(gst_multifdsink_stop):
Fix crasher when going to NULL multiple times.

18 years agodeclarations before code
Thomas Vander Stichele [Fri, 7 Oct 2005 17:17:41 +0000 (17:17 +0000)]
declarations before code

Original commit message from CVS:
declarations before code

18 years agodeclare variable at start of block
Thomas Vander Stichele [Fri, 7 Oct 2005 17:06:59 +0000 (17:06 +0000)]
declare variable at start of block

Original commit message from CVS:
declare variable at start of block

18 years agogst-libs/gst/audio/: Fixed gstbaseaudiosrc adding ring buffer sync to it.
Edgard Lima [Thu, 6 Oct 2005 15:15:04 +0000 (15:15 +0000)]
gst-libs/gst/audio/: Fixed gstbaseaudiosrc adding ring buffer sync to it.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_event),
(gst_base_audio_src_create), (gst_base_audio_src_change_state):
* gst-libs/gst/audio/gstbaseaudiosrc.h:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_read):
patch from Edgard Lima <edgard.lima@indt.org.br>
Fixed gstbaseaudiosrc adding ring buffer sync to it.

18 years agoext/ogg/gstoggdemux.c: Report the FLOW_RETURN as string in the error message.
Wim Taymans [Thu, 6 Oct 2005 13:11:55 +0000 (13:11 +0000)]
ext/ogg/gstoggdemux.c: Report the FLOW_RETURN as string in the error message.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_loop):
Report the FLOW_RETURN as string in the error message.

* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_clear_all):
Don't assert when clearing an unnegotiated buffer.

18 years agogst/playback/: Set state to NULL before removing from bin. Fix refcounting.
Michael Smith [Tue, 4 Oct 2005 18:02:00 +0000 (18:02 +0000)]
gst/playback/: Set state to NULL before removing from bin. Fix refcounting.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_destroy),
(gen_preroll_element), (remove_groups), (setup_source):
* gst/playback/gstplaybin.c: (remove_sinks), (add_sink),
(setup_sinks), (gst_play_bin_send_event),
(gst_play_bin_change_state):
Set state to NULL before removing from bin. Fix refcounting.

18 years agogst/playback/gstplaybin.c: Correct refcounting in send_event() function. Previously...
Michael Smith [Tue, 4 Oct 2005 13:51:17 +0000 (13:51 +0000)]
gst/playback/gstplaybin.c: Correct refcounting in send_event() function. Previously was wrong if the first sink was u...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_send_event):
Correct refcounting in send_event() function. Previously was wrong
if the first sink was unable to handle the event.

18 years agoignore more
Thomas Vander Stichele [Mon, 3 Oct 2005 18:36:24 +0000 (18:36 +0000)]
ignore more

Original commit message from CVS:
ignore more

18 years agoback to head
Thomas Vander Stichele [Mon, 3 Oct 2005 17:58:38 +0000 (17:58 +0000)]
back to head

Original commit message from CVS:
back to head

18 years agorelease time RELEASE-0_9_3
Thomas Vander Stichele [Mon, 3 Oct 2005 17:48:19 +0000 (17:48 +0000)]
release time

Original commit message from CVS:
release time

18 years agorevert last commit
Johan Dahlin [Mon, 3 Oct 2005 04:25:54 +0000 (04:25 +0000)]
revert last commit

Original commit message from CVS:
revert last commit

18 years agogst/playback/gstdecodebin.c (try_to_link_1) set element to NULL before removing it.
Andy Wingo [Sun, 2 Oct 2005 23:11:41 +0000 (23:11 +0000)]
gst/playback/gstdecodebin.c (try_to_link_1) set element to NULL before removing it.

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

* gst/playback/gstdecodebin.c (try_to_link_1)
(remove_element_chain): set element to NULL before removing it.

18 years agoext/gnomevfs/gstgnomevfssrc.c (gst_gnomevfssrc_uri_get_protocols): protect gst_gnomev...
Johan Dahlin [Sun, 2 Oct 2005 21:06:02 +0000 (21:06 +0000)]
ext/gnomevfs/gstgnomevfssrc.c (gst_gnomevfssrc_uri_get_protocols): protect gst_gnomevfs_get_supported_uris by a mutex...

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c (gst_gnomevfssrc_uri_get_protocols):
protect gst_gnomevfs_get_supported_uris by a mutex, to make it
MT safe.

18 years agogst-libs/gst/audio/gstringbuffer.c (gst_ring_buffer_clear)
Andy Wingo [Sun, 2 Oct 2005 15:58:57 +0000 (15:58 +0000)]
gst-libs/gst/audio/gstringbuffer.c (gst_ring_buffer_clear)

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

* gst-libs/gst/audio/gstringbuffer.c (gst_ring_buffer_clear)
(gst_ring_buffer_prepare_read):
* gst-libs/gst/audio/gstaudiosink.c (audioringbuffer_thread_func):
Demote to LOG.

18 years agoext/: Propagate error codes from alloc_buffer too.
Wim Taymans [Thu, 29 Sep 2005 19:12:44 +0000 (19:12 +0000)]
ext/: Propagate error codes from alloc_buffer too.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_peer):
* ext/theora/theoradec.c: (theora_handle_data_packet):
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
Propagate error codes from alloc_buffer too.

18 years agog_debug build fix.
Wim Taymans [Thu, 29 Sep 2005 14:14:40 +0000 (14:14 +0000)]
g_debug build fix.

Original commit message from CVS:
g_debug build fix.

18 years agoext/vorbis/vorbisdec.c: We use fixed caps.
Wim Taymans [Thu, 29 Sep 2005 14:12:18 +0000 (14:12 +0000)]
ext/vorbis/vorbisdec.c: We use fixed caps.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init):
We use fixed caps.

* gst/playback/Makefile.am:
* gst/playback/test5.c: (new_pad), (no_more_pads), (start_finding),
(dump_element_stats), (main):
Added example stream introspection code.

18 years agogst/adder/gstadder.c: fix adder for float elements
Stefan Kost [Wed, 28 Sep 2005 18:59:19 +0000 (18:59 +0000)]
gst/adder/gstadder.c: fix adder for float elements

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_collected):
fix adder for float elements

18 years agogst-libs/gst/audio/: get_clock -> provide_clock
Wim Taymans [Wed, 28 Sep 2005 13:41:29 +0000 (13:41 +0000)]
gst-libs/gst/audio/: get_clock -> provide_clock

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init),
(gst_base_audio_sink_provide_clock), (gst_base_audio_sink_render):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_class_init),
(gst_base_audio_src_provide_clock):
get_clock -> provide_clock

18 years agogst/videotestsrc/gstvideotestsrc.c: Implement live source mode and unlocking.
Andy Wingo [Wed, 28 Sep 2005 13:36:45 +0000 (13:36 +0000)]
gst/videotestsrc/gstvideotestsrc.c: Implement live source mode and unlocking.

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

* gst/videotestsrc/gstvideotestsrc.c: Implement live source mode
and unlocking.

18 years agogst/sine/gstsinesrc.c (gst_sinesrc_unlock): Actually implement unlocking.
Andy Wingo [Wed, 28 Sep 2005 13:18:11 +0000 (13:18 +0000)]
gst/sine/gstsinesrc.c (gst_sinesrc_unlock): Actually implement unlocking.

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

* gst/sine/gstsinesrc.c (gst_sinesrc_unlock): Actually implement
unlocking.

18 years agogst/tcp/gsttcpclientsink.c (gst_tcpclientsink_base_init): Actually add the pad template.
Andy Wingo [Wed, 28 Sep 2005 12:58:41 +0000 (12:58 +0000)]
gst/tcp/gsttcpclientsink.c (gst_tcpclientsink_base_init): Actually add the pad template.

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

* gst/tcp/gsttcpclientsink.c (gst_tcpclientsink_base_init):
Actually add the pad template.
(gst_tcpclientsink_get_type): We're a base sink. Woot, works.

* gst/tcp/gsttcpserversrc.c: Go ahead and fix up serversrc while
I'm at it...

18 years agogst/tcp/gsttcpclientsrc.c: Make interruptable -- code stolen from fdsrc. Get caps...
Andy Wingo [Wed, 28 Sep 2005 12:25:08 +0000 (12:25 +0000)]
gst/tcp/gsttcpclientsrc.c: Make interruptable -- code stolen from fdsrc. Get caps in create() instead of start() so i...

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

* gst/tcp/gsttcpclientsrc.c: Make interruptable -- code stolen
from fdsrc. Get caps in create() instead of start() so it can be
interrupted. Interruption somewhat untested.

* gst/tcp/gsttcp.c (gst_tcp_read_buffer, gst_tcp_socket_read):
Proper EOS handling.

18 years agogst/tcp/gsttcpclientsrc.c: Cleaned up.
Andy Wingo [Tue, 27 Sep 2005 17:03:02 +0000 (17:03 +0000)]
gst/tcp/gsttcpclientsrc.c: Cleaned up.

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

* gst/tcp/gsttcpclientsrc.c: Cleaned up.

18 years agogst/tcp/gsttcpserversrc.c: Cleaned up.
Andy Wingo [Tue, 27 Sep 2005 16:58:11 +0000 (16:58 +0000)]
gst/tcp/gsttcpserversrc.c: Cleaned up.

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

* gst/tcp/gsttcpserversrc.c: Cleaned up.

18 years agopacify old gcc take 2
Andy Wingo [Tue, 27 Sep 2005 16:43:37 +0000 (16:43 +0000)]
pacify old gcc take 2

Original commit message from CVS:
pacify old gcc take 2

18 years agopacify old gcc
Andy Wingo [Tue, 27 Sep 2005 16:40:45 +0000 (16:40 +0000)]
pacify old gcc

Original commit message from CVS:
pacify old gcc

18 years agogst/tcp/: Updated for new gsttcp API.
Andy Wingo [Tue, 27 Sep 2005 16:37:12 +0000 (16:37 +0000)]
gst/tcp/: Updated for new gsttcp API.

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

* gst/tcp/gsttcpserversrc.c:
* gst/tcp/gsttcpclientsrc.c: Updated for new gsttcp API.

* gst/tcp/gsttcp.h:
* gst/tcp/gsttcp.c (gst_tcp_read_buffer): New function, factored
out of tcpclientsrc.c. Cancellable.
(gst_tcp_socket_read): Made private, cancellable, with better
diagnostics. Also the FIONREAD ioctl takes a int*, not a size_t*.
(gst_tcp_gdp_read_buffer): Made cancellable, actually returns the
whole buffer, and better diagnostics.
(gst_tcp_gdp_read_caps): Same.

* gst/sine/gstsinesrc.c (gst_sinesrc_wait): Add the base time.

18 years agogst/sine/gstsinesrc.c (gst_sinesrc_wait): Add the base time.
Andy Wingo [Tue, 27 Sep 2005 09:22:30 +0000 (09:22 +0000)]
gst/sine/gstsinesrc.c (gst_sinesrc_wait): Add the base time.

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

* gst/sine/gstsinesrc.c (gst_sinesrc_wait): Add the base time.

18 years agogst/sine/gstsinesrc.*: Refactor, remove the table lookup code, change the 'sync'...
Andy Wingo [Mon, 26 Sep 2005 15:52:06 +0000 (15:52 +0000)]
gst/sine/gstsinesrc.*: Refactor, remove the table lookup code, change the 'sync' property to 'is-live' and implement ...

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

* gst/sine/gstsinesrc.h:
* gst/sine/gstsinesrc.c: Refactor, remove the table lookup code,
change the 'sync' property to 'is-live' and implement it halfway,
update for controller api change.

* gst/volume/gstvolume.c (volume_transform_ip): Update for
controller api change.

18 years agoFix sync again. Moved sample alignment to basesink.
Wim Taymans [Sat, 24 Sep 2005 13:06:03 +0000 (13:06 +0000)]
Fix sync again. Moved sample alignment to basesink.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_reset):
* gst-libs/gst/audio/gstaudiosink.c:
(gst_audioringbuffer_class_init), (audioringbuffer_thread_func),
(gst_audioringbuffer_stop):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render),
(gst_base_audio_sink_change_state):
* gst-libs/gst/audio/gstbaseaudiosink.h:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_stop),
(gst_ring_buffer_set_sample), (gst_ring_buffer_clear_all),
(gst_ring_buffer_commit), (gst_ring_buffer_read):
* gst-libs/gst/audio/gstringbuffer.h:
Fix sync again. Moved sample alignment to basesink.

18 years agoadd/fix docs
Thomas Vander Stichele [Fri, 23 Sep 2005 18:14:54 +0000 (18:14 +0000)]
add/fix docs

Original commit message from CVS:

* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* gst/volume/gstvolume.c:
add/fix docs
* gst-libs/gst/audio/audio.c: (gst_audio_frame_byte_size):
* gst-libs/gst/audio/audio.h:
add conversion macros for frames <-> clocktime

18 years agogst/audioresample/: Convert to using gst debugging
David Schleef [Fri, 23 Sep 2005 16:40:27 +0000 (16:40 +0000)]
gst/audioresample/: Convert to using gst debugging

Original commit message from CVS:
* gst/audioresample/Makefile.am:
* gst/audioresample/debug.h:
* gst/audioresample/gstaudioresample.c:
* gst/audioresample/resample.c: Convert to using gst debugging

18 years agosome documentation for audioconvert
Thomas Vander Stichele [Fri, 23 Sep 2005 14:41:31 +0000 (14:41 +0000)]
some documentation for audioconvert

Original commit message from CVS:
some documentation for audioconvert

18 years agofix build and use of GST_LIBS
Thomas Vander Stichele [Fri, 23 Sep 2005 04:22:55 +0000 (04:22 +0000)]
fix build and use of GST_LIBS

Original commit message from CVS:
fix build and use of GST_LIBS

18 years agogst/playback/gstplaybin.c: Only seek on one sink, the first one that succeeds.
Wim Taymans [Thu, 22 Sep 2005 17:41:03 +0000 (17:41 +0000)]
gst/playback/gstplaybin.c: Only seek on one sink, the first one that succeeds.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_send_event):
Only seek on one sink, the first one that succeeds.

18 years agoext/vorbis/vorbisenc.c: Don't flush encoder state unless we have an initialised encoder.
Michael Smith [Thu, 22 Sep 2005 14:35:57 +0000 (14:35 +0000)]
ext/vorbis/vorbisenc.c: Don't flush encoder state unless we have an initialised encoder.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_clear),
(gst_vorbisenc_sink_event), (gst_vorbisenc_change_state):
Don't flush encoder state unless we have an initialised encoder.
Clear out encoder state on PAUSED_TO_READY.