platform/upstream/gstreamer.git
18 years agogst/avi/gstavidemux.c: Fix index creation when we have to scan the file to create...
Fabrizio Gennari [Thu, 20 Apr 2006 16:33:55 +0000 (16:33 +0000)]
gst/avi/gstavidemux.c: Fix index creation when we have to scan the file to create an index. There may be other types ...

Original commit message from CVS:
Patch by: Fabrizio Gennari  <fabrizio dot ge at tiscali dot it>
* gst/avi/gstavidemux.c: (gst_avi_demux_peek_tag),
(gst_avi_demux_next_data_buffer), (gst_avi_demux_stream_scan):
Fix index creation when we have to scan the file to create
an index. There may be other types of RIFF 'LIST' chunks than
'movi' and we need to skip them properly as well or we'll end up
reading garbage (#336889). Some other cosmetic changes.

18 years agoext/flac/gstflacdec.c: Add support for segment seeks (fixes #338290). Also demote...
Tim-Philipp Müller [Thu, 20 Apr 2006 14:21:42 +0000 (14:21 +0000)]
ext/flac/gstflacdec.c: Add support for segment seeks (fixes #338290). Also demote some recurring debug message from D...

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_loop),
(gst_flac_dec_handle_seek_event):
Add support for segment seeks (fixes #338290). Also demote
some recurring debug message from DEBUG to LOG level.

18 years agogst/matroska/: Set DISCONT flag on first buffer after a discontinuity.
Tim-Philipp Müller [Thu, 20 Apr 2006 13:23:40 +0000 (13:23 +0000)]
gst/matroska/: Set DISCONT flag on first buffer after a discontinuity.

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroskademux_do_index_seek),
(gst_matroska_demux_handle_seek_event),
(gst_matroska_demux_parse_blockgroup_or_simpleblock):
* gst/matroska/matroska-ids.h:
Set DISCONT flag on first buffer after a discontinuity.
Fix newsegment events sent when seeking and honour KEY_UNIT
seek flag. Create pad with bogus caps if we don't recognise
the stream codec id.
* gst/matroska/matroska-demux.h:
Fix GObject macros.

18 years agogst/matroska/matroska-demux.c: Handle end of segment properly when set; don't dead...
Mark Nauwelaerts [Thu, 20 Apr 2006 11:00:16 +0000 (11:00 +0000)]
gst/matroska/matroska-demux.c: Handle end of segment properly when set; don't dead-lock when posting start of segment...

Original commit message from CVS:
Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_handle_seek_event), (gst_matroska_demux_loop):
Handle end of segment properly when set; don't dead-lock when
posting start of segment message when doing a segment seek.
Fixes #338810.

18 years agogst/qtdemux/qtdemux.c: Never treat video streams as an audio stream.
j^ [Thu, 20 Apr 2006 09:48:05 +0000 (09:48 +0000)]
gst/qtdemux/qtdemux.c: Never treat video streams as an audio stream.

Original commit message from CVS:
Patch by: j^ <j at bootlab dot org>
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak),
(qtdemux_video_caps):
Never treat video streams as an audio stream.
Add qtdrw mime type.
Fixes #339041

18 years agogst/matroska/matroska-demux.c: Make mpeg2 aac audio work: create artificial private...
Tim-Philipp Müller [Thu, 20 Apr 2006 09:11:22 +0000 (09:11 +0000)]
gst/matroska/matroska-demux.c: Make mpeg2 aac audio work: create artificial private codec data chunk which faad2 seem...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps),
(gst_matroska_demux_plugin_init):
Make mpeg2 aac audio work: create artificial private codec data
chunk which faad2 seems to require, just as we do for mpeg4 aac.
Also call gst_riff_init(). Partially fixes #338767.

18 years agogst/wavenc/gstwavenc.*: Set caps on first outgoing buffer, so that it doesn't error...
Tim-Philipp Müller [Wed, 19 Apr 2006 15:16:33 +0000 (15:16 +0000)]
gst/wavenc/gstwavenc.*: Set caps on first outgoing buffer, so that it doesn't error out immediately with a non-negoti...

Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_base_init),
(gst_wavenc_class_init), (gst_wavenc_init),
(gst_wavenc_create_header_buf), (gst_wavenc_push_header),
(gst_wavenc_sink_setcaps), (get_id_from_name), (gst_wavenc_event),
(gst_wavenc_chain), (gst_wavenc_change_state):
* gst/wavenc/gstwavenc.h:
Set caps on first outgoing buffer, so that it doesn't error out
immediately with a non-negotiated error (#338716). Rewrite and
clean up a bit; fix setcaps function to parse things properly;
fix sink caps (8bit audio is unsigned and doesn't have depth);
use boilerplate macros; remove unused properties stuff.

18 years agogst/qtdemux/qtdemux.c: For VBR audio, don't try to calculate the samples_per_frame.
Wim Taymans [Wed, 19 Apr 2006 09:27:00 +0000 (09:27 +0000)]
gst/qtdemux/qtdemux.c: For VBR audio, don't try to calculate the samples_per_frame.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
For VBR audio, don't try to calculate the samples_per_frame.
Fixes #338935.

18 years agoext/gdk_pixbuf/gstgdkpixbuf.c: Leave JPEG decoding to our jpegdec plugin. gdkpixbufde...
Tim-Philipp Müller [Tue, 18 Apr 2006 18:14:34 +0000 (18:14 +0000)]
ext/gdk_pixbuf/gstgdkpixbuf.c: Leave JPEG decoding to our jpegdec plugin. gdkpixbufdec cannot handle MJPEG streams an...

Original commit message from CVS:
* ext/gdk_pixbuf/gstgdkpixbuf.c:
Leave JPEG decoding to our jpegdec plugin. gdkpixbufdec cannot
handle MJPEG streams and might be autoplugged for those if the
user doesn't have jpegdec installed (resulting in a cryptic error
message about huffman tables). Better to disable JPEG decoding here
and let the user figure out that she needs to install jpegdec.

18 years agoext/gdk_pixbuf/gstgdkpixbuf.*: Make work with packetised/framed input (e.g. png-in...
Tim-Philipp Müller [Tue, 18 Apr 2006 18:04:48 +0000 (18:04 +0000)]
ext/gdk_pixbuf/gstgdkpixbuf.*: Make work with packetised/framed input (e.g. png-in-quicktime). Use

Original commit message from CVS:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_setcaps),
(gst_gdk_pixbuf_class_init), (gst_gdk_pixbuf_init),
(gst_gdk_pixbuf_flush), (gst_gdk_pixbuf_chain):
* ext/gdk_pixbuf/gstgdkpixbuf.h:
Make work with packetised/framed input (e.g. png-in-quicktime). Use
GST_ELEMENT_ERROR when we return GST_FLOW_ERROR. Add some
GST_DEBUG_FUNCPTR here and there. Use GST_LOG for recurring
debug messages. Fix boilerplate macros.

18 years agoext/gdk_pixbuf/gstgdkpixbuf.c: No need to special-case for Gdk-2.0 any longer, we...
Tim-Philipp Müller [Tue, 18 Apr 2006 17:29:42 +0000 (17:29 +0000)]
ext/gdk_pixbuf/gstgdkpixbuf.c: No need to special-case for Gdk-2.0 any longer, we require

Original commit message from CVS:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_get_capslist),
(gst_gdk_pixbuf_set_property), (gst_gdk_pixbuf_get_property):
No need to special-case for Gdk-2.0 any longer, we require
Gdk 2.2 or newer; minor clean-ups.

18 years agoRewrite a bit: use GstBaseSink::start and stop instead of a state change function...
Tim-Philipp Müller [Tue, 18 Apr 2006 17:17:55 +0000 (17:17 +0000)]
Rewrite a bit: use GstBaseSink::start and stop instead of a state change function; use GST_ELEMENT_ERROR for error re...

Original commit message from CVS:
* ext/shout2/gstshout2.c: (gst_shout2send_base_init),
(gst_shout2send_class_init), (gst_shout2send_init),
(set_shout_metadata), (gst_shout2send_set_metadata),
(gst_shout2send_event), (gst_shout2send_start),
(gst_shout2send_connect), (gst_shout2send_stop),
(gst_shout2send_render), (gst_shout2send_set_property),
(gst_shout2send_get_property), (gst_shout2send_setcaps),
(plugin_init):
* ext/shout2/gstshout2.h:
* po/POTFILES.in:
Rewrite a bit: use GstBaseSink::start and stop instead of a state
change function; use GST_ELEMENT_ERROR for error reporting, not
g_error() or GST_ERROR(); don't unref caps in setcaps function,
will cause crashes or assertion failures; remove (unused) "sync"
property, basesink already has such a property; misc. other
minor fixes and cleanups.

18 years agoAdd translatable error message for when we cannot connect to the sound server, as...
Tim-Philipp Müller [Tue, 18 Apr 2006 14:15:33 +0000 (14:15 +0000)]
Add translatable error message for when we cannot connect to the sound server, as "Cannot open resource for writing" ...

Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_open), (gst_esdsink_prepare):
* ext/esd/gstesd.c: (plugin_init):
* po/POTFILES.in:
Add translatable error message for when we cannot
connect to the sound server, as "Cannot open resource
for writing" isn't really an acceptable message to show
to the user in this case.

18 years agosys/oss/gst-i18n-plugin.h: Remove bogus file that doesn't belong here.
Tim-Philipp Müller [Tue, 18 Apr 2006 13:32:29 +0000 (13:32 +0000)]
sys/oss/gst-i18n-plugin.h: Remove bogus file that doesn't belong here.

Original commit message from CVS:
* sys/oss/gst-i18n-plugin.h:
Remove bogus file that doesn't belong here.

18 years agoext/shout2/gstshout2.*: Handle tags being received before the connection to the serve...
Philippe Valembois [Mon, 17 Apr 2006 19:57:10 +0000 (19:57 +0000)]
ext/shout2/gstshout2.*: Handle tags being received before the connection to the server is established properly (see #...

Original commit message from CVS:
Patch by: Philippe Valembois
* ext/shout2/gstshout2.c: (gst_shout2send_init),
(gst_shout2send_set_metadata), (gst_shout2send_event),
(gst_shout2send_render), (gst_shout2send_change_state):
* ext/shout2/gstshout2.h:
Handle tags being received before the connection to
the server is established properly (see #338636).

18 years agoJust added a gtk-doc comment.
Edgard Lima [Mon, 17 Apr 2006 19:43:32 +0000 (19:43 +0000)]
Just added a gtk-doc comment.

Original commit message from CVS:
Just added a gtk-doc comment.

18 years agoext/shout2/gstshout2.c: Don't crash in case the connection to the server fails: don...
Tim-Philipp Müller [Mon, 17 Apr 2006 19:12:36 +0000 (19:12 +0000)]
ext/shout2/gstshout2.c: Don't crash in case the connection to the server fails: don't set pointer to NULL by assignin...

Original commit message from CVS:
* ext/shout2/gstshout2.c: (gst_shout2send_render):
Don't crash in case the connection to the server fails:
don't set pointer to NULL by assigning FALSE; error out
properly by using GST_ELEMENT_ERROR and returning
GST_FLOW_ERROR (fixes #338636). Lastly, free connection
before resetting the pointer.

18 years agogst/id3demux/id3tags.c: (Fixes #338713)
Alex Lancaster [Mon, 17 Apr 2006 10:01:51 +0000 (10:01 +0000)]
gst/id3demux/id3tags.c: (Fixes #338713)

Original commit message from CVS:
* gst/id3demux/id3tags.c:
Recognise TCO (Genre) tags in ID3v2.2. Patch by Alex Lancaster
(Fixes #338713)

18 years agoFixed some memory leaks.
Edgard Lima [Thu, 13 Apr 2006 21:45:57 +0000 (21:45 +0000)]
Fixed some memory leaks.

Original commit message from CVS:
Fixed some memory leaks.

18 years agoreverting rtp patches to fix freeze break on -base as explained on the list
Thomas Vander Stichele [Thu, 13 Apr 2006 09:15:31 +0000 (09:15 +0000)]
reverting rtp patches to fix freeze break on -base as explained on the list

Original commit message from CVS:
reverting rtp patches to fix freeze break on -base as explained on the list

18 years agogst/rtp/: Fix GObject macros.
Tim-Philipp Müller [Thu, 13 Apr 2006 09:01:17 +0000 (09:01 +0000)]
gst/rtp/: Fix GObject macros.

Original commit message from CVS:
* gst/rtp/gstasteriskh263.h:
* gst/rtp/gstrtpL16depay.h:
* gst/rtp/gstrtpL16pay.h:
* gst/rtp/gstrtpamrdepay.h:
* gst/rtp/gstrtpamrpay.h:
* gst/rtp/gstrtpdepay.h:
* gst/rtp/gstrtpgsmdepay.h:
* gst/rtp/gstrtpgsmpay.h:
* gst/rtp/gstrtph263pay.h:
* gst/rtp/gstrtph263pdepay.h:
* gst/rtp/gstrtph263ppay.h:
* gst/rtp/gstrtpilbcdepay.h:
* gst/rtp/gstrtpilbcpay.h:
* gst/rtp/gstrtpmp4gpay.h:
* gst/rtp/gstrtpmp4vdepay.h:
* gst/rtp/gstrtpmp4vpay.h:
* gst/rtp/gstrtpmpadepay.h:
* gst/rtp/gstrtpmpapay.h:
* gst/rtp/gstrtppcmadepay.h:
* gst/rtp/gstrtppcmapay.h:
* gst/rtp/gstrtppcmudepay.h:
* gst/rtp/gstrtppcmupay.h:
* gst/rtp/gstrtpspeexdepay.h:
* gst/rtp/gstrtpspeexpay.h:
Fix GObject macros.

18 years agogst/rtp/: Ported mulaw and alaw payloaders to use new base class
Philippe Kalaf [Thu, 13 Apr 2006 03:42:51 +0000 (03:42 +0000)]
gst/rtp/: Ported mulaw and alaw payloaders to use new base class

Original commit message from CVS:
2006-04-12 Philippe Kalaf <philippe.kalaf@collabora.co.uk>

* gst/rtp/gstrtppcmapay.c:
* gst/rtp/gstrtppcmapay.h:
* gst/rtp/gstrtppcmupay.c:
* gst/rtp/gstrtppcmupay.h:
Ported mulaw and alaw payloaders to use new base class
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c:
* gst/rtp/gstrtpilbcpay.c:
* gst/rtp/gstrtpilbcpay.h:
* gst/rtp/gstrtpilbcdepay.c:
* gst/rtp/gstrtpilbcdepay.h:
Added new iLBC payloader/depayloader. Payloader uses new audio payload base
class.

18 years agoFix to work in read mode.
Edgard Lima [Wed, 12 Apr 2006 21:57:02 +0000 (21:57 +0000)]
Fix to work in read mode.

Original commit message from CVS:
Fix to work in read mode.

18 years agoext/gdk_pixbuf/gstgdkpixbuf.c: Some cleanups.
Wim Taymans [Wed, 12 Apr 2006 09:42:10 +0000 (09:42 +0000)]
ext/gdk_pixbuf/gstgdkpixbuf.c: Some cleanups.

Original commit message from CVS:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_setcaps),
(gst_gdk_pixbuf_get_capslist), (gst_gdk_pixbuf_sink_getcaps),
(gst_gdk_pixbuf_class_init), (gst_gdk_pixbuf_init),
(gst_gdk_pixbuf_flush), (gst_gdk_pixbuf_sink_event),
(gst_gdk_pixbuf_chain):
Some cleanups.
Added RGBA as a possible output format.
Correctly free the supported mimetypes.
deprecate silent arg, it's not used.
Return result from _alloc_buffer to peer.

18 years agogst/rtp/gstrtpmp4vdepay.c: Don't leak memory allocated by gst_buffer_new_and_alloc...
Tim-Philipp Müller [Tue, 11 Apr 2006 18:03:36 +0000 (18:03 +0000)]
gst/rtp/gstrtpmp4vdepay.c: Don't leak memory allocated by gst_buffer_new_and_alloc() by overwriting GST_BUFFER_MALLOC...

Original commit message from CVS:
* gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_process):
Don't leak memory allocated by gst_buffer_new_and_alloc() by
overwriting GST_BUFFER_MALLOCDATA.

18 years agofix version number macro
Christian Schaller [Tue, 11 Apr 2006 15:27:31 +0000 (15:27 +0000)]
fix version number macro

Original commit message from CVS:
fix version number macro

18 years agoext/libpng/gstpngdec.*: Handle more than one frame if the content is framed, like...
Tim-Philipp Müller [Tue, 11 Apr 2006 09:35:45 +0000 (09:35 +0000)]
ext/libpng/gstpngdec.*: Handle more than one frame if the content is framed, like with png-in-quicktime (#331917).

Original commit message from CVS:
* ext/libpng/gstpngdec.c: (gst_pngdec_init),
(user_endrow_callback), (user_end_callback),
(gst_pngdec_caps_create_and_set), (gst_pngdec_chain),
(gst_pngdec_sink_setcaps), (gst_pngdec_sink_event),
(gst_pngdec_libpng_clear), (gst_pngdec_change_state):
* ext/libpng/gstpngdec.h:
Handle more than one frame if the content is framed,
like with png-in-quicktime (#331917).

18 years agosys/oss/: - the user-visible error strings were in the wrong category
Thomas Vander Stichele [Mon, 10 Apr 2006 19:55:31 +0000 (19:55 +0000)]
sys/oss/: - the user-visible error strings were in the wrong category

Original commit message from CVS:

* sys/oss/Makefile.am:
* sys/oss/common.h:
* sys/oss/gstosssink.c: (gst_oss_sink_init), (gst_oss_sink_open),
(gst_oss_sink_prepare), (gst_oss_sink_unprepare):
* sys/oss/gstosssrc.c: (gst_oss_src_prepare),
(gst_oss_src_unprepare):
- the user-visible error strings were in the wrong category
- and the messages were not marked for translation
- which is actually a good thing, because they were exactly
the kind of message you would never want anyone to see
- the macros were using variables that didn't exist in the macro
arguments
- and they were obviously copied from each other and then modified
- so a common header makes sense

18 years agogst/qtdemux/qtdemux.c: Fix parsing of newer stsd chunks again.
Wim Taymans [Mon, 10 Apr 2006 17:16:09 +0000 (17:16 +0000)]
gst/qtdemux/qtdemux.c: Fix parsing of newer stsd chunks again.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
Fix parsing of newer stsd chunks again.

18 years agogst/matroska/ebml-read.c: Don't try to modify read-only data.
Tim-Philipp Müller [Mon, 10 Apr 2006 16:09:03 +0000 (16:09 +0000)]
gst/matroska/ebml-read.c: Don't try to modify read-only data.

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_sint):
Don't try to modify read-only data.
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup_or_simpleblock):
Fix comment (won't crash any longer now).

18 years agoext/annodex/gstcmmlenc.c: Use copies of header buffers for caps to avoid circular...
Michael Smith [Mon, 10 Apr 2006 15:48:55 +0000 (15:48 +0000)]
ext/annodex/gstcmmlenc.c: Use copies of header buffers for caps to avoid circular refcounting problems (as in theorad...

Original commit message from CVS:
* ext/annodex/gstcmmlenc.c: (gst_cmml_enc_set_header_on_caps):
Use copies of header buffers for caps to avoid circular refcounting
problems (as in theoradec, vorbisdec).

* tests/check/elements/cmmldec.c: (GST_START_TEST):
Fix a typo in test that meant it was testing the wrong thing.

* tests/check/elements/cmmlenc.c: (check_headers):
Fix refcount checks now that we use buffer-copies for caps.

18 years agogst/matroska/matroska-demux.c: Use static pad templates with ANY caps for audio and...
Tim-Philipp Müller [Mon, 10 Apr 2006 15:43:54 +0000 (15:43 +0000)]
gst/matroska/matroska-demux.c: Use static pad templates with ANY caps for audio and video source pads and get rid of ...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init),
(gst_matroska_demux_handle_seek_event),
(gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps),
(gst_matroska_demux_subtitle_caps),
(gst_matroska_demux_plugin_init):
Use static pad templates with ANY caps for audio and video
source pads and get rid of a lot of unnecessary (and partially
broken) code for the template caps. Clean up caps finding
functions. Fixes playback of audio files/streams that do not
contain the sample rate and/or number of channels in the audio
context (happens a lot with vorbis/mp3 .mka files it seems).
Fixes #337183.
Also add myself to copyright holders.

18 years agoext/annodex/gstcmmlutils.c: Use g_list_delete_link () instead of g_list_remove_link...
Michael Smith [Mon, 10 Apr 2006 15:29:21 +0000 (15:29 +0000)]
ext/annodex/gstcmmlutils.c: Use g_list_delete_link () instead of g_list_remove_link () so that we free the link as we...

Original commit message from CVS:
* ext/annodex/gstcmmlutils.c: (gst_cmml_track_list_del_clip):
Use g_list_delete_link () instead of g_list_remove_link () so that
we free the link as well as the contained data.

18 years agogst/qtdemux/qtdemux.c: Fix framerate calculation.
Wim Taymans [Mon, 10 Apr 2006 14:20:41 +0000 (14:20 +0000)]
gst/qtdemux/qtdemux.c: Fix framerate calculation.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream),
(qtdemux_parse_trak):
Fix framerate calculation.

18 years agogst/avi/gstavidemux.c: Fix some crashers with empty chunks. (Fixes #337749)
Ryan Lortie (desrt) [Mon, 10 Apr 2006 10:10:55 +0000 (10:10 +0000)]
gst/avi/gstavidemux.c: Fix some crashers with empty chunks. (Fixes #337749)

Original commit message from CVS:
Patch by: Ryan Lortie (desrt) <desrt at destr dot ca>
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_superindex),
(gst_avi_demux_parse_stream), (gst_avi_demux_parse_index),
(gst_avi_demux_stream_header):
Fix some crashers with empty chunks. (Fixes #337749)

18 years agogst/qtdemux/qtdemux.c: force mono 8000 Hz on AMR samples.
Wim Taymans [Mon, 10 Apr 2006 08:31:40 +0000 (08:31 +0000)]
gst/qtdemux/qtdemux.c: force mono 8000 Hz on AMR samples.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
force mono 8000 Hz on AMR samples.

18 years agoext/neon/gstneonhttpsrc.c: remove atoll by using g_ascii_strtoull (atoll is not suppo...
Sébastien Moutte [Sun, 9 Apr 2006 18:30:51 +0000 (18:30 +0000)]
ext/neon/gstneonhttpsrc.c: remove atoll by using g_ascii_strtoull (atoll is not supported on WIN32)

Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_start):
remove atoll by using g_ascii_strtoull (atoll is not supported on WIN32)
* sys/directdraw/gstdirectdrawsink.c:
* sys/directsound/gstdirectsoundsink.c:
done some cleans in sources
* win32/vs6:
add project files for neon, qtdemux

18 years agogst/level/gstlevel.c: use G_GINT64_CONSTANT for INT64 constants
Sébastien Moutte [Sun, 9 Apr 2006 17:31:37 +0000 (17:31 +0000)]
gst/level/gstlevel.c: use G_GINT64_CONSTANT for INT64 constants

Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_set_caps),(gst_level_transform_ip):
use G_GINT64_CONSTANT for INT64 constants
* gst/videofilter/gstvideobalance.c:
define rint for WIN32 #define rint(x) (floor((x)+0.5))
* win32/vs6/libgstavi.dsp:
add missing libraries for the link and remove avimux.c from
the project as it isn't ported to 0.10 yet

18 years agogst/matroska/ebml-read.c: Even better would be if we actually did the right thing...
Tim-Philipp Müller [Sun, 9 Apr 2006 14:00:32 +0000 (14:00 +0000)]
gst/matroska/ebml-read.c: Even better would be if we actually did the right thing here (also, G_GUINT64_CONSTANT only...

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_sint):
Even better would be if we actually did the right thing
here (also, G_GUINT64_CONSTANT only exists since GLib-2.10).

18 years agogst/matroska/ebml-read.c: Can't just replace 1LL with 1L here just because MSVC doesn...
Tim-Philipp Müller [Sun, 9 Apr 2006 13:52:03 +0000 (13:52 +0000)]
gst/matroska/ebml-read.c: Can't just replace 1LL with 1L here just because MSVC doesn't support it, as it might lead ...

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_sint):
Can't just replace 1LL with 1L here just because MSVC doesn't
support it, as it might lead to incorrect results when doing the
bitshifting here. Using GLib's G_GUINT64_CONSTANT() macro to
force a 64-bit constant in a way that all compilers are happy with.

18 years agoFix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Stefan Kost [Sat, 8 Apr 2006 21:48:01 +0000 (21:48 +0000)]
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_class_init):
* ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_class_init):
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_class_init):
* ext/arts/gst_arts.c: (gst_arts_class_init):
* ext/artsd/gstartsdsink.c: (gst_artsdsink_class_init):
* ext/audiofile/gstafsink.c: (gst_afsink_class_init):
* ext/audiofile/gstafsrc.c: (gst_afsrc_class_init):
* ext/audioresample/gstaudioresample.c:
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init):
* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_class_init):
* ext/divx/gstdivxdec.c: (gst_divxdec_class_init):
* ext/hermes/gsthermescolorspace.c:
(gst_hermes_colorspace_class_init):
* ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_class_init):
* ext/jack/gstjack.c: (gst_jack_class_init):
* ext/jack/gstjackbin.c: (gst_jack_bin_class_init):
* ext/lcs/gstcolorspace.c: (gst_colorspace_class_init):
* ext/libfame/gstlibfame.c: (gst_fameenc_class_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_class_init):
* ext/nas/nassink.c: (gst_nassink_class_init):
* ext/shout/gstshout.c: (gst_icecastsend_class_init):
* ext/snapshot/gstsnapshot.c: (gst_snapshot_class_init):
* ext/sndfile/gstsf.c: (gst_sf_class_init):
* ext/swfdec/gstswfdec.c: (gst_swfdecbuffer_class_init),
(gst_swfdec_class_init):
* ext/tarkin/gsttarkindec.c: (gst_tarkindec_class_init):
* ext/tarkin/gsttarkinenc.c: (gst_tarkinenc_class_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_class_init):
* gst/chart/gstchart.c: (gst_chart_class_init):
* gst/colorspace/gstcolorspace.c: (gst_colorspace_class_init):
* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_class_init):
* gst/festival/gstfestival.c: (gst_festival_class_init):
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init):
* gst/filter/gstiir.c: (gst_iir_class_init):
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init):
* gst/librfb/gstrfbsrc.c: (gst_rfbsrc_class_init):
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_class_init):
* gst/mpeg1sys/gstmpeg1systemencode.c:
(gst_system_encode_class_init):
* gst/mpeg1videoparse/gstmp1videoparse.c:
(gst_mp1videoparse_class_init):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_class_init):
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_class_init):
* gst/overlay/gstoverlay.c: (gst_overlay_class_init):
* gst/passthrough/gstpassthrough.c: (passthrough_class_init):
* gst/playondemand/gstplayondemand.c: (play_on_demand_class_init):
* gst/rtjpeg/gstrtjpegdec.c: (gst_rtjpegdec_class_init):
* gst/rtjpeg/gstrtjpegenc.c: (gst_rtjpegenc_class_init):
* gst/smooth/gstsmooth.c: (gst_smooth_class_init):
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_class_init):
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init):
* gst/stereo/gststereo.c: (gst_stereo_class_init):
* gst/switch/gstswitch.c: (gst_switch_class_init):
* gst/tta/gstttadec.c: (gst_tta_dec_class_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_class_init):
* gst/vbidec/gstvbidec.c: (gst_vbidec_class_init):
* gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init):
* gst/virtualdub/gstxsharpen.c: (gst_xsharpen_class_init):
* gst/y4m/gsty4mencode.c: (gst_y4mencode_class_init):
* sys/cdrom/gstcdplayer.c: (cdplayer_class_init):
* sys/directsound/gstdirectsoundsink.c:
(gst_directsoundsink_class_init):
* sys/dxr3/dxr3audiosink.c: (dxr3audiosink_class_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_class_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_class_init):
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_class_init):
* sys/v4l2/gstv4l2colorbalance.c:
(gst_v4l2_color_balance_channel_class_init):
* sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_channel_class_init),
(gst_v4l2_tuner_norm_class_init):
* sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

18 years agoFix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Stefan Kost [Sat, 8 Apr 2006 21:21:45 +0000 (21:21 +0000)]
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

Original commit message from CVS:
* ext/aalib/gstaasink.c: (gst_aasink_class_init):
* ext/esd/esdsink.c: (gst_esdsink_class_init):
* ext/flac/gstflactag.c: (gst_flac_tag_class_init):
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_class_init):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_class_init):
* ext/jpeg/gstsmokedec.c: (gst_smokedec_class_init):
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init):
* ext/libcaca/gstcacasink.c: (gst_cacasink_class_init):
* ext/libmng/gstmngdec.c: (gst_mngdec_class_init):
* ext/libmng/gstmngenc.c: (gst_mngenc_class_init):
* ext/libpng/gstpngdec.c: (gst_pngdec_class_init):
* ext/libpng/gstpngenc.c: (gst_pngenc_class_init):
* ext/mikmod/gstmikmod.c: (gst_mikmod_class_init):
* ext/shout2/gstshout2.c: (gst_shout2send_class_init):
* ext/speex/gstspeexenc.c: (gst_speexenc_class_init):
* gst/alpha/gstalpha.c: (gst_alpha_class_init):
* gst/avi/gstavimux.c: (gst_avimux_class_init):
* gst/debug/efence.c: (gst_efence_class_init):
* gst/debug/negotiation.c: (gst_negotiation_class_init):
* gst/flx/gstflxdec.c: (gst_flxdec_class_init):
* gst/goom/gstgoom.c: (gst_goom_class_init):
* gst/id3demux/gstid3demux.c: (gst_id3demux_class_init):
* gst/interleave/deinterleave.c: (deinterleave_class_init):
* gst/interleave/interleave.c: (interleave_class_init):
* gst/law/alaw-decode.c: (gst_alawdec_class_init):
* gst/law/alaw-encode.c: (gst_alawenc_class_init):
* gst/law/mulaw-encode.c: (gst_mulawenc_class_init):
* gst/median/gstmedian.c: (gst_median_class_init):
* gst/monoscope/gstmonoscope.c: (gst_monoscope_class_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init):
* gst/rtp/gstasteriskh263.c: (gst_asteriskh263_class_init):
* gst/rtp/gstrtpL16depay.c: (gst_rtp_L16depay_class_init):
* gst/rtp/gstrtpL16pay.c: (gst_rtpL16pay_class_init):
* gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_class_init):
* gst/rtp/gstrtpamrpay.c: (gst_rtp_amr_pay_class_init):
* gst/rtp/gstrtpdepay.c: (gst_rtp_depay_class_init):
* gst/rtp/gstrtpgsmdepay.c: (gst_rtp_gsm_depay_class_init):
* gst/rtp/gstrtpgsmpay.c: (gst_rtp_gsm_pay_class_init):
* gst/rtp/gstrtph263pay.c: (gst_rtp_h263_pay_class_init):
* gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_class_init):
* gst/rtp/gstrtph263ppay.c: (gst_rtp_h263p_pay_class_init):
* gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_class_init):
* gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_class_init):
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_class_init):
* gst/rtp/gstrtpmpadepay.c: (gst_rtp_mpa_depay_class_init):
* gst/rtp/gstrtpmpapay.c: (gst_rtp_mpa_pay_class_init):
* gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_class_init):
* gst/rtp/gstrtppcmapay.c: (gst_rtp_pcma_pay_class_init):
* gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_class_init):
* gst/rtp/gstrtppcmupay.c: (gst_rtp_pcmu_pay_class_init):
* gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_class_init):
* gst/rtp/gstrtpspeexpay.c: (gst_rtp_speex_pay_class_init):
* gst/rtsp/gstrtpdec.c: (gst_rtpdec_class_init):
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init):
* gst/smpte/gstsmpte.c: (gst_smpte_class_init):
* gst/udp/gstdynudpsink.c: (gst_dynudpsink_class_init):
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init):
* gst/udp/gstudpsink.c: (gst_udpsink_class_init):
* gst/videomixer/videomixer.c: (gst_videomixer_class_init):
* gst/wavenc/gstwavenc.c: (gst_wavenc_class_init):
* sys/oss/gstossdmabuffer.c: (gst_ossdmabuffer_class_init):
* sys/oss/gstosssink.c: (gst_oss_sink_class_init):
* sys/osxaudio/gstosxaudioelement.c:
(gst_osxaudioelement_class_init):
* sys/osxaudio/gstosxaudiosink.c: (gst_osxaudiosink_class_init):
* sys/osxaudio/gstosxaudiosrc.c: (gst_osxaudiosrc_class_init):
* sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

18 years agoFix more broken GObject macros
Stefan Kost [Sat, 8 Apr 2006 19:06:25 +0000 (19:06 +0000)]
Fix more broken GObject macros

Original commit message from CVS:
* ext/mikmod/gstmikmod.h:
* gst/level/gstlevel.h:
Fix more broken GObject macros

18 years agoFix broken GObject macros
Stefan Kost [Sat, 8 Apr 2006 18:41:07 +0000 (18:41 +0000)]
Fix broken GObject macros

Original commit message from CVS:
* ext/xine/gstxine.h:
* gst-libs/gst/play/play.h:
* sys/v4l2/gstv4l2element.h:
* sys/ximagesrc/ximageutil.h:
Fix broken GObject macros

18 years agoFix broken GObject macros
Stefan Kost [Sat, 8 Apr 2006 18:25:55 +0000 (18:25 +0000)]
Fix broken GObject macros

Original commit message from CVS:
* ext/annodex/gstcmmldec.h:
* ext/annodex/gstcmmlenc.h:
* ext/annodex/gstcmmltag.h:
* ext/cairo/gsttextoverlay.h:
* ext/ladspa/gstsignalprocessor.h:
* gst/matroska/ebml-read.h:
* gst/matroska/ebml-write.h:
* sys/osxaudio/gstosxaudioelement.h:
Fix broken GObject macros

18 years agogst/qtdemux/qtdemux.c: Don't make rounding errors in timestamp/duration calculations.
Wim Taymans [Sat, 8 Apr 2006 18:23:04 +0000 (18:23 +0000)]
gst/qtdemux/qtdemux.c: Don't make rounding errors in timestamp/duration calculations.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_prepare_current_sample),
(gst_qtdemux_chain), (gst_qtdemux_add_stream), (qtdemux_dump_stsz),
(qtdemux_dump_stco), (qtdemux_parse_trak):
Don't make rounding errors in timestamp/duration calculations.
Fix timestamps for AMR and IMA4.  Fixes (#337436).
Create a dummy segment even when there is no edit list.

18 years agoext/flac/gstflacdec.c: Don't try to seek beyond the end of the file (would occasional...
Tim-Philipp Müller [Sat, 8 Apr 2006 13:09:50 +0000 (13:09 +0000)]
ext/flac/gstflacdec.c: Don't try to seek beyond the end of the file (would occasionally display error dialogs in tote...

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_handle_seek_event):
Don't try to seek beyond the end of the file (would
occasionally display error dialogs in totem when seeking
to the end) (#335869). Will still throw an error though
if the file is truncated and the total_samples value in
the stream header is wrong.

18 years agoext/flac/gstflacdec.*: If the stream header doesn't contain the total number of sampl...
Tim-Philipp Müller [Fri, 7 Apr 2006 18:15:08 +0000 (18:15 +0000)]
ext/flac/gstflacdec.*: If the stream header doesn't contain the total number of samples, search for the last flac fra...

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_calculate_crc8),
(gst_flac_dec_scan_got_frame), (gst_flac_dec_scan_for_last_block),
(gst_flac_dec_metadata_callback):
* ext/flac/gstflacdec.h:
If the stream header doesn't contain the total number of samples,
search for the last flac frame at the end of the file and calculate
the total duration from that frame's offset (fixes #337609).

18 years agoTypo fix, s/XFree86/X11 and added doc blurb saying that it fixates to 25fps
Zaheer Abbas Merali [Fri, 7 Apr 2006 15:53:43 +0000 (15:53 +0000)]
Typo fix, s/XFree86/X11 and added doc blurb saying that it fixates to 25fps

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

* ext/amrwb/amrwb-code/Makefile.am:
* sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_recalc),
(gst_ximagesrc_create), (gst_ximagesrc_set_property):
Typo fix, s/XFree86/X11 and added doc blurb saying that it fixates to
25fps

18 years agotests/icles/ximagesrc-test.c: Actually assert that pipeline goes to playing
Zaheer Abbas Merali [Fri, 7 Apr 2006 15:47:27 +0000 (15:47 +0000)]
tests/icles/ximagesrc-test.c: Actually assert that pipeline goes to playing

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

* tests/icles/ximagesrc-test.c: (main):
Actually assert that pipeline goes to playing

18 years agosys/ximagesrc/ximagesrc.c: Fix typo, C++ style comments and other small cleanups
Zaheer Abbas Merali [Fri, 7 Apr 2006 15:27:40 +0000 (15:27 +0000)]
sys/ximagesrc/ximagesrc.c: Fix typo, C++ style comments and other small cleanups

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

* sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_recalc),
(composite_pixel), (gst_ximagesrc_ximage_get),
(gst_ximagesrc_create), (gst_ximagesrc_set_property):
Fix typo, C++ style comments and other small cleanups

18 years agogst/avi/gstavidemux.c: Don't unref the GstPadTemplate returned by gst_element_class_g...
Edward Hervey [Fri, 7 Apr 2006 10:48:19 +0000 (10:48 +0000)]
gst/avi/gstavidemux.c: Don't unref the GstPadTemplate returned by gst_element_class_get_pad_template().

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream):
Don't unref the GstPadTemplate returned by
gst_element_class_get_pad_template().

18 years agogst/qtdemux/qtdemux.c: Added full edit list support.
Wim Taymans [Thu, 6 Apr 2006 19:16:02 +0000 (19:16 +0000)]
gst/qtdemux/qtdemux.c: Added full edit list support.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_handle_src_query), (gst_qtdemux_find_index),
(gst_qtdemux_find_keyframe), (gst_qtdemux_find_segment),
(gst_qtdemux_move_stream), (gst_qtdemux_perform_seek),
(gst_qtdemux_do_seek), (gst_qtdemux_change_state),
(gst_qtdemux_activate_segment),
(gst_qtdemux_prepare_current_sample), (gst_qtdemux_advance_sample),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop),
(qtdemux_parse_trak):
Added full edit list support.
Avoid overflows in prologue image detection code.
Avoid roundoff errors in timestamp calculations.

18 years agoUnify the long descriptions in the plugin details (#337263).
j^ [Thu, 6 Apr 2006 11:35:26 +0000 (11:35 +0000)]
Unify the long descriptions in the plugin details (#337263).

Original commit message from CVS:
Patch by: j^  <j at bootlab dot org>
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbparse.c:
* ext/arts/gst_arts.c:
* ext/artsd/gstartsdsink.c:
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/cdaudio/gstcdaudio.c:
* ext/directfb/dfbvideosink.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
* ext/faac/gstfaac.c: (gst_faac_base_init):
* ext/faad/gstfaad.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/hermes/gsthermescolorspace.c:
* ext/ivorbis/vorbisfile.c:
* ext/lcs/gstcolorspace.c:
* ext/libfame/gstlibfame.c:
* ext/libmms/gstmms.c: (gst_mms_base_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/nas/nassink.c: (gst_nassink_base_init):
* ext/neon/gstneonhttpsrc.c:
* ext/polyp/polypsink.c: (gst_polypsink_base_init):
* ext/sdl/sdlaudiosink.c:
* ext/sdl/sdlvideosink.c:
* ext/shout/gstshout.c:
* ext/snapshot/gstsnapshot.c:
* ext/sndfile/gstsf.c:
* ext/tarkin/gsttarkindec.c:
* ext/tarkin/gsttarkinenc.c:
* ext/theora/theoradec.c:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init):
* gst/chart/gstchart.c:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
* gst/festival/gstfestival.c:
* gst/filter/gstiir.c:
* gst/filter/gstlpwsinc.c:
* gst/freeze/gstfreeze.c:
* gst/games/gstpuzzle.c: (gst_puzzle_base_init):
* gst/mixmatrix/mixmatrix.c:
* gst/mpeg1sys/gstmpeg1systemencode.c:
* gst/mpeg1videoparse/gstmp1videoparse.c:
* gst/mpeg2sub/gstmpeg2subt.c:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/multifilesink/gstmultifilesink.c:
* gst/overlay/gstoverlay.c:
* gst/passthrough/gstpassthrough.c:
* gst/playondemand/gstplayondemand.c:
* gst/qtdemux/qtdemux.c:
* gst/rtjpeg/gstrtjpegdec.c:
* gst/rtjpeg/gstrtjpegenc.c:
* gst/smooth/gstsmooth.c:
* gst/tta/gstttadec.c: (gst_tta_dec_base_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
* gst/videocrop/gstvideocrop.c:
* gst/videodrop/gstvideodrop.c:
* gst/virtualdub/gstxsharpen.c:
* gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init):
* gst/y4m/gsty4mencode.c:
Unify the long descriptions in the plugin details (#337263).

18 years agosys/sunaudio/gstsunaudiosink.*: Use spec->segsize and spec->segtotal in the prepare...
Brian Cameron [Thu, 6 Apr 2006 09:14:30 +0000 (09:14 +0000)]
sys/sunaudio/gstsunaudiosink.*: Use spec->segsize and spec->segtotal in the prepare function to initialise the ring b...

Original commit message from CVS:
Patch by: Brian Cameron  <brian dot cameron at sun dot com>
* sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_init),
(gst_sunaudiosink_prepare), (gst_sunaudiosink_write):
* sys/sunaudio/gstsunaudiosink.h:
Use spec->segsize and spec->segtotal in the prepare function
to initialise the ring buffer instead of using the buffer-time
property (#337421).

18 years agoconfigure.ac: Bump core requirements to CVS for gst_pad_query_peer_duration() which...
Tim-Philipp Müller [Thu, 6 Apr 2006 08:52:51 +0000 (08:52 +0000)]
configure.ac: Bump core requirements to CVS for gst_pad_query_peer_duration() which is used by speexdec.

Original commit message from CVS:
* configure.ac:
Bump core requirements to CVS for gst_pad_query_peer_duration()
which is used by speexdec.

18 years agoext/speex/: Fix seeking and duration queries (#337033); clean up and refactor a bit.
Tim-Philipp Müller [Wed, 5 Apr 2006 18:27:22 +0000 (18:27 +0000)]
ext/speex/: Fix seeking and duration queries (#337033); clean up and refactor a bit.

Original commit message from CVS:
* ext/speex/gstspeex.c: (plugin_init):
* ext/speex/gstspeexdec.c: (gst_speex_dec_class_init),
(gst_speex_dec_reset), (gst_speex_dec_init), (speex_dec_convert),
(speex_get_sink_query_types), (speex_dec_sink_query),
(speex_get_src_query_types), (speex_dec_src_query),
(speex_dec_src_event), (speex_dec_sink_event),
(speex_dec_chain_parse_header), (speex_dec_chain_parse_comments),
(speex_dec_chain_parse_data), (speex_dec_chain),
(gst_speex_dec_get_property), (gst_speex_dec_set_property),
(speex_dec_change_state):
* ext/speex/gstspeexdec.h:
Fix seeking and duration queries (#337033); clean up and
refactor a bit.

18 years agoext/raw1394/gstdv1394src.c: distinguish between device not found and could not open...
Thomas Vander Stichele [Wed, 5 Apr 2006 12:41:14 +0000 (12:41 +0000)]
ext/raw1394/gstdv1394src.c: distinguish between device not found and could not open for reading

Original commit message from CVS:

* ext/raw1394/gstdv1394src.c:
distinguish between device not found and could not open for
reading

18 years agogst/qtdemux/qtdemux.c: Use duration as segment stop position if none is explicitly...
Wim Taymans [Wed, 5 Apr 2006 08:36:55 +0000 (08:36 +0000)]
gst/qtdemux/qtdemux.c: Use duration as segment stop position if none is explicitly configured.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_perform_seek),
(gst_qtdemux_do_seek), (gst_qtdemux_loop_state_movie),
(gst_qtdemux_loop):
Use duration as segment stop position if none is
explicitly configured.
Also perform EOS when we run past the segment stop.

18 years agogst/qtdemux/qtdemux.c: More cleanups, added comments.
Wim Taymans [Tue, 4 Apr 2006 11:20:58 +0000 (11:20 +0000)]
gst/qtdemux/qtdemux.c: More cleanups, added comments.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_go_back),
(gst_qtdemux_perform_seek), (gst_qtdemux_do_seek),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop),
(gst_qtdemux_chain), (qtdemux_parse_tree), (qtdemux_parse_trak):
More cleanups, added comments.
Mark discontinuities on outgoing buffers.
Post better errors when something goes wrong.
Handle EOS and segment end properly.

18 years agogst/qtdemux/qtdemux.*: Handle stss boxes so we can mark and find keyframes.
Wim Taymans [Tue, 4 Apr 2006 08:31:10 +0000 (08:31 +0000)]
gst/qtdemux/qtdemux.*: Handle stss boxes so we can mark and find keyframes.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_push_event), (gst_qtdemux_go_back),
(gst_qtdemux_perform_seek), (gst_qtdemux_do_seek),
(gst_qtdemux_handle_src_event), (plugin_init),
(gst_qtdemux_change_state), (gst_qtdemux_loop_state_movie),
(gst_qtdemux_loop), (gst_qtdemux_chain),
(qtdemux_sink_activate_pull), (gst_qtdemux_add_stream),
(qtdemux_parse), (qtdemux_parse_tree), (qtdemux_parse_trak),
(qtdemux_parse_udta), (qtdemux_tag_add_str), (qtdemux_tag_add_num),
(qtdemux_tag_add_gnre), (gst_qtdemux_handle_esds):
* gst/qtdemux/qtdemux.h:
Handle stss boxes so we can mark and find keyframes.
Implement correct accurate and keyframe seeking.
Use _DEBUG_OBJECT when possible.

18 years agoignore more
Thomas Vander Stichele [Mon, 3 Apr 2006 13:29:20 +0000 (13:29 +0000)]
ignore more

Original commit message from CVS:
ignore more

18 years agofix dist
Thomas Vander Stichele [Mon, 3 Apr 2006 13:28:55 +0000 (13:28 +0000)]
fix dist

Original commit message from CVS:
fix dist

18 years agoadd a .pc file so other modules can use good plugins in tests
Thomas Vander Stichele [Mon, 3 Apr 2006 09:02:29 +0000 (09:02 +0000)]
add a .pc file so other modules can use good plugins in tests

Original commit message from CVS:

* Makefile.am:
* configure.ac:
* pkgconfig/.cvsignore:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-plugins-good-uninstalled.pc.in:
add a .pc file so other modules can use good plugins in tests

18 years agoadd taglib checks and docs
Thomas Vander Stichele [Sat, 1 Apr 2006 16:50:49 +0000 (16:50 +0000)]
add taglib checks and docs

Original commit message from CVS:
add taglib checks and docs

18 years agodisable use of AS_LIBTOOL_TAGS, it doesn't work correctly
Thomas Vander Stichele [Sat, 1 Apr 2006 15:30:51 +0000 (15:30 +0000)]
disable use of AS_LIBTOOL_TAGS, it doesn't work correctly

Original commit message from CVS:
disable use of AS_LIBTOOL_TAGS, it doesn't work correctly

18 years agoadding inspect files
Thomas Vander Stichele [Sat, 1 Apr 2006 14:03:03 +0000 (14:03 +0000)]
adding inspect files

Original commit message from CVS:
adding inspect files

18 years ago5 second timeout
Thomas Vander Stichele [Sat, 1 Apr 2006 10:15:33 +0000 (10:15 +0000)]
5 second timeout

Original commit message from CVS:
5 second timeout

18 years agorename test
Thomas Vander Stichele [Sat, 1 Apr 2006 10:14:26 +0000 (10:14 +0000)]
rename test

Original commit message from CVS:
rename test

18 years agorework build; add translations for v4l2
Thomas Vander Stichele [Sat, 1 Apr 2006 10:09:11 +0000 (10:09 +0000)]
rework build; add translations for v4l2

Original commit message from CVS:
rework build; add translations for v4l2

18 years agoconfigure.ac: clean up, use AS_VERSION and AS_NANO
Thomas Vander Stichele [Sat, 1 Apr 2006 09:56:45 +0000 (09:56 +0000)]
configure.ac: clean up, use AS_VERSION and AS_NANO

Original commit message from CVS:

* configure.ac:
clean up, use AS_VERSION and AS_NANO
* gst/matroska/matroska-mux.c: (gst_matroska_mux_start):
use PACKAGE_VERSION define
* po/af.po:
* po/az.po:
* po/cs.po:
* po/en_GB.po:
* po/hu.po:
* po/it.po:
* po/nb.po:
* po/nl.po:
* po/or.po:
* po/sq.po:
* po/sr.po:
* po/sv.po:
* po/uk.po:
* po/vi.po:
updated

18 years agoAdd tests and fix PAR caps issue to ximagesrc
Zaheer Abbas Merali [Fri, 31 Mar 2006 17:52:36 +0000 (17:52 +0000)]
Add tests and fix PAR caps issue to ximagesrc

Original commit message from CVS:
2006-03-31  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* Makefile.am:
* configure.ac:
* sys/ximagesrc/ximagesrc.c:
(gst_ximagesrc_ximage_get),
(gst_ximagesrc_get_caps), (gst_ximagesrc_class_init):
* sys/ximagesrc/ximageutil.c:
* tests/Makefile.am:
* tests/icles/Makefile.am:
* tests/icles/ximagesrc-test.c: (terminate_playback), (main):
Add tests and fix PAR caps issue to ximagesrc

18 years agosys/ximagesrc/ximagesrc.c: Add docs to ximagesrc
Zaheer Abbas Merali [Fri, 31 Mar 2006 16:32:47 +0000 (16:32 +0000)]
sys/ximagesrc/ximagesrc.c: Add docs to ximagesrc

Original commit message from CVS:
2006-03-31  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/ximagesrc/ximagesrc.c:
Add docs to ximagesrc

18 years agosys/ximagesrc/: Fix ximagesrc so a) the cursor doesnt trail and b) there are no yello...
Zaheer Abbas Merali [Fri, 31 Mar 2006 15:21:35 +0000 (15:21 +0000)]
sys/ximagesrc/: Fix ximagesrc so a) the cursor doesnt trail and b) there are no yellow rectangles with the cursor

Original commit message from CVS:
2006-03-31  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/ximagesrc/ximagesrc.c: (composite_pixel),
(gst_ximagesrc_ximage_get), (gst_ximagesrc_set_property),
(gst_ximagesrc_get_caps), (gst_ximagesrc_class_init):
* sys/ximagesrc/ximagesrc.h:
* sys/ximagesrc/ximageutil.c: (ximageutil_xcontext_get):
* sys/ximagesrc/ximageutil.h:
Fix ximagesrc so a) the cursor doesnt trail and b) there are no
yellow rectangles with the cursor

18 years agoI'm too lazy to comment this
Sébastien Moutte [Thu, 30 Mar 2006 23:46:42 +0000 (23:46 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
*** empty log message ***

18 years agoext\jpeg\smokecodec.c: use of GST_DEBUG instead of DEBUG(a...) for WIN32
Sébastien Moutte [Thu, 30 Mar 2006 23:37:16 +0000 (23:37 +0000)]
ext\jpeg\smokecodec.c: use of GST_DEBUG instead of DEBUG(a...) for WIN32

Original commit message from CVS:
* ext\jpeg\smokecodec.c:
use of GST_DEBUG instead of DEBUG(a...) for WIN32
* ext\speex\gstspeexenc.c: (gst_speexenc_set_header_on_caps):
move first instruction after all variables declarations
* gst\alpha\gstalpha.c:
* gst\effectv\gstshagadelic.c:
* gst\smpte\paint.c:
* gst\videofilter\gstvideobalance.c:
define M_PI if it's not defined (it's not defined on WIN32)
* gst\cutter\gstcutter.c: (gst_cutter_chain):
* gst\id3demux\id3v2frames.c: (parse_relative_volume_adjustment_two):
* gst\level\gstlevel.c: (gst_level_set_property), (gst_level_transform_ip):
* gst\matroska\matroska-demux.c: (gst_matroska_demux_parse_info),
(gst_matroska_demux_video_caps):
* gst\matroska\matroska-mux.c: (gst_matroska_mux_start), (gst_matroska_mux_finish):
* gst\wavparse\gstwavparse.c: (gst_wavparse_stream_data):
use gst_guint64_to_gdouble for conversions
* gst\goom\filters.c: (setPixelRGB_):
fix a debug which was using undefined variable
* gst\level\gstlevel.c: (gst_level_set_caps), (gst_level_transform_ip):
* gst\matroska\ebml-read.c: (gst_ebml_read_sint):
replace LL suffix with L suffix (LL isn't supported by MSVC6.0)
* win32/vs6:
add vs6 projects files for most of plugins-good

18 years agobetter/unified long descriptions
Wim Taymans [Thu, 30 Mar 2006 15:37:05 +0000 (15:37 +0000)]
better/unified long descriptions

Original commit message from CVS:
* ext/aalib/gstaasink.c:
* ext/annodex/gstcmmldec.c:
* ext/annodex/gstcmmlenc.c:
* ext/cairo/gsttextoverlay.c:
* ext/cairo/gsttimeoverlay.c:
* ext/cdio/gstcdiocddasrc.c:
* ext/dv/gstdvdec.c:
* ext/esd/esdmon.c:
* ext/esd/esdsink.c:
* ext/flac/gstflacdec.c:
* ext/flac/gstflacenc.c:
* ext/flac/gstflactag.c:
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init):
* ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_base_init):
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init):
* ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_base_init):
* ext/gdk_pixbuf/gstgdkpixbuf.c:
* ext/gdk_pixbuf/pixbufscale.c:
* ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init):
* ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init):
* ext/jpeg/gstjpegdec.c:
* ext/jpeg/gstjpegenc.c:
* ext/jpeg/gstsmokedec.c:
* ext/jpeg/gstsmokeenc.c:
* ext/libcaca/gstcacasink.c:
* ext/libmng/gstmngdec.c:
* ext/libmng/gstmngenc.c:
* ext/libpng/gstpngdec.c:
* ext/libpng/gstpngenc.c:
* ext/mikmod/gstmikmod.c:
* ext/raw1394/gstdv1394src.c:
* ext/shout2/gstshout2.c:
* ext/speex/gstspeexdec.c:
* ext/speex/gstspeexenc.c:
* gst/alpha/gstalpha.c:
* gst/alpha/gstalphacolor.c:
* gst/auparse/gstauparse.c:
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_base_init):
* gst/avi/gstavimux.c: (gst_avimux_base_init):
* gst/cutter/gstcutter.c:
* gst/debug/breakmydata.c:
* gst/debug/efence.c:
* gst/debug/gstnavigationtest.c:
* gst/debug/negotiation.c:
* gst/debug/progressreport.c:
* gst/debug/testplugin.c:
* gst/effectv/gstaging.c:
* gst/effectv/gstdice.c:
* gst/effectv/gstedge.c:
* gst/effectv/gstquark.c:
* gst/effectv/gstrev.c:
* gst/effectv/gstvertigo.c:
* gst/effectv/gstwarp.c:
* gst/flx/gstflxdec.c:
* gst/goom/gstgoom.c:
* gst/interleave/deinterleave.c:
* gst/interleave/interleave.c:
* gst/law/alaw-decode.c: (gst_alawdec_base_init):
* gst/law/alaw-encode.c: (gst_alawenc_base_init):
* gst/law/mulaw-decode.c: (gst_mulawdec_base_init):
* gst/law/mulaw-encode.c: (gst_mulawenc_base_init):
* gst/level/gstlevel.c:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_base_init):
* gst/median/gstmedian.c:
* gst/monoscope/gstmonoscope.c:
* gst/multipart/multipartdemux.c:
* gst/multipart/multipartmux.c:
* gst/oldcore/gstmd5sink.c:
* gst/oldcore/gstmultifilesrc.c:
* gst/oldcore/gstpipefilter.c:
* gst/oldcore/gstshaper.c:
* gst/oldcore/gststatistics.c:
* gst/rtp/gstasteriskh263.c:
* gst/rtp/gstrtpL16depay.c:
* gst/rtp/gstrtpL16pay.c:
* gst/rtp/gstrtpamrdepay.c:
* gst/rtp/gstrtpamrpay.c:
* gst/rtp/gstrtpdepay.c:
* gst/rtp/gstrtpgsmpay.c:
* gst/rtp/gstrtph263pay.c:
* gst/rtp/gstrtph263pdepay.c:
* gst/rtp/gstrtph263ppay.c:
* gst/rtp/gstrtpmp4gpay.c:
* gst/rtp/gstrtpmp4vdepay.c:
* gst/rtp/gstrtpmp4vpay.c:
* gst/rtp/gstrtpmpadepay.c:
* gst/rtp/gstrtpmpapay.c:
* gst/rtp/gstrtppcmadepay.c:
* gst/rtp/gstrtppcmapay.c:
* gst/rtp/gstrtppcmudepay.c:
* gst/rtp/gstrtppcmupay.c:
* gst/rtp/gstrtpspeexdepay.c:
* gst/rtp/gstrtpspeexpay.c:
* gst/rtsp/gstrtpdec.c:
* gst/smpte/gstsmpte.c:
* gst/videobox/gstvideobox.c:
* gst/videofilter/gstgamma.c: (gst_gamma_base_init):
* gst/videofilter/gstvideobalance.c:
* gst/videofilter/gstvideoflip.c:
* gst/videofilter/gstvideotemplate.c:
(gst_videotemplate_base_init):
* gst/videomixer/videomixer.c:
* gst/wavenc/gstwavenc.c:
* gst/wavparse/gstwavparse.c: (gst_wavparse_base_init):
better/unified long descriptions
Fixed #336602
Some cleanups to auparse, don't send multiple newsegments.

18 years agoext/dv/gstdvdemux.*: Seek in READY patch. Only works for pull based mode.
Michael Dominic K [Wed, 29 Mar 2006 16:06:50 +0000 (16:06 +0000)]
ext/dv/gstdvdemux.*: Seek in READY patch. Only works for pull based mode.

Original commit message from CVS:
From a patch by: Michael Dominic K. <mdk at mdk dot org dot pl>
* ext/dv/gstdvdemux.c: (gst_dvdemux_class_init),
(gst_dvdemux_reset), (gst_dvdemux_src_convert),
(gst_dvdemux_send_event), (gst_dvdemux_flush), (gst_dvdemux_loop),
(gst_dvdemux_sink_activate_pull), (gst_dvdemux_change_state):
* ext/dv/gstdvdemux.h:
Seek in READY patch. Only works for pull based mode.
Fixes #323880

18 years agoSmall fix, now pwc driver can tell about its buffers.
Edgard Lima [Mon, 27 Mar 2006 17:06:45 +0000 (17:06 +0000)]
Small fix, now pwc driver can tell about its buffers.

Original commit message from CVS:
Small fix, now pwc driver can tell about its buffers.

18 years agoext/gdk_pixbuf/gstgdkpixbuf.c: Fix two crashers: don't unref the same caps twice...
Tim-Philipp Müller [Mon, 27 Mar 2006 14:09:18 +0000 (14:09 +0000)]
ext/gdk_pixbuf/gstgdkpixbuf.c: Fix two crashers: don't unref the same caps twice, and set pixbuf loader to NULL after...

Original commit message from CVS:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_flush),
(gst_gdk_pixbuf_event):
Fix two crashers: don't unref the same caps twice, and
set pixbuf loader to NULL after freeing it.

18 years agoext/speex/gstspeexenc.*: Don't leak adapter.
Wim Taymans [Mon, 27 Mar 2006 14:00:02 +0000 (14:00 +0000)]
ext/speex/gstspeexenc.*: Don't leak adapter.

Original commit message from CVS:
* ext/speex/gstspeexenc.c: (gst_speexenc_class_init),
(gst_speexenc_finalize), (gst_speexenc_sink_setcaps),
(gst_speexenc_chain):
* ext/speex/gstspeexenc.h:
Don't leak adapter.
A push *always* takes ownership of the buffer, even on
errors.
Small cleanups.

18 years agoext/taglib/gsttaglib.*: Fix newsegment event handling a bit. We need to cache the...
Tim-Philipp Müller [Sun, 26 Mar 2006 19:56:37 +0000 (19:56 +0000)]
ext/taglib/gsttaglib.*: Fix newsegment event handling a bit. We need to cache the first newsegment event, because we ...

Original commit message from CVS:
* ext/taglib/gsttaglib.cc:
* ext/taglib/gsttaglib.h:
Fix newsegment event handling a bit. We need to
cache the first newsegment event, because we can't
adjust offsets yet when we get it, as we don't
know the size of the tag yet for sure at that point.
Also do some minor cleaning up here and there and add
some debug statements.

18 years agogst/id3demux/gstid3demux.c: Create source pad without leaking.
Tim-Philipp Müller [Sun, 26 Mar 2006 12:24:56 +0000 (12:24 +0000)]
gst/id3demux/gstid3demux.c: Create source pad without leaking.

Original commit message from CVS:
* gst/id3demux/gstid3demux.c: (gst_id3demux_add_srcpad):
Create source pad without leaking.

18 years agoext/taglib/gsttaglib.cc: We do not want to proxy the caps on the sink pad; our source...
Tim-Philipp Müller [Sat, 25 Mar 2006 21:57:24 +0000 (21:57 +0000)]
ext/taglib/gsttaglib.cc: We do not want to proxy the caps on the sink pad; our source pad should have application/x-i...

Original commit message from CVS:
* ext/taglib/gsttaglib.cc:
We do not want to proxy the caps on the sink pad; our
source pad should have application/x-id3 caps; also,
don't use already-freed strings in debug messages;
finally, adjust buffer offsets on buffers sent out.

18 years agosys/v4l2/gstv4l2src.c: Older kernels don't seem to have this particular v4l2 format...
Tim-Philipp Müller [Sat, 25 Mar 2006 13:02:55 +0000 (13:02 +0000)]
sys/v4l2/gstv4l2src.c: Older kernels don't seem to have this particular v4l2 format, so comment out until this gets f...

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c:
Older kernels don't seem to have this particular v4l2 format,
so comment out until this gets fixed properly (and make
buildbots happy).

18 years agoJust make few things more robust and also some identation.
Edgard Lima [Sat, 25 Mar 2006 05:31:28 +0000 (05:31 +0000)]
Just make few things more robust and also some identation.

Original commit message from CVS:
Just make few things more robust and also some identation.

18 years agoext/flac/: Spifify a bit.
Wim Taymans [Fri, 24 Mar 2006 19:41:03 +0000 (19:41 +0000)]
ext/flac/: Spifify a bit.

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_handle_seek_event):
* ext/flac/gstflacdec.h:
* ext/flac/gstflacenc.h:
Spifify a bit.
Fix deadly lock order error in seeking code, STREAM_LOCK
cannot be taken within LOCK and the streaming variables are
protected with the STREAM_LOCK anyway.

18 years agogst/avi/gstavidemux.c: this patch combines the global init_frames with the stream...
Wim Taymans [Fri, 24 Mar 2006 18:56:16 +0000 (18:56 +0000)]
gst/avi/gstavidemux.c: this patch combines the global init_frames with the stream init_frames. Rationale being that t...

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_index),
(gst_avi_demux_stream_index), (gst_avi_demux_stream_scan),
(gst_avi_demux_massage_index), (gst_avi_demux_handle_seek):
this patch combines the global init_frames with the stream
init_frames. Rationale being that the global delay should
be subtracted from any stream delay.
Fixes #335858.

18 years agogst/: use DEBUG_FUNCPTR for collectpads
Stefan Kost [Fri, 24 Mar 2006 17:11:56 +0000 (17:11 +0000)]
gst/: use DEBUG_FUNCPTR for collectpads

Original commit message from CVS:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_init):
* gst/smpte/gstsmpte.c: (gst_smpte_init):
* gst/videomixer/videomixer.c: (gst_videomixer_init):
use DEBUG_FUNCPTR for collectpads

18 years agoext/jpeg/gstjpegenc.c: Don't crash when encoding images where the number of rows...
Tim-Philipp Müller [Fri, 24 Mar 2006 09:54:00 +0000 (09:54 +0000)]
ext/jpeg/gstjpegenc.c: Don't crash when encoding images where the number of rows isn't a multiple of 2*DCTSIZE. Add s...

Original commit message from CVS:
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_init), (gst_jpegenc_chain):
Don't crash when encoding images where the number of rows isn't
a multiple of 2*DCTSIZE. Add some GST_DEBUG_FUNCPTR.

18 years agoMore state change function fixes.
Tim-Philipp Müller [Thu, 23 Mar 2006 21:28:06 +0000 (21:28 +0000)]
More state change function fixes.

Original commit message from CVS:
* ext/speex/gstspeexdec.c: (speex_dec_change_state):
* gst/interleave/deinterleave.c: (deinterleave_change_state):
* gst/interleave/interleave.c: (interleave_change_state):
* gst/wavenc/gstwavenc.c: (gst_wavenc_change_state):
More state change function fixes.

18 years agoext/esd/esdsink.*: Fix esd choppy playback by configuring audiosink correctly. Fixes...
Wim Taymans [Thu, 23 Mar 2006 20:12:47 +0000 (20:12 +0000)]
ext/esd/esdsink.*: Fix esd choppy playback by configuring audiosink correctly. Fixes #325191

Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_class_init),
(gst_esdsink_getcaps), (gst_esdsink_open), (gst_esdsink_close),
(gst_esdsink_prepare), (gst_esdsink_unprepare),
(gst_esdsink_delay), (gst_esdsink_reset):
* ext/esd/esdsink.h:
Fix esd choppy playback by configuring audiosink
correctly. Fixes #325191

18 years agoext/libpng/gstpngdec.c: Make state change function thread-safe.
Tim-Philipp Müller [Thu, 23 Mar 2006 19:57:34 +0000 (19:57 +0000)]
ext/libpng/gstpngdec.c: Make state change function thread-safe.

Original commit message from CVS:
* ext/libpng/gstpngdec.c: (gst_pngdec_change_state):
Make state change function thread-safe.

18 years agogst/wavparse/gstwavparse.c: Don't try to read beyond the end of the file just because...
Tim-Philipp Müller [Thu, 23 Mar 2006 16:50:32 +0000 (16:50 +0000)]
gst/wavparse/gstwavparse.c: Don't try to read beyond the end of the file just because the header claims a bigger size...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_get_upstream_size),
(gst_wavparse_stream_headers), (gst_wavparse_stream_data):
Don't try to read beyond the end of the file just because
the header claims a bigger size (like with truncated files).

18 years agogst/wavparse/gstwavparse.*: Delay source pad creation until we have the first chunk...
Tim-Philipp Müller [Thu, 23 Mar 2006 15:36:27 +0000 (15:36 +0000)]
gst/wavparse/gstwavparse.*: Delay source pad creation until we have the first chunk of media data, so the we can exam...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_perform_seek),
(gst_wavparse_stream_headers), (gst_wavparse_add_src_pad),
(gst_wavparse_stream_data), (gst_wavparse_loop):
* gst/wavparse/gstwavparse.h:
Delay source pad creation until we have the first chunk of
media data, so the we can examine the data and adjust the
caps accordingly if required. This makes playback of .wav
files with DTS-declared-as-PCM content work (#313266).

18 years agoadd videobalance plugn
Christian Schaller [Wed, 22 Mar 2006 19:50:56 +0000 (19:50 +0000)]
add videobalance plugn

Original commit message from CVS:
add videobalance plugn

18 years agomention fixed bug number in the changelog
Jan Schmidt [Wed, 22 Mar 2006 13:02:11 +0000 (13:02 +0000)]
mention fixed bug number in the changelog

Original commit message from CVS:
mention fixed bug number in the changelog

18 years agogst/: Don't attempt typefinding on too-short buffers that have been completely trimme...
Jan Schmidt [Wed, 22 Mar 2006 13:00:34 +0000 (13:00 +0000)]
gst/: Don't attempt typefinding on too-short buffers that have been completely trimmed away.

Original commit message from CVS:
* gst/apetag/gsttagdemux.c: (gst_tag_demux_chain):
* gst/id3demux/gstid3demux.c: (gst_id3demux_chain):
Don't attempt typefinding on too-short buffers that have been
completely trimmed away.
* gst/id3demux/id3tags.c: (id3demux_read_id3v2_tag):
Improve the debug output

18 years agoext/esd/esdsink.c: Some cleanups.
Wim Taymans [Tue, 21 Mar 2006 18:12:59 +0000 (18:12 +0000)]
ext/esd/esdsink.c: Some cleanups.

Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_class_init), (gst_esdsink_init),
(gst_esdsink_finalize), (gst_esdsink_getcaps), (gst_esdsink_open),
(gst_esdsink_close), (gst_esdsink_prepare), (gst_esdsink_write),
(gst_esdsink_set_property), (gst_esdsink_get_property):
Some cleanups.
Reset fd to -1 when we close them.

18 years agogst/rtsp/gstrtspsrc.c: the OPTIONS request result is optional so don't fail on it.
Wim Taymans [Tue, 21 Mar 2006 16:19:37 +0000 (16:19 +0000)]
gst/rtsp/gstrtspsrc.c: the OPTIONS request result is optional so don't fail on it.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_open):
the OPTIONS request result is optional so don't
fail on it.