summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-10-31configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN as the result of the ↵Sebastian Dröge2-1/+9
linking is what is interesting, not that ... Original commit message from CVS: * configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN as the result of the linking is what is interesting, not that it actually runs. Fixes cross-compilation and fixes bug #558639.
2008-10-30sys/qtwrapper/audiodecoders.c: Add ALAC support.Michael Smith3-74/+201
Original commit message from CVS: * sys/qtwrapper/audiodecoders.c: Add ALAC support. Fix decode of mono AAC files created by itunes. Set output format correctly (don't ask quicktime to resample for us). Use a larger decode buffer to avoid problems with large ALAC packets. Fix decode to loop until we have all output data. * sys/qtwrapper/qtutils.c: Fix includes so we compile on more OSes.
2008-10-30configure.ac: Require at least Gtk 2.8.0 for the demos (that's the oldest I ↵Tim-Philipp Müller3-21/+15
can test with; I'm fairly certain Gtk 2.0... Original commit message from CVS: * configure.ac: Require at least Gtk 2.8.0 for the demos (that's the oldest I can test with; I'm fairly certain Gtk 2.0.0 is not good enough any longer); clean up some unused Gtk-related configure cruft. * examples/scaletempo/demo-gui.c: Define Gtk 2.12 function to noop when compiling against older Gtk.
2008-10-30gst/speexresample/gstspeexresample.c: The length for the buffer conversion ↵Sebastian Dröge2-0/+11
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.
2008-10-30tests/check/elements/speexresample.c: Add pipeline unit tests for testing ↵Sebastian Dröge5-14/+138
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.
2008-10-30gst/speexresample/: Add support for int8, int24 and int32 input by ↵Sebastian Dröge4-12/+216
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.
2008-10-30ext/resindvd/resindvdsrc.*: Better fix for #546319 and similar cases by ↵Jan Schmidt3-20/+35
explicitly registering when we're in playing ... Original commit message from CVS: * ext/resindvd/resindvdsrc.c: * ext/resindvd/resindvdsrc.h: Better fix for #546319 and similar cases by explicitly registering when we're in playing state or not.
2008-10-30ext/ladspa/gstladspa.c: Whitespace.Stefan Kost3-3/+10
Original commit message from CVS: * ext/ladspa/gstladspa.c: Whitespace. * ext/ladspa/gstsignalprocessor.c: Add a FIXME:. not sure if this code does the forwarding correctly.
2008-10-30Add support for double samples as input and refactor the usage of the ↵Sebastian Dröge10-188/+393
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.
2008-10-30gst/scaletempo/gstscaletempo.c: Return the result of parent_class->event().Stefan Kost2-2/+6
Original commit message from CVS: * gst/scaletempo/gstscaletempo.c: Return the result of parent_class->event().
2008-10-30gst/audiobuffer/: Add first version of an audioringbuffer element that can ↵Wim Taymans3-0/+1223
be inserted in the pipeline to convert pus... Original commit message from CVS: * gst/audiobuffer/Makefile.am: * gst/audiobuffer/gstaudioringbuffer.c: (gst_int_ring_buffer_acquire), (gst_int_ring_buffer_release), (gst_int_ring_buffer_start), (gst_int_ring_buffer_base_init), (gst_int_ring_buffer_class_init), (gst_int_ring_buffer_init), (gst_int_ring_buffer_new), (gst_audio_ringbuffer_get_type), (gst_audio_ringbuffer_class_init), (gst_audio_ringbuffer_init), (gst_audio_ringbuffer_finalize), (gst_audio_ringbuffer_getcaps), (gst_audio_ringbuffer_setcaps), (gst_audio_ringbuffer_bufferalloc), (gst_audio_ringbuffer_handle_sink_event), (gst_audio_ringbuffer_render), (gst_audio_ringbuffer_chain), (gst_audio_ringbuffer_handle_src_event), (gst_audio_ringbuffer_handle_src_query), (gst_audio_ringbuffer_get_range), (gst_audio_ringbuffer_src_checkgetrange_function), (gst_audio_ringbuffer_sink_activate_push), (gst_audio_ringbuffer_src_activate_push), (gst_audio_ringbuffer_src_activate_pull), (gst_audio_ringbuffer_change_state), (gst_audio_ringbuffer_set_property), (gst_audio_ringbuffer_get_property), (plugin_init): Add first version of an audioringbuffer element that can be inserted in the pipeline to convert push-based upstream into a pull-based downstream.
2008-10-30gst/audioresample/gstaudioresample.c: Return the result of ↵Stefan Kost1-3/+1
parent_class->event(). Original commit message from CVS: * gst/audioresample/gstaudioresample.c: Return the result of parent_class->event().
2008-10-30gst/aiffparse/aiffparse.c: AIFF is always signed, even for 8 bit.Michael Smith2-2/+6
Original commit message from CVS: * gst/aiffparse/aiffparse.c: AIFF is always signed, even for 8 bit.
2008-10-29gst-libs/gst/app/gstappsink.c: Fix the docs.Wim Taymans2-1/+6
Original commit message from CVS: * gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init): Fix the docs.
2008-10-29gst/real/gstrealvideodec.c: A RealVideo video inside a container (for ↵Robin Stocker2-1/+16
example MKV) should use the Original commit message from CVS: Patch by: Robin Stocker <robin at nibor dot org> * gst/real/gstrealvideodec.c: (gst_real_video_dec_setcaps): A RealVideo video inside a container (for example MKV) should use the PAR which is specified on the sinkpad caps. Fixes #558416.
2008-10-29gst/speexresample/gstspeexresample.*: Rewrite timestamp tracking to make it ↵Sebastian Dröge5-110/+668
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.
2008-10-29ext/resindvd/resindvdsrc.c: Make sure to start the NAV packet processing ↵Jan Schmidt2-17/+35
when changing state to PLAYING by passing a... Original commit message from CVS: * ext/resindvd/resindvdsrc.c: Make sure to start the NAV packet processing when changing state to PLAYING by passing a flag that indicates the state change is in progress. Fixes: #546319
2008-10-28ext/resindvd/resin-play: Remove $@ to fix parse_launch warningStefan Kost3-1/+23
Original commit message from CVS: * ext/resindvd/resin-play: Remove $@ to fix parse_launch warning * ext/resindvd/resin-play2: Add a version that uses deinterlace and xvimagesink.
2008-10-28gst/speexresample/gstspeexresample.*: Some random cleanup, add G_LIKELY and ↵Sebastian Dröge3-64/+90
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, ...
2008-10-28gst/flv/gstflvdemux.c: Implement position query in time format.Sebastian Dröge2-0/+27
Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_query): Implement position query in time format.
2008-10-28gst/flv/: Put the GstSegment directly into the instance struct instead of ↵Sebastian Dröge4-77/+91
allocating and free'ing it again. Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup), (gst_flv_demux_loop), (gst_flv_demux_handle_seek_push), (gst_flv_demux_handle_seek_pull), (gst_flv_demux_sink_event), (gst_flv_demux_dispose), (gst_flv_demux_init): * gst/flv/gstflvdemux.h: * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video), (gst_flv_parse_tag_timestamp): Put the GstSegment directly into the instance struct instead of allocating and free'ing it again. Push tags already if only one pad was added, no need to wait for the second one. When generating our index set has_video and has_audio if we find video or audio in case the FLV header has incorrect data.
2008-10-28gst/speexresample/gstspeexresample.c: Fixate to the nearest supported rate ↵Sebastian Dröge2-1/+31
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.
2008-10-28gst/audioresample/gstaudioresample.c: Fixate the rate to the nearest ↵Sebastian Dröge1-0/+20
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.
2008-10-28gst/speexresample/: Update Speex resampler with latest version from Speex GIT.Sebastian Dröge10-537/+1421
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.
2008-10-28gst/aiffparse/aiffparse.*: Calculate width from depth correctly.Michael Smith3-6/+49
Original commit message from CVS: * gst/aiffparse/aiffparse.c: * gst/aiffparse/aiffparse.h: Calculate width from depth correctly. Read SSND header properly (fixes 24 bit AIFF reading).
2008-10-27ext/x264/gstx264enc.c: Adapt to slightly modified x264 API. Fixes #555238.Mark Nauwelaerts2-0/+10
Original commit message from CVS: * ext/x264/gstx264enc.c: (gst_x264_enc_init_encoder): Adapt to slightly modified x264 API. Fixes #555238.
2008-10-27ext/faac/gstfaac.c: Prevent endless loop if buffer alloc error.Mark Nauwelaerts2-1/+7
Original commit message from CVS: * ext/faac/gstfaac.c: (gst_faac_sink_event): Prevent endless loop if buffer alloc error.
2008-10-27gst/flv/: Don't memcpy() all data we want to push downstream, instead just ↵Sebastian Dröge4-141/+153
create subbuffers and push them downstream. Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_chain), (gst_flv_demux_pull_tag), (gst_flv_demux_pull_header), (gst_flv_demux_create_index): * gst/flv/gstflvparse.c: (gst_flv_parse_tag_script), (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video), (gst_flv_parse_tag_timestamp), (gst_flv_parse_tag_type), (gst_flv_parse_header): * gst/flv/gstflvparse.h: Don't memcpy() all data we want to push downstream, instead just create subbuffers and push them downstream. Fix some minor memory leaks.
2008-10-27configure.ac: Require CVS of core for the last change.Sebastian Dröge2-1/+6
Original commit message from CVS: * configure.ac: Require CVS of core for the last change.
2008-10-27gst/flv/Makefile.am: Fix (non-critical) syntax error and add all required ↵Sebastian Dröge3-119/+116
CFLAGS and LIBS. Original commit message from CVS: * gst/flv/Makefile.am: Fix (non-critical) syntax error and add all required CFLAGS and LIBS. * gst/flv/gstflvparse.c: (FLV_GET_STRING), (gst_flv_parse_metadata_item), (gst_flv_parse_tag_script), (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video), (gst_flv_parse_tag_timestamp), (gst_flv_parse_tag_type): Rewrite the script tag parsing to make sure we don't try to read more data than we have. Also use GST_READ_UINT24_BE directly and fix some minor memory leaks. This should make all crashes on fuzzed FLV files disappear.
2008-10-27gst/flv/gstflvparse.c: Properly check everywhere that we have enough data to ↵Sebastian Dröge2-1/+29
parse and don't read outside the allocat... Original commit message from CVS: * gst/flv/gstflvparse.c: (FLV_GET_STRING), (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video), (gst_flv_parse_tag_type), (gst_flv_parse_header): Properly check everywhere that we have enough data to parse and don't read outside the allocated memory region.
2008-10-27gst/flv/gstflvparse.c: If the caps change during playback and negotiation ↵Sebastian Dröge2-2/+16
fails error out instead of trying to continue. Original commit message from CVS: * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): If the caps change during playback and negotiation fails error out instead of trying to continue.
2008-10-27gst/flv/: Add support for Speex audio and allow buffers without valid ↵Sebastian Dröge4-8/+38
timestamp in the muxer. Original commit message from CVS: * gst/flv/gstflvmux.c: (gst_flv_mux_audio_pad_setcaps), (gst_flv_mux_request_new_pad), (gst_flv_mux_write_buffer), (gst_flv_mux_collected): * gst/flv/gstflvmux.h: * gst/flv/gstflvparse.c: (gst_flv_parse_audio_negotiate): Add support for Speex audio and allow buffers without valid timestamp in the muxer.
2008-10-27gst/flv/gstflvdemux.c: Don't post an error message on the bus if sending EOS ↵Sebastian Dröge2-27/+30
downstream didn't work. Fixes bug #550454. Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_loop), (gst_flv_demux_find_offset), (gst_flv_demux_handle_seek_push), (gst_flv_demux_handle_seek_pull): Don't post an error message on the bus if sending EOS downstream didn't work. Fixes bug #550454. Fix seek event handling to look at the flags of the seek event instead of assuming some random flags, don't send segment-start messages when operating in push mode and push seek events upstream if we couldn't handle them.
2008-10-27gst/flv/gstflvdemux.c: Error out early if pulling a tag failed.Sebastian Dröge2-0/+8
Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag): Error out early if pulling a tag failed.
2008-10-27gst/flv/: In pull mode we create our own index before doing anything else ↵Sebastian Dröge4-53/+111
and don't use the index provided by some fi... Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_create_index), (gst_flv_demux_loop): * gst/flv/gstflvparse.c: (gst_flv_parse_tag_script), (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video), (gst_flv_parse_tag_timestamp): * gst/flv/gstflvparse.h: In pull mode we create our own index before doing anything else and don't use the index provided by some files (which are more than often incorrect and cause failed seeks). For push mode we still use the index provided by the file and extend it while doing the playback.
2008-10-27gst/flv/gstflvdemux.c: Instead of using gst_pad_event_default() use a small ↵Sebastian Dröge2-9/+34
gst_pad_push_event() wrapper that only do... Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_push_src_event), (gst_flv_demux_loop), (gst_flv_demux_handle_seek_pull), (gst_flv_demux_sink_event): Instead of using gst_pad_event_default() use a small gst_pad_push_event() wrapper that only does what we want and is much more simple.
2008-10-27gst/flv/gstflvdemux.*: If our index was created by the element and not ↵Sebastian Dröge3-0/+22
provided from the outside we should destroy it... Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_change_state), (gst_flv_demux_set_index), (gst_flv_demux_init): * gst/flv/gstflvdemux.h: If our index was created by the element and not provided from the outside we should destroy it when starting a new stream to get all old entries removed.
2008-10-27gst/flv/gstflvdemux.c: Improve debugging a bit when pulling a buffer from ↵Sebastian Dröge2-3/+11
upstream fails. Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_pull_range): Improve debugging a bit when pulling a buffer from upstream fails.
2008-10-27gst/flv/: Close the currently playing segment from the streaming thread ↵Sebastian Dröge4-9/+42
instead of the thread where the seek event is... Original commit message from CVS: * gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup), (gst_flv_demux_handle_seek_pull), (gst_flv_demux_dispose): * gst/flv/gstflvdemux.h: * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Close the currently playing segment from the streaming thread instead of the thread where the seek event is handled.
2008-10-27gst/mpegdemux/mpegtspacketizer.c: Add support for the frequency list ↵David Härdeman2-0/+81
descriptor, which provides additional frequencie... Original commit message from CVS: Patch by: David Härdeman <david at hardeman dot nu> * gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_nit): Add support for the frequency list descriptor, which provides additional frequencies that should be scanned by a DVB application. Fixes bug #557814.
2008-10-27gst/mpegtsmux/mpegtsmux.c: Fix EOS logic by correctly popping the collect ↵vanista2-2/+23
pad buffers only when we've chosen to use t... Original commit message from CVS: Patch by: vanista <vanista at gmail dot com> * gst/mpegtsmux/mpegtsmux.c: (mpegtsmux_choose_best_stream): Fix EOS logic by correctly popping the collect pad buffers only when we've chosen to use them instead of popping them always and storing them in a private queue. Before the pipeline would deadlock if all pads go EOS at the same time. Fixes bug #557763.
2008-10-26configure.ac: Back to development -> 0.10.9.1Jan Schmidt2-1/+6
Original commit message from CVS: * configure.ac: Back to development -> 0.10.9.1
2008-10-24Release 0.10.9RELEASE-0_10_9Jan Schmidt71-847/+965
Original commit message from CVS: Release 0.10.9
2008-10-24Update .po filesJan Schmidt29-532/+10474
Original commit message from CVS: Update .po files
2008-10-24configure.ac: Commit 0.10.8.4 pre-releaseJan Schmidt2-1/+6
Original commit message from CVS: * configure.ac: Commit 0.10.8.4 pre-release
2008-10-20gst/mpegdemux/gstmpegdemux.c: Fix reverse playback regression.Edward Hervey2-4/+22
Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data): Fix reverse playback regression. Fixes #557080
2008-10-19ext/apexsink/gstapexplugin.c: Set apexsink's rank to NONE so it doesn't get ↵Tim-Philipp Müller3-1/+7
used by autoaudiosink (there's no point r... Original commit message from CVS: * ext/apexsink/gstapexplugin.c: (plugin_init): Set apexsink's rank to NONE so it doesn't get used by autoaudiosink (there's no point really). (#556588)
2008-10-16configure.ac: 0.10.8.3 pre-releaseJan Schmidt2-1/+6
Original commit message from CVS: * configure.ac: 0.10.8.3 pre-release
2008-10-16gst/mpegdemux/gstmpegtsdemux.*: Properly handle some resync cases in the ↵Zaheer Abbas Merali3-21/+84
optimised buffering strategy. Original commit message from CVS: Patch by: Josep Torra * gst/mpegdemux/gstmpegtsdemux.c: * gst/mpegdemux/gstmpegtsdemux.h: Properly handle some resync cases in the optimised buffering strategy.