summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-11-05gst/mpegdemux/gstmpegdesc.c: Length should be a guint8 not a gint.Sebastian Pölsterl3-11/+18
Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/gstmpegdesc.c: Length should be a guint8 not a gint. * gst/mpegdemux/mpegtspacketizer.c: Convert text to utf8 for each descriptor separately and not concatenate them first and convert after.
2008-11-04gst/modplug/gstmodplug.cc: Send tag event. Fixes #559286.Stefan Kost2-0/+22
Original commit message from CVS: * gst/modplug/gstmodplug.cc: Send tag event. Fixes #559286.
2008-11-04gst/mpegdemux/mpegtsparse.c: Fix another memleak.Sebastian Pölsterl2-0/+8
Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/mpegtsparse.c: Fix another memleak.
2008-11-04Fix memleaks.Sebastian Pölsterl3-0/+15
Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/mpegtspacketizer.c: * sys/dvb/gstdvbsrc.c: Fix memleaks.
2008-11-04Don't install static libs for plugins. Fixes #550851 for -bad.Stefan Kost119-21/+261
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.
2008-11-04gst/mpegdemux/mpegtsparse.c: Fix memleak.Sebastian Pölsterl2-0/+16
Original commit message from CVS: patch by: Sebastian Pölsterl * gst/mpegdemux/mpegtsparse.c: Fix memleak.
2008-11-03examples/scaletempo/.cvsignore: Add example to cvs ignores.Jan Schmidt2-0/+6
Original commit message from CVS: * examples/scaletempo/.cvsignore: Add example to cvs ignores.
2008-11-03sys/qtwrapper/audiodecoders.c: Fix mismatched signedness compiler warning.Jan Schmidt2-1/+7
Original commit message from CVS: * sys/qtwrapper/audiodecoders.c: (open_decoder): Fix mismatched signedness compiler warning.
2008-11-03gst/speexresample/gstspeexresample.c: Add TODO at the top of the file for ↵Sebastian Dröge2-0/+18
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.
2008-11-02gst/speexresample/gstspeexresample.c: Fix format string and arguments.Sebastian Dröge3-1/+138
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.
2008-11-01ext/resindvd/Makefile.am: Dist the play scripts.Stefan Kost2-0/+7
Original commit message from CVS: * ext/resindvd/Makefile.am: Dist the play scripts.
2008-11-01gst/speexresample/: Add missing headers to Makefile.am.Sebastian Dröge9-24/+232
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.
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.