platform/upstream/gstreamer.git
18 years agoconfigure.ac: update core requirement to 0.10.4.1 because of async_playback vmethod...
Thomas Vander Stichele [Fri, 24 Mar 2006 17:26:54 +0000 (17:26 +0000)]
configure.ac: update core requirement to 0.10.4.1 because of async_playback vmethod on GstBaseSink

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

* configure.ac:
update core requirement to 0.10.4.1 because of async_playback
vmethod on GstBaseSink

18 years agouse DEBUG_FUNCPTR for collectpads
Stefan Kost [Fri, 24 Mar 2006 17:11:53 +0000 (17:11 +0000)]
use DEBUG_FUNCPTR for collectpads

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_init):
* gst/adder/gstadder.c: (gst_adder_init):
use DEBUG_FUNCPTR for collectpads

18 years agodon't go through check-torture if no check installed
Thomas Vander Stichele [Fri, 24 Mar 2006 14:11:20 +0000 (14:11 +0000)]
don't go through check-torture if no check installed

Original commit message from CVS:
don't go through check-torture if no check installed

18 years agoAdd docs for adder, use GST_ELEMENT_DETAILS macro, define GstElementDetails at the top
Stefan Kost [Fri, 24 Mar 2006 10:42:11 +0000 (10:42 +0000)]
Add docs for adder, use GST_ELEMENT_DETAILS macro, define GstElementDetails at the top

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:
* ext/cdparanoia/gstcdparanoiasrc.c:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_base_init),
(gst_gnome_vfs_sink_class_init):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_base_init):
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_base_init):
* ext/ogg/gstoggmux.c:
* ext/ogg/gstoggparse.c: (gst_ogg_parse_base_init):
* ext/ogg/gstogmparse.c: (gst_ogm_audio_parse_base_init),
(gst_ogm_video_parse_base_init), (gst_ogm_text_parse_base_init):
* ext/pango/gsttextoverlay.c:
* ext/pango/gsttextrender.c:
* ext/theora/theoradec.c:
* ext/theora/theoraenc.c:
* ext/vorbis/vorbisdec.c:
* ext/vorbis/vorbisenc.c:
* gst-libs/gst/audio/gstaudiofilter.c:
(gst_audio_filter_base_init):
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
(gst_audio_filter_template_base_init):
* gst/adder/gstadder.c: (gst_adder_get_type):
* gst/adder/gstadder.h:
* gst/audioconvert/gstaudioconvert.c:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiostestsrc_wave_get_type), (gst_audio_test_src_class_init),
(gst_audio_test_src_create):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
* gst/playback/gstdecodebin.c:
* gst/playback/gstplaybin.c:
* gst/playback/gststreamselector.c:
(gst_stream_selector_base_init):
* gst/subparse/gstsubparse.c: (gst_sub_parse_base_init):
* gst/volume/gstvolume.c:
* sys/v4l/gstv4lmjpegsink.c:
* sys/v4l/gstv4lmjpegsrc.c:
* tests/check/libs/cddabasesrc.c:
* tests/old/examples/gob/gst-identity2.gob:
Add docs for adder, use GST_ELEMENT_DETAILS macro,
define GstElementDetails at the top

18 years agowin32/common/libgstinterfaces.def: Add a lot of export functions for gst-python
Sébastien Moutte [Thu, 23 Mar 2006 21:48:18 +0000 (21:48 +0000)]
win32/common/libgstinterfaces.def: Add a lot of export functions for gst-python

Original commit message from CVS:
* win32/common/libgstinterfaces.def:
Add a lot of export functions for gst-python
* win32/common/libgstinterfaces.dsp:
Add a missing include folder in the project configuration

18 years agogst-libs/gst/audio/gstbaseaudiosrc.c: Fix audio sources, forgot to make the ringbuffe...
Wim Taymans [Thu, 23 Mar 2006 16:58:03 +0000 (16:58 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: Fix audio sources, forgot to make the ringbuffer startable...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_get_time), (gst_base_audio_src_create),
(gst_base_audio_src_change_state):
Fix audio sources, forgot to make the ringbuffer
startable...

18 years agogst-libs/gst/audio/gstbaseaudiosrc.c: unparent instead of unref the ringbuffer.
Wim Taymans [Thu, 23 Mar 2006 16:29:58 +0000 (16:29 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: unparent instead of unref the ringbuffer.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_get_time), (gst_base_audio_src_create),
(gst_base_audio_src_change_state):
unparent instead of unref the ringbuffer.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Implement new async_play vmethod to start...
Wim Taymans [Thu, 23 Mar 2006 16:24:23 +0000 (16:24 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Implement new async_play vmethod to start slaving and allow playback start in ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init), (gst_base_audio_sink_async_play),
(gst_base_audio_sink_do_play), (gst_base_audio_sink_change_state):
Implement new async_play vmethod to start slaving and allow
playback start in case of async PLAY state changes.
* gst-libs/gst/video/gstvideosink.c: (gst_video_sink_init):
Enable QoS with new method in base class.

18 years agogst/videotestsrc/gstvideotestsrc.c: Partially handle 0 framerate, only EOS after...
Julien MOUTTE [Thu, 23 Mar 2006 11:18:19 +0000 (11:18 +0000)]
gst/videotestsrc/gstvideotestsrc.c: Partially handle 0 framerate, only EOS after the first frame is missing.

Original commit message from CVS:
Patch by: Julien MOUTTE <julien at moutte dot net>
* gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_query),
(gst_video_test_src_do_seek), (gst_video_test_src_create):
Partially handle 0 framerate, only EOS after the first frame
is missing.

18 years agogst/: Patch for support of YVU9 AVI files (#334822)
Fabrizio Gennari [Thu, 23 Mar 2006 09:38:59 +0000 (09:38 +0000)]
gst/: Patch for support of YVU9 AVI files (#334822)

Original commit message from CVS:
Patch by: Fabrizio Gennari <fabrizio dot ge at tiscali dot it>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
* gst/ffmpegcolorspace/avcodec.h:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt),
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/imgconvert.c:
Patch for support of YVU9 AVI files (#334822)

18 years agodocs/design/design-decodebin.txt: Added design document for new decodebin text/x...
Edward Hervey [Wed, 22 Mar 2006 15:29:25 +0000 (15:29 +0000)]
docs/design/design-decodebin.txt: Added design document for new decodebin text/x-pango-markup is also a default targe...

Original commit message from CVS:
* docs/design/design-decodebin.txt:
Added design document for new decodebin
(Target Caps): text/x-pango-markup is also a default target caps.

18 years agodocs/design/design-decodebin.txt: Added design document for new decodebin
Edward Hervey [Wed, 22 Mar 2006 15:11:47 +0000 (15:11 +0000)]
docs/design/design-decodebin.txt: Added design document for new decodebin

Original commit message from CVS:
* docs/design/design-decodebin.txt:
Added design document for new decodebin

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Since we _parent the ringbuffer, we also need...
Wim Taymans [Wed, 22 Mar 2006 12:33:09 +0000 (12:33 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Since we _parent the ringbuffer, we also need to _unparent instead of a plain ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_dispose):
Since we _parent the ringbuffer, we also need to
_unparent instead of a plain _unref.

18 years agotests/examples/seek/seek.c: Add scrub checkbox.
Wim Taymans [Wed, 22 Mar 2006 12:28:36 +0000 (12:28 +0000)]
tests/examples/seek/seek.c: Add scrub checkbox.

Original commit message from CVS:
* tests/examples/seek/seek.c: (end_scrub), (do_seek), (seek_cb),
(stop_seek), (scrub_toggle_cb), (main):
Add scrub checkbox.

18 years agoext/ogg/gstoggparse.c: Fix very inefficient usage of linked lists (#335365).
Tim-Philipp Müller [Tue, 21 Mar 2006 17:47:04 +0000 (17:47 +0000)]
ext/ogg/gstoggparse.c: Fix very inefficient usage of linked lists (#335365).

Original commit message from CVS:
* ext/ogg/gstoggparse.c: (gst_ogg_parse_find_stream),
(gst_ogg_parse_chain):
Fix very inefficient usage of linked lists (#335365).

18 years agogcc 4.1 unreferenced pointer fixes.
Edward Hervey [Tue, 21 Mar 2006 14:26:01 +0000 (14:26 +0000)]
gcc 4.1 unreferenced pointer fixes.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_dispose):
* gst/playback/gstplaybin.c: (handoff):
* gst/playback/gststreamselector.c:
(gst_stream_selector_set_property):
gcc 4.1 unreferenced pointer fixes.
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put):
gst_buffer_ref() now takes a GstBuffer*.

18 years agosys/xvimage/xvimagesink.c: Fix a memleak reported by Jan Schmidt.
Julien Moutte [Mon, 20 Mar 2006 18:09:41 +0000 (18:09 +0000)]
sys/xvimage/xvimagesink.c: Fix a memleak reported by Jan Schmidt.

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

* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_get_format_from_caps): Fix a memleak reported
by Jan Schmidt.

18 years agogst/typefind/gsttypefindfunctions.c: Can't do tag preferences via probability, as...
Tim-Philipp Müller [Sun, 19 Mar 2006 11:37:46 +0000 (11:37 +0000)]
gst/typefind/gsttypefindfunctions.c: Can't do tag preferences via probability, as tags would then lose against types ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (id3v2_type_find),
(id3v1_type_find), (apetag_type_find), (plugin_init):
Can't do tag preferences via probability, as tags would then
lose against types that are recognised with MAXIMUM probability
(like .wav); so let all tag typefinders return MAXIMUM themselves
and order them via the rank. Split ID3v1 and ID3v2 typefinders so
that we can prefer APE to ID3v1 (fixes #335028).

18 years agogst-libs/gst/audio/: Only start playback if we are playing. should fix #330748.
Wim Taymans [Fri, 17 Mar 2006 17:48:33 +0000 (17:48 +0000)]
gst-libs/gst/audio/: Only start playback if we are playing. should fix #330748.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_change_state):
* gst-libs/gst/audio/gstringbuffer.c: (wait_segment),
(gst_ring_buffer_may_start):
* gst-libs/gst/audio/gstringbuffer.h:
Only start playback if we are playing.
should fix #330748.

18 years agoRevert accidental commits to these files.
Jan Schmidt [Fri, 17 Mar 2006 13:11:45 +0000 (13:11 +0000)]
Revert accidental commits to these files.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_getcaps):
* win32/common/config.h:
Revert accidental commits to these files.

18 years agotests/Makefile.am: Don't try to build tests in tests/icles if we don't have X (#323852)
Michal Benes [Thu, 16 Mar 2006 20:01:03 +0000 (20:01 +0000)]
tests/Makefile.am: Don't try to build tests in tests/icles if we don't have X (#323852)

Original commit message from CVS:
Patch by: Michal Benes  <michal dot benes at xeris dot cz>
* tests/Makefile.am:
Don't try to build tests in tests/icles if we
don't have X (#323852)

18 years agogst-libs/gst/tag/gstid3tag.c: Add TXXX frame identifiers for replaygain stuff as...
Tim-Philipp Müller [Thu, 16 Mar 2006 13:08:01 +0000 (13:08 +0000)]
gst-libs/gst/tag/gstid3tag.c: Add TXXX frame identifiers for replaygain stuff as used by some taggers (see #323721).

Original commit message from CVS:
* gst-libs/gst/tag/gstid3tag.c:
Add TXXX frame identifiers for replaygain stuff as used
by some taggers (see #323721).

18 years agogst/playback/gststreamselector.c: Preserve the existing buggy streamselector behaviou...
Jan Schmidt [Thu, 16 Mar 2006 10:22:27 +0000 (10:22 +0000)]
gst/playback/gststreamselector.c: Preserve the existing buggy streamselector behaviour by performing a fallback buffe...

Original commit message from CVS:
* gst/playback/gststreamselector.c:
(gst_stream_selector_set_property),
(gst_stream_selector_bufferalloc):
Preserve the existing buggy streamselector behaviour by performing
a fallback buffer allocation when downstream isn't linked yet.
This should really be fixed in playbin by blocking pads until it's
linked them.
Also, use gst_pad_alloc_buffer instead of
gst_pad_alloc_buffer_and_set.

18 years agogst-libs/gst/tag/gstid3tag.c: Don't crash on unknown ID3v2 TXXX frames.
Tim-Philipp Müller [Wed, 15 Mar 2006 22:40:08 +0000 (22:40 +0000)]
gst-libs/gst/tag/gstid3tag.c: Don't crash on unknown ID3v2 TXXX frames.

Original commit message from CVS:
* gst-libs/gst/tag/gstid3tag.c:
Don't crash on unknown ID3v2 TXXX frames.

18 years agoext/alsa/gstalsasink.c: Chain up to the parent finalize method.
Jan Schmidt [Wed, 15 Mar 2006 17:59:05 +0000 (17:59 +0000)]
ext/alsa/gstalsasink.c: Chain up to the parent finalize method.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_finalise):
Chain up to the parent finalize method.
Add 32-bit sample size to the template caps.

* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add the fourcc that the VMWare codec uses.

* gst/playback/gststreamselector.c:
(gst_stream_selector_set_property),
(gst_stream_selector_bufferalloc),
(gst_stream_selector_request_new_pad):
For the active pad, forward buffer-alloc requests, otherwise
return GST_FLOW_NOT_LINKED. This also prevents xvimagesink
having to memcpy every frame when used by playbin.

* gst/tcp/gstmultifdsink.c:
(gst_multi_fd_sink_handle_client_write):
Get negotiated caps from the sink pad, rather than the sink
pad's peer.

18 years agoext/gnomevfs/gstgnomevfssrc.c: Don't forget to set src->callbacks_pushed to FALSE...
Tommi Myöhänen [Wed, 15 Mar 2006 17:11:34 +0000 (17:11 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Don't forget to set src->callbacks_pushed to FALSE again when popping them, otherwise ...

Original commit message from CVS:
Patch by: Tommi Myöhänen  <ext-tommi dot myohanen at nokia dot com>
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_pop_callbacks):
Don't forget to set src->callbacks_pushed to FALSE again when
popping them, otherwise re-activation in a different mode won't
work (#334620).

18 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: Replace __VA_ARGS__ caps creation macros...
Sebastien Moutte [Wed, 15 Mar 2006 11:30:29 +0000 (11:30 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Replace __VA_ARGS__ caps creation macros with varargs functions. looks nice...

Original commit message from CVS:
Patch by: Sebastien Moutte  <sebastien moutte net>
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: (gst_ff_vid_caps_new),
(gst_ff_aud_caps_new), (gst_ffmpeg_pixfmt_to_caps),
(gst_ffmpeg_smpfmt_to_caps):
Replace __VA_ARGS__ caps creation macros with varargs functions.
Makes things compile on MSVC (#320765), looks nicer, and we can
tell the compiler to check for the NULL terminator.

18 years agogst-libs/gst/riff/riff-media.c: Make sure the buffer we copy into is really always...
Fabrizio Gennari [Tue, 14 Mar 2006 15:13:04 +0000 (15:13 +0000)]
gst-libs/gst/riff/riff-media.c: Make sure the buffer we copy into is really always big enough, this time for real (#3...

Original commit message from CVS:
Patch by: Fabrizio Gennari  <fabrizio dot ge at tiscali dot it>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Make sure the buffer we copy into is really always big
enough, this time for real (#333488).

18 years agogst-libs/gst/riff/riff-media.c: Add support for 24bpp DIB (#305279).
Tim-Philipp Müller [Tue, 14 Mar 2006 13:16:49 +0000 (13:16 +0000)]
gst-libs/gst/riff/riff-media.c: Add support for 24bpp DIB (#305279).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Add support for 24bpp DIB (#305279).

18 years agogst/: Re-enable QoS after the release.
Wim Taymans [Tue, 14 Mar 2006 11:11:59 +0000 (11:11 +0000)]
gst/: Re-enable QoS after the release.

Original commit message from CVS:
* gst-libs/gst/video/gstvideofilter.c: (gst_video_filter_init):
* gst-libs/gst/video/gstvideosink.c: (gst_video_sink_init):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcsp_init):
* gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init),
(gst_video_scale_init), (gst_video_scale_src_event):
Re-enable QoS after the release.
Rework videoscale to use the base class src_event handler.

18 years agoconfigure.ac: back to CVS.
Tim-Philipp Müller [Tue, 14 Mar 2006 09:51:01 +0000 (09:51 +0000)]
configure.ac: back to CVS.

Original commit message from CVS:
* configure.ac:
back to CVS.

18 years agoreleasing 0.10.5
Thomas Vander Stichele [Mon, 13 Mar 2006 19:50:04 +0000 (19:50 +0000)]
releasing 0.10.5

Original commit message from CVS:
releasing 0.10.5

18 years agoUpdate .po files
Thomas Vander Stichele [Mon, 13 Mar 2006 17:28:23 +0000 (17:28 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agodocs/plugins/Makefile.am: Part of previous cdparanoiasrc docs fixes, forgot to commit.
Tim-Philipp Müller [Mon, 13 Mar 2006 11:17:19 +0000 (11:17 +0000)]
docs/plugins/Makefile.am: Part of previous cdparanoiasrc docs fixes, forgot to commit.

Original commit message from CVS:
* docs/plugins/Makefile.am:
Part of previous cdparanoiasrc docs fixes, forgot to commit.

18 years agodocs/plugins/: Add cdparanoiasrc to docs.
Tim-Philipp Müller [Sun, 12 Mar 2006 14:56:31 +0000 (14:56 +0000)]
docs/plugins/: Add cdparanoiasrc to docs.

Original commit message from CVS:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
Add cdparanoiasrc to docs.
* gst-libs/gst/cdda/gstcddabasesrc.c:
More GstCddaBaseSrc docs.

18 years agoAdd new API to libgsttag: gst_tag_from_id3_user_tag().
Tim-Philipp Müller [Sun, 12 Mar 2006 13:47:22 +0000 (13:47 +0000)]
Add new API to libgsttag: gst_tag_from_id3_user_tag().

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/tag/gstid3tag.c: (gst_tag_from_id3_user_tag):
* gst-libs/gst/tag/tag.h:
Add new API to libgsttag: gst_tag_from_id3_user_tag().

18 years agogst/typefind/gsttypefindfunctions.c: NULL-terminate array of mpeg4 video file extensions.
Tim-Philipp Müller [Sat, 11 Mar 2006 19:47:16 +0000 (19:47 +0000)]
gst/typefind/gsttypefindfunctions.c: NULL-terminate array of mpeg4 video file extensions.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
NULL-terminate array of mpeg4 video file extensions.
Fixes crash on PPC (#334226).

18 years agoext/gnomevfs/gstgnomevfssrc.c: gnome_vfs_uri_is_local() alone is not a good indicator...
Tim-Philipp Müller [Sat, 11 Mar 2006 16:40:20 +0000 (16:40 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: gnome_vfs_uri_is_local() alone is not a good indicator whether we can operate in pull-...

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c:
(gst_gnome_vfs_src_check_get_range):
gnome_vfs_uri_is_local() alone is not a good indicator
whether we can operate in pull-mode with a specific URI,
as it returns FALSE for file:// URIs that point to an
NFS-mounted path. Be more conservative here: whitelist
local files, blacklist http URIs and use the old
mechanism for anything else (fixes #334216).

18 years agoconfigure.ac: back to trunk
Thomas Vander Stichele [Fri, 10 Mar 2006 19:15:34 +0000 (19:15 +0000)]
configure.ac: back to trunk

Original commit message from CVS:

* configure.ac:
back to trunk

18 years agoreleasing 0.10.4
Thomas Vander Stichele [Fri, 10 Mar 2006 19:05:13 +0000 (19:05 +0000)]
releasing 0.10.4

Original commit message from CVS:
releasing 0.10.4

18 years agogst-libs/gst/video/gstvideosink.c: Disable max-lateness by setting it to -1 for now...
Jan Schmidt [Fri, 10 Mar 2006 12:37:53 +0000 (12:37 +0000)]
gst-libs/gst/video/gstvideosink.c: Disable max-lateness by setting it to -1 for now, so that we can bed QoS stuff in ...

Original commit message from CVS:
* gst-libs/gst/video/gstvideosink.c: (gst_video_sink_init):
Disable max-lateness by setting it to -1 for now, so that
we can bed QoS stuff in thoroughly between now and the next
release.

18 years agogst-libs/gst/riff/riff-media.c: Make sure we don't read beyond the palette buffer...
Fabrizio [Fri, 10 Mar 2006 11:09:23 +0000 (11:09 +0000)]
gst-libs/gst/riff/riff-media.c: Make sure we don't read beyond the palette buffer in case of

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Make sure we don't read beyond the palette buffer in case of
broken or manipulated files (#333488, patch by: Fabrizio
Gennari)

18 years agogst/typefind/gsttypefindfunctions.c: Fix for variable not initialized.
Edward Hervey [Fri, 10 Mar 2006 10:44:02 +0000 (10:44 +0000)]
gst/typefind/gsttypefindfunctions.c: Fix for variable not initialized.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
Fix for variable not initialized.

18 years agoprereleasing
Thomas Vander Stichele [Thu, 9 Mar 2006 19:02:32 +0000 (19:02 +0000)]
prereleasing

Original commit message from CVS:
prereleasing

18 years agoext/libvisual/visual.c: Small cleanups.
Wim Taymans [Thu, 9 Mar 2006 17:58:00 +0000 (17:58 +0000)]
ext/libvisual/visual.c: Small cleanups.

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_get_type),
(gst_visual_src_setcaps), (gst_vis_src_negotiate),
(gst_visual_chain):
Small cleanups.
* ext/theora/gsttheoradec.h:
* ext/theora/theoradec.c: (gst_theora_dec_init),
(gst_theora_dec_reset), (_theora_granule_time),
(theora_dec_src_convert), (theora_dec_sink_convert),
(theora_dec_src_query), (theora_dec_src_event),
(theora_dec_sink_event), (theora_handle_comment_packet),
(theora_handle_header_packet), (theora_dec_push),
(theora_handle_data_packet), (theora_dec_chain),
(theora_dec_change_state):
Add simple QoS.

18 years agoext/gnomevfs/gstgnomevfssrc.c: Some cleanups.
Wim Taymans [Thu, 9 Mar 2006 17:50:59 +0000 (17:50 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Some cleanups.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (audiocast_init),
(audiocast_register_listener), (gst_gnome_vfs_src_start):
Some cleanups.

18 years agoext/ogg/gstoggdemux.c: Don't try to activate NULL chains.
Wim Taymans [Thu, 9 Mar 2006 17:45:39 +0000 (17:45 +0000)]
ext/ogg/gstoggdemux.c: Don't try to activate NULL chains.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_activate_chain):
Don't try to activate NULL chains.

18 years agogst/typefind/gsttypefindfunctions.c: Fix invalid memory access to region before peek...
Tim-Philipp Müller [Thu, 9 Mar 2006 16:30:41 +0000 (16:30 +0000)]
gst/typefind/gsttypefindfunctions.c: Fix invalid memory access to region before peek'd data (#332964).

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
Fix invalid memory access to region before peek'd data (#332964).

18 years agocloses #333510.
Christophe Fergeau [Thu, 9 Mar 2006 15:05:03 +0000 (15:05 +0000)]
closes #333510.

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_init):
* ext/pango/gsttextrender.c: (gst_text_render_init):
* gst/adder/gstadder.c: (gst_adder_init):
Don't leak padtemplates, patch by Christophe Fergeau,
closes #333510.

18 years agogst/subparse/gstsubparse.c: Fix invalid memory access: make sure string passed to...
Tim-Philipp Müller [Thu, 9 Mar 2006 12:56:35 +0000 (12:56 +0000)]
gst/subparse/gstsubparse.c: Fix invalid memory access: make sure string passed to regexec() is NUL-termianted.

Original commit message from CVS:
* gst/subparse/gstsubparse.c: (gst_subparse_type_find):
Fix invalid memory access: make sure string passed to
regexec() is NUL-termianted.

18 years agogst/typefind/gsttypefindfunctions.c: Refactor mpeg/audio typefinding to make it more...
Tim-Philipp Müller [Thu, 9 Mar 2006 12:37:59 +0000 (12:37 +0000)]
gst/typefind/gsttypefindfunctions.c: Refactor mpeg/audio typefinding to make it more maintainable and easier to fine-...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
(mp3_type_find):
Refactor mpeg/audio typefinding to make it more maintainable
and easier to fine-tune. Make probing into middle of the file
work properly (fixes #333900, also see #152688).

18 years agogst/typefind/gsttypefindfunctions.c: Remove part from previous commit that was bogus...
Tim-Philipp Müller [Thu, 9 Mar 2006 11:10:03 +0000 (11:10 +0000)]
gst/typefind/gsttypefindfunctions.c: Remove part from previous commit that was bogus: g_utf8_validate() does in fact ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c:
(utf8_type_find_have_valid_utf8_at_offset):
Remove part from previous commit that was bogus:
g_utf8_validate() does in fact not accept embedded
zeroes, so we don't need to check for those (thanks
to Mike for the hint).

18 years agogst/typefind/gsttypefindfunctions.c: Make plain/text typefinder more conservative...
Tim-Philipp Müller [Wed, 8 Mar 2006 17:11:29 +0000 (17:11 +0000)]
gst/typefind/gsttypefindfunctions.c: Make plain/text typefinder more conservative: firstly, check for embedded zeroes...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c:
(utf8_type_find_count_embedded_zeroes),
(utf8_type_find_have_valid_utf8_at_offset), (utf8_type_find):
Make plain/text typefinder more conservative: firstly, check
for embedded zeroes, which are perfectly valid UTF-8 characters,
but also a fairly good sign that something is not a plain text
file; secondly, probe into the middle of the file if possible.
If we can't probe into the middle, limit the probability value
to be returned to TYPE_FIND_POSSIBLE (see #333900).

18 years agogst/typefind/gsttypefindfunctions.c: Make typefind function name for mpeg4 video...
Michael Smith [Wed, 8 Mar 2006 11:34:45 +0000 (11:34 +0000)]
gst/typefind/gsttypefindfunctions.c: Make typefind function name for mpeg4 video unique.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Make typefind function name for mpeg4 video unique.

18 years agoext/libvisual/visual.c: Cleanups, post nice errors.
Wim Taymans [Wed, 8 Mar 2006 09:53:31 +0000 (09:53 +0000)]
ext/libvisual/visual.c: Cleanups, post nice errors.

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_init),
(gst_visual_clear_actors), (gst_visual_dispose),
(gst_visual_reset), (gst_visual_src_setcaps),
(gst_visual_sink_setcaps), (gst_vis_src_negotiate),
(gst_visual_sink_event), (gst_visual_src_event), (get_buffer),
(gst_visual_chain), (gst_visual_change_state):
Cleanups, post nice errors.
Handle sink and src events.
Implement simple QoS.
* gst-libs/gst/video/gstvideosink.c: (gst_video_sink_init):
Use new basesink methods to configure max-lateness.
Small doc update.
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_transform_caps), (gst_ffmpegcsp_set_caps):
Debug statement cleanups.
* gst/volume/gstvolume.c: (gst_volume_class_init):
Simple cleanup.

18 years agoext/pango/gsttextoverlay.c: Revert API/ABI break from March 1. Keep 'halign' and...
Tim-Philipp Müller [Wed, 8 Mar 2006 09:50:23 +0000 (09:50 +0000)]
ext/pango/gsttextoverlay.c: Revert API/ABI break from March 1. Keep 'halign' and 'valign' as string type properties, ...

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init),
(gst_text_overlay_init), (gst_text_overlay_set_property),
(gst_text_overlay_get_property):
Revert API/ABI break from March 1. Keep 'halign' and 'valign'
as string type properties, but mark them deprecated. Add
'halignment' and 'valignment' properties that use enums
instead of strings.

18 years agogst-libs/gst/riff/riff-media.c: Allow palettes with less than 256 colours in AVI...
Fabrizio [Wed, 8 Mar 2006 09:37:12 +0000 (09:37 +0000)]
gst-libs/gst/riff/riff-media.c: Allow palettes with less than 256 colours in AVI files

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Allow palettes with less than 256 colours in AVI files
(#333488, patch by: Fabrizio Gennari).

18 years agoext/pango/gsttextoverlay.c: Fix wrong EOS handling on text pad. We were releasing...
Julien Moutte [Tue, 7 Mar 2006 21:56:09 +0000 (21:56 +0000)]
ext/pango/gsttextoverlay.c: Fix wrong EOS handling on text pad. We were releasing the queued text buffer when we shou...

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

* ext/pango/gsttextoverlay.c: (gst_text_overlay_text_event),
(gst_text_overlay_video_event): Fix wrong EOS handling on text
pad. We were releasing the queued text buffer when we should keep
it until video pad gets EOS or discard the text buffer because it's
too old. That was eating the last subtitle buffer. Add some more
debug.

18 years agoext/pango/gsttextoverlay.c: Fix invalid memory access (we can't access a buffer after...
Tim-Philipp Müller [Tue, 7 Mar 2006 17:28:36 +0000 (17:28 +0000)]
ext/pango/gsttextoverlay.c: Fix invalid memory access (we can't access a buffer after it's been pushed downstream wit...

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_render_text),
(gst_text_overlay_video_chain):
Fix invalid memory access (we can't access a buffer after it's been
pushed downstream without taking a reference); fix memory leak (if
there's no text to render, bail out before allocating stuff).

18 years agoext/pango/gsttextoverlay.*: If input is plain text, escape it before passing it to...
Tim-Philipp Müller [Tue, 7 Mar 2006 15:08:15 +0000 (15:08 +0000)]
ext/pango/gsttextoverlay.*: If input is plain text, escape it before passing it to pango_layout_set_markup().

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_setcaps_txt), (gst_text_overlay_video_chain):
* ext/pango/gsttextoverlay.h:
If input is plain text, escape it before passing it to
pango_layout_set_markup().

18 years agogst-libs/gst/audio/gstaudiofilter.c: Don't ignore flow return from gst_pad_push().
Tim-Philipp Müller [Tue, 7 Mar 2006 13:01:21 +0000 (13:01 +0000)]
gst-libs/gst/audio/gstaudiofilter.c: Don't ignore flow return from gst_pad_push().

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audio_filter_chain):
Don't ignore flow return from gst_pad_push().

18 years agoDon't leak references returned by gst_pad_get_parent()
Christophe Fergeau [Tue, 7 Mar 2006 12:49:03 +0000 (12:49 +0000)]
Don't leak references returned by gst_pad_get_parent()

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_getcaps),
(gst_visual_src_setcaps), (gst_visual_sink_setcaps):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_sinkconnect):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_convert_src),
(gst_vorbisenc_convert_sink):
* gst-libs/gst/audio/audio.c: (gst_audio_frame_byte_size),
(gst_audio_duration_from_pad_buffer):
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audio_filter_link),
(gst_audio_filter_chain):
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_setcaps):
* gst-libs/gst/video/video.c: (gst_video_frame_rate),
(gst_video_get_size):
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_setcaps):
Don't leak references returned by gst_pad_get_parent()
(#333663, based on patch by: Christophe Fergeau).

18 years agoext/gnomevfs/gstgnomevfssink.c: change location param details
Stefan Kost [Mon, 6 Mar 2006 20:52:25 +0000 (20:52 +0000)]
ext/gnomevfs/gstgnomevfssink.c: change location param details

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_class_init):
change location param details
* gst/volume/gstvolume.c: (plugin_init):
correct plugin description

18 years agoext/gnomevfs/gstgnomevfssrc.c: Override GstBaseSrc::check_get_range() in order to...
Tim-Philipp Müller [Mon, 6 Mar 2006 20:07:55 +0000 (20:07 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Override GstBaseSrc::check_get_range() in order to avoid opening the resource just to ...

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_class_init),
(gst_gnome_vfs_src_check_get_range):
Override GstBaseSrc::check_get_range() in order to avoid opening
the resource just to check whether we can operate in pull-mode or
not - we can predict that pretty well from the URI alone. Should
fix problems with last.fm (#331690). (Requires latest core CVS).

18 years agogst-libs/gst/video/gstvideosink.c: Throw away frames that are later than 20 ms.
Wim Taymans [Mon, 6 Mar 2006 16:18:51 +0000 (16:18 +0000)]
gst-libs/gst/video/gstvideosink.c: Throw away frames that are later than 20 ms.

Original commit message from CVS:
* gst-libs/gst/video/gstvideosink.c: (gst_video_sink_init),
(gst_video_sink_class_init):
Throw away frames that are later than 20 ms.

18 years agogst-libs/gst/riff/riff-media.c:
Fabrizio [Mon, 6 Mar 2006 14:14:47 +0000 (14:14 +0000)]
gst-libs/gst/riff/riff-media.c:

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Set depth on WMA caps (#333545, patch by: Fabrizio Gennari).

18 years agoext/ogg/gstoggmux.c: put Theora BOS pages before others. This hardcodes the Ogg...
Thomas Vander Stichele [Sun, 5 Mar 2006 23:39:50 +0000 (23:39 +0000)]
ext/ogg/gstoggmux.c: put Theora BOS pages before others.  This hardcodes the Ogg/Theora I profile, but hey.

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_buffer_from_page),
(gst_ogg_mux_send_headers), (gst_ogg_mux_collected):
put Theora BOS pages before others.  This hardcodes
the Ogg/Theora I profile, but hey.

18 years agochanged more than 5 lines
Thomas Vander Stichele [Sun, 5 Mar 2006 23:06:22 +0000 (23:06 +0000)]
changed more than 5 lines

Original commit message from CVS:
changed more than 5 lines

18 years agoogg muxing of vorbis and theora now has pages ordered correctly again, even with...
Thomas Vander Stichele [Sun, 5 Mar 2006 22:57:58 +0000 (22:57 +0000)]
ogg muxing of vorbis and theora now has pages ordered correctly again, even with delays.

Original commit message from CVS:
ogg muxing of vorbis and theora now has pages ordered correctly again,
even with delays.

* ext/ogg/README:
updated with some examples
* ext/theora/theoraenc.c: (granulepos_to_timestamp),
(granulepos_add), (theora_buffer_from_packet):
* ext/vorbis/vorbisenc.c: (granulepos_to_timestamp_offset),
(granulepos_to_timestamp), (gst_vorbisenc_buffer_from_packet),
(gst_vorbisenc_chain):
implement strategy from ext/ogg/README
* ext/ogg/gstoggmux.c: (gst_ogg_mux_buffer_from_page),
(gst_ogg_mux_push_buffer), (gst_ogg_mux_dequeue_page),
(gst_ogg_mux_pad_queue_page), (gst_ogg_mux_compare_pads),
(gst_ogg_mux_queue_pads), (gst_ogg_mux_collected):
Fix muxer so that oggz-validate is happy with all streams;
except for no eos mark, and the BOS page ordering
* tests/check/pipelines/theoraenc.c: (check_buffer_is_header),
(check_buffer_granulepos):
* tests/check/pipelines/vorbisenc.c: (check_buffer_granulepos):
update tests to check for OFFSET being set as requested
fixed type of granulepos, it's not a ClockTime

18 years agosys/xvimage/xvimagesink.c: Check that the xvimage we are creating has a correct size...
Julien Moutte [Sun, 5 Mar 2006 21:34:23 +0000 (21:34 +0000)]
sys/xvimage/xvimagesink.c: Check that the xvimage we are creating has a correct size         before returning it. (#3...

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

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_show_frame), (gst_xvimagesink_buffer_alloc):
Check that the xvimage we are creating has a correct size         before returning it. (#314897)

18 years agogst/typefind/gsttypefindfunctions.c: Give id3 and ape tag typefinders a rank slightly...
Tim-Philipp Müller [Sun, 5 Mar 2006 13:44:05 +0000 (13:44 +0000)]
gst/typefind/gsttypefindfunctions.c: Give id3 and ape tag typefinders a rank slightly higher than PRIMARY to ensure t...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Give id3 and ape tag typefinders a rank slightly higher
than PRIMARY to ensure they're always run before any of
the other typefinders (in particular wav and mp3) (#324186).

18 years agogst-libs/gst/riff/riff-media.c: Add support for '3IVD' fourcc (#333403).
Tim-Philipp Müller [Sun, 5 Mar 2006 13:08:37 +0000 (13:08 +0000)]
gst-libs/gst/riff/riff-media.c: Add support for '3IVD' fourcc (#333403).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Add support for '3IVD' fourcc (#333403).

18 years agoconfigure.ac: Bump requirements to GStreamer CVS for the new error enum.
Tim-Philipp Müller [Sat, 4 Mar 2006 14:35:10 +0000 (14:35 +0000)]
configure.ac: Bump requirements to GStreamer CVS for the new error enum.

Original commit message from CVS:
* configure.ac:
Bump requirements to GStreamer CVS for the new error enum.
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_render):
Emit new GST_RESOURCE_ERROR_NO_SPACE_LEFT when there's no
space left on the device (fixes #333352).

18 years agowin32/vs6: add a project file for libgstvolume update the workspace
Sébastien Moutte [Fri, 3 Mar 2006 23:53:50 +0000 (23:53 +0000)]
win32/vs6: add a project file for libgstvolume update the workspace

Original commit message from CVS:
* win32/vs6:
add a project file for libgstvolume
update the workspace

18 years agodebug updates
Thomas Vander Stichele [Fri, 3 Mar 2006 15:26:57 +0000 (15:26 +0000)]
debug updates

Original commit message from CVS:
debug updates

18 years agoFix for http://bugzilla.gnome.org/show_bug.cgi?id=333254
Thomas Vander Stichele [Fri, 3 Mar 2006 15:22:02 +0000 (15:22 +0000)]
Fix for bugzilla.gnome.org/show_bug.cgi?id=333254

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

* ext/theora/theoraenc.c: (theora_set_header_on_caps):
* tests/check/pipelines/theoraenc.c: (check_buffer_is_header),
(GST_START_TEST):
Fix for http://bugzilla.gnome.org/show_bug.cgi?id=333254
Set IN_CAPS on header buffers

18 years agodocs/plugins/: Add audioresample to docs.
Wim Taymans [Thu, 2 Mar 2006 18:23:55 +0000 (18:23 +0000)]
docs/plugins/: Add audioresample to 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:
Add audioresample to docs.
* gst/audioconvert/gstaudioconvert.c:
Add revision date.
* gst/audioresample/gstaudioresample.c:
(gst_audioresample_base_init), (gst_audioresample_class_init),
(gst_audioresample_init), (gst_audioresample_dispose),
(audioresample_get_unit_size), (audioresample_transform_caps),
(resample_set_state_from_caps), (audioresample_transform_size),
(audioresample_set_caps), (audioresample_event),
(audioresample_do_output), (audioresample_transform),
(audioresample_pushthrough), (gst_audioresample_set_property),
(gst_audioresample_get_property), (plugin_init):
* gst/audioresample/gstaudioresample.h:
Added docs.
Small code cleanups.

18 years agofix wim's commit
Thomas Vander Stichele [Thu, 2 Mar 2006 18:12:33 +0000 (18:12 +0000)]
fix wim's commit

Original commit message from CVS:
fix wim's commit

18 years agodebug using the actual GstPad, that allows us to see the serialno in the padname
Thomas Vander Stichele [Thu, 2 Mar 2006 17:48:40 +0000 (17:48 +0000)]
debug using the actual GstPad, that allows us to see the serialno in the padname

Original commit message from CVS:
debug using the actual GstPad, that allows us to see the serialno in the padname

18 years agodocs/plugins/: Added videoscale to docs.
Wim Taymans [Thu, 2 Mar 2006 17:46:36 +0000 (17:46 +0000)]
docs/plugins/: Added videoscale to 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:
Added videoscale to docs.
* gst/videorate/gstvideorate.c: (gst_video_rate_flush_prev),
(gst_video_rate_swap_prev), (gst_video_rate_event),
(gst_video_rate_chain):
Fix typo in docs.
* gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init),
(gst_video_scale_init), (gst_video_scale_prepare_size),
(gst_video_scale_set_caps), (gst_video_scale_get_unit_size),
(gst_video_scale_fixate_caps), (gst_video_scale_transform):
* gst/videoscale/gstvideoscale.h:
Added docs, examples.
Some code cleanups.
Post errors instead of g_warning.

18 years agoclean up debug messages
Thomas Vander Stichele [Thu, 2 Mar 2006 17:30:57 +0000 (17:30 +0000)]
clean up debug messages

Original commit message from CVS:
clean up debug messages

18 years agoextra debugging from older version, makes it easier to compare
Thomas Vander Stichele [Thu, 2 Mar 2006 17:15:38 +0000 (17:15 +0000)]
extra debugging from older version, makes it easier to compare

Original commit message from CVS:
extra debugging from older version, makes it easier to compare

18 years agosome space cleanup and debug fixes
Thomas Vander Stichele [Thu, 2 Mar 2006 17:04:55 +0000 (17:04 +0000)]
some space cleanup and debug fixes

Original commit message from CVS:
some space cleanup and debug fixes

18 years agodocs/: Added some more docs to libs and plugins.
Wim Taymans [Thu, 2 Mar 2006 16:47:34 +0000 (16:47 +0000)]
docs/: Added some more docs to libs and plugins.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/libs/gst-plugins-base-libs.types:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
Added some more docs to libs and plugins.
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_prepare_read), (gst_ring_buffer_clear):
* gst-libs/gst/audio/gstringbuffer.h:
Document ringbuffer some more.
* gst/videorate/gstvideorate.c: (gst_video_rate_class_init),
(gst_video_rate_setcaps), (gst_video_rate_reset),
(gst_video_rate_init), (gst_video_rate_flush_prev),
(gst_video_rate_swap_prev), (gst_video_rate_event),
(gst_video_rate_chain), (gst_video_rate_change_state):
* gst/videorate/gstvideorate.h:
Fix videorate to use segments.
Make it work with 0/1 framerates (closes #331903)
Handle EOS correctly.
Added docs.

18 years agoext/ogg/gstogmparse.c: In state change function, first chain up to parent class,...
Tim-Philipp Müller [Thu, 2 Mar 2006 13:13:00 +0000 (13:13 +0000)]
ext/ogg/gstogmparse.c: In state change function, first chain up to parent class, then handle downwards state change s...

Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_parse_class_init),
(gst_ogm_audio_parse_init), (gst_ogm_video_parse_init),
(gst_ogm_text_parse_init), (gst_ogm_parse_change_state):
In state change function, first chain up to parent class,
then handle downwards state change stuff. Remove some
commented out cruft from 0.8 code.

18 years agoext/ogg/gstogmparse.c: Don't remove/re-add source pad if the new caps are the same...
Tim-Philipp Müller [Thu, 2 Mar 2006 12:35:59 +0000 (12:35 +0000)]
ext/ogg/gstogmparse.c: Don't remove/re-add source pad if the new caps are the same as the old caps anyway (#333042). ...

Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_audio_parse_init),
(gst_ogm_video_parse_init), (gst_ogm_text_parse_init),
(gst_ogm_parse_sink_convert), (gst_ogm_parse_sink_query),
(gst_ogm_parse_chain):
Don't remove/re-add source pad if the new caps are the same as
the old caps anyway (#333042). When removing source pad, don't
unref it afterwards - we didn't ref it when adding. Sprinkle some
GST_DEBUG_FUNCPTR goodness here and there. Don't leak references
after using gst_pad_get_parent(). Return downstream flow return
value in chain function.

18 years agodocs/plugins/: Fix hierarchy, added some more elements to the docs.
Wim Taymans [Thu, 2 Mar 2006 11:28:23 +0000 (11:28 +0000)]
docs/plugins/: Fix hierarchy, added some more elements to the docs.

Original commit message from CVS:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.signals:
Fix hierarchy, added some more elements to the docs.
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_get_type):
* gst/ffmpegcolorspace/gstffmpegcolorspace.h:
Fix docs for ffmpegcolorspace.

18 years agogst/typefind/gsttypefindfunctions.c: Some typefinding fine-tuning:
Tim-Philipp Müller [Wed, 1 Mar 2006 19:24:44 +0000 (19:24 +0000)]
gst/typefind/gsttypefindfunctions.c: Some typefinding fine-tuning:

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (id3_type_find),
(apetag_type_find), (ape_type_find), (plugin_init):
Some typefinding fine-tuning:
- rank ID3/APE tags in order of preference via probabilities, so that
ID3v2 > APEv2 > APEv1 > ID3v1.
- three or four bytes don't really justify MAXIMUM probability,
change those to 'very likely' (musepack and monkeysaudio).

18 years agoAdded alsa docs.
Wim Taymans [Wed, 1 Mar 2006 18:25:18 +0000 (18:25 +0000)]
Added alsa 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:
* ext/alsa/gstalsamixer.c:
* ext/alsa/gstalsamixer.h:
* ext/alsa/gstalsamixerelement.c:
(gst_alsa_mixer_element_class_init), (gst_alsa_mixer_element_init):
* ext/alsa/gstalsamixerelement.h:
* ext/alsa/gstalsasink.c:
* ext/alsa/gstalsasink.h:
* ext/alsa/gstalsasrc.c: (gst_alsasrc_class_init),
(gst_alsasrc_init):
* ext/alsa/gstalsasrc.h:
Added alsa docs.
Small code cleanups.

18 years agoext/theora/Makefile.am: Dist new header too,
Wim Taymans [Wed, 1 Mar 2006 17:52:45 +0000 (17:52 +0000)]
ext/theora/Makefile.am: Dist new header too,

Original commit message from CVS:
* ext/theora/Makefile.am:
Dist new header too,

18 years agoFix some more docs.
Wim Taymans [Wed, 1 Mar 2006 17:39:28 +0000 (17:39 +0000)]
Fix some more 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:
* ext/gnomevfs/gstgnomevfssink.h:
* ext/gnomevfs/gstgnomevfssrc.h:
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
* ext/vorbis/vorbisdec.h:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_convert_sink):
* ext/vorbis/vorbisenc.h:
* ext/vorbis/vorbisparse.c: (vorbis_parse_set_header_on_caps),
(vorbis_parse_chain), (vorbis_parse_change_state):
* ext/vorbis/vorbisparse.h:
* gst/audioconvert/gstaudioconvert.h:
* gst/tcp/gsttcpserversink.h:
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/volume/gstvolume.c:
* gst/volume/gstvolume.h:
Fix some more docs.
Added docs for vorbisdec and vorbisparse.
Fix vorbisparse.

18 years agoUpdated/added documentation.
Wim Taymans [Wed, 1 Mar 2006 16:24:37 +0000 (16:24 +0000)]
Updated/added documentation.

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:
* ext/pango/gstclockoverlay.h:
* ext/pango/gsttextoverlay.h:
* ext/pango/gsttextrender.h:
* ext/pango/gsttimeoverlay.h:
* ext/theora/gsttheoradec.h:
* ext/theora/gsttheoraenc.h:
* ext/theora/theoradec.c:
* ext/theora/theoraenc.c:
* gst/audioconvert/gstaudioconvert.h:
* gst/audiotestsrc/gstaudiotestsrc.h:
* gst/ffmpegcolorspace/gstffmpegcolorspace.h:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
* gst/tcp/gstmultifdsink.h:
Updated/added documentation.
* ext/pango/gsttextoverlay.c: (gst_text_overlay_valign_get_type),
(gst_text_overlay_halign_get_type),
(gst_text_overlay_wrap_mode_get_type),
(gst_text_overlay_base_init), (gst_text_overlay_class_init),
(gst_text_overlay_init), (gst_text_overlay_set_property),
(gst_text_overlay_get_property):
Fix up properties to be enums instead of string to make bindings,
introspection and automatic GUI creation possible.
Add getters for the properties.

18 years agogst/audiotestsrc/gstaudiotestsrc.c: added defines of M_PI and M_PI_2
Sébastien Moutte [Tue, 28 Feb 2006 21:21:07 +0000 (21:21 +0000)]
gst/audiotestsrc/gstaudiotestsrc.c: added defines of M_PI and M_PI_2

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
added defines of M_PI and M_PI_2
* gst/ffmpegcolorspace/avcodec.h:
removed #include "stdint.h" for win32 as _stdint.h is
autogenerated to win32/common
* win32/common/libgstaudio.def:
* win32/common/libgsttag.def:
added some exports
* win32/vs6:
some project files bugs corrected
* win32/vs7:
project files are reset to the default vs7 configuration
(they link to msvcr71.dll using default optimizations)

18 years agoext/gnomevfs/gstgnomevfssink.c: Fix some docs.
Wim Taymans [Tue, 28 Feb 2006 19:08:12 +0000 (19:08 +0000)]
ext/gnomevfs/gstgnomevfssink.c: Fix some docs.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_class_init):
Fix some docs.

18 years agoext/alsa/gstalsasrc.c: Set proper class on the ElementDetails:
Edward Hervey [Tue, 28 Feb 2006 13:52:04 +0000 (13:52 +0000)]
ext/alsa/gstalsasrc.c: Set proper class on the ElementDetails:

Original commit message from CVS:
* ext/alsa/gstalsasrc.c:
Set proper class on the ElementDetails:
Source/Audio instead of Src/Audio

18 years agogst/videoscale/vs_scanline.c: Revert optimization in videoscale. It should go in...
Edward Hervey [Tue, 28 Feb 2006 12:19:11 +0000 (12:19 +0000)]
gst/videoscale/vs_scanline.c: Revert optimization in videoscale. It should go in liboil and have an appropriate liboi...

Original commit message from CVS:
* gst/videoscale/vs_scanline.c:
(vs_scanline_resample_nearest_RGBA):
Revert optimization in videoscale. It should go in liboil and have
an appropriate liboil function.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Don't try to provide a clock in the NULL state.
Wim Taymans [Tue, 28 Feb 2006 11:06:24 +0000 (11:06 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Don't try to provide a clock in the NULL state.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_provide_clock):
Don't try to provide a clock in the NULL state.

18 years agoext/ogg/gstoggdemux.c: Use GstSegment infrastructure to remove duplicated code and...
Wim Taymans [Tue, 28 Feb 2006 11:04:47 +0000 (11:04 +0000)]
ext/ogg/gstoggdemux.c: Use GstSegment infrastructure to remove duplicated code and handle more seek cases correctly.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_receive_event),
(gst_ogg_pad_event), (gst_ogg_pad_internal_chain),
(gst_ogg_demux_chain_peer), (gst_ogg_pad_submit_packet),
(gst_ogg_demux_deactivate_current_chain),
(gst_ogg_demux_activate_chain), (gst_ogg_demux_do_seek),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_collect_info),
(gst_ogg_demux_find_chains), (gst_ogg_demux_chain),
(gst_ogg_demux_loop), (gst_ogg_demux_change_state):
Use GstSegment infrastructure to remove duplicated code
and handle more seek cases correctly.

18 years agogst/ffmpegcolorspace/gstffmpegcolorspace.c: Don't ignore return code from ffmpeg...
Wim Taymans [Tue, 28 Feb 2006 10:39:19 +0000 (10:39 +0000)]
gst/ffmpegcolorspace/gstffmpegcolorspace.c: Don't ignore return code from ffmpeg convert function.

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_transform):
Don't ignore return code from ffmpeg convert function.

* gst/ffmpegcolorspace/imgconvert.c: (img_convert):
Split out some long statements to ease debugging.

18 years agoext/libvisual/visual.c: Don't use gst_pad_use_fixed_caps, because it prevents downstr...
Jan Schmidt [Mon, 27 Feb 2006 12:08:22 +0000 (12:08 +0000)]
ext/libvisual/visual.c: Don't use gst_pad_use_fixed_caps, because it prevents downstream from being able to renegotia...

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_init),
(gst_vis_src_negotiate), (get_buffer), (plugin_init):
Don't use gst_pad_use_fixed_caps, because it prevents downstream from
being able to renegotiate the size. Instead, use the negotiation
algorithm from the goom plugin to pick an initial output caps.

Also, allow theoretical libvisual plugins that might support non-GL
output even if they also do GL.