platform/upstream/gstreamer.git
18 years agogst-libs/gst/tag/gstvorbistag.c: Add comment about LANGUAGE tag inconsistency (we...
Tim-Philipp Müller [Sun, 5 Feb 2006 15:14:06 +0000 (15:14 +0000)]
gst-libs/gst/tag/gstvorbistag.c: Add comment about LANGUAGE tag inconsistency (we want

Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add):
Add comment about LANGUAGE tag inconsistency (we want
ISO-639-1, but extract three-letter identifiers?)
* po/POTFILES.in:
Add two translatable files.

18 years agogst-libs/gst/tag/: Forward-port some tags stuff from the 0.8 branch. This is mostly...
Tim-Philipp Müller [Sun, 5 Feb 2006 14:59:28 +0000 (14:59 +0000)]
gst-libs/gst/tag/: Forward-port some tags stuff from the 0.8 branch. This is mostly the addition of musicbrainz tags ...

Original commit message from CVS:
* gst-libs/gst/tag/Makefile.am:
* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add):
* gst-libs/gst/tag/tag.h:
* gst-libs/gst/tag/tags.c:
(gst_tag_register_musicbrainz_tags_internal),
(gst_tag_register_musicbrainz_tags):
Forward-port some tags stuff from the 0.8 branch. This is
mostly the addition of musicbrainz tags and their mapping
to vorbistags, and a vorbistag mapping of the language tag.

18 years agogst/playback/gstplaybin.c: Fix broken code refactoring.
Julien Moutte [Sun, 5 Feb 2006 12:06:25 +0000 (12:06 +0000)]
gst/playback/gstplaybin.c: Fix broken code refactoring.

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

* gst/playback/gstplaybin.c: (gen_text_element): Fix broken code
refactoring.

18 years agoAdd Dirac typefinding and add dirac format to oggmux.
David Schleef [Sun, 5 Feb 2006 03:05:41 +0000 (03:05 +0000)]
Add Dirac typefinding and add dirac format to oggmux.

Original commit message from CVS:
* ext/ogg/gstoggmux.c:
* gst/typefind/gsttypefindfunctions.c:
Add Dirac typefinding and add dirac format to oggmux.

18 years agoImprove error message for liboil missingness.
Michael Smith [Sat, 4 Feb 2006 07:49:03 +0000 (07:49 +0000)]
Improve error message for liboil missingness.

Original commit message from CVS:
Improve error message for liboil missingness.

18 years agogst/playback/gstdecodebin.c: Don't put essential function call into g_return_*()...
Tim-Philipp Müller [Fri, 3 Feb 2006 19:23:41 +0000 (19:23 +0000)]
gst/playback/gstdecodebin.c: Don't put essential function call into g_return_*() macro, otherwise it'll all be replac...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (try_to_link_1):
Don't put essential function call into
g_return_*() macro, otherwise it'll all be
replaced by NOOPs when compiling with
G_DISABLE_CHECKS defined.

18 years agoJust make it compile with --disable-gst-debug.
Edgard Lima [Fri, 3 Feb 2006 17:45:44 +0000 (17:45 +0000)]
Just make it compile with --disable-gst-debug.

Original commit message from CVS:
Just make it compile with --disable-gst-debug.

18 years agoext/alsa/gstalsasink.*: Add lock to protect alsa calls.
Wim Taymans [Fri, 3 Feb 2006 12:51:47 +0000 (12:51 +0000)]
ext/alsa/gstalsasink.*: Add lock to protect alsa calls.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_finalise),
(gst_alsasink_class_init), (gst_alsasink_init),
(gst_alsasink_write), (gst_alsasink_reset):
* ext/alsa/gstalsasink.h:
Add lock to protect alsa calls.
Implement reset to flush samples ASAP, does not work
with dmix though.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Ugh.. getting late I guess...
Wim Taymans [Thu, 2 Feb 2006 18:18:31 +0000 (18:18 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Ugh.. getting late I guess...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_provide_clock):
Ugh.. getting late I guess...

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Don't try to provide a clock when we are not...
Wim Taymans [Thu, 2 Feb 2006 18:13:26 +0000 (18:13 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Don't try to provide a clock when we are not negotiated since we might not be ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_provide_clock),
(gst_base_audio_sink_set_property),
(gst_base_audio_sink_get_property), (gst_base_audio_sink_render):
Don't try to provide a clock when we are not negotiated since
we might not be able to make it run.

18 years agogst/playback/gstdecodebin.c: Unlinking two source pads is ... hard.
Tim-Philipp Müller [Thu, 2 Feb 2006 17:51:48 +0000 (17:51 +0000)]
gst/playback/gstdecodebin.c: Unlinking two source pads is ... hard.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (try_to_link_1):
Unlinking two source pads is ... hard.

18 years agogst-libs/gst/audio/TODO: Updated.
Wim Taymans [Thu, 2 Feb 2006 12:14:35 +0000 (12:14 +0000)]
gst-libs/gst/audio/TODO: Updated.

Original commit message from CVS:
* gst-libs/gst/audio/TODO:
Updated.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_drain), (gst_base_audio_sink_event):
On EOS, wait till the last sample is played before posting EOS.

18 years agocomment on my understanding
Thomas Vander Stichele [Thu, 2 Feb 2006 08:53:27 +0000 (08:53 +0000)]
comment on my understanding

Original commit message from CVS:
comment on my understanding

18 years agoreformat to fit 80 chars
Thomas Vander Stichele [Thu, 2 Feb 2006 08:47:42 +0000 (08:47 +0000)]
reformat to fit 80 chars

Original commit message from CVS:
reformat to fit 80 chars

18 years agogst-libs/gst/rtp/gstbasertpdepayload.c: setting queue_delay to zero. Also avoid threa...
Kai Vehmanen [Thu, 2 Feb 2006 00:04:37 +0000 (00:04 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: setting queue_delay to zero. Also avoid thread being started if queue_delay i...

Original commit message from CVS:
2006-02-01  Philippe Kalaf <burger at speedy dot org>

* gst-libs/gst/rtp/gstbasertpdepayload.c:
Patch by Kai Vehmanen : Adds ability to enable newsegment bypass by
setting queue_delay to zero. Also avoid thread being started if
queue_delay is zero.

18 years agogst/playback/test6.c: Make test work again by connecting fakesinks to each decoded...
Tim-Philipp Müller [Wed, 1 Feb 2006 14:51:29 +0000 (14:51 +0000)]
gst/playback/test6.c: Make test work again by connecting fakesinks to each decoded pad, which makes the pipeline wait...

Original commit message from CVS:
* gst/playback/test6.c: (new_decoded_pad_cb), (show_error), (main):
Make test work again by connecting fakesinks to each decoded pad,
which makes the pipeline wait until each fakesink has a buffer
queued before going to PAUSED state. At that point we know the
decodebin pads are negotiated.

18 years agogst/: Pass unhandled queries to the parent class's query function.
Tim-Philipp Müller [Wed, 1 Feb 2006 11:59:47 +0000 (11:59 +0000)]
gst/: Pass unhandled queries to the parent class's query function.

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_query),
(gst_cdda_base_src_handle_event):
* gst/audiotestsrc/gstaudiotestsrc.c: (gst_audio_test_src_query):
Pass unhandled queries to the parent class's query function.

18 years agoPass unhandled queries upstream instead of just dropping them (#326447). Also, fix...
Tim-Philipp Müller [Wed, 1 Feb 2006 11:56:11 +0000 (11:56 +0000)]
Pass unhandled queries upstream instead of just dropping them (#326447). Also, fix supported query types list for som...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_query_types),
(gst_ogg_pad_src_query):
* ext/ogg/gstogmparse.c: (gst_ogm_parse_sink_query):
* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_dec_sink_query):
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_sink_query):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_src_query),
(gst_vorbisenc_sink_query):
* gst/adder/gstadder.c: (gst_adder_query):
Pass unhandled queries upstream instead of just
dropping them (#326447). Also, fix supported
query types list for some elements.

18 years agogst/typefind/gsttypefindfunctions.c: Fix typefinding for audio/x-au, audio/x-paris...
Tim-Philipp Müller [Wed, 1 Feb 2006 09:58:15 +0000 (09:58 +0000)]
gst/typefind/gsttypefindfunctions.c: Fix typefinding for audio/x-au, audio/x-paris and audio/iLBC-sh. We cannot use t...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (au_type_find),
(paris_type_find), (ilbc_type_find), (plugin_init):
Fix typefinding for audio/x-au, audio/x-paris and
audio/iLBC-sh. We cannot use the START_WITH macros
here, because there can only be one typefind factory
with the same name (caps), so the second one would
replace the first one and the first one would never
be called when doing typefinding (see #161712).

18 years agoext/vorbis/vorbisdec.c: Use scale_int when we can, add some more scaling.
Wim Taymans [Tue, 31 Jan 2006 19:25:10 +0000 (19:25 +0000)]
ext/vorbis/vorbisdec.c: Use scale_int when we can, add some more scaling.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_convert),
(vorbis_handle_header_packet), (vorbis_dec_push),
(vorbis_handle_data_packet):
Use scale_int when we can, add some more scaling.
Check packettype before parsing it.

18 years agoext/theora/theoradec.c: Call right _scale functions.
Wim Taymans [Tue, 31 Jan 2006 17:44:35 +0000 (17:44 +0000)]
ext/theora/theoradec.c: Call right _scale functions.

Original commit message from CVS:
* ext/theora/theoradec.c: (_theora_granule_time),
(theora_dec_src_convert), (theora_dec_sink_convert):
Call right _scale functions.
Use parameter instead of some other random value.

18 years agoext/theora/theoradec.c: Use higher precision timestamps calculation.
Wim Taymans [Tue, 31 Jan 2006 17:27:00 +0000 (17:27 +0000)]
ext/theora/theoradec.c: Use higher precision timestamps calculation.

Original commit message from CVS:
* ext/theora/theoradec.c: (_theora_granule_frame),
(_theora_granule_time), (_inc_granulepos),
(theora_dec_src_convert), (theora_dec_sink_convert),
(theora_handle_type_packet), (theora_handle_data_packet),
(theora_dec_chain):
Use higher precision timestamps calculation.
Convert some other conversions to _scale.

18 years agogst/: initialize gst_controller before using
Stefan Kost [Tue, 31 Jan 2006 17:19:09 +0000 (17:19 +0000)]
gst/: initialize gst_controller before using

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audio_test_src_create_sine_table), (plugin_init):
* gst/volume/gstvolume.c: (plugin_init):
initialize gst_controller before using

18 years agotests/check/pipelines/: Define constant using G_GINT64_CONSTANT to avoid errors when...
Jan Schmidt [Tue, 31 Jan 2006 16:26:57 +0000 (16:26 +0000)]
tests/check/pipelines/: Define constant using G_GINT64_CONSTANT to avoid errors when passing it around - otherwise it...

Original commit message from CVS:
* tests/check/pipelines/theoraenc.c:
* tests/check/pipelines/vorbisenc.c:
Define constant using G_GINT64_CONSTANT to avoid errors when
passing it around - otherwise it gets truncated to 32 bits.

Fixes failing tests.

18 years agosys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the caps being set doesn...
Andy Wingo [Tue, 31 Jan 2006 15:36:13 +0000 (15:36 +0000)]
sys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the caps being set doesn't have a framerate value. Basic...

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

* sys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the
caps being set doesn't have a framerate value. Basically a stopgap
measure.

* ext/ogg/gstoggmux.c (GST_BUFFER_END_TIME): New macro. Not
technically correct enough to put into core though.
(gst_ogg_mux_dequeue_page): Use END_TIME instead of TIMESTAMP +
DURATION. Fixes theoraenc ! oggmux.

* sys/v4l/gstv4lsrc.c (gst_v4lsrc_fixate): Fixate to the nearest
fraction, not double.

18 years agoupdate with latest files
Christian Schaller [Tue, 31 Jan 2006 12:23:35 +0000 (12:23 +0000)]
update with latest files

Original commit message from CVS:
update with latest files

18 years agowin32/vs7: add vs7 project files created by Sergey Scobich
Sébastien Moutte [Mon, 30 Jan 2006 23:42:54 +0000 (23:42 +0000)]
win32/vs7: add vs7 project files created by Sergey Scobich

Original commit message from CVS:
* win32/vs7:
add vs7 project files created by Sergey Scobich

18 years agowin32/vs8: add vs8 project files created by Sergey Scobich
Sébastien Moutte [Mon, 30 Jan 2006 22:18:53 +0000 (22:18 +0000)]
win32/vs8: add vs8 project files created by Sergey Scobich

Original commit message from CVS:
* win32/vs8:
add vs8 project files created by Sergey Scobich

18 years agoext/ogg/gstoggmux.c (gst_ogg_mux_dequeue_page): Compare timestamp + duration, not...
Andy Wingo [Mon, 30 Jan 2006 19:22:22 +0000 (19:22 +0000)]
ext/ogg/gstoggmux.c (gst_ogg_mux_dequeue_page): Compare timestamp + duration, not just timestamp -- ogg pages should ...

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

* ext/ogg/gstoggmux.c (gst_ogg_mux_dequeue_page): Compare
timestamp + duration, not just timestamp -- ogg pages should be
ordered by stop time. Necessary fix given the change in vorbis
timestamps.

18 years agoext/theora/theoraenc.c (theora_enc_sink_setcaps)
Andy Wingo [Mon, 30 Jan 2006 19:21:07 +0000 (19:21 +0000)]
ext/theora/theoraenc.c (theora_enc_sink_setcaps)

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

* ext/theora/theoraenc.c (theora_enc_sink_setcaps)
(gst_theora_enc_init): Pull the granule shift out of the encoder.
(granulepos_add): New function, handles the messiness of adjusting
granulepos values.
(theora_buffer_from_packet):
(theora_enc_chain):
(theora_enc_sink_event): Use granulepos_add, not +.

* tests/check/pipelines/theoraenc.c
(check_buffer_granulepos_from_starttime): Just check the frame
count, not the actual granulepos -- we can't dictate to the
encoder when it should be placing keyframes.

18 years agoext/gnomevfs/gstgnomevfssrc.c: SERVICE_NOT_AVAILABLE happens for example when you...
Thomas Vander Stichele [Mon, 30 Jan 2006 18:17:19 +0000 (18:17 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: SERVICE_NOT_AVAILABLE happens for example when you're trying to play an  stream...

Original commit message from CVS:

* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_start):
SERVICE_NOT_AVAILABLE happens for example when you're trying to
play an http:// stream from a server that's not serving

18 years agotests/check/pipelines/: Totally remove the UINT64_CONSTANT macro, doesn't appear...
Andy Wingo [Mon, 30 Jan 2006 17:08:11 +0000 (17:08 +0000)]
tests/check/pipelines/: Totally remove the UINT64_CONSTANT macro, doesn't appear to be needed or available.

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

* tests/check/pipelines/vorbisenc.c (TIMESTAMP_OFFSET):
* tests/check/pipelines/theoraenc.c (TIMESTAMP_OFFSET): Totally
remove the UINT64_CONSTANT macro, doesn't appear to be needed or
available.

18 years agoext/theora/: Same changes as were done to vorbisenc, although theoraenc was timestamp...
Andy Wingo [Mon, 30 Jan 2006 17:01:54 +0000 (17:01 +0000)]
ext/theora/: Same changes as were done to vorbisenc, although theoraenc was timestamping correctly. Added handling of...

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

* ext/theora/gsttheoraenc.h:
* ext/theora/theoraenc.c: Same changes as were done to vorbisenc,
although theoraenc was timestamping correctly. Added handling of
streams that start with nonzero timestamps.

* tests/check/Makefile.am:
* tests/check/pipelines/theoraenc.c: New file, basically does same
tests as vorbisenc.

* tests/check/pipelines/vorbisenc.c: I claim these bugs.

18 years agogst-libs/gst/audio/gstaudiosink.c: Implement pause that does not wait for completion.
Wim Taymans [Mon, 30 Jan 2006 16:19:33 +0000 (16:19 +0000)]
gst-libs/gst/audio/gstaudiosink.c: Implement pause that does not wait for completion.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c:
(gst_audioringbuffer_class_init), (gst_audioringbuffer_release),
(gst_audioringbuffer_pause):
Implement pause that does not wait for completion.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
Don't drop buffers when going to PAUSED but perform preroll on
remaining samples now that core base class supports this.

* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_release),
(gst_ring_buffer_pause_unlocked), (gst_ring_buffer_stop),
(gst_ring_buffer_commit):
Pause should not signal waiters.
Implement return value of _commit correctly.

18 years agotests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc.
Andy Wingo [Mon, 30 Jan 2006 15:01:28 +0000 (15:01 +0000)]
tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc.

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

* tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc.

* ext/vorbis/vorbisenc.c (gst_vorbisenc_buffer_from_packet): Logic
updated to timestamp from the first sample, not the last.
(gst_vorbisenc_buffer_from_header_packet): New function, takes
special care of granulepos and timestamp for header packets.
(gst_vorbisenc_chain): Reflow, fix some leaks, and handle the case
when the first buffer has a nonzero timestamp.

* ext/vorbis/vorbisenc.h (GstVorbisEnc.granulepos_offset)
(GstVorbisEnc.subgranule_offset): New members. Take care of the
case when the first audio buffer we get has a nonzero timestamp.
(GstVorbisEnc.next_ts): Renamed from prev_ts, because now we
properly timestamp vorbis buffers with the time of the first
sample, not the last.

* ext/vorbis/vorbisenc.c (granulepos_to_clocktime): Renamed from
vorbis_granule_time_copy -- now it takes the granule/subgranule
offset into account.

* tests/check/pipelines/vorbisenc.c: New test for correctness of
timestamps, durations, and granulepos on buffers produced by
vorbisenc.

18 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: Patch from Eric Jonas to support conversion...
Eric Jonas [Mon, 30 Jan 2006 14:42:28 +0000 (14:42 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Patch from Eric Jonas to support conversions to/from UYVY (Fixes: #324626)

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt):
Patch from Eric Jonas to support conversions to/from UYVY
(Fixes: #324626)

18 years agogst/playback/: Implement subtitles.
Julien Moutte [Mon, 30 Jan 2006 08:11:14 +0000 (08:11 +0000)]
gst/playback/: Implement subtitles.

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

* gst/playback/gstplaybasebin.c: (group_commit),
(queue_overrun),
(setup_subtitle), (setup_source), (set_active_source):
* gst/playback/gstplaybin.c: (gst_play_bin_dispose),
(gen_text_element), (gen_audio_element), (gen_vis_element),
(remove_sinks), (add_sink), (setup_sinks): Implement subtitles.

18 years agogst-libs/gst/audio/audio.h: (GST_CLOCK_TIME_TO_FRAMES)
Sébastien Moutte [Sun, 29 Jan 2006 19:13:39 +0000 (19:13 +0000)]
gst-libs/gst/audio/audio.h: (GST_CLOCK_TIME_TO_FRAMES)

Original commit message from CVS:
* gst-libs/gst/audio/audio.h: (GST_CLOCK_TIME_TO_FRAMES)
* gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_render)
use of gst_guint64_to_gdouble to be compliant with vs6
* gst/playback/gstdecodebin.c: (try_to_link_1)
* gst/videorate/videorate.c: (gst_video_rate_blank_data)
use of G_GINT64_CONSTANT for int64 constants
* win32/common/libgstinterfaces.def:
export some symbols (gst_mixer_get_type,gst_mixer_track_get_type)
* win32/vs6:
update and add new project files

18 years agoadd a win32-update rule like in core, and copy over enumtypes files
Thomas Vander Stichele [Sun, 29 Jan 2006 18:21:12 +0000 (18:21 +0000)]
add a win32-update rule like in core, and copy over enumtypes files

Original commit message from CVS:

* Makefile.am:
* win32/MANIFEST:
* win32/common/interfaces-enumtypes.c:
(gst_color_balance_type_get_type), (gst_mixer_type_get_type),
(gst_mixer_track_flags_get_type),
(gst_tuner_channel_flags_get_type):
* win32/common/interfaces-enumtypes.h:
* win32/common/multichannel-enumtypes.c:
(gst_audio_channel_position_get_type):
* win32/common/multichannel-enumtypes.h:
add a win32-update rule like in core, and copy over enumtypes files

18 years agogenerate win32/common/config.h
Thomas Vander Stichele [Sun, 29 Jan 2006 18:07:51 +0000 (18:07 +0000)]
generate win32/common/config.h

Original commit message from CVS:
generate win32/common/config.h

18 years agowin32/: add config files just like in core
Thomas Vander Stichele [Sun, 29 Jan 2006 18:05:42 +0000 (18:05 +0000)]
win32/: add config files just like in core

Original commit message from CVS:

* win32/MANIFEST:
* win32/common/config.h:
* win32/common/config.h.in:
add config files just like in core

18 years agoext/alsa/: Update all error messages. All of them should either use the default...
Thomas Vander Stichele [Sat, 28 Jan 2006 18:22:06 +0000 (18:22 +0000)]
ext/alsa/: Update all error messages.  All of them should either use the default translated message, or actually prov...

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_init), (set_hwparams),
(set_swparams), (gst_alsasink_prepare), (gst_alsasink_unprepare),
(gst_alsasink_close), (gst_alsasink_write), (gst_alsasink_reset):
* ext/alsa/gstalsasrc.c: (gst_alsasrc_init), (set_hwparams),
(set_swparams), (gst_alsasrc_open), (gst_alsasrc_prepare),
(gst_alsasrc_unprepare), (gst_alsasrc_read):
Update all error messages.  All of them should either use
the default translated message, or actually provide a
translatable string.
Make the string for channel count problems meaningful.

18 years agogst-libs/gst/audio/gstringbuffer.c: Make gcc-4.1 happy (part of #327357).
Tim-Philipp Müller [Sat, 28 Jan 2006 18:19:18 +0000 (18:19 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Make gcc-4.1 happy (part of #327357).

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (build_linear_format):
Make gcc-4.1 happy (part of #327357).

18 years agosys/v4l/v4l_calls.c: check for and throw RESOURCE_BUSY
Thomas Vander Stichele [Sat, 28 Jan 2006 16:35:47 +0000 (16:35 +0000)]
sys/v4l/v4l_calls.c: check for and throw RESOURCE_BUSY

Original commit message from CVS:

* sys/v4l/v4l_calls.c: (gst_v4l_open):
check for and throw RESOURCE_BUSY

18 years agogst/videoscale/vs_scanline.c: Oops, *that's* why I never checked in this change ...
David Schleef [Sat, 28 Jan 2006 02:13:14 +0000 (02:13 +0000)]
gst/videoscale/vs_scanline.c: Oops, *that's* why I never checked in this change -- it requires liboil features not in...

Original commit message from CVS:
* gst/videoscale/vs_scanline.c: Oops, *that's* why I never
checked in this change -- it requires liboil features not
in 0.3.6.  Revert parts.

18 years agoupdate liboil requirement to 0.3.6
David Schleef [Fri, 27 Jan 2006 23:40:19 +0000 (23:40 +0000)]
update liboil requirement to 0.3.6

Original commit message from CVS:
* REQUIREMENTS:
* configure.ac: update liboil requirement to 0.3.6
* gst/videoscale/Makefile.am:
* gst/videoscale/vs_scanline.c: liboilify

18 years agoext/libvisual/visual.c: When pad_alloc returns a GstFlowReturn other than GST_FLOW_OK...
Jan Schmidt [Fri, 27 Jan 2006 17:00:09 +0000 (17:00 +0000)]
ext/libvisual/visual.c: When pad_alloc returns a GstFlowReturn other than GST_FLOW_OK, make sure it is passed upstream.

Original commit message from CVS:
* ext/libvisual/visual.c: (get_buffer):
When pad_alloc returns a GstFlowReturn other
than GST_FLOW_OK, make sure it is passed upstream.

18 years agoext/alsa/gstalsasink.c: Free the device name string.
Jan Schmidt [Fri, 27 Jan 2006 01:36:01 +0000 (01:36 +0000)]
ext/alsa/gstalsasink.c: Free the device name string.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_finalise),
(gst_alsasink_class_init):
Free the device name string.

* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init),
(gst_ogg_mux_request_new_pad), (gst_ogg_mux_release_pad),
(gst_ogg_mux_handle_src_event), (gst_ogg_mux_clear_collectpads):
Don't remove a pad from the collectpads structure until it
is released - it's a request pad, and may receive data again
if the element gets moved back to PLAYING state.

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
Ensure we turn on double buffering on the Xv port, and
set the colour key to something dark and mysterious that
isn't black.

18 years agoext/: - a library should not call setlocale. see Libraries node in gettext manual
Thomas Vander Stichele [Fri, 27 Jan 2006 01:06:29 +0000 (01:06 +0000)]
ext/: - a library should not call setlocale. see Libraries node in gettext manual

Original commit message from CVS:

* ext/alsa/gstalsaplugin.c: (plugin_init):
* ext/cdparanoia/gstcdparanoiasrc.c:
(gst_cd_paranoia_src_base_init), (plugin_init):
* ext/gnomevfs/gstgnomevfs.c: (plugin_init):
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_plugin_init):
- a library should not call setlocale. see Libraries node in
gettext manual
- make sure all plugins that use translation do bindtextdomain
to point to the localedir
* gst/playback/gstplaybin.c: (gen_vis_element), (add_sink),
(setup_sinks), (plugin_init):
all this, and check for NULL when creating sinks

18 years agogst/subparse/gstsubparse.c: Make typefinding of subtitles work again.
Julien Moutte [Thu, 26 Jan 2006 23:21:31 +0000 (23:21 +0000)]
gst/subparse/gstsubparse.c: Make typefinding of subtitles work again.

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

* gst/subparse/gstsubparse.c: (gst_subparse_type_find),
(plugin_init): Make typefinding of subtitles work again.

18 years agogst/typefind/gsttypefindfunctions.c: Backport a bunch of typefinding fixes from the...
Tim-Philipp Müller [Thu, 26 Jan 2006 20:40:20 +0000 (20:40 +0000)]
gst/typefind/gsttypefindfunctions.c: Backport a bunch of typefinding fixes from the 0.8 branch.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (aac_type_find),
(mp3_type_frame_length_from_header), (mp3_type_find),
(wavpack_type_find), (m4a_type_find), (ircam_type_find),
(plugin_init):
Backport a bunch of typefinding fixes from the 0.8 branch.
Also, improve wavpack typefinding: if we can't peek the
entire wavpack block, try to parse the bits we can get and
see if we find what we're looking for in those.

18 years agosys/: Handle some more cases of pixel aspect ratio.
Julien Moutte [Thu, 26 Jan 2006 19:17:38 +0000 (19:17 +0000)]
sys/: Handle some more cases of pixel aspect ratio.

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

* sys/ximage/ximagesink.c:
(gst_ximagesink_calculate_pixel_aspect_ratio):
* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_calculate_pixel_aspect_ratio): Handle some
more cases of pixel aspect ratio.

18 years agogst/playback/gstdecodebin.c: Also consider the flush-start and tag events as unblocke...
Edward Hervey [Thu, 26 Jan 2006 13:09:24 +0000 (13:09 +0000)]
gst/playback/gstdecodebin.c: Also consider the flush-start and tag events as unblockers for the pad probes.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (pad_probe):
Also consider the flush-start and tag events as unblockers
for the pad probes.

18 years agogst/playback/gstplaybin.c: On the fly visualisation switch, works disabling, enabling...
Julien Moutte [Thu, 26 Jan 2006 12:32:58 +0000 (12:32 +0000)]
gst/playback/gstplaybin.c: On the fly visualisation switch, works disabling, enabling as well but it won't be able to...

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

* gst/playback/gstplaybin.c: (gst_play_bin_init),
(gst_play_bin_dispose), (gst_play_bin_vis_unblocked),
(gst_play_bin_vis_blocked), (gst_play_bin_set_property):
On the fly visualisation switch, works disabling, enabling as
well but it won't be able to enable vis in a playbin that was
created with no visualisation.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Undo previous commit, it breaks resume after...
Wim Taymans [Wed, 25 Jan 2006 10:50:32 +0000 (10:50 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Undo previous commit, it breaks resume after pause.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
Undo previous commit, it breaks resume after pause.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Improve debugging.
Wim Taymans [Wed, 25 Jan 2006 09:27:01 +0000 (09:27 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Improve debugging.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_setcaps), (gst_base_audio_sink_event),
(gst_base_audio_sink_preroll), (gst_base_audio_sink_render):
Improve debugging.
Post error when caps cannot be parsed.
Resync on discontinuity in the stream.
Clip samples to segment boundaries.
return WRONG_STATE sooner when we are flushing.

* gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init),
(gst_base_audio_src_get_time), (gst_base_audio_src_create):
Make audiosrc operate in TIME.
Set TIMESTAMP and DURATION on buffers.

18 years agotests/examples/seek/seek.c: Output tag messages as well.
Tim-Philipp Müller [Tue, 24 Jan 2006 21:55:21 +0000 (21:55 +0000)]
tests/examples/seek/seek.c: Output tag messages as well.

Original commit message from CVS:
* tests/examples/seek/seek.c: (main):
Output tag messages as well.

18 years agogst/playback/gstdecodebin.c: Replace GstPadBlockCallback with pad probes that detect...
Edward Hervey [Mon, 23 Jan 2006 15:05:24 +0000 (15:05 +0000)]
gst/playback/gstdecodebin.c: Replace GstPadBlockCallback with pad probes that detect first buffer AND eos before remo...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(free_pad_probes), (remove_fakesink), (pad_probe),
(close_pad_link), (gst_decode_bin_change_state):
Replace GstPadBlockCallback with pad probes that detect
first buffer AND eos before removing fakesink.
Fixes hang with demuxers doing EOS while pre-rolling.
Solves #328279

18 years agoGCC 2.95 fixes (#328263).
Jens Granseuer [Mon, 23 Jan 2006 10:10:36 +0000 (10:10 +0000)]
GCC 2.95 fixes (#328263).

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

* ext/alsa/gstalsasink.c:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_setcaps),
(gst_base_rtp_depayload_add_to_queue),
(gst_base_rtp_depayload_queue_release): GCC 2.95 fixes (#328263).

Patch by: Jens Granseuer <jensgr at gmx dot net>

18 years agosys/: Playbin keeps some ref to some frames. We might get a frame destroyed after...
Julien Moutte [Sun, 22 Jan 2006 17:24:02 +0000 (17:24 +0000)]
sys/: Playbin keeps some ref to some frames. We might get a frame destroyed after changing state to

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

* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_destroy):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimagesink_buffer_alloc): Playbin keeps some ref to some
frames. We might get a frame destroyed after changing state to
NULL, adding a safety check on xcontext.

18 years agogst-libs/gst/interfaces/xoverlay.c: Fix prepare-xwindow-id code example in the docs...
Tim-Philipp Müller [Sun, 22 Jan 2006 14:50:53 +0000 (14:50 +0000)]
gst-libs/gst/interfaces/xoverlay.c: Fix prepare-xwindow-id code example in the docs - we need to ignore all messages ...

Original commit message from CVS:
* gst-libs/gst/interfaces/xoverlay.c:
Fix prepare-xwindow-id code example in the docs - we need to
ignore all messages that aren't element messages as well.

18 years agosys/xvimage/xvimagesink.c: I think one day i'll completely undestand how caps negotia...
Julien Moutte [Sat, 21 Jan 2006 22:40:03 +0000 (22:40 +0000)]
sys/xvimage/xvimagesink.c: I think one day i'll completely undestand how caps negotiation is supposed to work. This r...

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

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_buffer_alloc):
I think one day i'll completely undestand how caps negotiation
is supposed to work. This refactoring handles buffer_alloc
called with caps we can't handle. We definitely don't want a
set_caps with those caps, so we define and allocate a buffer
we would like to receive.

18 years agoup automake requirement to 1.7
Christian Schaller [Fri, 20 Jan 2006 19:10:26 +0000 (19:10 +0000)]
up automake requirement to 1.7

Original commit message from CVS:
up automake requirement to 1.7

18 years agogst/playback/gstplaybasebin.c: Free iterator when done.
Tim-Philipp Müller [Thu, 19 Jan 2006 10:59:51 +0000 (10:59 +0000)]
gst/playback/gstplaybasebin.c: Free iterator when done.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source):
Free iterator when done.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Fix playback of non-synchronised streams by...
Jan Schmidt [Tue, 17 Jan 2006 11:43:49 +0000 (11:43 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Fix playback of non-synchronised streams by assuming a rate of 1.0 instead of ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Fix playback of non-synchronised streams by assuming a rate
of 1.0 instead of a random one.

Makes this work again:

gst-launch filesrc location=raw_audio.file ! 'audio/x-raw-int,
endianness=(int)4321, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)44100, channels=(int)2' ! audioconvert !
audioresample ! alsasink

18 years agoback to HEAD
Thomas Vander Stichele [Mon, 16 Jan 2006 21:01:29 +0000 (21:01 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.10.2
Thomas Vander Stichele [Mon, 16 Jan 2006 20:59:32 +0000 (20:59 +0000)]
releasing 0.10.2

Original commit message from CVS:
releasing 0.10.2

18 years agogst/playback/: Comment out broken code that connects to the state-changed signal.
Jan Schmidt [Mon, 16 Jan 2006 16:38:15 +0000 (16:38 +0000)]
gst/playback/: Comment out broken code that connects to the state-changed signal.

Original commit message from CVS:
* gst/playback/gststreaminfo.c: (gst_stream_info_set_mute):
* gst/playback/gststreamselector.c:
(gst_stream_selector_set_property):
Comment out broken code that connects to the state-changed signal.
At this point, changing current stream selection is broken, but
stuff like gst-launch playbin current-audio=1 works and filters
to the chosen stream.

18 years agoext/vorbis/vorbisdec.c: Fix #327216 (null dereference in vorbisdec)
Thomas Vander Stichele [Mon, 16 Jan 2006 15:31:14 +0000 (15:31 +0000)]
ext/vorbis/vorbisdec.c: Fix #327216 (null dereference in vorbisdec)

Original commit message from CVS:

* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query):
Fix #327216 (null dereference in vorbisdec)

18 years agoext/theora/theoradec.c: Post taglist actually on bus instead of just freeing it ...
Tim-Philipp Müller [Mon, 16 Jan 2006 15:19:55 +0000 (15:19 +0000)]
ext/theora/theoradec.c: Post taglist actually on bus instead of just freeing it (fixes #327114 and totem bug #327080).

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_handle_comment_packet):
Post taglist actually on bus instead of just freeing it
(fixes #327114 and totem bug #327080).
* ext/vorbis/vorbisdec.c: (vorbis_handle_comment_packet):
Use gst_element_found_tags_for_pad(), so that the tags
are sent downstream as an event as well.

18 years agosys/: move all regularly occurring messages to GST_LOG level add some more object...
Thomas Vander Stichele [Sun, 15 Jan 2006 10:06:40 +0000 (10:06 +0000)]
sys/: move all regularly occurring messages to GST_LOG level add some more object logs

Original commit message from CVS:

* sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
(gst_ximagesink_ximage_new), (gst_ximagesink_ximage_put),
(gst_ximagesink_buffer_alloc):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_finalize),
(gst_xvimagesink_xvimage_put), (gst_xvimagesink_show_frame),
(gst_xvimagesink_buffer_alloc):
move all regularly occurring messages to GST_LOG level
add some more object logs

18 years agoprerelease
Thomas Vander Stichele [Sat, 14 Jan 2006 22:59:49 +0000 (22:59 +0000)]
prerelease

Original commit message from CVS:
prerelease

18 years agoext/ogg/gstoggmux.c: fix a silly segfault
Thomas Vander Stichele [Sat, 14 Jan 2006 20:46:25 +0000 (20:46 +0000)]
ext/ogg/gstoggmux.c: fix a silly segfault

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

* ext/ogg/gstoggmux.c: (gst_ogg_mux_collected):
fix a silly segfault

18 years agoAdd docs for mixerutils stuff.
Tim-Philipp Müller [Sat, 14 Jan 2006 12:52:22 +0000 (12:52 +0000)]
Add docs for mixerutils stuff.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/audio/mixerutils.c:
* gst-libs/gst/audio/mixerutils.h:
Add docs for mixerutils stuff.

18 years agogst/playback/gstplaybasebin.c: Fix playback for sources that emit raw audio or raw...
Tim-Philipp Müller [Fri, 13 Jan 2006 17:17:07 +0000 (17:17 +0000)]
gst/playback/gstplaybasebin.c: Fix playback for sources that emit raw audio or raw video streams (e.g.: cd audio sour...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source):
Fix playback for sources that emit raw audio or
raw video streams (e.g.: cd audio sources) (#325984).

18 years agogst-libs/gst/audio/mixerutils.c: actually save the element we create
Thomas Vander Stichele [Fri, 13 Jan 2006 16:45:50 +0000 (16:45 +0000)]
gst-libs/gst/audio/mixerutils.c: actually save the element we create

Original commit message from CVS:

* gst-libs/gst/audio/mixerutils.c:
(gst_audio_mixer_filter_do_filter):
actually save the element we create

18 years agoremove version suffix
Christian Schaller [Fri, 13 Jan 2006 16:17:50 +0000 (16:17 +0000)]
remove version suffix

Original commit message from CVS:
remove version suffix

18 years agogst-libs/gst/cdda/gstcddabasesrc.c: No need to post a tag message on the bus when...
Tim-Philipp Müller [Thu, 12 Jan 2006 14:56:11 +0000 (14:56 +0000)]
gst-libs/gst/cdda/gstcddabasesrc.c: No need to post a tag message on the bus when seeking within the same track, only...

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_handle_track_seek):
No need to post a tag message on the bus when seeking
within the same track, only post it when the current
track changes.

18 years agogst/playback/: Reenable stream selection. These mechanisms need a complete overhaul...
Jan Schmidt [Wed, 11 Jan 2006 18:30:25 +0000 (18:30 +0000)]
gst/playback/: Reenable stream selection. These mechanisms need a complete overhaul in the face of 0.8->0.10 changes ...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_destroy),
(probe_triggered), (new_decoded_pad), (mute_group_type),
(set_active_source):
* gst/playback/gststreaminfo.c: (gst_stream_info_set_mute):
* gst/playback/gststreamselector.c:
(gst_stream_selector_base_init),
(gst_stream_selector_set_property),
(gst_stream_selector_request_new_pad):
Reenable stream selection. These mechanisms need a complete overhaul
in the face of 0.8->0.10 changes though.

18 years agoext/ogg/gstoggdemux.c: Change the pad template to src_%d to match the pads that are...
Jan Schmidt [Wed, 11 Jan 2006 18:03:24 +0000 (18:03 +0000)]
ext/ogg/gstoggdemux.c: Change the pad template to src_%d to match the pads that are created from it. decodebin needs ...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c:
Change the pad template to src_%d to match the pads that
are created from it. decodebin needs this information in order
to decide that oggdemux is capable of producing multiple pads
(and hence needs queues inserted).

* ext/ogg/gstoggmux.c: (gst_ogg_mux_queue_pads),
(gst_ogg_mux_collected):
Make debug output more useful by using GST_PTR_FORMAT.

18 years agoupdate spec.in file
Christian Schaller [Wed, 11 Jan 2006 17:38:35 +0000 (17:38 +0000)]
update spec.in file

Original commit message from CVS:
update spec.in file

18 years agogst-libs/gst/audio/gstringbuffer.c: Set depth and width for alaw/mulaw (fixes #326601).
Tim-Philipp Müller [Wed, 11 Jan 2006 15:11:20 +0000 (15:11 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Set depth and width for alaw/mulaw (fixes #326601).

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_parse_caps):
Set depth and width for alaw/mulaw (fixes #326601).

18 years agotests/icles/Makefile.am: don't build the tests if we don't have the libs
Thomas Vander Stichele [Tue, 10 Jan 2006 23:58:36 +0000 (23:58 +0000)]
tests/icles/Makefile.am: don't build the tests if we don't have the libs

Original commit message from CVS:

* tests/icles/Makefile.am:
don't build the tests if we don't have the libs

18 years agoext/cdparanoia/gstcdparanoiasrc.c: Don't try to free NULL pointers.
Tim-Philipp Müller [Tue, 10 Jan 2006 18:06:56 +0000 (18:06 +0000)]
ext/cdparanoia/gstcdparanoiasrc.c: Don't try to free NULL pointers.

Original commit message from CVS:
* ext/cdparanoia/gstcdparanoiasrc.c: (gst_cd_paranoia_src_close),
(gst_cd_paranoia_paranoia_callback):
Don't try to free NULL pointers.

18 years agogst/audiorate/gstaudiorate.c: Add debugging category.
Edward Hervey [Tue, 10 Jan 2006 15:47:48 +0000 (15:47 +0000)]
gst/audiorate/gstaudiorate.c: Add debugging category.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain),
(gst_audio_rate_change_state), (plugin_init):
Add debugging category.
Fix type issues.
Add case for incoming buffers without valid offset/offset_end.

18 years agogst-libs/gst/audio/gstaudiosrc.c: Don't leak GCond in audio sources.
Michael Smith [Tue, 10 Jan 2006 12:25:59 +0000 (12:25 +0000)]
gst-libs/gst/audio/gstaudiosrc.c: Don't leak GCond in audio sources.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosrc.c: (gst_audioringbuffer_dispose):
Don't leak GCond in audio sources.

18 years agogst/playback/gstplaybin.c: Don't leak an autoaudiosink/alsasink when we generate...
Jan Schmidt [Tue, 10 Jan 2006 11:49:28 +0000 (11:49 +0000)]
gst/playback/gstplaybin.c: Don't leak an autoaudiosink/alsasink when we generate a new audio element. (old code, I gu...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_audio_element):
Don't leak an autoaudiosink/alsasink when we generate
a new audio element. (old code, I guess)

18 years agogst/audiorate/gstaudiorate.c: Support float audio in audiorate.
Michael Smith [Tue, 10 Jan 2006 11:04:21 +0000 (11:04 +0000)]
gst/audiorate/gstaudiorate.c: Support float audio in audiorate.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_setcaps):
Support float audio in audiorate.
Use width rather than depth for selecting sample width.

18 years agogst/videotestsrc/videotestsrc.h: Use GLib types here (that way we don't have to inclu...
Tim-Philipp Müller [Tue, 10 Jan 2006 10:06:53 +0000 (10:06 +0000)]
gst/videotestsrc/videotestsrc.h: Use GLib types here (that way we don't have to include the generated _stdint.h heade...

Original commit message from CVS:
* gst/videotestsrc/videotestsrc.h:
Use GLib types here (that way we don't have to include the
generated _stdint.h header, which makes life easier for win32
folks that don't use autotools for the build) (#325990, patch
by: Sergey Scobich).

18 years agogst-libs/gst/audio/gstringbuffer.*: Name (private) union, makes Forte compiler happy...
Tim-Philipp Müller [Tue, 10 Jan 2006 09:38:44 +0000 (09:38 +0000)]
gst-libs/gst/audio/gstringbuffer.*: Name (private) union, makes Forte compiler happy (this time for real) (#324900).

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_init),
(gst_ring_buffer_set_flushing), (gst_ring_buffer_start),
(gst_ring_buffer_pause), (wait_segment):
* gst-libs/gst/audio/gstringbuffer.h:
Name (private) union, makes Forte compiler happy (this time
for real) (#324900).

18 years agogst-libs/gst/audio/Makefile.am: Link against libgstinterfaces, needed for mixer and...
Tim-Philipp Müller [Mon, 9 Jan 2006 10:52:33 +0000 (10:52 +0000)]
gst-libs/gst/audio/Makefile.am: Link against libgstinterfaces, needed for mixer and property probe stuff.

Original commit message from CVS:
* gst-libs/gst/audio/Makefile.am:
Link against libgstinterfaces, needed for mixer
and property probe stuff.

18 years agogst-libs/gst/Makefile.am:
Edward Hervey [Mon, 9 Jan 2006 10:46:52 +0000 (10:46 +0000)]
gst-libs/gst/Makefile.am:

Original commit message from CVS:
* gst-libs/gst/Makefile.am:

18 years agogst-libs/gst/audio/: Add gst_audio_default_registry_mixer_filter() utility function.
Tim-Philipp Müller [Mon, 9 Jan 2006 09:38:34 +0000 (09:38 +0000)]
gst-libs/gst/audio/: Add gst_audio_default_registry_mixer_filter() utility function.

Original commit message from CVS:
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/audio/mixerutils.c:
(gst_audio_mixer_filter_do_filter),
(gst_audio_mixer_filter_check_element),
(gst_audio_mixer_filter_probe_feature),
(element_factory_rank_compare_func),
(gst_audio_default_registry_mixer_filter):
* gst-libs/gst/audio/mixerutils.h:
Add gst_audio_default_registry_mixer_filter() utility
function.

18 years agogst/audioresample/resample.h: As before, but for o_buf
Michael Smith [Tue, 3 Jan 2006 17:33:16 +0000 (17:33 +0000)]
gst/audioresample/resample.h: As before, but for o_buf

Original commit message from CVS:

* gst/audioresample/resample.h:
As before, but for o_buf

18 years agogst/audioresample/resample.h: Declare struct _ResampleState.buffer as unsigned char...
Michael Smith [Tue, 3 Jan 2006 17:27:13 +0000 (17:27 +0000)]
gst/audioresample/resample.h: Declare struct _ResampleState.buffer as unsigned char *, not void *, since we do arithm...

Original commit message from CVS:
* gst/audioresample/resample.h:
Declare struct _ResampleState.buffer as unsigned char *, not void *,
since we do arithmetic on it.

18 years agogst-libs/gst/audio/gstringbuffer.*: Sun's Forte compiler doesn't seem to like anonymo...
Tim-Philipp Müller [Mon, 2 Jan 2006 23:37:38 +0000 (23:37 +0000)]
gst-libs/gst/audio/gstringbuffer.*: Sun's Forte compiler doesn't seem to like anonymous structs, so use same setup as...

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_init),
(gst_ring_buffer_set_flushing), (gst_ring_buffer_start),
(gst_ring_buffer_pause), (wait_segment):
* gst-libs/gst/audio/gstringbuffer.h:
Sun's Forte compiler doesn't seem to like anonymous structs,
so use same setup as in GstBaseSrc (fixes #324900).

18 years agomove old example to tests/examples/volume/volune.c
Stefan Kost [Fri, 30 Dec 2005 14:54:06 +0000 (14:54 +0000)]
move old example to tests/examples/volume/volune.c

Original commit message from CVS:
* configure.ac:
* gst/volume/Makefile.am:
* gst/volume/demo.c:
move old example to tests/examples/volume/volune.c
* tests/examples/Makefile.am:
* tests/examples/seek/seek.c: (main):
change window-close event from "delete-event" to "destroy"
* tests/examples/volume/Makefile.am:
* tests/examples/volume/volume.c: (value_changed_callback),
(setup_gui), (message_received), (eos_message_received), (main):
fix event handling and bus usage

18 years agogst/audiotestsrc/gstaudiotestsrc.*: update to basesrc changes, implement segmented...
Stefan Kost [Thu, 29 Dec 2005 20:37:23 +0000 (20:37 +0000)]
gst/audiotestsrc/gstaudiotestsrc.*: update to basesrc changes, implement segmented seeking and eos handling, add a 's...

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiostestsrc_wave_get_type), (gst_audio_test_src_class_init),
(gst_audio_test_src_init), (gst_audio_test_src_src_fixate),
(gst_audio_test_src_query), (gst_audio_test_src_create_sine),
(gst_audio_test_src_create_square),
(gst_audio_test_src_create_saw),
(gst_audio_test_src_create_triangle),
(gst_audio_test_src_create_silence),
(gst_audio_test_src_create_white_noise),
(gst_audio_test_src_create_pink_noise),
(gst_audio_test_src_init_sine_table),
(gst_audio_test_src_create_sine_table),
(gst_audio_test_src_change_wave),
(gst_audio_test_src_change_volume), (gst_audio_test_src_do_seek),
(gst_audio_test_src_create), (gst_audio_test_src_set_property):
* gst/audiotestsrc/gstaudiotestsrc.h:
update to basesrc changes, implement segmented seeking and eos handling,
add a 'sine-tab' waveform for performance critical playback

18 years agopo/POTFILES.in: ... and this time the other modified file that I missed last time.
Tim-Philipp Müller [Thu, 29 Dec 2005 16:17:55 +0000 (16:17 +0000)]
po/POTFILES.in: ... and this time the other modified file that I missed last time.

Original commit message from CVS:
* po/POTFILES.in:
... and this time the other modified file that I missed last time.

18 years agogst/playback/gstdecodebin.c: Fix non-C89 variable declaration not at the start of...
Michael Smith [Thu, 29 Dec 2005 14:31:49 +0000 (14:31 +0000)]
gst/playback/gstdecodebin.c: Fix non-C89 variable declaration not at the start of a block. Should help some compilers.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (new_pad):
Fix non-C89 variable declaration not at the start of a block. Should
help some compilers.