platform/upstream/gst-plugins-good.git
18 years agoRelease 0.10.3
Jan Schmidt [Thu, 4 May 2006 15:05:00 +0000 (15:05 +0000)]
Release 0.10.3

Original commit message from CVS:
Release 0.10.3

18 years agoUpdate .po files
Jan Schmidt [Wed, 3 May 2006 18:44:38 +0000 (18:44 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agogst/matroska/matroska-mux.c: Don't strcmp() NULL strings.
Tim-Philipp Müller [Wed, 3 May 2006 18:41:47 +0000 (18:41 +0000)]
gst/matroska/matroska-mux.c: Don't strcmp() NULL strings.

Original commit message from CVS:
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_stream_is_vorbis_header),
(gst_matroska_mux_write_data):
Don't strcmp() NULL strings.
Only start new clusters on video keyframes, not on any
random audio buffer that doesn't have the DELTA_UNIT
flag set (fixes 'make check' again).

18 years agogst/matroska/matroska-mux.c: Don't misinterpret GST_CLOCK_TIME_NONE as very high...
Mark Nauwelaerts [Wed, 3 May 2006 14:51:50 +0000 (14:51 +0000)]
gst/matroska/matroska-mux.c: Don't misinterpret GST_CLOCK_TIME_NONE as very high timestamp value and then dead-lock w...

Original commit message from CVS:
Patch by: Mark Nauwelaerts  <manauw at skynet be>
* gst/matroska/matroska-mux.c: (gst_matroska_mux_best_pad),
(gst_matroska_mux_stream_is_vorbis_header),
(gst_matroska_mux_write_data):
Don't misinterpret GST_CLOCK_TIME_NONE as very high timestamp
value and then dead-lock when muxing vorbis audio streams
(the three vorbis header buffers carry no timestamp, and it
would try to mux these after all video buffers). Fixes #340346.
Improve clustering: start a new cluster also whenever we get
a keyframe.

18 years agogst/qtdemux/qtdemux.c: Clean up one piece of logic slightly and remove a dead code...
Jan Schmidt [Wed, 3 May 2006 14:30:21 +0000 (14:30 +0000)]
gst/qtdemux/qtdemux.c: Clean up one piece of logic slightly and remove a dead code block.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
Clean up one piece of logic slightly and remove a
dead code block.

18 years agoadd win32 stuff
Thomas Vander Stichele [Wed, 3 May 2006 14:28:57 +0000 (14:28 +0000)]
add win32 stuff

Original commit message from CVS:
* Makefile.am:
* configure.ac:
* win32/common/config.h.in:
add win32 stuff

18 years agoadd win32 stuff
Thomas Vander Stichele [Wed, 3 May 2006 14:26:51 +0000 (14:26 +0000)]
add win32 stuff

Original commit message from CVS:
* Makefile.am:
* configure.ac:
* win32/common/config.h.in:
add win32 stuff

18 years agoext/cairo/gsttimeoverlay.c: Fix timeoverlay for non-multiple-of-4 widths. This fourcc...
Michael Smith [Tue, 2 May 2006 22:34:52 +0000 (22:34 +0000)]
ext/cairo/gsttimeoverlay.c: Fix timeoverlay for non-multiple-of-4 widths. This fourcc crap

Original commit message from CVS:
* ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_transform):
Fix timeoverlay for non-multiple-of-4 widths. This fourcc crap
SUCKS.

18 years agoFix get_caps func to work when no framerate is available and the caps isn't simple.
Edgard Lima [Tue, 2 May 2006 21:52:48 +0000 (21:52 +0000)]
Fix get_caps func to work when no framerate is available and the caps isn't simple.

Original commit message from CVS:
Fix get_caps func to work when no framerate is available and the caps isn't simple.

18 years agogst/: don't leak caps-string
Stefan Kost [Tue, 2 May 2006 18:50:23 +0000 (18:50 +0000)]
gst/: don't leak caps-string

Original commit message from CVS:
* gst/alpha/gstalphacolor.c: (gst_alpha_color_transform_caps):
* gst/debug/negotiation.c: (gst_negotiation_update_caps):
* gst/rtp/gstrtpilbcdepay.c: (gst_rtp_ilbc_depay_setcaps):
don't leak caps-string

18 years agogst/id3demux/gstid3demux.c: Let core insert default error message for TYPE_NOT_FOUND...
Tim-Philipp Müller [Tue, 2 May 2006 15:46:02 +0000 (15:46 +0000)]
gst/id3demux/gstid3demux.c: Let core insert default error message for TYPE_NOT_FOUND errors, it's just as good as our...

Original commit message from CVS:
* gst/id3demux/gstid3demux.c: (gst_id3demux_chain),
(gst_id3demux_sink_activate):
Let core insert default error message for TYPE_NOT_FOUND
errors, it's just as good as our own and has the added
bonus of being translated.

18 years agogst/: Post an error message when we get an EOS event and were not able to find out...
Tim-Philipp Müller [Tue, 2 May 2006 15:40:15 +0000 (15:40 +0000)]
gst/: Post an error message when we get an EOS event and were not able to find out the type of stream.

Original commit message from CVS:
* gst/apetag/gsttagdemux.c: (gst_tag_demux_init),
(gst_tag_demux_sink_event):
* gst/id3demux/gstid3demux.c: (gst_id3demux_init),
(gst_id3demux_sink_event):
Post an error message when we get an EOS event and were not
able to find out the type of stream.
* tests/check/elements/id3v2mux.c: (fill_mp3_buffer), (got_buffer),
(test_taglib_id3mux_with_tags):
Decrease num-buffers to 16 per iteration again, otherwise the
many memcpy()s and reallocations in the test will hammer slow
CPUs completely and make the test timeout.

18 years agoconfigure.ac: figure out where plugins-base plugins are
Thomas Vander Stichele [Tue, 2 May 2006 13:24:38 +0000 (13:24 +0000)]
configure.ac: figure out where plugins-base plugins are

Original commit message from CVS:

* configure.ac:
figure out where plugins-base plugins are
* tests/check/Makefile.am:
use plugins-base plugins, so we have typefind functions
* tests/check/elements/id3v2mux.c: (test_taglib_id3mux_with_tags):
increase num-buffers, this makes sure the test errors out instead
of timing out when no typefind functions are present

18 years agofix docs for wavparse
Thomas Vander Stichele [Tue, 2 May 2006 13:01:50 +0000 (13:01 +0000)]
fix docs for wavparse

Original commit message from CVS:
fix docs for wavparse

18 years agoFew improvements to move to good.
Edgard Lima [Mon, 1 May 2006 21:37:51 +0000 (21:37 +0000)]
Few improvements to move to good.

Original commit message from CVS:
Few improvements to move to good.

18 years agodocs/plugins/Makefile.am: also check .cc files for gtk-doc markup
Thomas Vander Stichele [Mon, 1 May 2006 11:46:33 +0000 (11:46 +0000)]
docs/plugins/Makefile.am: also check .cc files for gtk-doc markup

Original commit message from CVS:

* docs/plugins/Makefile.am:
also check .cc files for gtk-doc markup
* configure.ac:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* tests/check/Makefile.am:
* tests/check/elements/id3v2mux.c: (id3v2mux_suite), (main):
* ext/Makefile.am:
* ext/taglib/Makefile.am:
* ext/taglib/gstid3v2mux.h:
* ext/taglib/gsttaglibmux.c:
* ext/taglib/gsttaglibmux.h:
move taglib-based id3v2muxer to -good.  Fixes #336110.

18 years agoadd icydemux inspection
Thomas Vander Stichele [Mon, 1 May 2006 11:45:15 +0000 (11:45 +0000)]
add icydemux inspection

Original commit message from CVS:
add icydemux inspection

18 years agoadd ximagesrc for translation
Thomas Vander Stichele [Mon, 1 May 2006 11:43:31 +0000 (11:43 +0000)]
add ximagesrc for translation

Original commit message from CVS:
add ximagesrc for translation

18 years agosmall cleanups
Thomas Vander Stichele [Sun, 30 Apr 2006 16:16:59 +0000 (16:16 +0000)]
small cleanups

Original commit message from CVS:
small cleanups

18 years agofix docs
Thomas Vander Stichele [Sun, 30 Apr 2006 15:32:13 +0000 (15:32 +0000)]
fix docs

Original commit message from CVS:
fix docs

18 years agoupdate to latest version
Thomas Vander Stichele [Sun, 30 Apr 2006 14:55:15 +0000 (14:55 +0000)]
update to latest version

Original commit message from CVS:
update to latest version

18 years agoext/taglib/gsttaglib.cc: Post an error message on the bus in the (extremely unlikely...
Tim-Philipp Müller [Sat, 29 Apr 2006 18:46:36 +0000 (18:46 +0000)]
ext/taglib/gsttaglib.cc: Post an error message on the bus in the (extremely unlikely) case of an error.

Original commit message from CVS:
* ext/taglib/gsttaglib.cc:
Post an error message on the bus in the (extremely unlikely)
case of an error.

18 years agoext/taglib/: Split the actual ID3v2 tag rendering code into its own subclass.
Tim-Philipp Müller [Sat, 29 Apr 2006 18:18:24 +0000 (18:18 +0000)]
ext/taglib/: Split the actual ID3v2 tag rendering code into its own subclass.

Original commit message from CVS:
* ext/taglib/Makefile.am:
* ext/taglib/gstid3v2mux.cc:
* ext/taglib/gstid3v2mux.h:
* ext/taglib/gsttaglib.cc:
* ext/taglib/gsttaglib.h:
Split the actual ID3v2 tag rendering code into
its own subclass.

18 years agogst/wavparse/gstwavparse.c: ... and fix multichannel/WAVFORMATEX support again.
Tim-Philipp Müller [Sat, 29 Apr 2006 16:14:20 +0000 (16:14 +0000)]
gst/wavparse/gstwavparse.c: ... and fix multichannel/WAVFORMATEX support again.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
... and fix multichannel/WAVFORMATEX support again.

18 years agogst/wavparse/gstwavparse.*: Add push (streaming) mode to wavparse (fixes #337625)
Stefan Kost [Fri, 28 Apr 2006 23:09:17 +0000 (23:09 +0000)]
gst/wavparse/gstwavparse.*: Add push (streaming) mode to wavparse (fixes #337625)

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_base_init),
(gst_wavparse_class_init), (gst_wavparse_dispose),
(gst_wavparse_reset), (gst_wavparse_init),
(gst_wavparse_create_sourcepad), (gst_wavparse_parse_adtl),
(gst_wavparse_parse_cues), (gst_wavparse_parse_file_header),
(gst_wavparse_stream_init), (gst_wavparse_perform_seek),
(gst_wavparse_peek_chunk_info), (gst_wavparse_peek_chunk),
(gst_wavparse_stream_headers), (gst_wavparse_parse_stream_init),
(gst_wavparse_send_event), (gst_wavparse_add_src_pad),
(gst_wavparse_stream_data), (gst_wavparse_loop),
(gst_wavparse_chain), (gst_wavparse_srcpad_event),
(gst_wavparse_sink_activate), (gst_wavparse_sink_activate_pull),
(gst_wavparse_change_state), (plugin_init):
* gst/wavparse/gstwavparse.h:
Add push (streaming) mode to wavparse (fixes #337625)

18 years agoelement renamed
Thomas Vander Stichele [Fri, 28 Apr 2006 21:43:07 +0000 (21:43 +0000)]
element renamed

Original commit message from CVS:
element renamed

18 years agoadd plugin docs for ximagesrc
Thomas Vander Stichele [Fri, 28 Apr 2006 19:22:46 +0000 (19:22 +0000)]
add plugin docs for ximagesrc

Original commit message from CVS:
add plugin docs for ximagesrc

18 years agoadd ximagesrc icles test
Thomas Vander Stichele [Fri, 28 Apr 2006 19:15:08 +0000 (19:15 +0000)]
add ximagesrc icles test

Original commit message from CVS:

* configure.ac:
* tests/Makefile.am:
add ximagesrc icles test

18 years agoMove ximagesrc plug-in to good after review. Fixes #336756.
Thomas Vander Stichele [Fri, 28 Apr 2006 18:57:09 +0000 (18:57 +0000)]
Move ximagesrc plug-in to good after review.  Fixes #336756.

Original commit message from CVS:

* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* ext/annodex/gstcmmlenc.c: (gst_cmml_enc_class_init),
(gst_cmml_enc_push_clip):
* sys/Makefile.am:
* sys/ximage/Makefile.am:
* sys/ximage/gstximagesrc.c:
Move ximagesrc plug-in to good after review.  Fixes #336756.

18 years agoborgify naming
Thomas Vander Stichele [Fri, 28 Apr 2006 16:51:33 +0000 (16:51 +0000)]
borgify naming

Original commit message from CVS:
borgify naming

18 years agodoc tweaks
Thomas Vander Stichele [Fri, 28 Apr 2006 16:46:52 +0000 (16:46 +0000)]
doc tweaks

Original commit message from CVS:
doc tweaks

18 years agoclean up Makefile.am
Thomas Vander Stichele [Fri, 28 Apr 2006 16:15:20 +0000 (16:15 +0000)]
clean up Makefile.am

Original commit message from CVS:
clean up Makefile.am

18 years agopedantic cleanups
Thomas Vander Stichele [Fri, 28 Apr 2006 15:33:09 +0000 (15:33 +0000)]
pedantic cleanups

Original commit message from CVS:
pedantic cleanups

18 years agogst/icydemux/gsticydemux.*: Fix event handling: cache events when typefinding and...
Michael Smith [Fri, 28 Apr 2006 14:57:57 +0000 (14:57 +0000)]
gst/icydemux/gsticydemux.*: Fix event handling: cache events when typefinding and forward later.

Original commit message from CVS:
* gst/icydemux/gsticydemux.c: (gst_icydemux_reset),         (gst_icydemux_init), (gst_icydemux_sink_setcaps),
(gst_icydemux_add_srcpad), (gst_icydemux_parse_and_send_tags),
(gst_icydemux_handle_event), (gst_icydemux_send_cached_events),
(gst_icydemux_typefind_or_forward), (gst_icydemux_add_meta),
(gst_icydemux_chain), (gst_icydemux_send_tag_event):
* gst/icydemux/gsticydemux.h:
Fix event handling: cache events when typefinding and forward later.

18 years agosys/osxaudio/gstosxaudiosink.c: Register osxaudiosrc to the plugin.
Zaheer Abbas Merali [Fri, 28 Apr 2006 14:55:20 +0000 (14:55 +0000)]
sys/osxaudio/gstosxaudiosink.c: Register osxaudiosrc to the plugin.

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

* sys/osxaudio/gstosxaudiosink.c:
(plugin_init):
Register osxaudiosrc to the plugin.
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init),
(gst_osx_audio_src_base_init), (gst_osx_audio_src_class_init),
(gst_osx_audio_src_init), (gst_osx_audio_src_set_property),
(gst_osx_audio_src_get_property),
(gst_osx_audio_src_create_ringbuffer), (gst_osx_audio_src_io_proc),
(gst_osx_audio_src_osxelement_init):
* sys/osxaudio/gstosxaudiosrc.h:
Port of osxaudiosrc to 0.10.
* sys/osxaudio/Makefile.am:
Add osxaudiosrc

18 years agocommit Changelog for previous commit
Zaheer Abbas Merali [Fri, 28 Apr 2006 12:00:39 +0000 (12:00 +0000)]
commit Changelog for previous commit

Original commit message from CVS:
commit Changelog for previous commit

18 years agoForgot to commit, quick commit be4 apple dies
Zaheer Abbas Merali [Fri, 28 Apr 2006 11:57:39 +0000 (11:57 +0000)]
Forgot to commit, quick commit be4 apple dies

Original commit message from CVS:
Forgot to commit, quick commit be4 apple dies

18 years agogst/id3demux/id3v2frames.c: Recognise and skip any byte order marker (BOM) in
Tim-Philipp Müller [Fri, 28 Apr 2006 11:37:22 +0000 (11:37 +0000)]
gst/id3demux/id3v2frames.c: Recognise and skip any byte order marker (BOM) in

Original commit message from CVS:
* gst/id3demux/id3v2frames.c: (has_utf16_bom),
(parse_split_strings):
Recognise and skip any byte order marker (BOM) in
UTF-16 strings.

18 years agoAdd docs for both avidemux and avimux.
Tim-Philipp Müller [Thu, 27 Apr 2006 16:05:54 +0000 (16:05 +0000)]
Add docs for both avidemux and avimux.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/inspect/plugin-avi.xml:
* gst/avi/gstavidemux.c:
* gst/avi/gstavimux.c:
Add docs for both avidemux and avimux.

18 years agogst/avi/: Port AVI muxer to GStreamer-0.10 (#332031).
Mark Nauwelaerts [Thu, 27 Apr 2006 14:51:06 +0000 (14:51 +0000)]
gst/avi/: Port AVI muxer to GStreamer-0.10 (#332031).

Original commit message from CVS:
Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
* gst/avi/Makefile.am:
* gst/avi/gstavi.c: (plugin_init):
* gst/avi/gstavimux.c: (gst_avi_mux_get_type),
(gst_avi_mux_base_init), (gst_avi_mux_finalize),
(gst_avi_mux_class_init), (gst_avi_mux_init),
(gst_avi_mux_vidsink_set_caps), (gst_avi_mux_audsink_set_caps),
(gst_avi_mux_pad_link), (gst_avi_mux_pad_unlink),
(gst_avi_mux_request_new_pad), (gst_avi_mux_release_pad),
(gst_avi_mux_write_tag), (gst_avi_mux_riff_get_avi_header),
(gst_avi_mux_riff_get_avix_header),
(gst_avi_mux_riff_get_video_header),
(gst_avi_mux_riff_get_audio_header), (gst_avi_mux_add_index),
(gst_avi_mux_write_index), (gst_avi_mux_bigfile),
(gst_avi_mux_start_file), (gst_avi_mux_stop_file),
(gst_avi_mux_restart_file), (gst_avi_mux_handle_event),
(gst_avi_mux_fill_queue), (gst_avi_mux_send_pad_data),
(gst_avi_mux_strip_buffer), (gst_avi_mux_do_audio_buffer),
(gst_avi_mux_do_video_buffer), (gst_avi_mux_do_one_buffer),
(gst_avi_mux_loop), (gst_avi_mux_collect_pads),
(gst_avi_mux_get_property), (gst_avi_mux_set_property),
(gst_avi_mux_change_state):
* gst/avi/gstavimux.h:
Port AVI muxer to GStreamer-0.10 (#332031).
* tests/check/Makefile.am:
* tests/check/elements/avimux.c:
* tests/check/elements/.cvsignore:
Add unit test for AVI muxer.

18 years agogst/wavparse/gstwavparse.*: reverted patch #337625 for the price of 1 hour sleep
Stefan Kost [Wed, 26 Apr 2006 21:29:45 +0000 (21:29 +0000)]
gst/wavparse/gstwavparse.*: reverted patch #337625 for the price of 1 hour sleep

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_base_init),
(gst_wavparse_class_init), (gst_wavparse_reset),
(gst_wavparse_init), (gst_wavparse_create_sourcepad),
(gst_wavparse_parse_file_header), (gst_wavparse_stream_init),
(gst_wavparse_perform_seek), (gst_wavparse_stream_headers),
(gst_wavparse_send_event), (gst_wavparse_add_src_pad),
(gst_wavparse_stream_data), (gst_wavparse_loop),
(gst_wavparse_srcpad_event), (gst_wavparse_sink_activate),
(gst_wavparse_sink_activate_pull), (gst_wavparse_change_state),
(plugin_init):
* gst/wavparse/gstwavparse.h:
reverted patch #337625 for the price of 1 hour sleep

18 years agogst/wavparse/gstwavparse.*: correct partial implementation of push mode (from my...
Stefan Kost [Wed, 26 Apr 2006 20:11:18 +0000 (20:11 +0000)]
gst/wavparse/gstwavparse.*: correct partial implementation of push mode (from my last commit)

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_base_init),
(gst_wavparse_class_init), (gst_wavparse_reset),
(gst_wavparse_init), (gst_wavparse_create_sourcepad),
(gst_wavparse_parse_adtl), (gst_wavparse_parse_cues),
(gst_wavparse_parse_file_header), (gst_wavparse_stream_init),
(gst_wavparse_perform_seek), (gst_wavparse_stream_headers),
(gst_wavparse_stream_data), (gst_wavparse_loop),
(gst_wavparse_chain), (plugin_init):
* gst/wavparse/gstwavparse.h:
correct partial implementation of push mode
(from my last commit)

18 years agoext/esd/esdsink.c: Fix compile problem by defining ESD_MAX_WRITE_SIZE if it is not...
Wim Taymans [Wed, 26 Apr 2006 17:37:10 +0000 (17:37 +0000)]
ext/esd/esdsink.c: Fix compile problem by defining ESD_MAX_WRITE_SIZE if it is not in esd.h

Original commit message from CVS:
* ext/esd/esdsink.c:
Fix compile problem by defining ESD_MAX_WRITE_SIZE if
it is not in esd.h

18 years agogst/auparse/gstauparse.*: Rewrite auparse to suck a little bit less: make source...
Tim-Philipp Müller [Wed, 26 Apr 2006 17:08:24 +0000 (17:08 +0000)]
gst/auparse/gstauparse.*: Rewrite auparse to suck a little bit less: make source pad dynamic, so decodebin/playbin wo...

Original commit message from CVS:
* gst/auparse/gstauparse.c: (gst_au_parse_base_init),
(gst_au_parse_class_init), (gst_au_parse_init),
(gst_au_parse_reset), (gst_au_parse_add_srcpad),
(gst_au_parse_remove_srcpad), (gst_au_parse_parse_header),
(gst_au_parse_chain), (gst_au_parse_src_convert),
(gst_au_parse_src_query), (gst_au_parse_handle_seek),
(gst_au_parse_sink_event), (gst_au_parse_src_event),
(gst_au_parse_change_state):
* gst/auparse/gstauparse.h:
Rewrite auparse to suck a little bit less: make source pad
dynamic, so decodebin/playbin work with non-raw formats
like alaw/mulaw; add query function for duration/position
queries; check whether we have enough data before attempting
to parse the header (instead of crashing when that is not the
case); work around audioconvert sucking by swapping endianness
to the native endianness ourselves for float formats; send
initial newsegment event. Fixes #161712.

18 years agosys/osxaudio/: Port of osxaudiosink to 0.10
Zaheer Abbas Merali [Wed, 26 Apr 2006 16:29:38 +0000 (16:29 +0000)]
sys/osxaudio/: Port of osxaudiosink to 0.10

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

* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudioelement.c:
(gst_osx_audio_element_get_type),
(gst_osx_audio_element_class_init):
* sys/osxaudio/gstosxaudioelement.h:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init),
(gst_osx_audio_sink_base_init), (gst_osx_audio_sink_class_init),
(gst_osx_audio_sink_init), (gst_osx_audio_sink_set_property),
(gst_osx_audio_sink_get_property), (gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer),
(gst_osx_audio_sink_io_proc), (gst_osx_audio_sink_osxelement_init),
(plugin_init):
* sys/osxaudio/gstosxaudiosink.h:
Port of osxaudiosink to 0.10

18 years agoext/esd/esdsink.c: Always write ESD_BUF_SIZE bytes and use ESD_MAX_WRITE_SIZE as...
Wim Taymans [Wed, 26 Apr 2006 08:55:27 +0000 (08:55 +0000)]
ext/esd/esdsink.c: Always write ESD_BUF_SIZE bytes and use ESD_MAX_WRITE_SIZE as the size of the ringbuffer. This sho...

Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_prepare), (gst_esdsink_delay):
Always write ESD_BUF_SIZE bytes and use ESD_MAX_WRITE_SIZE as
the size of the ringbuffer. This should fix hangs with older
esd sound servers.

18 years agoDefine GstElementDetails as const and also static (when defined as global)
Stefan Kost [Tue, 25 Apr 2006 21:56:38 +0000 (21:56 +0000)]
Define GstElementDetails as const and also static (when defined as global)

Original commit message from CVS:
* 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/audioresample/gstaudioresample.c:
* ext/bz2/gstbz2dec.c:
* ext/bz2/gstbz2enc.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/musepack/gstmusepackdec.c: (gst_musepackdec_base_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/nas/nassink.c: (gst_nassink_base_init):
* ext/neon/gstneonhttpsrc.c:
* ext/sdl/sdlaudiosink.c:
* ext/sdl/sdlvideosink.c:
* ext/shout/gstshout.c:
* ext/snapshot/gstsnapshot.c:
* ext/sndfile/gstsf.c:
* ext/swfdec/gstswfdec.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/colorspace/gstcolorspace.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
* gst/festival/gstfestival.c:
* gst/filter/gstbpwsinc.c:
* gst/filter/gstiir.c:
* gst/filter/gstlpwsinc.c:
* gst/freeze/gstfreeze.c:
* gst/games/gstpuzzle.c: (gst_puzzle_base_init):
* gst/librfb/gstrfbsrc.c:
* 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/smoothwave/gstsmoothwave.c:
* gst/spectrum/gstspectrum.c:
* gst/speed/gstspeed.c:
* gst/stereo/gststereo.c:
* gst/switch/gstswitch.c:
* gst/tta/gstttadec.c: (gst_tta_dec_base_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
* gst/vbidec/gstvbidec.c:
* 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:
* sys/cdrom/gstcdplayer.c:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directsound/gstdirectsoundsink.c:
* sys/glsink/glimagesink.c:
* sys/qcam/gstqcamsrc.c:
* sys/v4l2/gstv4l2src.c:
* sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init):
* sys/ximagesrc/ximagesrc.c:
Define GstElementDetails as const and also static (when defined as
global)

18 years agoDefine GstElementDetails as const and also static (when defined as global)
Stefan Kost [Tue, 25 Apr 2006 21:39:46 +0000 (21:39 +0000)]
Define GstElementDetails as const and also static (when defined as global)

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/dv/gstdvdemux.c:
* ext/esd/esdmon.c:
* ext/esd/esdsink.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/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: (gst_shout2send_init):
* ext/shout2/gstshout2.h:
* ext/speex/gstspeexdec.c:
* ext/speex/gstspeexenc.c:
* gst/alpha/gstalpha.c:
* gst/alpha/gstalphacolor.c:
* gst/apetag/gstapedemux.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/gstavidemux.c: (gst_avi_demux_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/gstnavseek.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/gstshagadelic.c:
* gst/effectv/gstvertigo.c:
* gst/effectv/gstwarp.c:
* gst/flx/gstflxdec.c:
* gst/goom/gstgoom.c:
* gst/icydemux/gsticydemux.c:
* gst/id3demux/gstid3demux.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/gstaggregator.c:
* gst/oldcore/gstfdsink.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/gstrtpilbcdepay.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/rtsp/gstrtspsrc.c:
* gst/smpte/gstsmpte.c:
* gst/udp/gstdynudpsink.c:
* gst/udp/gstmultiudpsink.c:
* gst/udp/gstudpsink.c:
* gst/udp/gstudpsrc.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/wavparse/gstwavparse.c: (gst_wavparse_base_init),
(gst_wavparse_class_init), (gst_wavparse_dispose),
(gst_wavparse_reset), (gst_wavparse_init),
(gst_wavparse_perform_seek), (gst_wavparse_peek_chunk_info),
(gst_wavparse_peek_chunk), (gst_wavparse_stream_headers),
(gst_wavparse_parse_stream_init), (gst_wavparse_send_event),
(gst_wavparse_add_src_pad), (gst_wavparse_stream_data),
(gst_wavparse_chain), (gst_wavparse_srcpad_event),
(gst_wavparse_sink_activate), (gst_wavparse_sink_activate_pull),
(gst_wavparse_change_state):
* gst/wavparse/gstwavparse.h:
* sys/oss/gstossmixerelement.c:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
* sys/osxaudio/gstosxaudioelement.c:
* sys/osxaudio/gstosxaudiosink.c:
* sys/osxaudio/gstosxaudiosrc.c:
* sys/sunaudio/gstsunaudiomixer.c:
* sys/sunaudio/gstsunaudiosink.c:
Define GstElementDetails as const and also static (when defined as
global)

18 years agoext/jpeg/gstjpegdec.c: Source pad has fixed caps. If we don't set this, bad things...
Tim-Philipp Müller [Tue, 25 Apr 2006 17:57:23 +0000 (17:57 +0000)]
ext/jpeg/gstjpegdec.c: Source pad has fixed caps. If we don't set this, bad things happen when the window is resized.

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain):
Source pad has fixed caps. If we don't set this, bad
things happen when the window is resized.

18 years agogst/matroska/: Handle case where the TrackType ebml chunk does not come before the
Tim-Philipp Müller [Tue, 25 Apr 2006 16:38:50 +0000 (16:38 +0000)]
gst/matroska/: Handle case where the TrackType ebml chunk does not come before the

Original commit message from CVS:
* gst/matroska/Makefile.am:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroska_demux_handle_src_event):
* gst/matroska/matroska-ids.c:
(gst_matroska_track_init_video_context),
(gst_matroska_track_init_audio_context),
(gst_matroska_track_init_subtitle_context),
(gst_matroska_track_init_complex_context):
* gst/matroska/matroska-ids.h:
Handle case where the TrackType ebml chunk does not come before the
TrackInfoAudio or TrackInfoVideo ebml chunk (#339446). Ignore QoS
events.

18 years agogst/rtp/: It's codec_data, not codec_info.
Wim Taymans [Tue, 25 Apr 2006 16:09:55 +0000 (16:09 +0000)]
gst/rtp/: It's codec_data, not codec_info.

Original commit message from CVS:
* gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_setcaps):
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_setcaps):
It's codec_data, not codec_info.

18 years agogst/matroska/matroska-demux.c: Handle codec_data for VfW compatibility codec IDs...
Mark Nauwelaerts [Tue, 25 Apr 2006 11:45:00 +0000 (11:45 +0000)]
gst/matroska/matroska-demux.c: Handle codec_data for VfW compatibility codec IDs (#339451)

Original commit message from CVS:
Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
* gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps):
Handle codec_data for VfW compatibility codec IDs (#339451)
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_video_pad_setcaps):
Same here, handle codec_data and add additional caps we can handle
now to the pad template (huffyuv, dv and h263 video) (#339451)

18 years agogst/matroska/matroska-mux.c: Fix timestamping of B-frames, use signed integers, do...
Josef Zlomek [Tue, 25 Apr 2006 11:09:24 +0000 (11:09 +0000)]
gst/matroska/matroska-mux.c: Fix timestamping of B-frames, use signed integers, do some rounding (#339678).

Original commit message from CVS:
Patch by: Josef Zlomek  <josef dot zlomek at itonis dot tv>
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_create_buffer_header),
(gst_matroska_mux_write_data):
Fix timestamping of B-frames, use signed integers, do
some rounding (#339678).

18 years agojust make it compile with --disable-gst-debug.
Edgard Lima [Mon, 24 Apr 2006 18:30:55 +0000 (18:30 +0000)]
just make it compile with --disable-gst-debug.

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

18 years agogst/matroska/matroska-demux.c: Fix a bad conversion using gst_guint64_to_gdouble...
Sébastien Moutte [Sun, 23 Apr 2006 15:55:30 +0000 (15:55 +0000)]
gst/matroska/matroska-demux.c: Fix a bad conversion using gst_guint64_to_gdouble. fabs ((gdouble) demux->index[entry]...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroskademux_do_index_seek):
Fix a bad conversion using gst_guint64_to_gdouble.
fabs ((gdouble) demux->index[entry].time - (gdouble) seek_pos) can not be
replaced by fabs (gst_guint64_to_gdouble (demux->index[entry].time - seek_pos)) as the
difference could be negative. fabs (gst_guint64_to_gdouble (demux->index[entry].time) -
gst_guint64_to_gdouble (seek_pos)) is the good solution. Thanks to Tim who has seen my
mistake.

18 years agogst/matroska/matroska-demux.c: Use gst_guint64_to_gdouble for conversions
Sébastien Moutte [Sat, 22 Apr 2006 15:32:48 +0000 (15:32 +0000)]
gst/matroska/matroska-demux.c: Use gst_guint64_to_gdouble for conversions

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroskademux_do_index_seek):
Use gst_guint64_to_gdouble for conversions
* win32/vs6/gst_plugins_good.dsw:
* win32/vs6/libgsticydemux.dsp:
Add a project file for icydemux

18 years agogst/avi/gstavidemux.c: When splitting audio chunks, the block alignment is not taken...
Fabrizio Gennari [Fri, 21 Apr 2006 18:07:10 +0000 (18:07 +0000)]
gst/avi/gstavidemux.c: When splitting audio chunks, the block alignment is not taken in consideration, so the smaller...

Original commit message from CVS:
Patch by: Fabrizio Gennari <fabrizio dot ge at tiscali dot it>
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
(gst_avi_demux_parse_index), (gst_avi_demux_massage_index):
When splitting audio chunks, the block alignment is not taken in
consideration, so the smaller chunks could be of size which is
not a multiple of the block alignment. Fixes #336904

18 years agoext/raw1394/gstdv1394src.c: Use scale functions
Wim Taymans [Fri, 21 Apr 2006 17:59:03 +0000 (17:59 +0000)]
ext/raw1394/gstdv1394src.c: Use scale functions

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_convert):
Use scale functions

18 years agoext/dv/gstdv.c: Fix build.
Tim-Philipp Müller [Fri, 21 Apr 2006 17:27:40 +0000 (17:27 +0000)]
ext/dv/gstdv.c: Fix build.

Original commit message from CVS:
* ext/dv/gstdv.c: (plugin_init):
Fix build.

18 years agogst/debug/progressreport.c: Add 'format' property to force querying to a particular...
Tim-Philipp Müller [Fri, 21 Apr 2006 17:15:29 +0000 (17:15 +0000)]
gst/debug/progressreport.c: Add 'format' property to force querying to a particular format.

Original commit message from CVS:
* gst/debug/progressreport.c: (gst_progress_report_finalize),
(gst_progress_report_class_init), (gst_progress_report_init),
(gst_progress_report_do_query), (gst_progress_report_report),
(gst_progress_report_set_property),
(gst_progress_report_get_property):
Add 'format' property to force querying to a particular format.

18 years agoext/dv/gstdv.c (plugin_init): libdv is a marginal decoder, at best, on big endian...
Andy Wingo [Fri, 21 Apr 2006 15:50:28 +0000 (15:50 +0000)]
ext/dv/gstdv.c (plugin_init): libdv is a marginal decoder, at best, on big endian systems. Drop its rank in that case...

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

* ext/dv/gstdv.c (plugin_init): libdv is a marginal decoder, at
best, on big endian systems. Drop its rank in that case. OTOH on
x86 it's quite fine. See changes from today in gst-ffmpeg as well.

18 years agoAdd icydemux, and tests.
Michael Smith [Fri, 21 Apr 2006 09:27:11 +0000 (09:27 +0000)]
Add icydemux, and tests.

Original commit message from CVS:
* configure.ac:
* gst/icydemux/Makefile.am:
* gst/icydemux/gsticydemux.c: (gst_icydemux_get_type),
(gst_icydemux_base_init), (gst_icydemux_class_init),
(gst_icydemux_reset), (gst_icydemux_init),
(gst_icydemux_sink_setcaps), (gst_icydemux_dispose),
(gst_icydemux_add_srcpad), (gst_icydemux_remove_srcpad),
(unicodify), (gst_icydemux_unicodify),
(gst_icydemux_parse_and_send_tags),
(gst_icydemux_typefind_or_forward), (gst_icydemux_add_meta),
(gst_icydemux_chain), (gst_icydemux_change_state),
(gst_icydemux_send_tag_event), (plugin_init):
* gst/icydemux/gsticydemux.h:
* tests/check/Makefile.am:
* tests/check/elements/icydemux.c: (typefind_succeed),
(plugin_init), (icydemux_found_pad), (create_icydemux),
(cleanup_icydemux), (push_data), (GST_START_TEST),
(icydemux_suite), (main):
Add icydemux, and tests.

18 years agoext/flac/gstflacdec.c: Post SEGMENT_DONE message in TIME format.
Tim-Philipp Müller [Thu, 20 Apr 2006 17:48:29 +0000 (17:48 +0000)]
ext/flac/gstflacdec.c: Post SEGMENT_DONE message in TIME format.

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_loop):
Post SEGMENT_DONE message in TIME format.

18 years agoAdded a couple of ifdefs to make it compile with other kernels.
Edgard Lima [Thu, 20 Apr 2006 17:29:56 +0000 (17:29 +0000)]
Added a couple of ifdefs to make it compile with other kernels.

Original commit message from CVS:
Added a couple of ifdefs to make it compile with other kernels.

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.