gst/mpegdemux/mpegtsparse.c: Fix another memleak.
[platform/upstream/gstreamer.git] / ChangeLog
index bf01db2..380ef00 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,505 @@
+2008-11-04  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
+
+       patch by: Sebastian Pölsterl
+
+       * gst/mpegdemux/mpegtsparse.c:
+       Fix another memleak.
+
+2008-11-04  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
+
+       patch by: Sebastian Pölsterl
+
+       * gst/mpegdemux/mpegtspacketizer.c:
+       * sys/dvb/gstdvbsrc.c:
+       Fix memleaks.
+
+2008-11-04  Stefan Kost  <ensonic@users.sf.net>
+
+       * 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.
+
+2008-11-04  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
+
+       patch by: Sebastian Pölsterl
+       
+       * gst/mpegdemux/mpegtsparse.c:
+       Fix memleak.
+
+2008-11-04  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
+
+       based on patch by: Sebastian Pölsterl
+
+       * sys/dvb/gstdvbsrc.c:
+       Fix memleak.
+
+2008-11-03  Jan Schmidt  <jan.schmidt@sun.com>
+
+       * examples/scaletempo/.cvsignore:
+       Add example to cvs ignores.
+
+2008-11-03  Jan Schmidt  <jan.schmidt@sun.com>
+
+       * sys/qtwrapper/audiodecoders.c:
+       (open_decoder):
+       Fix mismatched signedness compiler warning.
+
+2008-11-03  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * 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.
+
+2008-11-02  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * gst/speexresample/gstspeexresample.c:
+       (gst_speex_resample_check_discont):
+       Fix format string and arguments.
+
+       * gst/speexresample/resample_sse.h:
+       Add missing file.
+
+2008-11-01  Stefan Kost  <ensonic@users.sf.net>
+
+       * ext/resindvd/Makefile.am:
+         Dist the play scripts.
+
+2008-11-01  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * 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.
+
+2008-10-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * 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-30  Michael Smith <msmith@songbirdnest.com>
+
+       * 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-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
+
+       * 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-30  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * 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-30  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * 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-30  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * 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-30  Jan Schmidt  <jan.schmidt@sun.com>
+
+       * 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-30  Stefan Kost  <ensonic@users.sf.net>
+
+       * ext/ladspa/gstladspa.c:
+         Whitespace.
+       * ext/ladspa/gstsignalprocessor.c:
+         Add a FIXME:. not sure if this code does the forwarding correctly.
+
+2008-10-30  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * 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-30  Stefan Kost  <ensonic@users.sf.net>
+
+       * gst/scaletempo/gstscaletempo.c:
+         Return the result of parent_class->event().
+
+2008-10-30  Wim Taymans  <wim.taymans@collabora.co.uk>
+
+       * 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-29  Michael Smith <msmith@songbirdnest.com>
+
+       * gst/aiffparse/aiffparse.c:
+         AIFF is always signed, even for 8 bit.
+
+2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
+
+       * gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init):
+       Fix the docs.
+
+2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
+
+       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-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * 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-29  Jan Schmidt  <thaytan@noraisin.net>
+
+       * 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-28  Stefan Kost  <ensonic@users.sf.net>
+
+       * ext/resindvd/resin-play:
+         Remove $@ to fix parse_launch warning
+
+       * ext/resindvd/resin-play2:
+         Add a version that uses deinterlace and xvimagesink.
+         
+
+2008-10-28  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * 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-28  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * gst/flv/gstflvdemux.c: (gst_flv_demux_query):
+       Implement position query in time format.
+
+2008-10-28  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * 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-28  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * 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-28  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * 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-27  Michael Smith <msmith@songbirdnest.com>
+
+       * gst/aiffparse/aiffparse.c:
+       * gst/aiffparse/aiffparse.h:
+         Calculate width from depth correctly.
+         Read SSND header properly (fixes 24 bit AIFF reading).
+
+2008-10-27  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
+
+       * ext/x264/gstx264enc.c: (gst_x264_enc_init_encoder):
+       Adapt to slightly modified x264 API.  Fixes #555238.
+
+2008-10-27  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
+
+       * ext/faac/gstfaac.c: (gst_faac_sink_event):
+       Prevent endless loop if buffer alloc error.
+
+2008-10-27  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * 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-27  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * configure.ac:
+       Require CVS of core for the last change.
+
 2008-10-27  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
 
        * gst/flv/Makefile.am:
        * gst/rtpmanager/gstrtpsession.c:
        (gst_rtp_session_event_send_rtcp_src), (create_send_rtcp_src):
        Install event handler on the rtcp_src pad, make LATENCY event return
-       TRUE.
+       TRUE. Fixes #556338.
 
 2008-10-16  Edward Hervey  <edward.hervey@collabora.co.uk>