platform/upstream/gstreamer.git
19 years agocheck/: Add extra tests for basetransform based components.
Jan Schmidt [Fri, 9 Sep 2005 17:53:47 +0000 (17:53 +0000)]
check/: Add extra tests for basetransform based components.

Original commit message from CVS:
* check/Makefile.am:
* check/pipelines/simple_launch_lines.c: (setup_pipeline),
(run_pipeline), (GST_START_TEST), (simple_launch_lines_suite):
Add extra tests for basetransform based components.
Comment out the test_element_negotiation test until we decide
if it's testing correct behaviour.
* ext/libvisual/visual.c: (gst_visual_init), (get_buffer),
(gst_visual_chain), (gst_visual_change_state):
Slightly more correct but still bogus timestamping.
Fix state change function.
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init):
* gst/audioresample/gstaudioresample.c:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_class_init):
* gst/videoscale/gstvideoscale.c: (gst_videoscale_class_init),
(gst_videoscale_prepare_size), (gst_videoscale_set_caps),
(gst_videoscale_prepare_image):
* gst/volume/gstvolume.c: (gst_volume_class_init),
(volume_transform_ip):
Basetransform updates. Enable passthrough modes.
* sys/ximage/ximagesink.c: (gst_ximage_buffer_init),
(gst_ximagesink_renegotiate_size), (gst_ximagesink_xcontext_get),
(gst_ximagesink_setcaps), (gst_ximagesink_buffer_alloc):
Negotiation fix that allows the window to return to the original
size and renegotiate passthrough upstream. Extra debug output.

19 years agofix up header rename
Thomas Vander Stichele [Fri, 9 Sep 2005 14:57:12 +0000 (14:57 +0000)]
fix up header rename

Original commit message from CVS:
fix up header rename

19 years agogst/: fixing lost sync, some more debugging
Stefan Kost [Thu, 8 Sep 2005 22:42:11 +0000 (22:42 +0000)]
gst/: fixing lost sync, some more debugging

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit):
* gst/volume/gstvolume.c: (gst_volume_class_init),
(volume_transform):
fixing lost sync, some more debugging

19 years agosys/: Fix compilation when XShm is not available.
Jan Schmidt [Thu, 8 Sep 2005 16:38:30 +0000 (16:38 +0000)]
sys/: Fix compilation when XShm is not available.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximage_buffer_init),
(gst_ximagesink_check_xshm_calls), (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_init),
(gst_xvimagesink_check_xshm_calls):
Fix compilation when XShm is not available.

19 years agoext/libvisual/visual.c: Finish fixing up libvisual plugin so that it runs.
Jan Schmidt [Wed, 7 Sep 2005 20:06:43 +0000 (20:06 +0000)]
ext/libvisual/visual.c: Finish fixing up libvisual plugin so that it runs.

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_dispose),
(gst_visual_getcaps), (gst_visual_src_setcaps),
(gst_visual_sink_setcaps), (get_buffer), (gst_visual_chain),
(gst_visual_change_state):
Finish fixing up libvisual plugin so that it runs.

19 years agogsttaginterface.h -> gsttagsetter.h
Stefan Kost [Wed, 7 Sep 2005 13:55:08 +0000 (13:55 +0000)]
gsttaginterface.h -> gsttagsetter.h

Original commit message from CVS:
* ext/vorbis/vorbisenc.c:
* gst-libs/gst/tag/gstvorbistag.c:
gsttaginterface.h -> gsttagsetter.h

19 years agocheck/pipelines/simple_launch_lines.c: added another test that failes for me (test...
Stefan Kost [Wed, 7 Sep 2005 12:35:26 +0000 (12:35 +0000)]
check/pipelines/simple_launch_lines.c: added another test that failes for me (test is not active by default)

Original commit message from CVS:
* check/pipelines/simple_launch_lines.c: (GST_START_TEST):
added another test that failes for me (test is not active by default)

19 years agoconfigure.ac: v4l2 is no longer in gst-plugins-base
Zaheer Abbas Merali [Wed, 7 Sep 2005 08:31:09 +0000 (08:31 +0000)]
configure.ac: v4l2 is no longer in gst-plugins-base

Original commit message from CVS:
2005-09-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* configure.ac:
v4l2 is no longer in gst-plugins-base

19 years agoconfigure.ac: In the output at the end, don't show the first plugin on the same line...
Jan Schmidt [Tue, 6 Sep 2005 23:26:49 +0000 (23:26 +0000)]
configure.ac: In the output at the end, don't show the first plugin on the same line as "Core plug-ins, always built:".

Original commit message from CVS:
* configure.ac:
In the output at the end, don't show the first plugin on the same
line as "Core plug-ins, always built:".
Indent the output as for other plugin categories
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_create):
#define that can be used to not use peer buffer_alloc functions for
test purposes.
* sys/ximage/ximagesink.c: (gst_ximage_buffer_init),
(gst_ximage_buffer_get_type), (gst_ximagesink_ximage_new),
(gst_ximagesink_show_frame):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_init),
(gst_xvimage_buffer_get_type), (gst_xvimagesink_setcaps),
(gst_xvimagesink_show_frame):
Error case handling fixes. gst-launch fakesrc ! x[v]imagesink now
fails gracefully instead of XError aborting or deadlocking.

19 years agoext/libvisual/Makefile.am: link against gst-base-libs
Stefan Kost [Tue, 6 Sep 2005 23:07:05 +0000 (23:07 +0000)]
ext/libvisual/Makefile.am: link against gst-base-libs

Original commit message from CVS:
* ext/libvisual/Makefile.am:
link against gst-base-libs

19 years agoconfigure.ac: Enable libvisual plugin.
David Schleef [Tue, 6 Sep 2005 22:29:00 +0000 (22:29 +0000)]
configure.ac: Enable libvisual plugin.

Original commit message from CVS:
* configure.ac: Enable libvisual plugin.
* ext/libvisual/Makefile.am:
* ext/libvisual/visual.c: Fixes to make it compile.

19 years agoback to HEAD
Thomas Vander Stichele [Tue, 6 Sep 2005 14:07:02 +0000 (14:07 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

19 years agoreleasing 0.9.2
Thomas Vander Stichele [Tue, 6 Sep 2005 14:03:04 +0000 (14:03 +0000)]
releasing 0.9.2

Original commit message from CVS:
releasing 0.9.2

19 years agocheck/Makefile.am: deactivate the failing test
Stefan Kost [Tue, 6 Sep 2005 12:40:39 +0000 (12:40 +0000)]
check/Makefile.am: deactivate the failing test

Original commit message from CVS:
* check/Makefile.am:
deactivate the failing test

19 years agocheck/: added pipeline tester for (http://bugzilla.gnome.org/show_bug.cgi?id=315126)
Stefan Kost [Tue, 6 Sep 2005 12:37:05 +0000 (12:37 +0000)]
check/: added pipeline tester for (bugzilla.gnome.org/show_bug.cgi?id=315126)

Original commit message from CVS:
* check/Makefile.am:
* check/pipelines/.cvsignore:
* check/pipelines/simple_launch_lines.c: (setup_pipeline),
(run_pipeline), (GST_START_TEST), (simple_launch_lines_suite),
(main):
added pipeline tester for (http://bugzilla.gnome.org/show_bug.cgi?id=315126)

19 years agotry fix distcheck for FC3
Thomas Vander Stichele [Tue, 6 Sep 2005 10:33:18 +0000 (10:33 +0000)]
try fix distcheck for FC3

Original commit message from CVS:
try fix distcheck for FC3

19 years agotry another fix for FC3 disthceck
Thomas Vander Stichele [Tue, 6 Sep 2005 09:38:44 +0000 (09:38 +0000)]
try another fix for FC3 disthceck

Original commit message from CVS:
try another fix for FC3 disthceck

19 years agomaintenance updates
Thomas Vander Stichele [Mon, 5 Sep 2005 12:05:47 +0000 (12:05 +0000)]
maintenance updates

Original commit message from CVS:
maintenance updates

19 years agoExtend the range supported for quality settings in vorbisenc to the full range suppor...
Michael Smith [Mon, 5 Sep 2005 11:21:49 +0000 (11:21 +0000)]
Extend the range supported for quality settings in vorbisenc to the full range supported by libvorbis.

Original commit message from CVS:
Extend the range supported for quality settings in vorbisenc to the full
range supported by libvorbis.

19 years agoinclude inspect stamps in EXTRA_DIST
Thomas Vander Stichele [Sun, 4 Sep 2005 11:31:21 +0000 (11:31 +0000)]
include inspect stamps in EXTRA_DIST

Original commit message from CVS:
include inspect stamps in EXTRA_DIST

19 years agofix distcheck
Thomas Vander Stichele [Sun, 4 Sep 2005 10:38:45 +0000 (10:38 +0000)]
fix distcheck

Original commit message from CVS:

* common/gtk-doc-plugins.mak:
* docs/plugins/Makefile.am:
fix distcheck
* gst/audioresample/resample.c:
fix wrong docstring

19 years agoadd inspect stuff to extra_files
Thomas Vander Stichele [Sun, 4 Sep 2005 01:11:32 +0000 (01:11 +0000)]
add inspect stuff to extra_files

Original commit message from CVS:
add inspect stuff to extra_files

19 years agotake inspect stuff into the dist
Thomas Vander Stichele [Sun, 4 Sep 2005 00:52:50 +0000 (00:52 +0000)]
take inspect stuff into the dist

Original commit message from CVS:
take inspect stuff into the dist

19 years agorun --enable-gtk-doc for distcheck
Thomas Vander Stichele [Sun, 4 Sep 2005 00:21:01 +0000 (00:21 +0000)]
run --enable-gtk-doc for distcheck

Original commit message from CVS:
run --enable-gtk-doc for distcheck

19 years agocommon/: only inspect plugins for this given package require gst-python 0.9
Thomas Vander Stichele [Sat, 3 Sep 2005 23:56:24 +0000 (23:56 +0000)]
common/: only inspect plugins for this given package require gst-python 0.9

Original commit message from CVS:
* common/gst-xmlinspect.py:
* common/gtk-doc-plugins.mak:
only inspect plugins for this given package
require gst-python 0.9

19 years agoupdating docs build
Thomas Vander Stichele [Sat, 3 Sep 2005 15:02:24 +0000 (15:02 +0000)]
updating docs build

Original commit message from CVS:
updating docs build

19 years agoupdate translations
Thomas Vander Stichele [Sat, 3 Sep 2005 14:05:25 +0000 (14:05 +0000)]
update translations

Original commit message from CVS:
update translations

19 years agodisable 24 bit until it gets fixed
Thomas Vander Stichele [Fri, 2 Sep 2005 23:16:15 +0000 (23:16 +0000)]
disable 24 bit until it gets fixed

Original commit message from CVS:
disable 24 bit until it gets fixed

19 years agoremove some plugins
Thomas Vander Stichele [Fri, 2 Sep 2005 16:02:38 +0000 (16:02 +0000)]
remove some plugins

Original commit message from CVS:
remove some plugins

19 years agoAll plugins updated for element state changes.
Andy Wingo [Fri, 2 Sep 2005 15:44:45 +0000 (15:44 +0000)]
All plugins updated for element state changes.

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

* All plugins updated for element state changes.

19 years agoAll plugins updated for element state changes.
Andy Wingo [Fri, 2 Sep 2005 15:43:18 +0000 (15:43 +0000)]
All plugins updated for element state changes.

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

* All plugins updated for element state changes.

19 years agoremove hook
Thomas Vander Stichele [Fri, 2 Sep 2005 15:21:20 +0000 (15:21 +0000)]
remove hook

Original commit message from CVS:
remove hook

19 years agoincrease timeout a little
Thomas Vander Stichele [Fri, 2 Sep 2005 13:58:15 +0000 (13:58 +0000)]
increase timeout a little

Original commit message from CVS:
increase timeout a little

19 years agoupdate translations
Thomas Vander Stichele [Fri, 2 Sep 2005 13:48:23 +0000 (13:48 +0000)]
update translations

Original commit message from CVS:
update translations

19 years agogst-libs/gst/audio/gstbaseaudiosink.c: Resync if the buffer timestamps drift more...
Wim Taymans [Wed, 31 Aug 2005 10:57:35 +0000 (10:57 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Resync if the buffer timestamps drift more than a 10th of a second.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Resync if the buffer timestamps drift more than a 10th
of a second.

19 years agosys/v4l/gstv4lsrc.c: The 'timestamp-offset' property is registered as an int64, so...
Tim-Philipp Müller [Wed, 31 Aug 2005 08:58:03 +0000 (08:58 +0000)]
sys/v4l/gstv4lsrc.c: The 'timestamp-offset' property is registered as an int64, so let's use g_value_{set|get}_int64(...

Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_set_property),
(gst_v4lsrc_get_property):
The 'timestamp-offset' property is registered as an int64, so
let's use g_value_{set|get}_int64() in our setter and getter
functions (makes it work and fixes warnings with gst-inspect).

19 years agocheck/elements/: Fix checks.
Wim Taymans [Tue, 30 Aug 2005 19:54:35 +0000 (19:54 +0000)]
check/elements/: Fix checks.

Original commit message from CVS:
* check/elements/audioconvert.c: (setup_audioconvert):
* check/elements/audioresample.c: (setup_audioresample):
* check/elements/volume.c: (setup_volume):
Fix checks.

19 years agomake module a param
Thomas Vander Stichele [Tue, 30 Aug 2005 18:55:48 +0000 (18:55 +0000)]
make module a param

Original commit message from CVS:
* common/gtk-doc-plugins.mak:
* common/plugins.xsl:
* docs/plugins/Makefile.am:
make module a param

19 years agoexamples/seeking/seek.c: update the example
Stefan Kost [Tue, 30 Aug 2005 18:26:07 +0000 (18:26 +0000)]
examples/seeking/seek.c: update the example

Original commit message from CVS:
* examples/seeking/seek.c: (make_mp3_pipeline),
(make_mpeg_pipeline), (seek_cb), (start_seek), (stop_seek),
(play_cb), (pause_cb), (stop_cb):
update the example

19 years agogst/volume/gstvolume.c: do not update controlled params, if buffer has no timestamp
Stefan Kost [Mon, 29 Aug 2005 20:20:42 +0000 (20:20 +0000)]
gst/volume/gstvolume.c: do not update controlled params, if buffer has no timestamp

Original commit message from CVS:
* gst/volume/gstvolume.c: (gst_volume_class_init),
(volume_transform):
do not update controlled params, if buffer has no timestamp

19 years agocontrollerized elements also need to link against controller-libs ;)
Stefan Kost [Mon, 29 Aug 2005 19:52:52 +0000 (19:52 +0000)]
controllerized elements also need to link against controller-libs ;)

Original commit message from CVS:
* configure.ac:
* gst/sine/Makefile.am:
* gst/volume/Makefile.am:
controllerized elements also need to link against controller-libs ;)

19 years agocontrollerized two audio plugins
Stefan Kost [Mon, 29 Aug 2005 19:32:19 +0000 (19:32 +0000)]
controllerized two audio plugins

Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* docs/libs/tmpl/gstcolorbalance.sgml:
* docs/libs/tmpl/gstgconf.sgml:
* docs/libs/tmpl/gstmixer.sgml:
* docs/libs/tmpl/gstringbuffer.sgml:
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init),
(gst_sinesrc_create):
* gst/volume/gstvolume.c: (gst_volume_class_init),
(volume_transform):
controllerized two audio plugins

19 years agoext/vorbis/vorbisdec.c (vorbis_dec_convert, vorbis_dec_push)
Andy Wingo [Mon, 29 Aug 2005 16:15:04 +0000 (16:15 +0000)]
ext/vorbis/vorbisdec.c (vorbis_dec_convert, vorbis_dec_push)

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

* ext/vorbis/vorbisdec.c (vorbis_dec_convert, vorbis_dec_push)
(vorbis_handle_data_packet): Fix some int overflow errors.

19 years agoext/ogg/gstoggdemux.c (gst_ogg_demux_init): Init total_time to
Andy Wingo [Mon, 29 Aug 2005 14:45:12 +0000 (14:45 +0000)]
ext/ogg/gstoggdemux.c (gst_ogg_demux_init): Init total_time to

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

* ext/ogg/gstoggdemux.c (gst_ogg_demux_init): Init total_time to
-1.
(gst_ogg_demux_perform_seek): Clamp segment_stop only if it's
valid.
(gst_ogg_pad_submit_packet): Subtract the chain's begin_time only
if it's valid. Fixed streaming-mode playback.

19 years agoincrease default timeout on tests for slow powerbooks
Thomas Vander Stichele [Mon, 29 Aug 2005 11:37:20 +0000 (11:37 +0000)]
increase default timeout on tests for slow powerbooks

Original commit message from CVS:
increase default timeout on tests for slow powerbooks

19 years agocheck/elements/volume.c (cleanup_volume): Fix for running
Andy Wingo [Mon, 29 Aug 2005 11:18:29 +0000 (11:18 +0000)]
check/elements/volume.c (cleanup_volume): Fix for running

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

* check/elements/volume.c (cleanup_volume): Fix for running
CK_FORK=no.

19 years agocheck/elements/audioconvert.c: Convert from native endian, not little endian.
Andy Wingo [Mon, 29 Aug 2005 11:01:06 +0000 (11:01 +0000)]
check/elements/audioconvert.c: Convert from native endian, not little endian.

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

* check/elements/audioconvert.c: Convert from native endian, not
little endian.

19 years agoAdd an ogg parser element
Michael Smith [Mon, 29 Aug 2005 10:52:20 +0000 (10:52 +0000)]
Add an ogg parser element

Original commit message from CVS:
Add an ogg parser element

19 years agoUpdates for two-arg init from GST_BOILERPLATE_FULL.
Andy Wingo [Sun, 28 Aug 2005 17:52:45 +0000 (17:52 +0000)]
Updates for two-arg init from GST_BOILERPLATE_FULL.

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

* Updates for two-arg init from GST_BOILERPLATE_FULL.

19 years agogst/audioconvert/audioconvert.c: Cleanups.
Wim Taymans [Fri, 26 Aug 2005 18:57:30 +0000 (18:57 +0000)]
gst/audioconvert/audioconvert.c: Cleanups.

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (if), (float),
(audio_convert_get_func_index), (check_default),
(audio_convert_clean_fmt), (audio_convert_prepare_context),
(audio_convert_clean_context), (audio_convert_get_sizes),
(audio_convert_convert):
Cleanups.

19 years agogst/audioconvert/audioconvert.c: More elegant and working temp buffer selection algo.
Wim Taymans [Fri, 26 Aug 2005 18:43:02 +0000 (18:43 +0000)]
gst/audioconvert/audioconvert.c: More elegant and working temp buffer selection algo.

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (if), (float),
(audio_convert_get_func_index), (check_default),
(audio_convert_clean_fmt), (audio_convert_prepare_context),
(audio_convert_clean_context), (audio_convert_get_sizes),
(audio_convert_convert):
More elegant and working temp buffer selection algo.

19 years agogst/audioconvert/audioconvert.c: Use realloc else we lose our original data.
Wim Taymans [Fri, 26 Aug 2005 17:46:45 +0000 (17:46 +0000)]
gst/audioconvert/audioconvert.c: Use realloc else we lose our original data.

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (if), (float),
(audio_convert_get_func_index), (check_default),
(audio_convert_clean_fmt), (audio_convert_prepare_context),
(audio_convert_clean_context), (audio_convert_get_sizes),
(get_temp_buffer), (audio_convert_convert):
Use realloc else we lose our original data.

19 years agouse base class' newsegment to properly timestamp
Thomas Vander Stichele [Fri, 26 Aug 2005 17:35:28 +0000 (17:35 +0000)]
use base class' newsegment to properly timestamp

Original commit message from CVS:

use base class' newsegment to properly timestamp

19 years agogst/audioconvert/: Oops, allocate enough space to perform the channel mix.
Wim Taymans [Fri, 26 Aug 2005 17:30:41 +0000 (17:30 +0000)]
gst/audioconvert/: Oops, allocate enough space to perform the channel mix.

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (if), (float),
(audio_convert_get_func_index), (check_default),
(audio_convert_clean_fmt), (audio_convert_prepare_context),
(audio_convert_clean_context), (audio_convert_get_sizes),
(get_temp_buffer), (audio_convert_convert):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_parse_caps), (gst_audio_convert_get_unit_size),
(gst_audio_convert_transform_caps),
(gst_audio_convert_fixate_caps), (gst_audio_convert_transform):
* gst/audioconvert/gstchannelmix.c: (gst_channel_mix_mix):
Oops, allocate enough space to perform the channel mix.

19 years agogst/audioconvert/: Cleanups, librarify a bit, optimize, better negotiation and more.
Wim Taymans [Fri, 26 Aug 2005 15:43:56 +0000 (15:43 +0000)]
gst/audioconvert/: Cleanups, librarify a bit, optimize, better negotiation and more.

Original commit message from CVS:
* gst/audioconvert/Makefile.am:
* gst/audioconvert/audioconvert.c: (if), (float),
(audio_convert_get_func_index), (check_default),
(audio_convert_clean_fmt), (audio_convert_prepare_context),
(audio_convert_clean_context), (audio_convert_get_sizes),
(get_temp_buffer), (audio_convert_convert):
* gst/audioconvert/audioconvert.h:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init), (gst_audio_convert_init),
(gst_audio_convert_dispose), (gst_audio_convert_parse_caps),
(gst_audio_convert_get_unit_size),
(gst_audio_convert_transform_caps),
(gst_audio_convert_fixate_caps), (gst_audio_convert_set_caps),
(gst_audio_convert_transform_ip), (gst_audio_convert_transform):
* gst/audioconvert/gstaudioconvert.h:
* gst/audioconvert/gstchannelmix.c: (gst_channel_mix_unset_matrix),
(gst_channel_mix_fill_identical),
(gst_channel_mix_fill_compatible), (gst_channel_mix_detect_pos),
(gst_channel_mix_fill_one_other), (gst_channel_mix_fill_others),
(gst_channel_mix_fill_normalize), (gst_channel_mix_fill_matrix),
(gst_channel_mix_setup_matrix), (gst_channel_mix_passthrough),
(gst_channel_mix_mix):
* gst/audioconvert/gstchannelmix.h:
Cleanups, librarify a bit, optimize, better negotiation and more.

19 years agoext/ogg/gstoggdemux.c: Another from MikeS:
Jan Schmidt [Fri, 26 Aug 2005 11:39:01 +0000 (11:39 +0000)]
ext/ogg/gstoggdemux.c: Another from MikeS:

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (ogg_find_peek):
Another from MikeS:
During typefinding, don't support negative offsets
(offsets from the end of the stream) in our typefind->peek() function
- nothing embedded in ogg ever needs them. However, we need to recognise
those requests and reject them, otherwise we return invalid pointers.

19 years agoext/: Big shout-out to MikeS for fixing this giant memory leak.
Jan Schmidt [Fri, 26 Aug 2005 10:50:56 +0000 (10:50 +0000)]
ext/: Big shout-out to MikeS for fixing this giant memory leak.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_dispose):
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_class_init),
(vorbisdec_finalize), (vorbis_handle_type_packet):
Big shout-out to MikeS for fixing this giant memory leak.
Huzzah!

19 years agoadd more conversion tests
Thomas Vander Stichele [Thu, 25 Aug 2005 18:27:24 +0000 (18:27 +0000)]
add more conversion tests

Original commit message from CVS:
add more conversion tests

19 years agoadd more tests
Thomas Vander Stichele [Thu, 25 Aug 2005 18:03:48 +0000 (18:03 +0000)]
add more tests

Original commit message from CVS:
add more tests

19 years agoplug some leaks
Thomas Vander Stichele [Thu, 25 Aug 2005 17:32:34 +0000 (17:32 +0000)]
plug some leaks

Original commit message from CVS:
plug some leaks

19 years agocheck/: add a test for audioconvert
Thomas Vander Stichele [Thu, 25 Aug 2005 17:20:02 +0000 (17:20 +0000)]
check/: add a test for audioconvert

Original commit message from CVS:

* check/Makefile.am:
* check/elements/audioconvert.c: (setup_audioconvert),
(cleanup_audioconvert), (get_int_caps), (verify_convert),
(GST_START_TEST), (audioconvert_suite), (main):
add a test for audioconvert
* gst/audioresample/gstaudioresample.c:
* gst/audioresample/gstaudioresample.h:
set DURATION so that TIMESTAMP(a) + DURATION(a) == TIMESTAMP(b);
note that for buffers of 1/3 sec this means DURATION(c) is
one nanosecond more than for a and b

19 years agosome more testing for perfect streams
Thomas Vander Stichele [Thu, 25 Aug 2005 16:19:39 +0000 (16:19 +0000)]
some more testing for perfect streams

Original commit message from CVS:
some more testing for perfect streams

19 years agoadd a check for audioresample
Thomas Vander Stichele [Thu, 25 Aug 2005 15:44:58 +0000 (15:44 +0000)]
add a check for audioresample

Original commit message from CVS:
add a check for audioresample

19 years agoshow some info on what's left in the queue
Thomas Vander Stichele [Thu, 25 Aug 2005 14:51:18 +0000 (14:51 +0000)]
show some info on what's left in the queue

Original commit message from CVS:
show some info on what's left in the queue

19 years agogst/audioresample/: add room for extra overlap samples when asked to transform size...
Thomas Vander Stichele [Thu, 25 Aug 2005 12:31:31 +0000 (12:31 +0000)]
gst/audioresample/: add room for extra overlap samples when asked to transform size protect against possible mem corr...

Original commit message from CVS:
* gst/audioresample/debug.c:
* gst/audioresample/gstaudioresample.c:
add room for extra overlap samples when asked to transform size
protect against possible mem corruption and check for discrepancies
between written size and outbuffer's size so we can warn for
potential problems
* gst/audioresample/resample.c: (resample_init),
(resample_get_output_size_for_input), (resample_get_output_size),
(resample_set_n_channels), (resample_set_format):
set debug level based on RESAMPLE_DEBUG env var
make sure that get_output_size* returns a whole number of
sample_size
set sample_size each time either channel or format is set
* gst/audioresample/resample_chunk.c: (resample_scale_chunk):
* gst/audioresample/resample_functable.c:
(resample_scale_functable):
* gst/audioresample/resample_ref.c: (resample_scale_ref):
remove r->sample_size, it's done in resample.c now
add some debugging to the ref implementation
make sure we only give back bytes that are wholes of the sample
size

19 years agogst/playback/gstplaybasebin.c: Revert unpopular change for GST_MESSAGE_SRC to GObject.
Jan Schmidt [Thu, 25 Aug 2005 10:50:44 +0000 (10:50 +0000)]
gst/playback/gstplaybasebin.c: Revert unpopular change for GST_MESSAGE_SRC to GObject.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (fill_buffer):
Revert unpopular change for GST_MESSAGE_SRC to GObject.

19 years agogst/volume/gstvolume.c: made set_caps function static
Stefan Kost [Wed, 24 Aug 2005 21:32:59 +0000 (21:32 +0000)]
gst/volume/gstvolume.c: made set_caps function static

Original commit message from CVS:
* gst/volume/gstvolume.c:
made set_caps function static

19 years agoext/vorbis/vorbisenc.c: Stop leaking taglists.
Wim Taymans [Wed, 24 Aug 2005 21:03:32 +0000 (21:03 +0000)]
ext/vorbis/vorbisenc.c: Stop leaking taglists.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_init),
(gst_vorbisenc_change_state):
Stop leaking taglists.

19 years agodebugging fixes
Thomas Vander Stichele [Wed, 24 Aug 2005 18:40:27 +0000 (18:40 +0000)]
debugging fixes

Original commit message from CVS:
debugging fixes

19 years agotranslate me baby
Thomas Vander Stichele [Wed, 24 Aug 2005 18:13:15 +0000 (18:13 +0000)]
translate me baby

Original commit message from CVS:
translate me baby

19 years agoext/ogg/gstoggdemux.c: Parse seeking events better.
Wim Taymans [Wed, 24 Aug 2005 18:04:45 +0000 (18:04 +0000)]
ext/ogg/gstoggdemux.c: Parse seeking events better.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query),
(gst_ogg_pad_event), (gst_ogg_demux_factory_filter),
(gst_ogg_pad_submit_packet), (gst_ogg_chain_new),
(gst_ogg_demux_init), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_collect_chain_info), (gst_ogg_demux_collect_info),
(gst_ogg_demux_chain), (gst_ogg_demux_loop), (gst_ogg_print):
Parse seeking events better.
Unref static caps.
Generate correct newsegment events, fixes seeking in live oggs.

* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_dec_src_event), (theora_dec_src_getcaps),
(theora_dec_sink_event), (theora_dec_push), (theora_dec_chain):
Use newsegment values to report correct play time.

* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_src_event), (vorbis_dec_sink_event):
* ext/vorbis/vorbisdec.h:
Parse and use newsegment values to report correct play time.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render):
Clear ringbuffer on flush.
Use newsegment values to calculate playback time.

* sys/ximage/ximagesink.c: (gst_ximagesink_get_times):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_times):
Basesink does newsegment calculations for us now.

19 years agoc/: add core's plugins to the mix so that playbin works
Thomas Vander Stichele [Wed, 24 Aug 2005 18:03:12 +0000 (18:03 +0000)]
c/: add core's plugins to the mix so that playbin works

Original commit message from CVS:

* check/Makefile.am:
* configure.ac:
add core's plugins to the mix so that playbin works
* check/generic/states.c: (GST_START_TEST):
set a 0 timeout on pipelines, so they don't force the next
state change
* gst/playback/gstplaybasebin.c: (setup_source), (prepare_output),
(gst_play_base_bin_change_state):
remove the crappy error handling and do GST error handling

19 years agoadd audioresample to spec file
Christian Schaller [Wed, 24 Aug 2005 17:28:39 +0000 (17:28 +0000)]
add audioresample to spec file

Original commit message from CVS:
add audioresample to spec file

19 years agofix broken header setup in Makefile.am
Christian Schaller [Wed, 24 Aug 2005 17:21:49 +0000 (17:21 +0000)]
fix broken header setup in Makefile.am

Original commit message from CVS:
fix broken header setup in Makefile.am

19 years agodist more
Thomas Vander Stichele [Wed, 24 Aug 2005 16:41:46 +0000 (16:41 +0000)]
dist more

Original commit message from CVS:
dist more

19 years agocheck/: add same test as to core, it bitches out on playbin atm.
Thomas Vander Stichele [Wed, 24 Aug 2005 16:18:25 +0000 (16:18 +0000)]
check/: add same test as to core, it bitches out on playbin atm.

Original commit message from CVS:
* check/Makefile.am:
* check/generic/states.c: (GST_START_TEST), (states_suite), (main):
add same test as to core, it bitches out on playbin atm.

19 years agoconfigure.ac: Remove audioscale.
Wim Taymans [Wed, 24 Aug 2005 15:15:57 +0000 (15:15 +0000)]
configure.ac: Remove audioscale.

Original commit message from CVS:
* configure.ac:
Remove audioscale.

19 years agogst/videoscale/gstvideoscale.*: Refactor, make use of BaseTranform really well.
Wim Taymans [Wed, 24 Aug 2005 15:07:54 +0000 (15:07 +0000)]
gst/videoscale/gstvideoscale.*: Refactor, make use of BaseTranform really well.

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_videoscale_init),
(gst_videoscale_prepare_size), (parse_caps),
(gst_videoscale_set_caps), (gst_videoscale_get_size),
(gst_videoscale_prepare_image), (gst_videoscale_transform_ip),
(gst_videoscale_transform):
* gst/videoscale/gstvideoscale.h:
Refactor, make use of BaseTranform really well.

19 years agoport audioresample to basetransform
Thomas Vander Stichele [Wed, 24 Aug 2005 14:08:58 +0000 (14:08 +0000)]
port audioresample to basetransform

Original commit message from CVS:
port audioresample to basetransform

19 years agoport audioconvert to basetransform fix ffmpegcsp and videoscale for basetransform...
Thomas Vander Stichele [Wed, 24 Aug 2005 13:32:52 +0000 (13:32 +0000)]
port audioconvert to basetransform fix ffmpegcsp and videoscale for basetransform changes

Original commit message from CVS:
port audioconvert to basetransform
fix ffmpegcsp and videoscale for basetransform changes

19 years agocheck/Makefile.am: Add CHECK_CFLAGS and LDFLAGS
Jan Schmidt [Wed, 24 Aug 2005 11:56:08 +0000 (11:56 +0000)]
check/Makefile.am: Add CHECK_CFLAGS and LDFLAGS

Original commit message from CVS:
* check/Makefile.am:
Add CHECK_CFLAGS and LDFLAGS

* gst/playback/gstplaybasebin.c: (fill_buffer):
GST_MESSAGE_SRC became a GObject

19 years agogst-libs/gst/audio/gstringbuffer.*: Added function to clear the ringbuffer.
Wim Taymans [Wed, 24 Aug 2005 11:29:10 +0000 (11:29 +0000)]
gst-libs/gst/audio/gstringbuffer.*: Added function to clear the ringbuffer.

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_set_sample),
(gst_ring_buffer_clear_all):
* gst-libs/gst/audio/gstringbuffer.h:
Added function to clear the ringbuffer.

19 years agowhoops
Andy Wingo [Wed, 24 Aug 2005 11:13:54 +0000 (11:13 +0000)]
whoops

Original commit message from CVS:
whoops

19 years agosys/v4l/gstv4lelement.c (gst_v4lelement_start)
Andy Wingo [Wed, 24 Aug 2005 11:07:51 +0000 (11:07 +0000)]
sys/v4l/gstv4lelement.c (gst_v4lelement_start)

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

* sys/v4l/gstv4lelement.c (gst_v4lelement_start)
(gst_v4lelement_stop): Call _start and _stop for xoverlay instead
of _open and _close.

* sys/v4l/gstv4lxoverlay.h:
* sys/v4l/gstv4lxoverlay.c (gst_v4l_xoverlay_set_xwindow_id): Open
an Xv connection here, instead of all the time. Make Xv only be
loaded if you axe for it. Kindof a workaround for buggy behaviour
of Xv when using remote xservers (XvQueryExtension would block).
(gst_v4l_xoverlay_stop, gst_v4l_xoverlay_start): New functions,
replace the _open and _close public API. Only start the xv
connection if necessary.
(gst_v4l_xoverlay_open, gst_v4l_xoverlay_close): Made static.

19 years agogst/audioresample/Makefile.am: Leet audioresampling code
David Schleef [Tue, 23 Aug 2005 19:29:38 +0000 (19:29 +0000)]
gst/audioresample/Makefile.am: Leet audioresampling code

Original commit message from CVS:
* gst/audioresample/Makefile.am: Leet audioresampling code
* gst/audioresample/buffer.c:
* gst/audioresample/buffer.h:
* gst/audioresample/debug.c:
* gst/audioresample/debug.h:
* gst/audioresample/functable.c:
* gst/audioresample/functable.h:
* gst/audioresample/gstaudioresample.c:
* gst/audioresample/gstaudioresample.h:
* gst/audioresample/resample.c:
* gst/audioresample/resample.h:
* gst/audioresample/resample_chunk.c:
* gst/audioresample/resample_functable.c:
* gst/audioresample/resample_ref.c:

19 years agoexamples/seeking/seek.c: Small seek updates.
Wim Taymans [Tue, 23 Aug 2005 18:30:07 +0000 (18:30 +0000)]
examples/seeking/seek.c: Small seek updates.

Original commit message from CVS:
* examples/seeking/seek.c: (make_vorbis_pipeline),
(make_theora_pipeline), (make_vorbis_theora_pipeline), (do_seek):
Small seek updates.

19 years agostyle fixes
Thomas Vander Stichele [Tue, 23 Aug 2005 18:19:10 +0000 (18:19 +0000)]
style fixes

Original commit message from CVS:
style fixes

19 years agogst-libs/gst/audio/gstbaseaudiosrc.c
Andy Wingo [Tue, 23 Aug 2005 13:29:17 +0000 (13:29 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c

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

* gst-libs/gst/audio/gstbaseaudiosrc.c
(gst_base_audio_src_fixate): Only fixate endianness if it is
present in the caps.

19 years agoext/alsa/: Add a device-name property.
Andy Wingo [Mon, 22 Aug 2005 16:50:59 +0000 (16:50 +0000)]
ext/alsa/: Add a device-name property.

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

* ext/alsa/gstalsasink.c (gst_alsasink_get_property):
* ext/alsa/gstalsasrc.c (gst_alsasrc_get_property): Add a
device-name property.

19 years agogst-libs/gst/audio/gstaudiosrc.*: Implement open_device and close_device in the ring...
Andy Wingo [Mon, 22 Aug 2005 15:11:31 +0000 (15:11 +0000)]
gst-libs/gst/audio/gstaudiosrc.*: Implement open_device and close_device in the ring buffer, like gstaudiosink.

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

* gst-libs/gst/audio/gstaudiosrc.h:
* gst-libs/gst/audio/gstaudiosrc.c: Implement open_device and
close_device in the ring buffer, like gstaudiosink.

* ext/alsa/gstalsamixer.h:
* ext/alsa/gstalsamixer.c: Not a GObject any more. Include a nifty
macro to implement the interface without much code. Cleanups.

* ext/alsa/gstalsasrc.h:
* ext/alsa/gstalsasrc.c: Be a mixer. Open device and mixer in
READY.

* ext/alsa/Makefile.am: Add new files.
* ext/alsa/gstalsamixerelement.c:
* ext/alsa/gstalsamixerelement.c: Split element code out from
mixer code so that alsasrc can be a mixer too.

19 years agowhitespace cleanup
Thomas Vander Stichele [Mon, 22 Aug 2005 09:35:57 +0000 (09:35 +0000)]
whitespace cleanup

Original commit message from CVS:
whitespace cleanup

19 years agoremove filter.func
Thomas Vander Stichele [Mon, 22 Aug 2005 09:27:14 +0000 (09:27 +0000)]
remove filter.func

Original commit message from CVS:
remove filter.func

19 years agomake sure registry is built properly
Thomas Vander Stichele [Sun, 21 Aug 2005 17:44:09 +0000 (17:44 +0000)]
make sure registry is built properly

Original commit message from CVS:
make sure registry is built properly

19 years agouse the setup/teardown methods to save code. save code is good.
Thomas Vander Stichele [Sun, 21 Aug 2005 10:43:45 +0000 (10:43 +0000)]
use the setup/teardown methods to save code.  save code is good.

Original commit message from CVS:
use the setup/teardown methods to save code.  save code is good.

19 years agoonly build if you have check
Thomas Vander Stichele [Sat, 20 Aug 2005 20:55:58 +0000 (20:55 +0000)]
only build if you have check

Original commit message from CVS:
only build if you have check

19 years agoyay, fix a segfault/security issue in vorbisdec gst-launch fakesrc ! vorbisdec wasn...
Thomas Vander Stichele [Sat, 20 Aug 2005 20:40:25 +0000 (20:40 +0000)]
yay, fix a segfault/security issue in vorbisdec gst-launch fakesrc ! vorbisdec wasn't happy add a test for vorbisdec

Original commit message from CVS:
yay, fix a segfault/security issue in vorbisdec
gst-launch fakesrc ! vorbisdec wasn't happy
add a test for vorbisdec

19 years agoadd tests to gst-plugins-base add a volume element test clean up volume a little...
Thomas Vander Stichele [Sat, 20 Aug 2005 18:07:10 +0000 (18:07 +0000)]
add tests to gst-plugins-base add a volume element test clean up volume a little more for basetransform

Original commit message from CVS:
add tests to gst-plugins-base
add a volume element test
clean up volume a little more for basetransform

19 years agoext/alsa/: Port to 0.9.
Andy Wingo [Fri, 19 Aug 2005 16:13:54 +0000 (16:13 +0000)]
ext/alsa/: Port to 0.9.

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

* ext/alsa/gstalsamixertrack.h:
* ext/alsa/gstalsamixertrack.c:
* ext/alsa/gstalsamixeroptions.h:
* ext/alsa/gstalsamixeroptions.c:
* ext/alsa/gstalsamixer.h:
* ext/alsa/gstalsamixer.c: Port to 0.9.

* ext/alsa/Makefile.am: Build mixer, mixeroptions, mixertracks.
Remove gstalsa.c and alsaclock. No more cruft here.

19 years agofix up spec to keep it working
Christian Schaller [Fri, 19 Aug 2005 14:41:46 +0000 (14:41 +0000)]
fix up spec to keep it working

Original commit message from CVS:
fix up spec to keep it working

19 years agogst-libs/gst/rtp/gstbasertpdepayload.*: Fix for RTPBuffer changes.
Wim Taymans [Thu, 18 Aug 2005 10:23:54 +0000 (10:23 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.*: Fix for RTPBuffer changes.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_add_to_queue),
(gst_base_rtp_depayload_push),
(gst_base_rtp_depayload_queue_release):
* gst-libs/gst/rtp/gstbasertpdepayload.h:
Fix for RTPBuffer changes.

* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtpbuffer_allocate_data),
(gst_rtpbuffer_new_take_data), (gst_rtpbuffer_new_copy_data),
(gst_rtpbuffer_new_allocate), (gst_rtpbuffer_new_allocate_len),
(gst_rtpbuffer_calc_header_len), (gst_rtpbuffer_calc_packet_len),
(gst_rtpbuffer_calc_payload_len), (gst_rtpbuffer_validate_data),
(gst_rtpbuffer_validate), (gst_rtpbuffer_set_packet_len),
(gst_rtpbuffer_get_packet_len), (gst_rtpbuffer_get_version),
(gst_rtpbuffer_set_version), (gst_rtpbuffer_get_padding),
(gst_rtpbuffer_set_padding), (gst_rtpbuffer_pad_to),
(gst_rtpbuffer_get_extension), (gst_rtpbuffer_set_extension),
(gst_rtpbuffer_get_ssrc), (gst_rtpbuffer_set_ssrc),
(gst_rtpbuffer_get_csrc_count), (gst_rtpbuffer_get_csrc),
(gst_rtpbuffer_set_csrc), (gst_rtpbuffer_get_marker),
(gst_rtpbuffer_set_marker), (gst_rtpbuffer_get_payload_type),
(gst_rtpbuffer_set_payload_type), (gst_rtpbuffer_get_seq),
(gst_rtpbuffer_set_seq), (gst_rtpbuffer_get_timestamp),
(gst_rtpbuffer_set_timestamp), (gst_rtpbuffer_get_payload_len),
(gst_rtpbuffer_get_payload):
* gst-libs/gst/rtp/gstrtpbuffer.h:
Don't subclass GstBuffer but add methods and helper functions
to construct and manipulate RTP packets in regular GstBuffers.