platform/upstream/gstreamer.git
15 years agogst/playback/gstdecodebin2.c: If the top-level type of the stream is plain text,...
Michael Smith [Thu, 20 Nov 2008 22:11:38 +0000 (22:11 +0000)]
gst/playback/gstdecodebin2.c: If the top-level type of the stream is plain text, don't try to decode it, matching beh...

Original commit message from CVS:
* gst/playback/gstdecodebin2.c:
If the top-level type of the stream is plain text, don't try to decode
it, matching behaviour of decodebin.
* gst/playback/gstplaysink.c:
If we fail to generate a text chain (e.g. due to missing optional
plugins), don't crash.

15 years agogst-libs/gst/rtsp/gstrtspdefs.c: Fix win32 build. Oops.
Michael Smith [Thu, 20 Nov 2008 22:06:05 +0000 (22:06 +0000)]
gst-libs/gst/rtsp/gstrtspdefs.c: Fix win32 build. Oops.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspdefs.c:
Fix win32 build. Oops.

15 years agogst-libs/gst/rtsp/gstrtspdefs.c: Use WSAGetLastError() rather than errno/h_errno...
Michael Smith [Thu, 20 Nov 2008 21:40:49 +0000 (21:40 +0000)]
gst-libs/gst/rtsp/gstrtspdefs.c: Use WSAGetLastError() rather than errno/h_errno on win32.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspdefs.c:
Use WSAGetLastError() rather than errno/h_errno on win32.

15 years agogst-libs/gst/riff/riff-media.c: Support WMA Lossless properly.
Michael Smith [Thu, 20 Nov 2008 21:20:27 +0000 (21:20 +0000)]
gst-libs/gst/riff/riff-media.c: Support WMA Lossless properly.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
Support WMA Lossless properly.

15 years agogst/videotestsrc/: Add "colorspec" property, specifying whether to generate BT.601...
David Schleef [Wed, 19 Nov 2008 00:24:44 +0000 (00:24 +0000)]
gst/videotestsrc/: Add "colorspec" property, specifying whether to generate BT.601 or BT.709 video.  This only affect...

Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Add "colorspec" property, specifying whether to generate BT.601
or BT.709 video.  This only affects YCbCr values, not RGB, since
if you're generating a 709 test pattern, presumably you want
709 RGB primaries, not 601.  Also add "smpte75" pattern, which
uses 75% colors instead of 100%, since this is often more useful
for testing (and also follows the SMPTE EG-1 guideline).

15 years agogst/playback/gstdecodebin.c: Add a "sink-caps" property to decodebin like it's done...
Alessandro Decina [Tue, 18 Nov 2008 18:08:42 +0000 (18:08 +0000)]
gst/playback/gstdecodebin.c: Add a "sink-caps" property to decodebin like it's done for decodebin2.

Original commit message from CVS:
* gst/playback/gstdecodebin.c:
Add a "sink-caps" property to decodebin like it's done for decodebin2.
Fixes #560380.

15 years agogst/audioresample/gstaudioresample.c: Guard against a NULL dereference I somehow...
Jan Schmidt [Fri, 14 Nov 2008 21:44:33 +0000 (21:44 +0000)]
gst/audioresample/gstaudioresample.c: Guard against a NULL dereference I somehow encountered - with a FLUSH_STOP arri...

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c:
Guard against a NULL dereference I somehow encountered -
with a FLUSH_STOP arriving either before basetransform _start(),
or after _stop().
* gst/typefind/gsttypefindfunctions.c:
Make sure we never jump backwards when typefinding corrupt mov files.

15 years agogst-libs/gst/interfaces/propertyprobe.c: Fix random type causing a docs warning.
Jan Schmidt [Fri, 14 Nov 2008 21:39:09 +0000 (21:39 +0000)]
gst-libs/gst/interfaces/propertyprobe.c: Fix random type causing a docs warning.

Original commit message from CVS:
* gst-libs/gst/interfaces/propertyprobe.c:
Fix random type causing a docs warning.

15 years agosys/v4l/gstv4l.c: Give it a minimal rank for autovideosrc.
Stefan Kost [Fri, 14 Nov 2008 15:40:28 +0000 (15:40 +0000)]
sys/v4l/gstv4l.c: Give it a minimal rank for autovideosrc.

Original commit message from CVS:
* sys/v4l/gstv4l.c:
Give it a minimal rank for autovideosrc.

15 years agogst/typefind/gsttypefindfunctions.c: Improve typefinding of ISO JPEG2000 mime types.
Mark Nauwelaerts [Thu, 13 Nov 2008 21:11:13 +0000 (21:11 +0000)]
gst/typefind/gsttypefindfunctions.c: Improve typefinding of ISO JPEG2000 mime types.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (jp2_type_find),
(plugin_init):
Improve typefinding of ISO JPEG2000 mime types.

15 years agosys/xvimage/xvimagesink.*: Avoid typechecking when we do trivial casts.
Wim Taymans [Thu, 13 Nov 2008 18:18:32 +0000 (18:18 +0000)]
sys/xvimage/xvimagesink.*: Avoid typechecking when we do trivial casts.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_finalize),
(gst_xvimagesink_xvimage_put), (gst_xvimagesink_setcaps),
(gst_xvimagesink_show_frame), (gst_xvimagesink_buffer_alloc):
* sys/xvimage/xvimagesink.h:
Avoid typechecking when we do trivial casts.
Move error handling out of the main program flow.
Sneak in the display-region caps property, not completely correct yet.
Cache the width/height in buffer_alloc instead of parsing it from the
caps all the time.

15 years agogst/playback/gstplaybin2.c: don't try to unlink the selector sinkpad when we don...
Wim Taymans [Thu, 13 Nov 2008 17:27:37 +0000 (17:27 +0000)]
gst/playback/gstplaybin2.c: don't try to unlink the selector sinkpad when we don't have it yet. This can happen if an...

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (deactivate_group):
don't try to unlink the selector sinkpad when we don't have it yet. This
can happen if an error occured before the group was complete.

15 years agogst-libs/gst/rtp/gstrtpbuffer.c: Avoid expensive type checks we already did as part...
Wim Taymans [Thu, 13 Nov 2008 15:37:40 +0000 (15:37 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: Avoid expensive type checks we already did as part of the _validate() function that ...

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_validate_data),
(gst_rtp_buffer_set_packet_len), (gst_rtp_buffer_get_packet_len),
(gst_rtp_buffer_get_header_len), (gst_rtp_buffer_get_version),
(gst_rtp_buffer_set_version), (gst_rtp_buffer_get_padding),
(gst_rtp_buffer_set_padding), (gst_rtp_buffer_pad_to),
(gst_rtp_buffer_get_extension), (gst_rtp_buffer_set_extension),
(gst_rtp_buffer_get_extension_data),
(gst_rtp_buffer_set_extension_data), (gst_rtp_buffer_get_ssrc),
(gst_rtp_buffer_set_ssrc), (gst_rtp_buffer_get_csrc_count),
(gst_rtp_buffer_get_csrc), (gst_rtp_buffer_set_csrc),
(gst_rtp_buffer_get_marker), (gst_rtp_buffer_set_marker),
(gst_rtp_buffer_get_payload_type),
(gst_rtp_buffer_set_payload_type), (gst_rtp_buffer_get_seq),
(gst_rtp_buffer_set_seq), (gst_rtp_buffer_get_timestamp),
(gst_rtp_buffer_set_timestamp),
(gst_rtp_buffer_get_payload_subbuffer),
(gst_rtp_buffer_get_payload_len), (gst_rtp_buffer_get_payload):
Avoid expensive type checks we already did as part of the
_validate() function that should be called first.

15 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Fix some cases where a newsegment event was...
Wim Taymans [Tue, 11 Nov 2008 16:40:50 +0000 (16:40 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Fix some cases where a newsegment event was not sent.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c: (create_segment_event),
(gst_base_rtp_depayload_push_full),
(gst_base_rtp_depayload_set_gst_timestamp):
Fix some cases where a newsegment event was not sent.

15 years agogst/playback/gstplaybin2.c: Catch state change errors and stop from the uridecodebin...
Wim Taymans [Tue, 11 Nov 2008 15:52:14 +0000 (15:52 +0000)]
gst/playback/gstplaybin2.c: Catch state change errors and stop from the uridecodebin elements instead of trying to co...

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (activate_group):
Catch state change errors and stop from the uridecodebin elements
instead of trying to continue in vain.

15 years agogst/: Wim, you're a bad boy. You don't want people to contact you or what?
Edward Hervey [Mon, 10 Nov 2008 14:53:45 +0000 (14:53 +0000)]
gst/: Wim, you're a bad boy. You don't want people to contact you or what?

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsrc.c:
* gst/h264parse/gsth264parse.c:
Wim, you're a bad boy. You don't want people to contact you or what?

15 years agogst-libs/gst/audio/gstbaseaudiosink.c: Use gst_base_sink_do_preroll() to wait for...
Wim Taymans [Mon, 10 Nov 2008 14:22:09 +0000 (14:22 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Use gst_base_sink_do_preroll() to wait for PLAYING and before waiting for the ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_sync_latency), (gst_base_audio_sink_render),
(gst_base_audio_sink_callback):
Use gst_base_sink_do_preroll() to wait for PLAYING and before waiting
for the latency to expire, fixes #559567.

15 years agogst/adder/gstadder.c: Change author string after seeing output of gst-inspector.
Thomas Vander Stichele [Mon, 10 Nov 2008 13:55:08 +0000 (13:55 +0000)]
gst/adder/gstadder.c: Change author string after seeing output of gst-inspector.

Original commit message from CVS:
* gst/adder/gstadder.c:
Change author string after seeing output of gst-inspector.

15 years agogst/playback/gstplaysink.c: Don't try to do crazy things when we only have a text...
Wim Taymans [Mon, 10 Nov 2008 10:33:26 +0000 (10:33 +0000)]
gst/playback/gstplaysink.c: Don't try to do crazy things when we only have a text pad without a video pad. Fixes #559...

Original commit message from CVS:
* gst/playback/gstplaysink.c: (gst_play_sink_reconfigure):
Don't try to do crazy things when we only have a text pad without a
video pad. Fixes #559478.

15 years agogst-libs/gst/app/gstappsrc.*: Add is-live property.
Wim Taymans [Fri, 7 Nov 2008 17:35:46 +0000 (17:35 +0000)]
gst-libs/gst/app/gstappsrc.*: Add is-live property.

Original commit message from CVS:
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_init), (gst_app_src_set_property),
(gst_app_src_get_property), (gst_app_src_push_buffer):
* gst-libs/gst/app/gstappsrc.h:
Add is-live property.
Add some more docs.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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().

15 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.

15 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.

15 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, ...

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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

15 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.

15 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.

15 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.

15 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.

15 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()

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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).

15 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.

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

Original commit message from CVS:
changelog

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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

15 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.

15 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.

15 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.

15 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

15 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

15 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.

15 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.

15 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.

15 years agoRelease 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

15 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

15 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

15 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.

15 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.

15 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

15 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.