platform/upstream/gst-plugins-base.git
16 years agogst-libs/gst/riff/riff-media.c: Fix case where we don't have a range for the rates...
Wim Taymans [Thu, 6 Nov 2008 12:14:51 +0000 (12:14 +0000)]
gst-libs/gst/riff/riff-media.c: Fix case where we don't have a range for the rates or channels as is the case with tr...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Fix case where we don't have a range for the rates or channels as is the
case with truespeech.

16 years agogst/volume/gstvolume.*: Keep negotiated state in a separate variable.
Wim Taymans [Wed, 5 Nov 2008 19:18:25 +0000 (19:18 +0000)]
gst/volume/gstvolume.*: Keep negotiated state in a separate variable.

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_update_real_volume),
(gst_volume_set_volume), (gst_volume_get_volume),
(gst_volume_set_mute), (gst_volume_init), (volume_setup),
(volume_transform_ip), (volume_update_mute),
(volume_update_volume), (volume_get_property):
* gst/volume/gstvolume.h:
Keep negotiated state in a separate variable.
Protect the volume and mute properties with the object lock.
Protect modifying the transform with the transform lock.

16 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: Only convert caps to string when debug...
Wim Taymans [Wed, 5 Nov 2008 12:20:21 +0000 (12:20 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Only convert caps to string when debug is enabled.

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps):
Only convert caps to string when debug is enabled.

16 years agoext/theora/: Copy seqnum.
Wim Taymans [Tue, 4 Nov 2008 18:17:24 +0000 (18:17 +0000)]
ext/theora/: Copy seqnum.

Original commit message from CVS:
* ext/theora/gsttheoradec.h:
* ext/theora/theoradec.c: (gst_theora_dec_init),
(gst_theora_dec_reset), (theora_dec_src_event),
(theora_dec_sink_event), (theora_handle_type_packet):
Copy seqnum.
Keep events in a pending list, like vorbisdec, instead of trying
to construct a segment event ourselves.
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
(vorbis_dec_src_event), (vorbis_dec_sink_event):
* ext/vorbis/vorbisdec.h:
Copy seqnum.

16 years agoext/ogg/gstoggdemux.*: Copy seqnums around to track playback segments and messages.
Wim Taymans [Tue, 4 Nov 2008 17:24:35 +0000 (17:24 +0000)]
ext/ogg/gstoggdemux.*: Copy seqnums around to track playback segments and messages.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_deactivate_current_chain),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_handle_page),
(gst_ogg_demux_loop):
* ext/ogg/gstoggdemux.h:
Copy seqnums around to track playback segments and messages.

16 years agoDon't install static libs for plugins. Fixes #550851 for -bad.
Stefan Kost [Tue, 4 Nov 2008 12:42:18 +0000 (12:42 +0000)]
Don't install static libs for plugins. Fixes #550851 for -bad.

Original commit message from CVS:
* ext/alsaspdif/Makefile.am:
* ext/amrwb/Makefile.am:
* ext/apexsink/Makefile.am:
* ext/arts/Makefile.am:
* ext/artsd/Makefile.am:
* ext/audiofile/Makefile.am:
* ext/audioresample/Makefile.am:
* ext/bz2/Makefile.am:
* ext/cdaudio/Makefile.am:
* ext/celt/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dirac/Makefile.am:
* ext/directfb/Makefile.am:
* ext/divx/Makefile.am:
* ext/dts/Makefile.am:
* ext/faac/Makefile.am:
* ext/faad/Makefile.am:
* ext/gsm/Makefile.am:
* ext/hermes/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/jack/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/lcs/Makefile.am:
* ext/libfame/Makefile.am:
* ext/libmms/Makefile.am:
* ext/metadata/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mplex/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/mythtv/Makefile.am:
* ext/nas/Makefile.am:
* ext/neon/Makefile.am:
* ext/ofa/Makefile.am:
* ext/polyp/Makefile.am:
* ext/resindvd/Makefile.am:
* ext/sdl/Makefile.am:
* ext/shout/Makefile.am:
* ext/snapshot/Makefile.am:
* ext/sndfile/Makefile.am:
* ext/soundtouch/Makefile.am:
* ext/spc/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/tarkin/Makefile.am:
* ext/theora/Makefile.am:
* ext/timidity/Makefile.am:
* ext/twolame/Makefile.am:
* ext/x264/Makefile.am:
* ext/xine/Makefile.am:
* ext/xvid/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/dshow/Makefile.am:
* gst/aiffparse/Makefile.am:
* gst/app/Makefile.am:
* gst/audiobuffer/Makefile.am:
* gst/bayer/Makefile.am:
* gst/cdxaparse/Makefile.am:
* gst/chart/Makefile.am:
* gst/colorspace/Makefile.am:
* gst/dccp/Makefile.am:
* gst/deinterlace/Makefile.am:
* gst/deinterlace2/Makefile.am:
* gst/dvdspu/Makefile.am:
* gst/festival/Makefile.am:
* gst/filter/Makefile.am:
* gst/flacparse/Makefile.am:
* gst/flv/Makefile.am:
* gst/games/Makefile.am:
* gst/h264parse/Makefile.am:
* gst/librfb/Makefile.am:
* gst/mixmatrix/Makefile.am:
* gst/modplug/Makefile.am:
* gst/mpeg1sys/Makefile.am:
* gst/mpeg4videoparse/Makefile.am:
* gst/mpegdemux/Makefile.am:
* gst/mpegtsmux/Makefile.am:
* gst/mpegvideoparse/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/nuvdemux/Makefile.am:
* gst/overlay/Makefile.am:
* gst/passthrough/Makefile.am:
* gst/pcapparse/Makefile.am:
* gst/playondemand/Makefile.am:
* gst/rawparse/Makefile.am:
* gst/real/Makefile.am:
* gst/rtjpeg/Makefile.am:
* gst/rtpmanager/Makefile.am:
* gst/scaletempo/Makefile.am:
* gst/sdp/Makefile.am:
* gst/selector/Makefile.am:
* gst/smooth/Makefile.am:
* gst/smoothwave/Makefile.am:
* gst/speed/Makefile.am:
* gst/speexresample/Makefile.am:
* gst/stereo/Makefile.am:
* gst/subenc/Makefile.am:
* gst/tta/Makefile.am:
* gst/vbidec/Makefile.am:
* gst/videodrop/Makefile.am:
* gst/videosignal/Makefile.am:
* gst/virtualdub/Makefile.am:
* gst/vmnc/Makefile.am:
* gst/y4m/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/cdrom/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
* sys/dvb/Makefile.am:
* sys/dxr3/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/oss4/Makefile.am:
* sys/qcam/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/vcd/Makefile.am:
* sys/wininet/Makefile.am:
* win32/common/config.h:
Don't install static libs for plugins. Fixes #550851 for -bad.

16 years agoext/alsa/gstalsasink.c: Make all access non-blocking so that we can better handle...
Matthias Kretz [Mon, 3 Nov 2008 15:30:14 +0000 (15:30 +0000)]
ext/alsa/gstalsasink.c: Make all access non-blocking so that we can better handle unplugging of usb devices. Fixes #5...

Original commit message from CVS:
Based on patch by: Matthias Kretz <kretz at kde dot org>
* ext/alsa/gstalsasink.c: (gst_alsasink_open),
(gst_alsasink_prepare), (gst_alsasink_unprepare),
(gst_alsasink_write):
Make all access non-blocking so that we can better handle unplugging
of usb devices. Fixes #559111

16 years agogst-libs/gst/rtsp/gstrtspconnection.c: Make the next call to poll not depend on previ...
Damien Lespiau [Mon, 3 Nov 2008 10:49:24 +0000 (10:49 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.c: Make the next call to poll not depend on previous calls to poll with or withou...

Original commit message from CVS:
Patch by: Damien Lespiau  <damien.lespiau gmail com>
* gst-libs/gst/rtsp/gstrtspconnection.c:
(gst_rtsp_connection_write):
Make the next call to poll not depend on previous calls to poll with or
without reading from the active descriptor. Fixes #544293.

16 years agogst/speexresample/gstspeexresample.c: Add TODO at the top of the file for enabling...
Sebastian Dröge [Mon, 3 Nov 2008 08:55:49 +0000 (08:55 +0000)]
gst/speexresample/gstspeexresample.c: Add TODO at the top of the file for enabling SSE/ARM specific optimizations and...

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_convert_buffer):
Add TODO at the top of the file for enabling SSE/ARM specific
optimizations and choosing the fastest implementation at runtime.
Add g_assert_not_reached() at two places that should really never
be reached.

16 years agogst/speexresample/gstspeexresample.c: Fix format string and arguments.
Sebastian Dröge [Sun, 2 Nov 2008 09:19:24 +0000 (09:19 +0000)]
gst/speexresample/gstspeexresample.c: Fix format string and arguments.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_check_discont):
Fix format string and arguments.
* gst/speexresample/resample_sse.h:
Add missing file.

16 years agogst/speexresample/: Add missing headers to Makefile.am.
Sebastian Dröge [Sat, 1 Nov 2008 19:38:36 +0000 (19:38 +0000)]
gst/speexresample/: Add missing headers to Makefile.am.

Original commit message from CVS:
* gst/speexresample/Makefile.am:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_base_init), (gst_speex_resample_get_funcs),
(gst_speex_resample_convert_buffer), (_benchmark_int_float),
(_benchmark_int_int), (_benchmark_integer_resampling),
(plugin_init):
* gst/speexresample/gstspeexresample.h:
* gst/speexresample/resample.c:
* gst/speexresample/speex_resampler_double.c:
* gst/speexresample/speex_resampler_float.c:
* gst/speexresample/speex_resampler_int.c:
* gst/speexresample/speex_resampler_wrapper.h:
Add missing headers to Makefile.am.
Update copyright, years and my mail address.
Benchmark the integer resampling implementation against the
float implementation and use the faster one for 8/16 bit integer
input. On most recent systems the floating point version is faster.

16 years agogst-libs/gst/riff/: Add support for other fourcc codes that are commonly used for...
Nick Haddad [Fri, 31 Oct 2008 09:49:57 +0000 (09:49 +0000)]
gst-libs/gst/riff/: Add support for other fourcc codes that are commonly used for 'uncompressed RGB', including 'RGB ...

Original commit message from CVS:
Patch by: Nick Haddad <nick at haddads dot net>
* gst-libs/gst/riff/riff-ids.h:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Add support for other fourcc codes that are commonly used for
'uncompressed RGB', including 'RGB ', 'RAW ', and 0.
Fixes #558553.

16 years agogst/speexresample/gstspeexresample.c: The length for the buffer conversion function...
Sebastian Dröge [Thu, 30 Oct 2008 14:55:43 +0000 (14:55 +0000)]
gst/speexresample/gstspeexresample.c: The length for the buffer conversion function is the number of audio frames, i....

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_convert_buffer):
The length for the buffer conversion function is the number of
audio frames, i.e. we need to multiply it by the number of channels
to get the number of values. Also spotted by the unit test after
running in valgrind.

16 years agotests/check/elements/speexresample.c: Add pipeline unit tests for testing all support...
Sebastian Dröge [Thu, 30 Oct 2008 14:46:31 +0000 (14:46 +0000)]
tests/check/elements/speexresample.c: Add pipeline unit tests for testing all supported formats with up/downsampling ...

Original commit message from CVS:
* tests/check/elements/speexresample.c: (element_message_cb),
(eos_message_cb), (test_pipeline), (GST_START_TEST),
(speexresample_suite):
Add pipeline unit tests for testing all supported formats with
up/downsampling and different in/outrates.
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_push_drain), (gst_speex_resample_process):
* gst/speexresample/speex_resampler_wrapper.h:
Fix bugs identified by the testsuite.

16 years agogst/speexresample/: Add support for int8, int24 and int32 input by converting interna...
Sebastian Dröge [Thu, 30 Oct 2008 13:44:41 +0000 (13:44 +0000)]
gst/speexresample/: Add support for int8, int24 and int32 input by converting internally to/from int16 or double.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_stop),
(gst_speex_resample_get_funcs),
(gst_speex_resample_transform_size),
(gst_speex_resample_convert_buffer),
(gst_speex_resample_push_drain), (gst_speex_resample_process):
* gst/speexresample/gstspeexresample.h:
* gst/speexresample/speex_resampler_wrapper.h:
Add support for int8, int24 and int32 input by converting internally
to/from int16 or double.

16 years agoAdd support for double samples as input and refactor the usage of the different compi...
Sebastian Dröge [Thu, 30 Oct 2008 12:43:44 +0000 (12:43 +0000)]
Add support for double samples as input and refactor the usage of the different compilation flavors of the speex resa...

Original commit message from CVS:
* gst/speexresample/Makefile.am:
* gst/speexresample/arch.h:
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_stop),
(gst_speex_resample_get_unit_size), (gst_speex_resample_get_funcs),
(gst_speex_resample_init_state), (gst_speex_resample_update_state),
(gst_speex_resample_reset_state), (gst_speex_resample_parse_caps),
(_gcd), (gst_speex_resample_transform_size),
(gst_speex_resample_set_caps), (gst_speex_resample_push_drain),
(gst_speex_resample_process), (gst_speex_resample_transform),
(gst_speex_resample_query), (gst_speex_resample_set_property):
* gst/speexresample/gstspeexresample.h:
* gst/speexresample/resample.c:
* gst/speexresample/speex_resampler.h:
* gst/speexresample/speex_resampler_double.c:
* gst/speexresample/speex_resampler_wrapper.h:
* tests/check/elements/speexresample.c: (setup_speexresample),
(test_perfect_stream_instance), (GST_START_TEST),
(test_discont_stream_instance):
Add support for double samples as input and refactor the usage
of the different compilation flavors of the speex resampler.

16 years agogst/audioresample/gstaudioresample.c: Return the result of parent_class->event().
Stefan Kost [Thu, 30 Oct 2008 11:43:12 +0000 (11:43 +0000)]
gst/audioresample/gstaudioresample.c: Return the result of parent_class->event().

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c:
Return the result of parent_class->event().

16 years agogst-libs/gst/app/gstappsink.c: Fix the docs.
Wim Taymans [Wed, 29 Oct 2008 17:02:55 +0000 (17:02 +0000)]
gst-libs/gst/app/gstappsink.c: Fix the docs.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init):
Fix the docs.

16 years agogst/speexresample/gstspeexresample.*: Rewrite timestamp tracking to make it more...
Sebastian Dröge [Wed, 29 Oct 2008 12:11:20 +0000 (12:11 +0000)]
gst/speexresample/gstspeexresample.*: Rewrite timestamp tracking to make it more robust and guarantee a continous str...

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_start),
(gst_speex_resample_get_unit_size),
(gst_speex_resample_push_drain), (gst_speex_resample_event),
(gst_speex_resample_check_discont), (gst_speex_resample_process),
(gst_speex_resample_transform):
* gst/speexresample/gstspeexresample.h:
Rewrite timestamp tracking to make it more robust and guarantee
a continous stream.
* tests/check/Makefile.am:
* tests/check/elements/speexresample.c: (setup_speexresample),
(cleanup_speexresample), (fail_unless_perfect_stream),
(test_perfect_stream_instance), (GST_START_TEST),
(test_discont_stream_instance), (live_switch_alloc_only_48000),
(live_switch_get_sink_caps), (live_switch_push),
(speexresample_suite):
Add unit tests for speexresample based on the audioresample unit tests.

16 years agogst/speexresample/gstspeexresample.*: Some random cleanup, add G_LIKELY and friends...
Sebastian Dröge [Tue, 28 Oct 2008 19:30:33 +0000 (19:30 +0000)]
gst/speexresample/gstspeexresample.*: Some random cleanup, add G_LIKELY and friends, use GST_DEBUG_OBJECT instead of ...

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_get_unit_size),
(gst_speex_resample_fixate_caps), (gst_speex_resample_init_state),
(gst_speex_resample_update_state), (gst_speex_resample_parse_caps),
(gst_speex_resample_transform_size), (gst_speex_resample_set_caps),
(gst_speex_resample_push_drain), (gst_speex_resample_event),
(gst_speex_resample_check_discont), (gst_speex_fix_output_buffer),
(gst_speex_resample_process), (gst_speex_resample_transform),
(gst_speex_resample_query), (gst_speex_resample_set_property):
* gst/speexresample/gstspeexresample.h:
Some random cleanup, add G_LIKELY and friends, use GST_DEBUG_OBJECT
instead of GST_DEBUG, ...

16 years agogst/speexresample/gstspeexresample.c: Fixate to the nearest supported rate instead...
Sebastian Dröge [Tue, 28 Oct 2008 16:28:45 +0000 (16:28 +0000)]
gst/speexresample/gstspeexresample.c: Fixate to the nearest supported rate instead of the first one.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_class_init), (gst_speex_resample_fixate_caps),
(gst_speex_resample_process):
Fixate to the nearest supported rate instead of the first one.

16 years agogst/audioresample/gstaudioresample.c: Fixate the rate to the nearest supported rate...
Sebastian Dröge [Tue, 28 Oct 2008 16:25:00 +0000 (16:25 +0000)]
gst/audioresample/gstaudioresample.c: Fixate the rate to the nearest supported rate instead of the first one. Fixes b...

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c:
(gst_audioresample_class_init), (audioresample_fixate_caps):
Fixate the rate to the nearest supported rate instead of
the first one. Fixes bug #549510.

16 years agogst/speexresample/: Update Speex resampler with latest version from Speex GIT.
Sebastian Dröge [Tue, 28 Oct 2008 11:46:28 +0000 (11:46 +0000)]
gst/speexresample/: Update Speex resampler with latest version from Speex GIT.

Original commit message from CVS:
* gst/speexresample/README:
* gst/speexresample/arch.h:
* gst/speexresample/fixed_arm4.h:
* gst/speexresample/fixed_arm5e.h:
* gst/speexresample/fixed_bfin.h:
* gst/speexresample/fixed_debug.h:
* gst/speexresample/fixed_generic.h:
* gst/speexresample/resample.c: (compute_func), (main), (sinc),
(cubic_coef), (resampler_basic_direct_single),
(resampler_basic_direct_double),
(resampler_basic_interpolate_single),
(resampler_basic_interpolate_double), (update_filter),
(speex_resampler_init_frac), (speex_resampler_process_native),
(speex_resampler_magic), (speex_resampler_process_float),
(speex_resampler_process_int),
(speex_resampler_process_interleaved_float),
(speex_resampler_process_interleaved_int),
(speex_resampler_set_rate_frac), (speex_resampler_skip_zeros),
(speex_resampler_reset_mem):
* gst/speexresample/speex_resampler.h:
Update Speex resampler with latest version from Speex GIT.

16 years agowin32/common/libgstaudio.def: Add new symbols.
Wim Taymans [Mon, 27 Oct 2008 14:57:34 +0000 (14:57 +0000)]
win32/common/libgstaudio.def: Add new symbols.

Original commit message from CVS:
* win32/common/libgstaudio.def:
Add new symbols.

16 years agoext/vorbis/vorbisdec.c: Attempt to make obfuscated code clearer.
Wim Taymans [Thu, 23 Oct 2008 09:57:06 +0000 (09:57 +0000)]
ext/vorbis/vorbisdec.c: Attempt to make obfuscated code clearer.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_handle_identification_packet):
Attempt to make obfuscated code clearer.

16 years agoMove float endianness conversion macros to core. Second part of bug ##555196.
Sebastian Dröge [Thu, 23 Oct 2008 07:11:23 +0000 (07:11 +0000)]
Move float endianness conversion macros to core. Second part of bug ##555196.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/floatcast/floatcast.h:
Move float endianness conversion macros to core. Second part of
bug ##555196.

16 years agosys/: Don't mark as gtk-doc docs as they aren't public.
Stefan Kost [Wed, 22 Oct 2008 12:29:30 +0000 (12:29 +0000)]
sys/: Don't mark as gtk-doc docs as they aren't public.

Original commit message from CVS:
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.h:
Don't mark as gtk-doc docs as they aren't public.

16 years agoAllow setting colorkey if possible. Implement property probe interface for optional...
Stefan Kost [Wed, 22 Oct 2008 12:25:02 +0000 (12:25 +0000)]
Allow setting colorkey if possible. Implement property probe interface for optional X features (autopaint-colorkey, d...

Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
* sys/xvimage/xvimagesink.h:
* tests/icles/Makefile.am:
* tests/icles/test-colorkey.c:
Allow setting colorkey if possible. Implement property probe interface
for optional X features (autopaint-colorkey, double-buffer and
colorkey). Fixes #554533

16 years agogst-libs/gst/tag/tags.c: Remove useless buffer size assignment. It already has this...
Sebastian Dröge [Wed, 22 Oct 2008 12:01:32 +0000 (12:01 +0000)]
gst-libs/gst/tag/tags.c: Remove useless buffer size assignment. It already has this value.

Original commit message from CVS:
* gst-libs/gst/tag/tags.c: (gst_tag_image_data_to_image_buffer):
Remove useless buffer size assignment. It already has this value.

16 years agogst-libs/gst/audio/gstaudiosink.c: Implement a separate activate functions to start...
Wim Taymans [Mon, 20 Oct 2008 15:35:37 +0000 (15:35 +0000)]
gst-libs/gst/audio/gstaudiosink.c: Implement a separate activate functions to start monitoring the segments or, in pu...

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c:
(gst_audioringbuffer_class_init), (gst_audioringbuffer_acquire),
(gst_audioringbuffer_activate), (gst_audioringbuffer_release),
(gst_audioringbuffer_stop):
Implement a separate activate functions to start monitoring the segments
or, in pull mode, pulling in data.
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_init), (gst_base_audio_sink_dispose),
(gst_base_audio_sink_query_pad), (gst_base_audio_sink_query),
(gst_base_audio_sink_setcaps), (gst_base_audio_sink_callback),
(gst_base_audio_sink_activate_pull),
(gst_base_audio_sink_async_play),
(gst_base_audio_sink_change_state):
Implement pad and element convert query function.
Activate the ringbuffer.
Use the segment last_stop value as the offset to pull.
Use new basesink _do_preroll() method to preroll in the pulling thread.
Take appropriate locking in the pulling thread.
* gst-libs/gst/audio/gstringbuffer.h:
Update some docs.

16 years agogst/typefind/gsttypefindfunctions.c: Improve MXF typefinding a bit by searching for...
Sebastian Dröge [Mon, 20 Oct 2008 14:08:52 +0000 (14:08 +0000)]
gst/typefind/gsttypefindfunctions.c: Improve MXF typefinding a bit by searching for a header partition pack instead o...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mxf_type_find):
Improve MXF typefinding a bit by searching for a header partition
pack instead of just a general partition pack and checking more
bytes for valid values.

16 years agotests/icles/.cvsignore: update ignore file.
Wim Taymans [Mon, 20 Oct 2008 13:45:55 +0000 (13:45 +0000)]
tests/icles/.cvsignore: update ignore file.

Original commit message from CVS:
* tests/icles/.cvsignore:
update ignore file.
* tests/icles/Makefile.am:
* tests/icles/test-box.c: (make_pipeline), (main):
Add another interactive command line experimentation suite for
dynamically boxing/cropping/saling an input video.

16 years agoAdd methods to more accuratly control the pulling thread of a ringbuffer.
Wim Taymans [Fri, 17 Oct 2008 13:19:05 +0000 (13:19 +0000)]
Add methods to more accuratly control the pulling thread of a ringbuffer.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_convert),
(gst_ring_buffer_activate), (gst_ring_buffer_is_active):
* gst-libs/gst/audio/gstringbuffer.h:
Add methods to more accuratly control the pulling thread of a
ringbuffer.
Add format conversion helper code to the ringbuffer.
API: GstRingBuffer:gst_ring_buffer_activate()
API: GstRingBuffer:gst_ring_buffer_is_active()
API: GstRingBuffer:gst_ring_buffer_convert()

16 years agogst-libs/gst/audio/gstaudiosink.c: Signal thread startup earlier so that we can immed...
Wim Taymans [Thu, 16 Oct 2008 15:44:37 +0000 (15:44 +0000)]
gst-libs/gst/audio/gstaudiosink.c: Signal thread startup earlier so that we can immediatly go into pull mode when we ...

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func),
(gst_audioringbuffer_acquire), (gst_audioringbuffer_release),
(gst_audioringbuffer_stop):
Signal thread startup earlier so that we can immediatly go into pull
mode when we have to and block on preroll.

16 years agogst-libs/gst/audio/gstringbuffer.c: In pull mode we want the callback to prepull...
Wim Taymans [Thu, 16 Oct 2008 15:38:50 +0000 (15:38 +0000)]
gst-libs/gst/audio/gstringbuffer.c: In pull mode we want the callback to prepull a buffer we can preroll on even when...

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_prepare_read):
In pull mode we want the callback to prepull a buffer we can preroll on
even when we are not yet playing.

16 years agoDon't install static libs for plugins. Fixes #550851 for base.
Stefan Kost [Thu, 16 Oct 2008 15:07:00 +0000 (15:07 +0000)]
Don't install static libs for plugins. Fixes #550851 for base.

Original commit message from CVS:
* ext/alsa/Makefile.am:
* ext/cdparanoia/Makefile.am:
* ext/gio/Makefile.am:
* ext/gnomevfs/Makefile.am:
* ext/libvisual/Makefile.am:
* ext/ogg/Makefile.am:
* ext/pango/Makefile.am:
* ext/theora/Makefile.am:
* ext/vorbis/Makefile.am:
* gst/adder/Makefile.am:
* gst/audioconvert/Makefile.am:
* gst/audiorate/Makefile.am:
* gst/audioresample/Makefile.am:
* gst/audiotestsrc/Makefile.am:
* gst/ffmpegcolorspace/Makefile.am:
* gst/gdp/Makefile.am:
* gst/playback/Makefile.am:
* gst/subparse/Makefile.am:
* gst/tcp/Makefile.am:
* gst/typefind/Makefile.am:
* gst/videorate/Makefile.am:
* gst/videoscale/Makefile.am:
* gst/videotestsrc/Makefile.am:
* gst/volume/Makefile.am:
* sys/v4l/Makefile.am:
* sys/ximage/Makefile.am:
* sys/xvimage/Makefile.am:
Don't install static libs for plugins. Fixes #550851 for base.

16 years agogst/audiotestsrc/gstaudiotestsrc.c: Set the default blocksize to -1 because we will...
Wim Taymans [Thu, 16 Oct 2008 13:50:00 +0000 (13:50 +0000)]
gst/audiotestsrc/gstaudiotestsrc.c: Set the default blocksize to -1 because we will then use the configured samplespe...

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c: (gst_audio_test_src_init):
Set the default blocksize to -1 because we will then use the configured
samplesperbuffer to create our output buffer.

16 years agogst-libs/gst/riff/riff-media.c: Add mappping for the KMVC (Karl Morton's Video) Codec.
Edward Hervey [Wed, 15 Oct 2008 15:28:41 +0000 (15:28 +0000)]
gst-libs/gst/riff/riff-media.c: Add mappping for the KMVC (Karl Morton's Video) Codec.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add mappping for the KMVC (Karl Morton's Video) Codec.

16 years agogst/typefind/gsttypefindfunctions.c: Don't forget to advance the offset of what we...
Edward Hervey [Wed, 15 Oct 2008 14:25:50 +0000 (14:25 +0000)]
gst/typefind/gsttypefindfunctions.c: Don't forget to advance the offset of what we're matching against, else we end u...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (flac_type_find):
Don't forget to advance the offset of what we're matching against, else
we end up in a forever loop.

16 years agogst/subparse/gstsubparse.c: Improve typefinding a bit. If we don't have a Unicode...
Sebastian Dröge [Wed, 15 Oct 2008 11:25:09 +0000 (11:25 +0000)]
gst/subparse/gstsubparse.c: Improve typefinding a bit. If we don't have a Unicode charset try GST_SUBTITLE_ENCODING a...

Original commit message from CVS:
* gst/subparse/gstsubparse.c: (gst_subparse_type_find):
Improve typefinding a bit. If we don't have a Unicode charset
try GST_SUBTITLE_ENCODING and otherwise try ISO-8859-15.

16 years agoext/theora/theoradec.c: Fix build on macosx.
Edward Hervey [Tue, 14 Oct 2008 11:13:59 +0000 (11:13 +0000)]
ext/theora/theoradec.c: Fix build on macosx.

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_decode_buffer):
Fix build on macosx.

16 years agoext/theora/: Parse input caps and make the PAR override the encoded PAR when specifie...
Robin Stocker [Mon, 13 Oct 2008 11:36:13 +0000 (11:36 +0000)]
ext/theora/: Parse input caps and make the PAR override the encoded PAR when specified by a container. Fixes #555699.

Original commit message from CVS:
Based on patch by: Robin Stocker <robin at nibor dot org>
* ext/theora/gsttheoradec.h:
* ext/theora/theoradec.c: (gst_theora_dec_init),
(theora_dec_setcaps), (theora_handle_type_packet),
(theora_dec_decode_buffer), (theora_dec_change_state):
Parse input caps and make the PAR override the encoded PAR when
specified by a container. Fixes #555699.

16 years agogst-libs/gst/rtp/gstbasertpdepayload.*: Add some more G_LIKELY
Wim Taymans [Mon, 13 Oct 2008 09:16:59 +0000 (09:16 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.*: Add some more G_LIKELY

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_setcaps), (gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_set_gst_timestamp),
(gst_base_rtp_depayload_change_state):
* gst-libs/gst/rtp/gstbasertpdepayload.h:
Add some more G_LIKELY
Fail when the setcaps function was not called.
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_set_outcaps):
Propagate return value of setcaps.

16 years agogst/subparse/: Add support for UTF16/UTF32 subtitles as long as the first bytes of...
Sebastian Dröge [Mon, 13 Oct 2008 08:58:29 +0000 (08:58 +0000)]
gst/subparse/: Add support for UTF16/UTF32 subtitles as long as the first bytes of the first buffer contain the BOM. ...

Original commit message from CVS:
* gst/subparse/Makefile.am:
* gst/subparse/gstsubparse.c: (gst_sub_parse_dispose),
(gst_sub_parse_class_init), (gst_sub_parse_init),
(gst_convert_to_utf8), (detect_encoding), (convert_encoding),
(get_next_line), (gst_sub_parse_data_format_autodetect),
(feed_textbuf), (handle_buffer), (gst_sub_parse_change_state),
(gst_subparse_type_find):
* gst/subparse/gstsubparse.h:
Add support for UTF16/UTF32 subtitles as long as the first bytes of
the first buffer contain the BOM. This also adds support for other
encodings that allow NUL bytes via the encoding property.
Fixes bugs #552237 and #456788.

16 years agogst-libs/gst/tag/tags.c: Don't drop the last byte of image tags if they're not an...
Sebastian Dröge [Mon, 13 Oct 2008 08:15:13 +0000 (08:15 +0000)]
gst-libs/gst/tag/tags.c: Don't drop the last byte of image tags if they're not an URI list.

Original commit message from CVS:
* gst-libs/gst/tag/tags.c: (gst_tag_image_data_to_image_buffer):
Don't drop the last byte of image tags if they're not an URI list.
Fixes bug #556066.

16 years agogst/typefind/gsttypefindfunctions.c: For looking at the 4th byte we have to get 4...
Sebastian Dröge [Mon, 13 Oct 2008 08:00:55 +0000 (08:00 +0000)]
gst/typefind/gsttypefindfunctions.c: For looking at the 4th byte we have to get 4 bytes of course and not 3.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (flac_type_find):
For looking at the 4th byte we have to get 4 bytes of course
and not 3.

16 years agogst/typefind/gsttypefindfunctions.c: Improve FLAC-without-headers typefinding by...
Sebastian Dröge [Mon, 13 Oct 2008 07:52:41 +0000 (07:52 +0000)]
gst/typefind/gsttypefindfunctions.c: Improve FLAC-without-headers typefinding by looking at most of the frame header ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (flac_type_find):
Improve FLAC-without-headers typefinding by looking at most of the
frame header and checking if invalid values are used. Should prevent
quite some false positives compared to the old version which only
check if the first 14 bits are set.

16 years agosys/xvimage/xvimagesink.c: Don't assert on caps==NULL.
Stefan Kost [Sat, 11 Oct 2008 16:27:28 +0000 (16:27 +0000)]
sys/xvimage/xvimagesink.c: Don't assert on caps==NULL.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
Don't assert on caps==NULL.

16 years agoAdd support for subtitle files with UTF-8 BOM at the beginning by simple stripping...
Sebastian Dröge [Fri, 10 Oct 2008 17:13:40 +0000 (17:13 +0000)]
Add support for subtitle files with UTF-8 BOM at the beginning by simple stripping it from the first line before pass...

Original commit message from CVS:
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect), (handle_buffer),
(gst_sub_parse_change_state):
* gst/subparse/gstsubparse.h:
* tests/check/elements/subparse.c: (GST_START_TEST):
Add support for subtitle files with UTF-8 BOM at the beginning
by simple stripping it from the first line before passing it
to any parsing code. Fixes bug #555257 and playback of files
created by Gnome Subtitles.

16 years agogst/audiotestsrc/gstaudiotestsrc.*: Define the default property values in the usual...
Wim Taymans [Fri, 10 Oct 2008 15:45:15 +0000 (15:45 +0000)]
gst/audiotestsrc/gstaudiotestsrc.*: Define the default property values in the usual place.

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audio_test_src_class_init), (gst_audio_test_src_init),
(gst_audio_test_src_src_fixate), (gst_audio_test_src_setcaps),
(gst_audio_test_src_start), (gst_audio_test_src_stop),
(gst_audio_test_src_do_seek), (gst_audio_test_src_check_get_range),
(gst_audio_test_src_create):
* gst/audiotestsrc/gstaudiotestsrc.h:
Define the default property values in the usual place.
Implement start/stop to reset values correctly.
Calculate the sample size only once when we negotiate.
Rename some values to make more sense.
Keep track of our byte range.
Add support for pull based scheduling. Disabled for now until we have
the whole stack working.
Set the BUFFER_OFFSET correctly.

16 years agoMake the detection of the used subtitle a bit less strict for srt subtitles. Fixes...
Sebastian Dröge [Fri, 10 Oct 2008 15:32:10 +0000 (15:32 +0000)]
Make the detection of the used subtitle a bit less strict for srt subtitles. Fixes bug #555607.

Original commit message from CVS:
Based on a patch by: xavierb at gmail dot com
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect):
* tests/check/elements/subparse.c: (GST_START_TEST):
Make the detection of the used subtitle a bit less strict
for srt subtitles. Fixes bug #555607.

16 years agoext/vorbis/vorbisenc.c: Fix discontinuity detection which was broken by last commit.
Sebastian Dröge [Fri, 10 Oct 2008 15:21:38 +0000 (15:21 +0000)]
ext/vorbis/vorbisenc.c: Fix discontinuity detection which was broken by last commit.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c:
(gst_vorbis_enc_buffer_check_discontinuous):
Fix discontinuity detection which was broken by last commit.

16 years agoconfigure.ac: Require core CVS for ghostpad API additions used by decodebin2.
Tim-Philipp Müller [Thu, 9 Oct 2008 11:18:09 +0000 (11:18 +0000)]
configure.ac: Require core CVS for ghostpad API additions used by decodebin2.

Original commit message from CVS:
* configure.ac::
Require core CVS for ghostpad API additions used by decodebin2.

16 years agogst-libs/gst/audio/gstbaseaudiosrc.c: Fix debug statements (space between '%' and...
Edward Hervey [Wed, 8 Oct 2008 15:30:33 +0000 (15:30 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: Fix debug statements (space between '%' and actual format).

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create):
Fix debug statements (space between '%' and actual format).

16 years agogst/playback/gstdecodebin2.c: Remove bogus assert, the decodepad could have been...
Wim Taymans [Wed, 8 Oct 2008 14:44:04 +0000 (14:44 +0000)]
gst/playback/gstdecodebin2.c: Remove bogus assert, the decodepad could have been created inside an already existing g...

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_pad_activate):
Remove bogus assert, the decodepad could have been created inside an
already existing group.

16 years agochangelog
Andy Wingo [Wed, 8 Oct 2008 14:01:42 +0000 (14:01 +0000)]
changelog

Original commit message from CVS:
changelog

16 years agogst/playback/gstdecodebin2.c (expose_pad): Fix typo: unset target instead of setting it.
Andy Wingo [Wed, 8 Oct 2008 14:00:07 +0000 (14:00 +0000)]
gst/playback/gstdecodebin2.c (expose_pad): Fix typo: unset target instead of setting it.

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

* gst/playback/gstdecodebin2.c (expose_pad): Fix typo: unset
target instead of setting it.
(gst_decode_pad_activate, gst_decode_pad_unblock): This is now the
API for a decode pad. The bugfix is that we set the group in
activate(), not when the pad was created because it might be NULL
then.
(gst_decode_group_control_source_pad, gst_decode_group_expose):
Update to use the API.

16 years agogst/playback/gstdecodebin2.c (struct _GstDecodePad): Change to be a subclass of GstGh...
Andy Wingo [Wed, 8 Oct 2008 12:49:40 +0000 (12:49 +0000)]
gst/playback/gstdecodebin2.c (struct _GstDecodePad): Change to be a subclass of GstGhostPad.

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

* gst/playback/gstdecodebin2.c (struct _GstDecodePad): Change to
be a subclass of GstGhostPad.
(analyze_new_pad): So, when emitting the signals that determine
how we do autoplugging, already create the ghost pad and use it as
the pad in the signal arguments. This allows applications to make
a connection between the pad passed in e.g. autoplug-continue, and
the pad passed in new-decoded-pad.
(connect_pad, expose_pad): Update to receive the ghosted decode
pad in the args, retargetting it as necessary if we have to plug
the target pad through a multiqueue.
(gst_decode_group_control_source_pad): Adapt to receive an
already-ghosted pad that just needs activation, blocking, and
drain notification.
(sort_end_pads): Adapt for decode pads actually being pads.
(gst_decode_group_expose): Adapt for decode pads actually being
pads. Rewrite the decode pad names so they appear in order. Adds a
new error case if we couldn't set the name.
(gst_decode_group_free, gst_decode_group_hide): Adapt cleanup
logic.
(gst_decode_pad_set_blocked, gst_decode_pad_add_drained_check):
New API for the decode pad, needed because we shouldn't do these
things inside gst_decode_pad_new(), but after.
(gst_decode_pad_new): Change to actually make the real pad, and
delay the blocking/drainage bits.

16 years agoext/ogg/gstoggmux.c: Unref all buffers when clearing collectpads. Fixes bug #546955.
Daniel Drake [Wed, 8 Oct 2008 12:12:01 +0000 (12:12 +0000)]
ext/ogg/gstoggmux.c: Unref all buffers when clearing collectpads. Fixes bug #546955.

Original commit message from CVS:
Patch by: Daniel Drake <dsd at laptop dot org>
* ext/ogg/gstoggmux.c: (gst_ogg_mux_clear_collectpads):
Unref all buffers when clearing collectpads. Fixes bug #546955.

16 years agoext/vorbis/vorbisenc.*: Keep track of the upstream segments and use the running time...
Klaas [Wed, 8 Oct 2008 12:08:01 +0000 (12:08 +0000)]
ext/vorbis/vorbisenc.*: Keep track of the upstream segments and use the running time on that segment instead of the b...

Original commit message from CVS:
Based on a patch by: Klaas <klaas at rivercrew dot net>
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_sink_event),
(gst_vorbis_enc_buffer_check_discontinuous),
(gst_vorbis_enc_chain), (gst_vorbis_enc_change_state):
* ext/vorbis/vorbisenc.h:
Keep track of the upstream segments and use the running time on that
segment instead of the buffer timestamp everywhere. Fixes bug #525807.

16 years agogst/audioconvert/audioconvert.c: Prevent overflows with big buffer when calculating...
Sebastian Dröge [Wed, 8 Oct 2008 11:50:50 +0000 (11:50 +0000)]
gst/audioconvert/audioconvert.c: Prevent overflows with big buffer when calculating the size of the intermediate buff...

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (audio_convert_convert):
Prevent overflows with big buffer when calculating the size of
the intermediate buffer by using gst_util_uint64_scale() instead of
plain arithmetics. Fixes bug #552801.

16 years agoext/pango/gstclockoverlay.*: API: Add ability to specify format for date/time display...
Pavel Zeldin [Wed, 8 Oct 2008 10:49:15 +0000 (10:49 +0000)]
ext/pango/gstclockoverlay.*: API: Add ability to specify format for date/time display by adding a "time-format" prope...

Original commit message from CVS:
Patch by: Pavel Zeldin <pzeldin at gmail dot com>
* ext/pango/gstclockoverlay.c: (gst_clock_overlay_render_time),
(gst_clock_overlay_class_init), (gst_clock_overlay_finalize),
(gst_clock_overlay_init), (gst_clock_overlay_set_property),
(gst_clock_overlay_get_property):
* ext/pango/gstclockoverlay.h:
API: Add ability to specify format for date/time display by
adding a "time-format" property.
Fixes bug #554879.

16 years agogst-libs/gst/riff/riff-media.c: Add FFV1 fourcc to support playback of FFMPEG lossles...
Jan Gerber [Wed, 8 Oct 2008 09:22:26 +0000 (09:22 +0000)]
gst-libs/gst/riff/riff-media.c: Add FFV1 fourcc to support playback of FFMPEG lossless video in AVI. Fixes bug #555319.

Original commit message from CVS:
Patch by: Jan Gerber <j at oil21 dot org>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add FFV1 fourcc to support playback of FFMPEG lossless video
in AVI. Fixes bug #555319.

16 years agogst-libs/gst/audio/gstbaseaudiosrc.c: Implement skew clock slaving. Fixes #552559.
Håvard Graff [Wed, 8 Oct 2008 09:12:36 +0000 (09:12 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: Implement skew clock slaving. Fixes #552559.

Original commit message from CVS:
Patch by: Håvard Graff <havard dot graff at tandberg dot com>
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create):
Implement skew clock slaving. Fixes #552559.

16 years agogst-libs/gst/audio/: Fix include of config.h
Wim Taymans [Wed, 8 Oct 2008 09:10:23 +0000 (09:10 +0000)]
gst-libs/gst/audio/: Fix include of config.h

Original commit message from CVS:
* gst-libs/gst/audio/multichannel.c:
* gst-libs/gst/audio/testchannels.c:
Fix include of config.h

16 years agogst-libs/gst/sdp/gstsdpmessage.c: Fix parsing of the c= field containing multicast...
Tero Saarni [Mon, 6 Oct 2008 16:36:20 +0000 (16:36 +0000)]
gst-libs/gst/sdp/gstsdpmessage.c: Fix parsing of the c= field containing multicast addresses.

Original commit message from CVS:
Based on Patch by: Tero Saarni <tero dot saarni at gmail dot com>
* gst-libs/gst/sdp/gstsdpmessage.c: (gst_sdp_parse_line),
(print_media), (gst_sdp_message_dump):
Fix parsing of the c= field containing multicast addresses.
Fixes #552199.
Add the connection info to the session or streams.
Fix parsing of the bandwidth.
Add debugging for the connections and bandwidths for a media.
Add debugging for the bandwidth of the session.

16 years agogst-libs/gst/rtp/gstbasertppayload.c: Configure the next seqnum and timestamp in...
Wim Taymans [Mon, 6 Oct 2008 16:31:27 +0000 (16:31 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: Configure the next seqnum and timestamp in the state change so that they can be...

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_change_state):
Configure the next seqnum and timestamp in the state change so that they
can be queried soon after.

16 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Improve debugging of the rtptime.
Wim Taymans [Mon, 6 Oct 2008 16:29:33 +0000 (16:29 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Improve debugging of the rtptime.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_chain):
Improve debugging of the rtptime.

16 years agoconfigure.ac: Back to development -> 0.10.21.1
Jan Schmidt [Sun, 5 Oct 2008 11:33:47 +0000 (11:33 +0000)]
configure.ac: Back to development -> 0.10.21.1

Original commit message from CVS:
* configure.ac:
Back to development -> 0.10.21.1

16 years agoChangeLog surgery
Sebastian Dröge [Sun, 5 Oct 2008 08:18:31 +0000 (08:18 +0000)]
ChangeLog surgery

Original commit message from CVS:
ChangeLog surgery

16 years agogst/typefind/gsttypefindfunctions.c: Add typefinder for MXF.
Sebastian Dröge [Sun, 5 Oct 2008 08:11:53 +0000 (08:11 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefinder for MXF.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mxf_type_find),
(plugin_init):
Add typefinder for MXF.

16 years agogst/typefind/gsttypefindfunctions.c: Add typefinder for MXF.
Sebastian Dröge [Sun, 5 Oct 2008 08:10:09 +0000 (08:10 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefinder for MXF.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mxf_type_find),
(plugin_init):
Add typefinder for MXF.

16 years agotests/icles/Makefile.am: Only build test-colorkey if GTK+ is available.
Jan Schmidt [Fri, 3 Oct 2008 15:19:40 +0000 (15:19 +0000)]
tests/icles/Makefile.am: Only build test-colorkey if GTK+ is available.

Original commit message from CVS:
* tests/icles/Makefile.am:
Only build test-colorkey if GTK+ is available.

16 years agoRelease 0.10.21 RELEASE-0_10_21
Jan Schmidt [Fri, 3 Oct 2008 00:03:05 +0000 (00:03 +0000)]
Release 0.10.21

Original commit message from CVS:
Release 0.10.21

16 years agoUpdate .po files
Jan Schmidt [Thu, 2 Oct 2008 23:44:45 +0000 (23:44 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years agoconfigure.ac: 0.10.20.4 pre-release
Jan Schmidt [Sun, 28 Sep 2008 22:58:18 +0000 (22:58 +0000)]
configure.ac: 0.10.20.4 pre-release

Original commit message from CVS:
* configure.ac:
0.10.20.4 pre-release

16 years agoext/theora/theoraparse.c: Set the BOS flag on the BOS packet. Fixes #553244.
ogg.k.ogg.k [Thu, 25 Sep 2008 10:46:00 +0000 (10:46 +0000)]
ext/theora/theoraparse.c: Set the BOS flag on the BOS packet. Fixes #553244.

Original commit message from CVS:
Patch by: ogg.k.ogg.k <ogg dot k dot ogg dot k at googlemail dot com>
* ext/theora/theoraparse.c: (theora_parse_set_streamheader):
Set the BOS flag on the BOS packet. Fixes #553244.

16 years agogst-libs/gst/rtsp/gstrtspmessage.c: Fix the g_return_val_if_fail() statements.
Wim Taymans [Tue, 23 Sep 2008 17:48:14 +0000 (17:48 +0000)]
gst-libs/gst/rtsp/gstrtspmessage.c: Fix the g_return_val_if_fail() statements.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspmessage.c:
(gst_rtsp_message_parse_request),
(gst_rtsp_message_parse_response):
Fix the g_return_val_if_fail() statements.

16 years agogst-libs/gst/tag/gsttagdemux.c: Fail to activate if there's insufficient data in...
Michael Smith [Mon, 22 Sep 2008 17:44:14 +0000 (17:44 +0000)]
gst-libs/gst/tag/gsttagdemux.c: Fail to activate if there's insufficient data in the file to be usable, preventing an...

Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c:
Fail to activate if there's insufficient data in the file to be usable,
preventing an assertion fail later. Fixes #552960

16 years agoCommit stuff that should have gone in last week when I made the pre-releases:
Jan Schmidt [Tue, 16 Sep 2008 15:36:56 +0000 (15:36 +0000)]
Commit stuff that should have gone in last week when I made the pre-releases:

Original commit message from CVS:
Commit stuff that should have gone in last week when I made the pre-releases:

2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>

* configure.ac:
0.10.20.2 pre-release

* po/LINGUAS:
* po/id.po:
* po/pt_BR.po:

New translations.

16 years agogst/: Recognise Kate subtitle streams (#550582).
Tim-Philipp Müller [Mon, 15 Sep 2008 15:11:18 +0000 (15:11 +0000)]
gst/: Recognise Kate subtitle streams (#550582).

Original commit message from CVS:
* gst-libs/gst/pbutils/descriptions.c:
* gst/typefind/gsttypefindfunctions.c:
Recognise Kate subtitle streams (#550582).

16 years agogst-libs/gst/audio/audio.h: Remove trailing comma from enum list, which causes proble...
Tim-Philipp Müller [Sat, 13 Sep 2008 11:04:02 +0000 (11:04 +0000)]
gst-libs/gst/audio/audio.h: Remove trailing comma from enum list, which causes problems with -pendantic (#550729).

Original commit message from CVS:
* gst-libs/gst/audio/audio.h: (GST_AUDIO_FIELD_SIGNED):
Remove trailing comma from enum list, which causes problems
with -pendantic (#550729).

16 years agogst-libs/gst/interfaces/propertyprobe.c: More sanity checks for our second-favourite...
Tim-Philipp Müller [Fri, 5 Sep 2008 19:04:47 +0000 (19:04 +0000)]
gst-libs/gst/interfaces/propertyprobe.c: More sanity checks for our second-favourite interface.

Original commit message from CVS:
* gst-libs/gst/interfaces/propertyprobe.c:
(gst_property_probe_get_properties),
(gst_property_probe_get_property),
(gst_property_probe_probe_property),
(gst_property_probe_probe_property_name),
(gst_property_probe_needs_probe),
(gst_property_probe_needs_probe_name),
(gst_property_probe_get_values),
(gst_property_probe_get_values_name),
(gst_property_probe_probe_and_get_values),
(gst_property_probe_probe_and_get_values_name):
More sanity checks for our second-favourite interface.

16 years agogst-libs/gst/interfaces/propertyprobe.c: Check for NULL pointer, in the hope that...
Stefan Kost [Fri, 5 Sep 2008 14:12:01 +0000 (14:12 +0000)]
gst-libs/gst/interfaces/propertyprobe.c: Check for NULL pointer, in the hope that this fixes #532864.

Original commit message from CVS:
* gst-libs/gst/interfaces/propertyprobe.c:
Check for NULL pointer, in the hope that this fixes #532864.

16 years agosys/xvimage/xvimagesink.c: No really, the next release is 0.10.21 (fix Since: tags...
Tim-Philipp Müller [Fri, 5 Sep 2008 10:24:05 +0000 (10:24 +0000)]
sys/xvimage/xvimagesink.c: No really, the next release is 0.10.21 (fix Since: tags in docs).

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_class_init):
No really, the next release is 0.10.21 (fix Since: tags in docs).

16 years agogst-libs/gst/audio/gstaudiosrc.c: Disable a code path that is now called but causes...
Wim Taymans [Thu, 4 Sep 2008 16:25:06 +0000 (16:25 +0000)]
gst-libs/gst/audio/gstaudiosrc.c: Disable a code path that is now called but causes a deadlock for some reason and is...

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosrc.c: (gst_audioringbuffer_stop):
Disable a code path that is now called but causes a deadlock for some
reason and is unneeded.

16 years agosys/xvimage/xvimagesink.*: Add a "draw-border" property that can be set to false...
Stefan Kost [Thu, 4 Sep 2008 13:46:52 +0000 (13:46 +0000)]
sys/xvimage/xvimagesink.*: Add a "draw-border" property that can be set to false to disable drawing borders.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
* sys/xvimage/xvimagesink.h:
Add a "draw-border" property that can be set to false to disable
drawing borders.
* tests/icles/test-colorkey.c:
* tests/icles/Makefile.am:
Add new test application for the colorkey handling.

16 years agogst-libs/gst/riff/riff-media.c: Use a decent caps for TrueSpeech instead of a ffmpeg...
Edward Hervey [Wed, 3 Sep 2008 14:00:06 +0000 (14:00 +0000)]
gst-libs/gst/riff/riff-media.c: Use a decent caps for TrueSpeech instead of a ffmpeg-specific one.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Use a decent caps for TrueSpeech instead of a ffmpeg-specific one.
This will also be fixed for upcoming gst-ffmpeg release so that once
this release of -base is out, it will work with the latest gst-ffmpeg
release.

16 years agogst-libs/gst/riff/riff-media.c: Add Truespeech mapping for RIFF formats (AVI/WAV).
Edward Hervey [Wed, 3 Sep 2008 13:27:20 +0000 (13:27 +0000)]
gst-libs/gst/riff/riff-media.c: Add Truespeech mapping for RIFF formats (AVI/WAV).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
Add Truespeech mapping for RIFF formats (AVI/WAV).
Fixes #550656

16 years agogst/typefind/gsttypefindfunctions.c: Typefind video/mj2 and image/jp2 ISO JPEG2000...
Mark Nauwelaerts [Wed, 3 Sep 2008 12:23:44 +0000 (12:23 +0000)]
gst/typefind/gsttypefindfunctions.c: Typefind video/mj2 and image/jp2 ISO JPEG2000 mime types.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Typefind video/mj2 and image/jp2 ISO JPEG2000 mime types.
Fixes #550638.

16 years agoRework last change, so that we build subparse, but just disable the sami parse functi...
Stefan Kost [Wed, 3 Sep 2008 10:12:04 +0000 (10:12 +0000)]
Rework last change, so that we build subparse, but just disable the sami parse functionality, if we're configured to ...

Original commit message from CVS:
* configure.ac:
* gst/subparse/Makefile.am:
* gst/subparse/gstsubparse.c:
* gst/subparse/samiparse.c:
* tests/check/elements/subparse.c:
Rework last change, so that we build subparse, but just disable the
sami parse functionality, if we're configured to not use xml. In the
tests only the sami test is disabled now.

16 years agoconfigure.ac: Disable subparse when xml is disabled. It woundn't work anyway. Fixes...
Stefan Kost [Tue, 2 Sep 2008 15:07:09 +0000 (15:07 +0000)]
configure.ac: Disable subparse when xml is disabled. It woundn't work anyway. Fixes test runs.

Original commit message from CVS:
* configure.ac:
Disable subparse when xml is disabled. It woundn't work anyway. Fixes
test runs.

16 years agopo/POTFILES.in: Add some more files with strings for translation.
Tim-Philipp Müller [Tue, 2 Sep 2008 09:33:17 +0000 (09:33 +0000)]
po/POTFILES.in: Add some more files with strings for translation.

Original commit message from CVS:
* po/POTFILES.in:
Add some more files with strings for translation.

16 years agoUse new geo location tags from core. Fixes #481169
Stefan Kost [Tue, 2 Sep 2008 06:37:04 +0000 (06:37 +0000)]
Use new geo location tags from core. Fixes #481169

Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c:
* tests/check/libs/tag.c:
Use new geo location tags from core. Fixes #481169

16 years agotests/check/elements/audioresample.c: Now that GstBaseTransform is 'fixed' ... remove...
Edward Hervey [Mon, 1 Sep 2008 16:05:45 +0000 (16:05 +0000)]
tests/check/elements/audioresample.c: Now that GstBaseTransform is 'fixed' ... remove cruft from tests.

Original commit message from CVS:
* tests/check/elements/audioresample.c: (setup_audioresample),
(fail_unless_perfect_stream), (test_perfect_stream_instance),
(test_discont_stream_instance):
Now that GstBaseTransform is 'fixed' ... remove cruft from tests.
Add debugging for coherence.

16 years agogst/typefind/gsttypefindfunctions.c: Add typefinder for PDF documents (which is nice...
Jonathan Matthew [Sat, 30 Aug 2008 15:55:06 +0000 (15:55 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefinder for PDF documents (which is nice to have, since it's a common for...

Original commit message from CVS:
Patch by: Jonathan Matthew  <notverysmart gmail com>
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Add typefinder for PDF documents (which is nice to have, since it's a
common format, but also helps prevent false positives). Fixes #549814.

16 years agogst/playback/gstplaybin2.c: Fix nasty race where multiple decodebins could start...
Wim Taymans [Wed, 27 Aug 2008 15:30:16 +0000 (15:30 +0000)]
gst/playback/gstplaybin2.c: Fix nasty race where multiple decodebins could start pushing data before we manage to con...

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (selector_blocked), (pad_added_cb),
(no_more_pads_cb):
Fix nasty race where multiple decodebins could start pushing data before
we manage to configure the sinks, resulting in not-linked errors in
typical RTSP streaming cases.

16 years agogst-libs/gst/audio/gstaudiosink.c: Since we now call stop, we trigger this code path...
Wim Taymans [Tue, 26 Aug 2008 17:24:31 +0000 (17:24 +0000)]
gst-libs/gst/audio/gstaudiosink.c: Since we now call stop, we trigger this code path that causes a deadlock is appare...

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c: (gst_audioringbuffer_stop):
Since we now call stop, we trigger this code path that causes a deadlock
is apparently not needed.

16 years agogst-libs/gst/audio/gstringbuffer.c: Also allow the case where the ringbuffer was...
Wim Taymans [Tue, 26 Aug 2008 15:45:36 +0000 (15:45 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Also allow the case where the ringbuffer was paused when we try to stop it so tha...

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_start),
(gst_ring_buffer_stop):
Also allow the case where the ringbuffer was paused when we try to stop
it so that the basesrc stop function is still called.

16 years agosys/v4l/gstv4lelement.c: Reprobe devices again instead of taking a cached list as...
Mike Ruprecht [Sat, 23 Aug 2008 15:25:44 +0000 (15:25 +0000)]
sys/v4l/gstv4lelement.c: Reprobe devices again instead of taking a cached list as new devices could've been plugged i...

Original commit message from CVS:
Patch by: Mike Ruprecht <cmaiku at gmail dot com>
* sys/v4l/gstv4lelement.c: (gst_v4l_class_probe_devices):
Reprobe devices again instead of taking a cached list as new
devices could've been plugged in. Fixes bug #549062.