platform/upstream/gstreamer.git
18 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: Marking caps conversion issues as GST_WARNI...
Edward Hervey [Sat, 27 May 2006 13:09:16 +0000 (13:09 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Marking caps conversion issues as GST_WARNING is way too verbose,

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps):
Marking caps conversion issues as GST_WARNING is way too verbose,
Moving them to GST_LOG.

18 years agoREADME: Replace current README (containing the release notes from some 0.9.x version...
Tim-Philipp Müller [Sat, 27 May 2006 11:26:18 +0000 (11:26 +0000)]
README: Replace current README (containing the release notes from some 0.9.x version) with a proper README taken from...

Original commit message from CVS:
* README:
Replace current README (containing the release notes from
some 0.9.x version) with a proper README taken from the core.

18 years agoext/vorbis/vorbisdec.c: Small cleanups.
Wim Taymans [Fri, 26 May 2006 15:52:23 +0000 (15:52 +0000)]
ext/vorbis/vorbisdec.c: Small cleanups.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_src_event), (vorbis_dec_sink_event), (vorbis_do_clip),
(vorbis_dec_push), (vorbis_handle_data_packet), (vorbis_dec_chain),
(vorbis_dec_change_state):
Small cleanups.
Add some FIXMEs
Clip output samples to segment boundaries.

18 years agosys/ximage/ximagesink.c: Improve the errors produced on bad output, including some...
Jan Schmidt [Fri, 26 May 2006 11:17:57 +0000 (11:17 +0000)]
sys/ximage/ximagesink.c: Improve the errors produced on bad output, including some human readable description strings.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_xcontext_get), (gst_ximagesink_show_frame):
Improve the errors produced on bad output, including some human
readable description strings.
Handle the (theoretical for ximagesink) case where the XServer
has a different idea about the size required for a particular
frame and gives us too small a memory allocation.

18 years agoMention bugs fixed by previous commit
Jan Schmidt [Fri, 26 May 2006 10:18:41 +0000 (10:18 +0000)]
Mention bugs fixed by previous commit

Original commit message from CVS:
Mention bugs fixed by previous commit

18 years agosys/xvimage/xvimagesink.c: Improve the errors produced on bad output, including some...
Jan Schmidt [Fri, 26 May 2006 09:40:35 +0000 (09:40 +0000)]
sys/xvimage/xvimagesink.c: Improve the errors produced on bad output, including some human readable description strings.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_get_xv_support), (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_get_format_from_caps), (gst_xvimagesink_setcaps),
(gst_xvimagesink_show_frame), (gst_xvimagesink_buffer_alloc):
Improve the errors produced on bad output, including some human
readable description strings.
Handle RGB Xv formats properly by transforming them into our
big-endian caps description.
Use gst_caps_truncate to ensure that we never try and choose a
non-fixed caps in buffer_alloc.
Handle the case where the XServer has a different idea about the size
required for a particular frame and gives us too small a memory
allocation.
Use -1 to indicate 'no image format', because 0 is a valid XServer
image format number.
Put RGB Xv formats at the end of the caps, so that we always prefer
YUV format frames.
Iterate the available Xv Encodings to determine the maximum width and
height, and then return that in our caps.

18 years agogst/playback/gstdecodebin.c: When there is only one unfinished pad and it receives...
Jan Schmidt [Thu, 25 May 2006 16:50:17 +0000 (16:50 +0000)]
gst/playback/gstdecodebin.c: When there is only one unfinished pad and it receives an event that doesn't match our re...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (remove_fakesink), (pad_probe):
When there is only one unfinished pad and it receives an event that
doesn't match our requirements, we need to set alldone=FALSE so that
the fakesink is not removed yet.

18 years agoext/ogg/gstoggdemux.c: Use gst_type_find_helper_for_buffer() to find the type of...
Tim-Philipp Müller [Thu, 25 May 2006 09:32:31 +0000 (09:32 +0000)]
ext/ogg/gstoggdemux.c: Use gst_type_find_helper_for_buffer() to find the type of stream from the first packet.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind):
Use gst_type_find_helper_for_buffer() to find the type
of stream from the first packet.
* configure.ac:
Bump requirements to core CVS (needed for vorbis
typefinding to work).

18 years agogst/typefind/gsttypefindfunctions.c: Added the 'prfl' atom type which MQV (no, it...
Edward Hervey [Wed, 24 May 2006 08:34:53 +0000 (08:34 +0000)]
gst/typefind/gsttypefindfunctions.c: Added the 'prfl' atom type which MQV (no, it's not a typo) files contain.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
Added the 'prfl' atom type which MQV (no, it's not a typo) files contain.
Else they play perfectly fine with qtdemux.

18 years agomake more debug catagories static
Stefan Kost [Tue, 23 May 2006 20:38:56 +0000 (20:38 +0000)]
make more debug catagories static

Original commit message from CVS:
* ext/theora/theoradec.c:
* ext/theora/theoraenc.c:
* ext/theora/theoraparse.c: (gst_theora_parse_class_init):
* gst/audiorate/gstaudiorate.c:
make more debug catagories static
* tests/check/Makefile.am:
* tests/check/elements/adder.c: (message_received),
(test_event_message_received), (GST_START_TEST),
(test_play_twice_message_received), (adder_suite):
added test case for using element twice, extra bonus points for anyone
who can make these test run reliably

18 years agoext/theora/theoradec.c: Make work with time-stamped input buffers that do not have...
Tim-Philipp Müller [Tue, 23 May 2006 15:18:40 +0000 (15:18 +0000)]
ext/theora/theoradec.c: Make work with time-stamped input buffers that do not have a granulepos in BUFFER_OFFSET_END ...

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain):
Make work with time-stamped input buffers that do not
have a granulepos in BUFFER_OFFSET_END (like theora
buffers coming from matroskademux). Fixes #342448.

18 years agogst/gdp/: Handle error cases when calling functions do downwards state change after...
Thomas Vander Stichele [Mon, 22 May 2006 15:53:07 +0000 (15:53 +0000)]
gst/gdp/: Handle error cases when calling functions do downwards state change after parent's change_state

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain),
(gst_gdp_depay_change_state):
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset_streamheader),
(gst_gdp_pay_chain), (gst_gdp_pay_sink_event),
(gst_gdp_pay_change_state):
* gst/gdp/gstgdppay.h:
Handle error cases when calling functions
do downwards state change after parent's change_state
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/elements/gdppay.c: (GST_START_TEST):
clean up more

18 years agoadding GDP payloader and depayloader. Build integration will follow later when the...
Thomas Vander Stichele [Mon, 22 May 2006 13:25:52 +0000 (13:25 +0000)]
adding GDP payloader and depayloader.  Build integration will follow later when the GDP issues for core are sorted out.

Original commit message from CVS:
* gst/gdp/Makefile.am:
* gst/gdp/gstgdp.c: (plugin_init):
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_base_init),
(gst_gdp_depay_class_init), (gst_gdp_depay_init),
(gst_gdp_depay_finalize), (gst_gdp_depay_chain),
(gst_gdp_depay_change_state), (gst_gdp_depay_plugin_init):
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_base_init),
(gst_gdp_pay_class_init), (gst_gdp_pay_init),
(gst_gdp_pay_dispose), (gst_gdp_stamp_buffer),
(gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer),
(gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader),
(gst_gdp_queue_buffer), (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event), (gst_gdp_pay_change_state),
(gst_gdp_pay_plugin_init):
* gst/gdp/gstgdppay.h:
* tests/check/Makefile.am:
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(cleanup_gdpdepay), (gdpdepay_push_per_byte), (GST_START_TEST),
(setup_gdpdepay_streamheader), (gdpdepay_suite), (main):
* tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay),
(GST_START_TEST), (setup_gdppay_streamheader), (gdppay_suite),
(main):
adding GDP payloader and depayloader.  Build integration will
follow later when the GDP issues for core are sorted out.

18 years agogst/tcp/Makefile.am: fdstresstest doesn't need Gtk+, fix compilation if gtk is not...
Peter Kjellerstedt [Mon, 22 May 2006 11:42:03 +0000 (11:42 +0000)]
gst/tcp/Makefile.am: fdstresstest doesn't need Gtk+, fix compilation if gtk is not available (#342566).

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst/tcp/Makefile.am:
fdstresstest doesn't need Gtk+, fix compilation if
gtk is not available (#342566).

18 years agogst-libs/gst/rtp/gstbasertpaudiopayload.c: 80 line columns
Philippe Kalaf [Fri, 19 May 2006 17:57:56 +0000 (17:57 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.c: 80 line columns

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
80 line columns
Removed redundant floor()

18 years agogst-libs/gst/riff/riff-read.c: On second thought, just skip JUNK chunks automatically...
Tim-Philipp Müller [Fri, 19 May 2006 15:00:43 +0000 (15:00 +0000)]
gst-libs/gst/riff/riff-read.c: On second thought, just skip JUNK chunks automatically, so the caller doesn't have to ...

Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_chunk):
On second thought, just skip JUNK chunks automatically, so
the caller doesn't have to handle this. Fixes #342345.
Also, return GST_FLOW_UNEXPECTED if we get a short read,
not GST_FLOW_ERROR.

18 years agogst-libs/gst/riff/riff-read.c: Don't bail out on JUNK chunks with a size of 0 (would...
Tim-Philipp Müller [Fri, 19 May 2006 13:37:55 +0000 (13:37 +0000)]
gst-libs/gst/riff/riff-read.c: Don't bail out on JUNK chunks with a size of 0 (would try to pull_range 0 bytes before...

Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_chunk):
Don't bail out on JUNK chunks with a size of 0 (would try to
pull_range 0 bytes before, which sources don't like too much).
See #342345.

18 years agoUse the gstutil scaling function to preserve 64 bits while calculating output width...
Jan Schmidt [Fri, 19 May 2006 13:02:46 +0000 (13:02 +0000)]
Use the gstutil scaling function to preserve 64 bits while calculating output width and height from the display-aspec...

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_video_scale_fixate_caps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps):
Use the gstutil scaling function to preserve 64 bits while calculating
output width and height from the display-aspect-ratio. (A continuation
of #341542)

18 years agosys/xvimage/xvimagesink.*: When performing buffer allocations, remember the caps...
Jan Schmidt [Fri, 19 May 2006 11:50:17 +0000 (11:50 +0000)]
sys/xvimage/xvimagesink.*: When performing buffer allocations, remember the caps and image format we return so that i...

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_clear),
(gst_xvimagesink_buffer_alloc):
* sys/xvimage/xvimagesink.h:
When performing buffer allocations, remember the caps and image format
we return so that if the same caps are asked for next time we can
return them immediately without doing any caps intersections.

18 years agogst-libs/gst/rtp/README: Some new documentation
Philippe Kalaf [Thu, 18 May 2006 23:00:02 +0000 (23:00 +0000)]
gst-libs/gst/rtp/README: Some new documentation

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

* gst-libs/gst/rtp/README:
Some new documentation
* gst-libs/gst/rtp/gstrtpbuffer.h:
Added GST_RTP_PAYLOAD_DYNAMIC_STRING for use by children
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
* gst-libs/gst/rtp/gstbasertpaudiopayload.h:
New RTP audio base payloader class. Supports frame or sample based codecs.
Not enabled in Makefile.am until approved.

18 years agotests/check/elements/alsa.c: Fix test case: don't try to free NULL GValueArray when...
Tim-Philipp Müller [Thu, 18 May 2006 20:30:26 +0000 (20:30 +0000)]
tests/check/elements/alsa.c: Fix test case: don't try to free NULL GValueArray when there are no devices.

Original commit message from CVS:
* tests/check/elements/alsa.c: (test_device_property_probe):
Fix test case: don't try to free NULL GValueArray when there
are no devices.

18 years agotests/check/: Add simple test that runs a device property probe on alsasrc, alsasink...
Tim-Philipp Müller [Thu, 18 May 2006 19:21:53 +0000 (19:21 +0000)]
tests/check/: Add simple test that runs a device property probe on alsasrc, alsasink and alsamixer. Disable valgrind ...

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/alsa.c: (test_device_property_probe),
(alsa_suite), (main):
Add simple test that runs a device property probe on alsasrc,
alsasink and alsamixer. Disable valgrind check for now (too
many leaks in libasound, and valgrind ignored my suppressions
additions).

18 years agoext/alsa/: Clean up and simplify alsa device probing. Make it actually work for multi...
Martin Szulecki [Thu, 18 May 2006 17:19:39 +0000 (17:19 +0000)]
ext/alsa/: Clean up and simplify alsa device probing. Make it actually work for multiple classes. Don't cache results...

Original commit message from CVS:
* ext/alsa/gstalsadeviceprobe.c: (gst_alsa_get_device_list),
(gst_alsa_device_property_probe_probe_property),
(gst_alsa_device_property_probe_needs_probe),
(gst_alsa_device_property_probe_get_values),
(gst_alsa_type_add_device_property_probe_interface):
* ext/alsa/gstalsadeviceprobe.h:
* ext/alsa/gstalsamixerelement.c:
(gst_alsa_mixer_element_init_interfaces):
* ext/alsa/gstalsamixerelement.h:
Clean up and simplify alsa device probing. Make it actually work
for multiple classes. Don't cache results any longer.
* ext/alsa/gstalsasink.c: (gst_alsasink_init_interfaces),
(gst_alsasink_init):
* ext/alsa/gstalsasrc.c: (gst_alsasrc_dispose),
(gst_alsasrc_interface_supported), (gst_implements_interface_init),
(gst_alsasrc_init_interfaces), (gst_alsasrc_set_property):
Make alsasink and alsasrc implement the GstPropertyProbe interface
for device probing (#342181).
Patch by: Martin Szulecki  <gnomebugzilla at sukimashita com>

18 years agogst/subparse/samiparse.c: Don't ignore return value of strtol (++compiler_happiness).
Tim-Philipp Müller [Thu, 18 May 2006 10:05:23 +0000 (10:05 +0000)]
gst/subparse/samiparse.c: Don't ignore return value of strtol (++compiler_happiness).

Original commit message from CVS:
* gst/subparse/samiparse.c: (handle_start_font):
Don't ignore return value of strtol (++compiler_happiness).

18 years agogst/subparse/gstsubparse.*: Add 'encoding' property (#341681).
Young-Ho Cha [Wed, 17 May 2006 17:49:10 +0000 (17:49 +0000)]
gst/subparse/gstsubparse.*: Add 'encoding' property (#341681).

Original commit message from CVS:
Patch by: Young-Ho Cha  <ganadist chollian net>
* gst/subparse/gstsubparse.c: (gst_sub_parse_dispose),
(gst_sub_parse_class_init), (gst_sub_parse_init),
(gst_sub_parse_set_property), (gst_sub_parse_get_property),
(convert_encoding):
* gst/subparse/gstsubparse.h:
Add 'encoding' property (#341681).
* gst/subparse/samiparse.c: (characters_sami):
Output is pango markup, so we need to escape text
between tags (#342143).

18 years agogst-libs/gst/audio/multichannel.c: It's okay to have caps with channels=1 and a chann...
Tim-Philipp Müller [Tue, 16 May 2006 17:34:14 +0000 (17:34 +0000)]
gst-libs/gst/audio/multichannel.c: It's okay to have caps with channels=1 and a channel position different from GST_A...

Original commit message from CVS:
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions):
It's okay to have caps with channels=1 and a channel position
different from GST_AUDIO_CHANNEL_POSITION_FRONT_MONO
(deinterleavers might want to keep the position in the caps,
so that they can be re-interleaved again properly later).
Leave check for unexpected 2-channel layouts intact for now.

18 years agogst/tcp/gsttcp.c: Return GST_FLOW_UNEXPECTED when we have an eos on the socket so...
Zaheer Abbas Merali [Tue, 16 May 2006 16:28:10 +0000 (16:28 +0000)]
gst/tcp/gsttcp.c: Return GST_FLOW_UNEXPECTED when we have an eos on the socket so basesrc can do its job correctly.

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

* gst/tcp/gsttcp.c: (gst_tcp_socket_read):
Return GST_FLOW_UNEXPECTED when we have an eos on the socket so
basesrc can do its job correctly.

18 years agoext/alsa/: Refactor and improve caps probing code: probe signedness when we probe...
Tim-Philipp Müller [Tue, 16 May 2006 15:52:17 +0000 (15:52 +0000)]
ext/alsa/: Refactor and improve caps probing code: probe signedness when we probe the supported formats/widths; set e...

Original commit message from CVS:
* ext/alsa/Makefile.am:
* ext/alsa/gstalsa.c: (gst_alsa_detect_rates),
(gst_alsa_detect_formats), (get_channel_free_structure),
(caps_add_channel_configuration), (gst_alsa_detect_channels),
(gst_alsa_probe_supported_formats):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasink.c: (gst_alsasink_getcaps):
Refactor and improve caps probing code: probe signedness
when we probe the supported formats/widths; set endianness
to the one we actually probed for (ie. cpu endianness).
* ext/alsa/gstalsasrc.c: (gst_alsasrc_init), (gst_alsasrc_getcaps),
(gst_alsasrc_close):
* ext/alsa/gstalsasrc.h:
Implement caps probing for alsasrc.

18 years agoext/theora/theoradec.c: Cleanups, add some G_LIKELY.
Wim Taymans [Mon, 15 May 2006 17:42:19 +0000 (17:42 +0000)]
ext/theora/theoradec.c: Cleanups, add some G_LIKELY.

Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_reset),
(theora_dec_src_query), (theora_dec_src_event),
(theora_dec_sink_event), (theora_handle_comment_packet),
(theora_handle_data_packet), (theora_dec_change_state):
Cleanups, add some G_LIKELY.
Use segment helpers instead of our own wrong code.
Clear queued buffers on seek and READY.
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
(vorbis_dec_convert), (vorbis_dec_src_query),
(vorbis_dec_src_event), (vorbis_dec_sink_event),
(vorbis_handle_comment_packet), (vorbis_dec_push),
(vorbis_handle_data_packet), (vorbis_dec_chain),
(vorbis_dec_change_state):
* ext/vorbis/vorbisdec.h:
Remove old useless packetno variable.
Do position query properly.
Add some G_LIKELY.
Do cleanup of queued buffers in new helper function
and use it.

18 years agoext/alsa/gstalsasink.c: Query supported sample rates. Fixes #341732.
Tim-Philipp Müller [Mon, 15 May 2006 17:17:22 +0000 (17:17 +0000)]
ext/alsa/gstalsasink.c: Query supported sample rates. Fixes #341732.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_getcaps):
Query supported sample rates. Fixes #341732.

18 years agogst/playback/gstdecodebin.c: Make decodebin reusable when going from PAUSE_TO_READY...
Julien Moutte [Mon, 15 May 2006 17:01:02 +0000 (17:01 +0000)]
gst/playback/gstdecodebin.c: Make decodebin reusable when going from PAUSE_TO_READY and then back to PAUSED.

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

* gst/playback/gstdecodebin.c: (cleanup_decodebin),
(gst_decode_bin_change_state): Make decodebin reusable
when going from PAUSE_TO_READY and then back to PAUSED.
Fixes #331678.

18 years agoext/vorbis/vorbisdec.c: Cleanups. Use refcounting and DEBUG_OBJECT.
Wim Taymans [Mon, 15 May 2006 16:49:31 +0000 (16:49 +0000)]
ext/vorbis/vorbisdec.c: Cleanups. Use refcounting and DEBUG_OBJECT.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_get_query_types),
(vorbis_dec_convert), (vorbis_dec_src_query),
(vorbis_dec_sink_query), (vorbis_dec_src_event),
(vorbis_dec_sink_event), (vorbis_handle_identification_packet),
(vorbis_dec_clean_queued), (vorbis_dec_push),
(vorbis_handle_data_packet), (vorbis_dec_change_state):
Cleanups. Use refcounting and DEBUG_OBJECT.
Reset segment on flush, use code methods instead of our
own wrong version.
Fix potential memleak.

18 years agoext/alsa/gstalsasink.*: Don't leak allocated snd_output_t structure if there's more...
Tim-Philipp Müller [Mon, 15 May 2006 16:46:44 +0000 (16:46 +0000)]
ext/alsa/gstalsasink.*: Don't leak allocated snd_output_t structure if there's more than one alsasink instance at a t...

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_finalise),
(gst_alsasink_init):
* ext/alsa/gstalsasink.h:
Don't leak allocated snd_output_t structure if there's
more than one alsasink instance at a time (#341873).
Also fix GObject macros in header file.

18 years agogst/subparse/gstsubparse.c: Don't use libxml functions in the typefinding code.
Tim-Philipp Müller [Mon, 15 May 2006 15:31:30 +0000 (15:31 +0000)]
gst/subparse/gstsubparse.c: Don't use libxml functions in the typefinding code.

Original commit message from CVS:
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect):
Don't use libxml functions in the typefinding code.

18 years agoext/ogg/gstoggdemux.c: Fix seeking performance in the case where a non-header packet...
Wim Taymans [Mon, 15 May 2006 15:01:08 +0000 (15:01 +0000)]
ext/ogg/gstoggdemux.c: Fix seeking performance in the case where a non-header packet has a 0 granulepos (busted theor...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet):
Fix seeking performance in the case where a non-header
packet has a 0 granulepos (busted theora case).
Fixes #341719

18 years agogst/subparse/gstsubparse.c: Improve SAMI typefinding: handle case where there are...
Tim-Philipp Müller [Mon, 15 May 2006 14:19:35 +0000 (14:19 +0000)]
gst/subparse/gstsubparse.c: Improve SAMI typefinding: handle case where there are whitespaces or newlines in front of...

Original commit message from CVS:
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect):
Improve SAMI typefinding: handle case where there are
whitespaces or newlines in front of the first <SAMI>
tag (#169936).

18 years agoconfigure.ac: Build video4linux plugin even if there's no XVIDEO, just without implem...
Tim-Philipp Müller [Mon, 15 May 2006 12:18:13 +0000 (12:18 +0000)]
configure.ac: Build video4linux plugin even if there's no XVIDEO, just without implementing the GstXOverlay interface...

Original commit message from CVS:
* configure.ac:
Build video4linux plugin even if there's no XVIDEO, just
without implementing the GstXOverlay interface (#334002).

18 years agoAdd tentative support for libvisual-0.4 (#336881).
Tim-Philipp Müller [Mon, 15 May 2006 10:17:04 +0000 (10:17 +0000)]
Add tentative support for libvisual-0.4 (#336881).

Original commit message from CVS:
* configure.ac:
* ext/libvisual/visual.c: (gst_visual_actor_plugin_is_gl),
(plugin_init):
Add tentative support for libvisual-0.4 (#336881).

18 years agogst/subparse/samiparse.c: Need to map "silver" colour explicitly (#169936).
Young-Ho Cha [Mon, 15 May 2006 09:41:03 +0000 (09:41 +0000)]
gst/subparse/samiparse.c: Need to map "silver" colour explicitly (#169936).

Original commit message from CVS:
Patch by: Young-Ho Cha <ganadist at chollian net>
* gst/subparse/samiparse.c: (handle_start_font):
Need to map "silver" colour explicitly (#169936).

18 years agogst/subparse/: Add support for SAMI subtitles (#169936).
Young-Ho Cha [Mon, 15 May 2006 09:14:35 +0000 (09:14 +0000)]
gst/subparse/: Add support for SAMI subtitles (#169936).

Original commit message from CVS:
Patch by: Young-Ho Cha  <ganadist at chollian net>
* gst/subparse/Makefile.am:
* gst/subparse/gstsubparse.c: (gst_sub_parse_dispose),
(parser_state_dispose), (gst_sub_parse_data_format_autodetect),
(gst_sub_parse_format_autodetect), (feed_textbuf),
(gst_subparse_type_find), (plugin_init):
* gst/subparse/gstsubparse.h:
* gst/subparse/samiparse.c:
* gst/subparse/samiparse.h:
Add support for SAMI subtitles (#169936).

18 years agoupdate config.h
Thomas Vander Stichele [Sun, 14 May 2006 21:18:58 +0000 (21:18 +0000)]
update config.h

Original commit message from CVS:
update config.h

18 years agofix mistakes in README
Thomas Vander Stichele [Sun, 14 May 2006 21:18:16 +0000 (21:18 +0000)]
fix mistakes in README

Original commit message from CVS:
fix mistakes in README

18 years agogst/audioconvert/gstchannelmix.c: Fix #341696: crash when mixing L+R+C to mono or...
Michael Smith [Sun, 14 May 2006 18:15:17 +0000 (18:15 +0000)]
gst/audioconvert/gstchannelmix.c: Fix #341696: crash when mixing L+R+C to mono or stereo.

Original commit message from CVS:
* gst/audioconvert/gstchannelmix.c: (gst_channel_mix_fill_others):
Fix #341696: crash when mixing L+R+C to mono or stereo.
* tests/check/Makefile.am:
* tests/check/elements/audioconvert.c: (set_channel_positions),
(get_float_mc_caps), (get_int_mc_caps), (GST_START_TEST),
(audioconvert_suite):
Add test for the above, including some generic framework bits for
testing multichannel things.

18 years agoBack to CVS
Jan Schmidt [Sun, 14 May 2006 16:05:47 +0000 (16:05 +0000)]
Back to CVS

Original commit message from CVS:
Back to CVS

18 years agoconfigure.ac: releasing 0.10.7, "Leave the gun"
Jan Schmidt [Sun, 14 May 2006 16:00:57 +0000 (16:00 +0000)]
configure.ac: releasing 0.10.7, "Leave the gun"

Original commit message from CVS:
2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.7, "Leave the gun"

18 years agoUpdate .po files
Jan Schmidt [Sun, 14 May 2006 15:55:16 +0000 (15:55 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agoFix the build.
Jan Schmidt [Fri, 12 May 2006 22:22:37 +0000 (22:22 +0000)]
Fix the build.

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_video_scale_fixate_caps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps):
Fix the build.

18 years agoFix integer overflow problem with pixel-aspect-ratio calculations in videoscale and...
Jan Schmidt [Fri, 12 May 2006 21:30:00 +0000 (21:30 +0000)]
Fix integer overflow problem with pixel-aspect-ratio calculations in videoscale and xvimagesink (#341542)

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/video/video.c: (gst_video_calculate_display_ratio):
* gst-libs/gst/video/video.h:
* gst/videoscale/Makefile.am:
* gst/videoscale/gstvideoscale.c: (gst_video_scale_fixate_caps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps):
* tests/check/Makefile.am:
* tests/check/libs/video.c: (GST_START_TEST), (video_suite),
(main):
Fix integer overflow problem with pixel-aspect-ratio calculations
in videoscale and xvimagesink (#341542)

18 years agogst-libs/gst/tag/gstid3tag.c: Map GST_IMAGE_TAG to and from ID2v2 APIC frames (#341557).
Tim-Philipp Müller [Fri, 12 May 2006 16:56:52 +0000 (16:56 +0000)]
gst-libs/gst/tag/gstid3tag.c: Map GST_IMAGE_TAG to and from ID2v2 APIC frames (#341557).

Original commit message from CVS:
* gst-libs/gst/tag/gstid3tag.c:
Map GST_IMAGE_TAG to and from ID2v2 APIC frames (#341557).

18 years agowin32/MANIFEST: update win32 files listing
Sébastien Moutte [Fri, 12 May 2006 10:39:08 +0000 (10:39 +0000)]
win32/MANIFEST: update win32 files listing

Original commit message from CVS:
* win32/MANIFEST:
update win32 files listing

18 years agodisable failing check on gentoo64
Thomas Vander Stichele [Thu, 11 May 2006 21:47:01 +0000 (21:47 +0000)]
disable failing check on gentoo64

Original commit message from CVS:
disable failing check on gentoo64

18 years agodisable failing check on gentoo64
Thomas Vander Stichele [Thu, 11 May 2006 21:35:44 +0000 (21:35 +0000)]
disable failing check on gentoo64

Original commit message from CVS:
disable failing check on gentoo64

18 years agomacros show the correct line
Thomas Vander Stichele [Thu, 11 May 2006 21:20:20 +0000 (21:20 +0000)]
macros show the correct line

Original commit message from CVS:
macros show the correct line

18 years agomacros show the correct line
Thomas Vander Stichele [Thu, 11 May 2006 21:04:08 +0000 (21:04 +0000)]
macros show the correct line

Original commit message from CVS:
macros show the correct line

18 years agogst/playback/gstplaybasebin.*: API: GstPlayBaseBin::stream-info-value-array property...
Sjoerd Simons [Thu, 11 May 2006 21:01:05 +0000 (21:01 +0000)]
gst/playback/gstplaybasebin.*: API: GstPlayBaseBin::stream-info-value-array property use a more bindings-friendly way...

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

patch by: Sjoerd Simons (sjoerd@luon.net)

* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(group_create), (group_destroy), (add_stream),
(gst_play_base_bin_get_property),
(gst_play_base_bin_get_streaminfo_value_array):
* gst/playback/gstplaybasebin.h:
API: GstPlayBaseBin::stream-info-value-array property
use a more bindings-friendly way of exposing streaminfo
using a GValueArray.  Tested in ipython.
Closes #341114

18 years agofix some type warnings
Thomas Vander Stichele [Thu, 11 May 2006 19:44:06 +0000 (19:44 +0000)]
fix some type warnings

Original commit message from CVS:
fix some type warnings

18 years agogst/playback/gstdecodebin.c: Also catch queue underruns but don't do anything yet.
Wim Taymans [Thu, 11 May 2006 19:38:22 +0000 (19:38 +0000)]
gst/playback/gstdecodebin.c: Also catch queue underruns but don't do anything yet.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (try_to_link_1), (queue_enlarge),
(queue_underrun_cb), (queue_filled_cb):
Also catch queue underruns but don't do anything yet.
Refactor and comment queue enlarging code a bit.
* gst/playback/gstplaybasebin.c: (queue_overrun),
(queue_threshold_reached), (queue_out_of_data),
(gen_preroll_element):
If a queue over/underruns check that we don't create nasty
deadlocks when the min-threshold is not reached but the
max-bytes is. In those cases disable max-bytes when we
know that the queue is fed timed data.
Add more comments.

18 years agogst/playback/gstplaybin.c: Make playbin automatically plug an 'audioresample' element...
Tim-Philipp Müller [Thu, 11 May 2006 18:06:18 +0000 (18:06 +0000)]
gst/playback/gstplaybin.c: Make playbin automatically plug an 'audioresample' element before the audio sink as well. ...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_audio_element):
Make playbin automatically plug an 'audioresample'
element before the audio sink as well. This solves
problems with sinks that only accept a very specific
sample rate, like esdsink (e.g. #340379).

18 years agogst/playback/gstplaybasebin.c: Make http sources send special headers so that we...
Tim-Philipp Müller [Thu, 11 May 2006 16:04:28 +0000 (16:04 +0000)]
gst/playback/gstplaybasebin.c: Make http sources send special headers so that we receive icecast metadata if the http...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gen_source_element):
Make http sources send special headers so that we receive
icecast metadata if the http stream is an icecast stream
(otherwise the server will just ignore them). This also
means that from now on users will need the 'icydemux'
element from gst-plugins-good installed if they want to
listen to icecast radio streams. (#341432, #333657).

18 years agomore commenting
Thomas Vander Stichele [Thu, 11 May 2006 12:34:53 +0000 (12:34 +0000)]
more commenting

Original commit message from CVS:
more commenting

18 years agogst/tcp/gstmultifdsink.c: remove stupid example from docs - it should come with a...
Thomas Vander Stichele [Thu, 11 May 2006 11:40:39 +0000 (11:40 +0000)]
gst/tcp/gstmultifdsink.c: remove stupid example from docs - it should come with a simple

Original commit message from CVS:

* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_remove_client_link),
(gst_multi_fd_sink_new_client), (gst_multi_fd_sink_stop):
remove stupid example from docs - it should come with a simple
C program instead.
Clean up/fix docs
* tests/check/elements/multifdsink.c: (wait_bytes_served),
(fail_if_can_read), (GST_START_TEST),
(gst_multifdsink_create_streamheader), (multifdsink_suite):
add a test for changing streamheader which exposes a bug in
multifdsink

18 years agoext/gnomevfs/gstgnomevfssrc.*: Don't set icy-caps unless we have a sane interval...
Michael Smith [Thu, 11 May 2006 10:33:46 +0000 (10:33 +0000)]
ext/gnomevfs/gstgnomevfssrc.*: Don't set icy-caps unless we have a sane interval value. Move interval to a local vari...

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_init),
(gst_gnome_vfs_src_received_headers_callback):
* ext/gnomevfs/gstgnomevfssrc.h:
Don't set icy-caps unless we have a sane interval value. Move
interval to a local variable; we never use it outside this function.

18 years agosys/: Register special buffer types along with the objects so that they are not regis...
Wim Taymans [Thu, 11 May 2006 10:14:20 +0000 (10:14 +0000)]
sys/: Register special buffer types along with the objects so that they are not registered at runtime from N differen...

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_get_type):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_type):
Register special buffer types along with the objects so
that they are not registered at runtime from N different
streaming threads since they are not threadsafe.

18 years agoset caps and plug leaks
Thomas Vander Stichele [Wed, 10 May 2006 18:31:27 +0000 (18:31 +0000)]
set caps and plug leaks

Original commit message from CVS:
set caps and plug leaks

18 years agotests/check/elements/multifdsink.c: add two more tests, one doing streamheader
Thomas Vander Stichele [Wed, 10 May 2006 18:16:23 +0000 (18:16 +0000)]
tests/check/elements/multifdsink.c: add two more tests, one doing streamheader

Original commit message from CVS:
* tests/check/elements/multifdsink.c: (wait_bytes_served),
(GST_START_TEST), (fail_unless_read), (multifdsink_suite):
add two more tests, one doing streamheader

18 years agogst/tcp/gstmultifdsink.c: clean up the bufqueue when shutting down
Thomas Vander Stichele [Wed, 10 May 2006 16:34:06 +0000 (16:34 +0000)]
gst/tcp/gstmultifdsink.c: clean up the bufqueue when shutting down

Original commit message from CVS:

* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_stop):
clean up the bufqueue when shutting down
* tests/check/Makefile.am:
* tests/check/elements/multifdsink.c: (setup_multifdsink),
(cleanup_multifdsink), (GST_START_TEST), (multifdsink_suite),
(main):
add a test for the leak that was just fixed

18 years agoDEBUG_FUNCPTR'ing
Thomas Vander Stichele [Wed, 10 May 2006 15:16:33 +0000 (15:16 +0000)]
DEBUG_FUNCPTR'ing

Original commit message from CVS:
DEBUG_FUNCPTR'ing

18 years agowhitespace fixes
Thomas Vander Stichele [Wed, 10 May 2006 15:14:30 +0000 (15:14 +0000)]
whitespace fixes

Original commit message from CVS:
whitespace fixes

18 years agogst/adder/gstadder.*: Updated some docs. Added comments and FIXMEs all over the place.
Wim Taymans [Wed, 10 May 2006 11:54:36 +0000 (11:54 +0000)]
gst/adder/gstadder.*: Updated some docs. Added comments and FIXMEs all over the place.

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_setcaps),
(gst_adder_query_duration), (gst_adder_query), (forward_event),
(gst_adder_src_event), (gst_adder_sink_event),
(gst_adder_class_init), (gst_adder_finalize),
(gst_adder_request_new_pad), (gst_adder_collected):
* gst/adder/gstadder.h:
Updated some docs. Added comments and FIXMEs all over the place.
Improve debugging info.
Fix leak on finalize by not calling the parent.
Implement duration query.
Make event forwarding threadsafe.
Correctly send NEWSEGMENT at start and after flush.
Handle EOS correctly.
Post error when not negotiated.
* tests/check/elements/adder.c: (GST_START_TEST):
Added FIXME in the test.

18 years agoConst-ify GEnumValue and GFlagsValue arrays. Use
Tim-Philipp Müller [Tue, 9 May 2006 19:24:46 +0000 (19:24 +0000)]
Const-ify GEnumValue and GFlagsValue arrays. Use

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_valign_get_type),
(gst_text_overlay_halign_get_type),
(gst_text_overlay_wrap_mode_get_type):
* ext/theora/theoradec.c: (theora_handle_type_packet),
(theora_handle_data_packet):
* ext/theora/theoraenc.c: (gst_border_mode_get_type),
(theora_enc_sink_setcaps), (theora_enc_chain):
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_mode_get_type):
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiostestsrc_wave_get_type):
* gst/playback/gststreaminfo.c: (gst_stream_type_get_type):
* gst/tcp/gstfdset.c: (gst_fdset_mode_get_type):
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
(gst_sync_method_get_type), (gst_unit_type_get_type),
(gst_client_status_get_type):
* gst/videoscale/gstvideoscale.c:
(gst_video_scale_method_get_type):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_pattern_get_type):
* gst/videotestsrc/videotestsrc.c: (paint_setup_I420),
(paint_setup_YV12), (paint_setup_YUY2), (paint_setup_UYVY),
(paint_setup_YVYU), (paint_setup_IYU2), (paint_setup_Y41B),
(paint_setup_Y42B), (paint_setup_Y800), (paint_setup_YVU9),
(paint_setup_YUV9), (paint_setup_RGB888), (paint_setup_BGR888),
(paint_setup_RGB565), (paint_setup_xRGB1555):
Const-ify GEnumValue and GFlagsValue arrays. Use
GST_ROUND_UP_* macros instead of home-made ones.

18 years agoconfigure.ac: Require core CVS for the new newsegment stuff.
Tim-Philipp Müller [Tue, 9 May 2006 17:40:41 +0000 (17:40 +0000)]
configure.ac: Require core CVS for the new newsegment stuff.

Original commit message from CVS:
* configure.ac:
Require core CVS for the new newsegment stuff.

18 years agogst/tcp/gstmultifdsink.c: Register nick for enum value (#341160).
Sjoerd Simons [Tue, 9 May 2006 17:30:48 +0000 (17:30 +0000)]
gst/tcp/gstmultifdsink.c: Register nick for enum value (#341160).

Original commit message from CVS:
Patch by: Sjoerd Simons  <sjoerd at luon net>
* gst/tcp/gstmultifdsink.c: (gst_client_status_get_type):
Register nick for enum value (#341160).

18 years agogst/typefind/gsttypefindfunctions.c: backout typefind patch #340375
Stefan Kost [Tue, 9 May 2006 16:46:23 +0000 (16:46 +0000)]
gst/typefind/gsttypefindfunctions.c: backout typefind patch #340375

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (m4a_type_find),
(plugin_init):
backout typefind patch #340375
* tests/check/elements/adder.c: (message_received),
(GST_START_TEST), (adder_suite):
redo, signal-handling of test

18 years agogst/adder/gstadder.*: Remove bogus segment merging and forwarding, we don't care...
Wim Taymans [Tue, 9 May 2006 16:14:49 +0000 (16:14 +0000)]
gst/adder/gstadder.*: Remove bogus segment merging and forwarding, we don't care about timestamps anyway and we just ...

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_request_new_pad),
(gst_adder_collected):
* gst/adder/gstadder.h:
Remove bogus segment merging and forwarding, we don't
care about timestamps anyway and we just produce a
continuous stream.
Also create a nice NEWSEGMENT event when we start.
Use _scale_int some more.

18 years agotests/icles/stress-xoverlay.c: Fix if core was built without parsing support.
Edward Hervey [Tue, 9 May 2006 11:59:13 +0000 (11:59 +0000)]
tests/icles/stress-xoverlay.c: Fix if core was built without parsing support.

Original commit message from CVS:
* tests/icles/stress-xoverlay.c:
Fix if core was built without parsing support.

18 years agogst-libs/gst/riff/riff-media.c: Add SEDG (Samsung MPEG-4) fourcc.
Tim-Philipp Müller [Tue, 9 May 2006 11:37:22 +0000 (11:37 +0000)]
gst-libs/gst/riff/riff-media.c: Add SEDG (Samsung MPEG-4) fourcc.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Add SEDG (Samsung MPEG-4) fourcc.

18 years agotests/examples/volume/volume.c: Fox if core was built without parsing support.
Edward Hervey [Tue, 9 May 2006 11:31:47 +0000 (11:31 +0000)]
tests/examples/volume/volume.c: Fox if core was built without parsing support.

Original commit message from CVS:
* tests/examples/volume/volume.c:
Fox if core was built without parsing support.
* tests/examples/seek/seek.c:
Disable the parse_launch example if core was built without parsing
support.

18 years agotests/examples/seek/seek.c: Disable the parse_launch example if core was built withou...
Edward Hervey [Tue, 9 May 2006 11:21:24 +0000 (11:21 +0000)]
tests/examples/seek/seek.c: Disable the parse_launch example if core was built without parsing support.

Original commit message from CVS:
* tests/examples/seek/seek.c:
Disable the parse_launch example if core was built without parsing
support.

18 years agodoc reparagraphing and DEBUG_FUNCPTRing
Thomas Vander Stichele [Mon, 8 May 2006 15:51:15 +0000 (15:51 +0000)]
doc reparagraphing and DEBUG_FUNCPTRing

Original commit message from CVS:
doc reparagraphing and DEBUG_FUNCPTRing

18 years agoautogen.sh: libtoolize on Darwin/MacOSX is called glibtoolize
Edward Hervey [Mon, 8 May 2006 11:51:43 +0000 (11:51 +0000)]
autogen.sh: libtoolize on Darwin/MacOSX is called glibtoolize

Original commit message from CVS:
* autogen.sh: (CONFIGURE_DEF_OPT):
libtoolize on Darwin/MacOSX is called glibtoolize

18 years agotests/check/: Disable the adder test, until the build-slaves posses the kindness...
Stefan Kost [Sun, 7 May 2006 17:39:04 +0000 (17:39 +0000)]
tests/check/: Disable the adder test, until the build-slaves posses the kindness to either like it or to give valid r...

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/adder.c: (event_loop), (GST_START_TEST):
Disable the adder test, until the build-slaves posses the kindness to
either like it or to give valid reason for not doing so

18 years agotests/check/elements/adder.c: Shuffle NULL state change around and raise timeout...
Stefan Kost [Sun, 7 May 2006 17:25:56 +0000 (17:25 +0000)]
tests/check/elements/adder.c: Shuffle NULL state change around and raise timeout more

Original commit message from CVS:
* tests/check/elements/adder.c: (event_loop), (GST_START_TEST),
(adder_suite):
Shuffle NULL state change around and raise timeout more

18 years agogst/typefind/gsttypefindfunctions.c: Add typefind to distinguish between "audio/x...
Stefan Kost [Sun, 7 May 2006 17:07:03 +0000 (17:07 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefind to distinguish between "audio/x-m4a" and new type "video/mp4". Fixe...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp4_find_box),
(mp4_type_find), (plugin_init):
Add typefind to distinguish between "audio/x-m4a" and new type
"video/mp4". Fixes #340375
* tests/check/elements/adder.c: (adder_suite):
Raise timeout to make buildbot happy

18 years agoAdd sink-event handling to adder. It tries to merge incomming newsegment-events....
Stefan Kost [Sun, 7 May 2006 16:39:36 +0000 (16:39 +0000)]
Add sink-event handling to adder. It tries to merge incomming newsegment-events. Added test to check if segment_done ...

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_sink_event),
(gst_adder_request_new_pad), (gst_adder_change_state):
* gst/adder/gstadder.h:
* tests/check/Makefile.am:
* tests/check/elements/adder.c: (event_loop), (GST_START_TEST),
(adder_suite), (main):
Add sink-event handling to adder. It tries to merge incomming
newsegment-events. Added test to check if segment_done is comming
through.

18 years agoext/theora/theoraparse.c (gst_theora_parse_init) ext/vorbis/vorbisparse.c (gst_vorbis...
Andy Wingo [Fri, 5 May 2006 16:34:15 +0000 (16:34 +0000)]
ext/theora/theoraparse.c (gst_theora_parse_init) ext/vorbis/vorbisparse.c (gst_vorbis_parse_init)

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

* ext/theora/theoraparse.c (gst_theora_parse_init)
(theora_parse_src_convert, theora_parse_src_query):
* ext/vorbis/vorbisparse.c (gst_vorbis_parse_init)
(vorbis_parse_convert, vorbis_parse_src_query): Add convert and
query functions on the source pads of the theora and vorbis parse
elements. Fixes position querying when doing a remux.

18 years agoext/theora/theoraparse.c: Fix flushing.
Michael Smith [Fri, 5 May 2006 13:46:37 +0000 (13:46 +0000)]
ext/theora/theoraparse.c: Fix flushing.

Original commit message from CVS:
* ext/theora/theoraparse.c: (parse_granulepos),
(theora_parse_drain_queue_prematurely),
(theora_parse_queue_buffer), (theora_parse_sink_event):
Fix flushing.
Fix invalid granulepos outputs when starting with a non-keyframe.

18 years agogst/typefind/gsttypefindfunctions.c: Rearrange MPEG system stream detection, fixing...
Jan Schmidt [Fri, 5 May 2006 12:37:35 +0000 (12:37 +0000)]
gst/typefind/gsttypefindfunctions.c: Rearrange MPEG system stream detection, fixing some memleaks in the process.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find),
(mpeg1_sys_type_find), (ogganx_type_find), (sw_data_destroy):
Rearrange MPEG system stream detection, fixing some memleaks in the
process.
Constify the data for STARTS_WITH and RIFF helper handlers. Make sure
they clean up their data correctly.
Remove unused ogganx caps and move the 'is_annodex' check to inside
the 'is_ogg' if statement.

18 years agogst/playback/gstdecodebin.c: Properly remove ghostpads. Fixes #340392
Wim Taymans [Fri, 5 May 2006 11:33:37 +0000 (11:33 +0000)]
gst/playback/gstdecodebin.c: Properly remove ghostpads. Fixes #340392

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (cleanup_decodebin):
Properly remove ghostpads. Fixes #340392

18 years agogst/typefind/gsttypefindfunctions.c:
David Schleef [Thu, 4 May 2006 18:43:58 +0000 (18:43 +0000)]
gst/typefind/gsttypefindfunctions.c:

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c:

18 years agogst/typefind/gsttypefindfunctions.c: When typefinding an MP3 in push-based mode,...
Jan Schmidt [Wed, 3 May 2006 16:32:19 +0000 (16:32 +0000)]
gst/typefind/gsttypefindfunctions.c: When typefinding an MP3 in push-based mode, don't penalise the probability down ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
(mpeg_ts_probe_headers), (mpeg_ts_type_find):
When typefinding an MP3 in push-based mode, don't penalise the
probability down to 74% when we found 5 valid frames just because we
can't peek the end of the file.
Make the probability for detecting MPEG Transport Streams based on the
number of sequential headers we successfully detected.

18 years agoext/vorbis/vorbisdec.c: Still produce an error when we receive an empty packet.
Wim Taymans [Wed, 3 May 2006 15:52:46 +0000 (15:52 +0000)]
ext/vorbis/vorbisdec.c: Still produce an error when we receive an empty packet.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_dec_push), (vorbis_dec_chain):
Still produce an error when we receive an empty packet.

18 years agoext/ogg/gstoggdemux.c: Mark buffers with DISCONT after seek and after activating...
Wim Taymans [Wed, 3 May 2006 15:34:48 +0000 (15:34 +0000)]
ext/ogg/gstoggdemux.c: Mark buffers with DISCONT after seek and after activating new chains.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_peer),
(gst_ogg_chain_mark_discont), (gst_ogg_chain_new_stream),
(gst_ogg_demux_activate_chain), (gst_ogg_demux_perform_seek):
Mark buffers with DISCONT after seek and after activating new
chains.
* ext/theora/gsttheoradec.h:
* ext/theora/theoradec.c: (gst_theora_dec_reset),
(theora_get_query_types), (theora_dec_sink_event),
(theora_dec_push), (theora_handle_data_packet), (theora_dec_chain),
(theora_dec_change_state):
Fix frame counter.
Detect and mark DISCONT buffers.
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_sink_event), (vorbis_dec_push), (vorbis_dec_chain),
(vorbis_dec_change_state):
* ext/vorbis/vorbisdec.h:
Use GstSegment.
Detect and mark DISCONT buffers.
Don't crash on 0 sized buffers.

18 years agogst/volume/gstvolume.c: Increase "volume" property to 10.0. Fixes #340369.
Wim Taymans [Wed, 3 May 2006 08:58:13 +0000 (08:58 +0000)]
gst/volume/gstvolume.c: Increase "volume" property to 10.0. Fixes #340369.

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_funcfind), (volume_set_caps),
(volume_transform_ip):
Increase "volume" property to 10.0. Fixes #340369.
Set the process function to NULL when capsnego fails so that
we properly error out.

18 years agogst/playback/: free cpas using gst_caps_unref, don't leak caps-strings
Stefan Kost [Tue, 2 May 2006 18:15:25 +0000 (18:15 +0000)]
gst/playback/: free cpas using gst_caps_unref, don't leak caps-strings

Original commit message from CVS:
* gst/playback/gstplaybin.c: (add_sink):
* gst/playback/test.c: (main):
* gst/playback/test5.c: (dump_element_stats):
* gst/playback/test6.c: (main):
free cpas using gst_caps_unref, don't leak caps-strings

18 years agosome RTP debug
Thomas Vander Stichele [Tue, 2 May 2006 06:33:54 +0000 (06:33 +0000)]
some RTP debug

Original commit message from CVS:
some RTP debug

18 years agogst/typefind/gsttypefindfunctions.c: Refine musepack typefinding a bit. Return MAXIMU...
Tim-Philipp Müller [Mon, 1 May 2006 19:08:40 +0000 (19:08 +0000)]
gst/typefind/gsttypefindfunctions.c: Refine musepack typefinding a bit. Return MAXIMUM probability when we detect str...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (musepack_type_find),
(plugin_init):
Refine musepack typefinding a bit. Return MAXIMUM
probability when we detect stream version 7 to make
sure the mpeg audio typefinder doesn't trump us.

18 years agogst-libs/gst/riff/riff-media.c: Protect against unexpected NULL strf_data buffer.
Tim-Philipp Müller [Sat, 29 Apr 2006 16:25:58 +0000 (16:25 +0000)]
gst-libs/gst/riff/riff-media.c: Protect against unexpected NULL strf_data buffer.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Protect against unexpected NULL strf_data buffer.

18 years agotests/check/elements/audioconvert.c: interpret the out[] buffer in the order the...
Thomas Vander Stichele [Sat, 29 Apr 2006 13:09:52 +0000 (13:09 +0000)]
tests/check/elements/audioconvert.c: interpret the out[] buffer in the order the bytes are actually put in, which is ...

Original commit message from CVS:

* tests/check/elements/audioconvert.c: (verify_convert),
(GST_START_TEST):
interpret the out[] buffer in the order the bytes are actually
put in, which is LITTLE_ENDIAN, not BYTE_ORDER.
Other tests should use BYTE_ORDER since the array is filled in
with actual values

18 years agodump expected data when audioconvert test fails
Thomas Vander Stichele [Sat, 29 Apr 2006 12:10:52 +0000 (12:10 +0000)]
dump expected data when audioconvert test fails

Original commit message from CVS:
dump expected data when audioconvert test fails

18 years agotests/check/elements/audioconvert.c: when a test fails, give an indication of which...
Thomas Vander Stichele [Sat, 29 Apr 2006 11:55:09 +0000 (11:55 +0000)]
tests/check/elements/audioconvert.c: when a test fails, give an indication of which it is

Original commit message from CVS:

* tests/check/elements/audioconvert.c: (verify_convert),
(GST_START_TEST):
when a test fails, give an indication of which it is