platform/upstream/gstreamer.git
15 years agoexamples/scaletempo/.cvsignore: Add example to cvs ignores.
Jan Schmidt [Mon, 3 Nov 2008 22:00:09 +0000 (22:00 +0000)]
examples/scaletempo/.cvsignore: Add example to cvs ignores.

Original commit message from CVS:
* examples/scaletempo/.cvsignore:
Add example to cvs ignores.

15 years agosys/qtwrapper/audiodecoders.c: Fix mismatched signedness compiler warning.
Jan Schmidt [Mon, 3 Nov 2008 21:27:31 +0000 (21:27 +0000)]
sys/qtwrapper/audiodecoders.c: Fix mismatched signedness compiler warning.

Original commit message from CVS:
* sys/qtwrapper/audiodecoders.c:
(open_decoder):
Fix mismatched signedness compiler warning.

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 agoext/resindvd/Makefile.am: Dist the play scripts.
Stefan Kost [Sat, 1 Nov 2008 21:37:06 +0000 (21:37 +0000)]
ext/resindvd/Makefile.am: Dist the play scripts.

Original commit message from CVS:
* ext/resindvd/Makefile.am:
Dist the play scripts.

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 agoconfigure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN as the result of the linking...
Sebastian Dröge [Fri, 31 Oct 2008 18:39:37 +0000 (18:39 +0000)]
configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN as the result of the 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.

15 years agosys/qtwrapper/audiodecoders.c: Add ALAC support.
Michael Smith [Thu, 30 Oct 2008 19:54:38 +0000 (19:54 +0000)]
sys/qtwrapper/audiodecoders.c: Add ALAC support.

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.

15 years agoconfigure.ac: Require at least Gtk 2.8.0 for the demos (that's the oldest I can test...
Tim-Philipp Müller [Thu, 30 Oct 2008 15:31:59 +0000 (15:31 +0000)]
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...

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.

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 agoext/resindvd/resindvdsrc.*: Better fix for #546319 and similar cases by explicitly...
Jan Schmidt [Thu, 30 Oct 2008 13:38:19 +0000 (13:38 +0000)]
ext/resindvd/resindvdsrc.*: Better fix for #546319 and similar cases by 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.

15 years agoext/ladspa/gstladspa.c: Whitespace.
Stefan Kost [Thu, 30 Oct 2008 13:02:18 +0000 (13:02 +0000)]
ext/ladspa/gstladspa.c: Whitespace.

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.

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/scaletempo/gstscaletempo.c: Return the result of parent_class->event().
Stefan Kost [Thu, 30 Oct 2008 12:13:18 +0000 (12:13 +0000)]
gst/scaletempo/gstscaletempo.c: Return the result of parent_class->event().

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

15 years agogst/audiobuffer/: Add first version of an audioringbuffer element that can be inserte...
Wim Taymans [Thu, 30 Oct 2008 11:50:52 +0000 (11:50 +0000)]
gst/audiobuffer/: Add first version of an audioringbuffer element that can 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.

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/aiffparse/aiffparse.c: AIFF is always signed, even for 8 bit.
Michael Smith [Thu, 30 Oct 2008 00:17:12 +0000 (00:17 +0000)]
gst/aiffparse/aiffparse.c: AIFF is always signed, even for 8 bit.

Original commit message from CVS:
* gst/aiffparse/aiffparse.c:
AIFF is always signed, even for 8 bit.

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/real/gstrealvideodec.c: A RealVideo video inside a container (for example MKV...
Robin Stocker [Wed, 29 Oct 2008 16:53:54 +0000 (16:53 +0000)]
gst/real/gstrealvideodec.c: A RealVideo video inside a container (for 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.

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 agoext/resindvd/resindvdsrc.c: Make sure to start the NAV packet processing when changin...
Jan Schmidt [Wed, 29 Oct 2008 01:00:22 +0000 (01:00 +0000)]
ext/resindvd/resindvdsrc.c: Make sure to start the NAV packet processing 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

15 years agoext/resindvd/resin-play: Remove $@ to fix parse_launch warning
Stefan Kost [Tue, 28 Oct 2008 20:06:27 +0000 (20:06 +0000)]
ext/resindvd/resin-play: Remove $@ to fix parse_launch warning

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.

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/flv/gstflvdemux.c: Implement position query in time format.
Sebastian Dröge [Tue, 28 Oct 2008 18:44:44 +0000 (18:44 +0000)]
gst/flv/gstflvdemux.c: Implement position query in time format.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_query):
Implement position query in time format.

15 years agogst/flv/: Put the GstSegment directly into the instance struct instead of allocating...
Sebastian Dröge [Tue, 28 Oct 2008 18:41:19 +0000 (18:41 +0000)]
gst/flv/: Put the GstSegment directly into the instance struct instead of 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.

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 agogst/aiffparse/aiffparse.*: Calculate width from depth correctly.
Michael Smith [Tue, 28 Oct 2008 01:53:49 +0000 (01:53 +0000)]
gst/aiffparse/aiffparse.*: Calculate width from depth correctly.

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

15 years agoext/x264/gstx264enc.c: Adapt to slightly modified x264 API. Fixes #555238.
Mark Nauwelaerts [Mon, 27 Oct 2008 17:01:22 +0000 (17:01 +0000)]
ext/x264/gstx264enc.c: Adapt to slightly modified x264 API.  Fixes #555238.

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_init_encoder):
Adapt to slightly modified x264 API.  Fixes #555238.

15 years agoext/faac/gstfaac.c: Prevent endless loop if buffer alloc error.
Mark Nauwelaerts [Mon, 27 Oct 2008 16:32:49 +0000 (16:32 +0000)]
ext/faac/gstfaac.c: Prevent endless loop if buffer alloc error.

Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_sink_event):
Prevent endless loop if buffer alloc error.

15 years agogst/flv/: Don't memcpy() all data we want to push downstream, instead just create...
Sebastian Dröge [Mon, 27 Oct 2008 09:45:04 +0000 (09:45 +0000)]
gst/flv/: Don't memcpy() all data we want to push downstream, instead just 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.

15 years agoconfigure.ac: Require CVS of core for the last change.
Sebastian Dröge [Mon, 27 Oct 2008 09:42:55 +0000 (09:42 +0000)]
configure.ac: Require CVS of core for the last change.

Original commit message from CVS:
* configure.ac:
Require CVS of core for the last change.

15 years agogst/flv/Makefile.am: Fix (non-critical) syntax error and add all required CFLAGS...
Sebastian Dröge [Mon, 27 Oct 2008 09:41:18 +0000 (09:41 +0000)]
gst/flv/Makefile.am: Fix (non-critical) syntax error and add all required 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.

15 years agogst/flv/gstflvparse.c: Properly check everywhere that we have enough data to parse...
Sebastian Dröge [Mon, 27 Oct 2008 09:37:21 +0000 (09:37 +0000)]
gst/flv/gstflvparse.c: Properly check everywhere that we have enough data to 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.

15 years agogst/flv/gstflvparse.c: If the caps change during playback and negotiation fails error...
Sebastian Dröge [Mon, 27 Oct 2008 09:35:34 +0000 (09:35 +0000)]
gst/flv/gstflvparse.c: If the caps change during playback and negotiation 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.

15 years agogst/flv/: Add support for Speex audio and allow buffers without valid timestamp in...
Sebastian Dröge [Mon, 27 Oct 2008 09:33:40 +0000 (09:33 +0000)]
gst/flv/: Add support for Speex audio and allow buffers without valid 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.

15 years agogst/flv/gstflvdemux.c: Don't post an error message on the bus if sending EOS downstre...
Sebastian Dröge [Mon, 27 Oct 2008 09:32:03 +0000 (09:32 +0000)]
gst/flv/gstflvdemux.c: Don't post an error message on the bus if sending EOS 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.

15 years agogst/flv/gstflvdemux.c: Error out early if pulling a tag failed.
Sebastian Dröge [Mon, 27 Oct 2008 09:27:18 +0000 (09:27 +0000)]
gst/flv/gstflvdemux.c: Error out early if pulling a tag failed.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag):
Error out early if pulling a tag failed.

15 years agogst/flv/: In pull mode we create our own index before doing anything else and don...
Sebastian Dröge [Mon, 27 Oct 2008 09:25:11 +0000 (09:25 +0000)]
gst/flv/: In pull mode we create our own index before doing anything else 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.

15 years agogst/flv/gstflvdemux.c: Instead of using gst_pad_event_default() use a small gst_pad_p...
Sebastian Dröge [Mon, 27 Oct 2008 09:20:01 +0000 (09:20 +0000)]
gst/flv/gstflvdemux.c: Instead of using gst_pad_event_default() use a small 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.

15 years agogst/flv/gstflvdemux.*: If our index was created by the element and not provided from...
Sebastian Dröge [Mon, 27 Oct 2008 09:14:45 +0000 (09:14 +0000)]
gst/flv/gstflvdemux.*: If our index was created by the element and not 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.

15 years agogst/flv/gstflvdemux.c: Improve debugging a bit when pulling a buffer from upstream...
Sebastian Dröge [Mon, 27 Oct 2008 09:12:33 +0000 (09:12 +0000)]
gst/flv/gstflvdemux.c: Improve debugging a bit when pulling a buffer from 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.

15 years agogst/flv/: Close the currently playing segment from the streaming thread instead of...
Sebastian Dröge [Mon, 27 Oct 2008 09:10:54 +0000 (09:10 +0000)]
gst/flv/: Close the currently playing segment from the streaming thread 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.

15 years agogst/mpegdemux/mpegtspacketizer.c: Add support for the frequency list descriptor,...
David Härdeman [Mon, 27 Oct 2008 08:57:27 +0000 (08:57 +0000)]
gst/mpegdemux/mpegtspacketizer.c: Add support for the frequency list 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.

15 years agogst/mpegtsmux/mpegtsmux.c: Fix EOS logic by correctly popping the collect pad buffers...
vanista [Mon, 27 Oct 2008 08:52:50 +0000 (08:52 +0000)]
gst/mpegtsmux/mpegtsmux.c: Fix EOS logic by correctly popping the collect 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.

15 years agoconfigure.ac: Back to development -> 0.10.9.1
Jan Schmidt [Sun, 26 Oct 2008 20:07:51 +0000 (20:07 +0000)]
configure.ac: Back to development -> 0.10.9.1

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

15 years agoRelease 0.10.9
Jan Schmidt [Fri, 24 Oct 2008 22:45:11 +0000 (22:45 +0000)]
Release 0.10.9

Original commit message from CVS:
Release 0.10.9

15 years agoUpdate .po files
Jan Schmidt [Fri, 24 Oct 2008 21:43:17 +0000 (21:43 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

15 years agoconfigure.ac: Commit 0.10.8.4 pre-release
Jan Schmidt [Fri, 24 Oct 2008 16:41:33 +0000 (16:41 +0000)]
configure.ac: Commit 0.10.8.4 pre-release

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

15 years agogst/mpegdemux/gstmpegdemux.c: Fix reverse playback regression.
Edward Hervey [Mon, 20 Oct 2008 14:19:17 +0000 (14:19 +0000)]
gst/mpegdemux/gstmpegdemux.c: Fix reverse playback regression.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data):
Fix reverse playback regression.
Fixes #557080

15 years agoext/apexsink/gstapexplugin.c: Set apexsink's rank to NONE so it doesn't get used...
Tim-Philipp Müller [Sun, 19 Oct 2008 12:39:30 +0000 (12:39 +0000)]
ext/apexsink/gstapexplugin.c: Set apexsink's rank to NONE so it doesn't get 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)

15 years agoconfigure.ac: 0.10.8.3 pre-release
Jan Schmidt [Thu, 16 Oct 2008 17:12:04 +0000 (17:12 +0000)]
configure.ac: 0.10.8.3 pre-release

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

15 years agogst/mpegdemux/gstmpegtsdemux.*: Properly handle some resync cases in the optimised...
Zaheer Abbas Merali [Thu, 16 Oct 2008 16:37:33 +0000 (16:37 +0000)]
gst/mpegdemux/gstmpegtsdemux.*: Properly handle some resync cases in the 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.

15 years agosys/acmenc/Makefile.am: Remove incorrect use of DIRECTSOUND_LDFLAGS
Michael Smith [Thu, 16 Oct 2008 16:18:31 +0000 (16:18 +0000)]
sys/acmenc/Makefile.am: Remove incorrect use of DIRECTSOUND_LDFLAGS

Original commit message from CVS:
2008-10-16  Michael Smith <msmith@songbirdnest.com>
* sys/acmenc/Makefile.am:
Remove incorrect use of DIRECTSOUND_LDFLAGS

15 years agogst/flv/gstflvmux.c: Don't set video_codec to the value that actually should go into...
Sebastian Dröge [Thu, 16 Oct 2008 15:21:15 +0000 (15:21 +0000)]
gst/flv/gstflvmux.c: Don't set video_codec to the value that actually should go into audio codec, otherwise we create...

Original commit message from CVS:
* gst/flv/gstflvmux.c: (gst_flv_mux_audio_pad_setcaps),
(gst_flv_mux_write_buffer):
Don't set video_codec to the value that actually should go
into audio codec, otherwise we create invalid files.
Fixes bug #556564.

15 years agoDon't install static libs for plugins. Fixes #550851 for base.
Stefan Kost [Thu, 16 Oct 2008 15:06:55 +0000 (15:06 +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 agotests/check/Makefile.am: Leave apexsink out of the states test.
Jan Schmidt [Thu, 16 Oct 2008 14:54:36 +0000 (14:54 +0000)]
tests/check/Makefile.am: Leave apexsink out of the states test.

Original commit message from CVS:
* tests/check/Makefile.am:
Leave apexsink out of the states test.

15 years agogst/rtpmanager/gstrtpjitterbuffer.c: Fix problem with using the output seqnum counter...
Wim Taymans [Thu, 16 Oct 2008 13:05:37 +0000 (13:05 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Fix problem with using the output seqnum counter to check for input seqnum disco...

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_jitter_buffer_sink_parse_caps),
(gst_rtp_jitter_buffer_flush_start),
(gst_rtp_jitter_buffer_flush_stop), (gst_rtp_jitter_buffer_chain),
(gst_rtp_jitter_buffer_loop):
Fix problem with using the output seqnum counter to check for input
seqnum discontinuities.
Improve gap detection and recovery, reset and flush the jitterbuffer on
seqnum restart. Fixes #556520.
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_insert):
Fix wrong G_LIKELY.

15 years agoconfigure.ac: Commit 0.10.8.2 pre-release bump, that actually went out in a tarball...
Jan Schmidt [Thu, 16 Oct 2008 11:55:19 +0000 (11:55 +0000)]
configure.ac: Commit 0.10.8.2 pre-release bump, that actually went out in a tarball on 2008-10-11

Original commit message from CVS:
* configure.ac:
Commit 0.10.8.2 pre-release bump, that actually went out in a
tarball on 2008-10-11

15 years agogst/rtpmanager/gstrtpsession.c: Install event handler on the rtcp_src pad, make LATEN...
Wim Taymans [Thu, 16 Oct 2008 09:51:28 +0000 (09:51 +0000)]
gst/rtpmanager/gstrtpsession.c: Install event handler on the rtcp_src pad, make LATENCY event return

Original commit message from CVS:
* 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.

15 years agogst/mpegdemux/gstmpegdemux.c: Make sure the mpegpsdemux element creates valid newsegm...
Edward Hervey [Thu, 16 Oct 2008 09:18:31 +0000 (09:18 +0000)]
gst/mpegdemux/gstmpegdemux.c: Make sure the mpegpsdemux element creates valid newsegment events.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data):
Make sure the mpegpsdemux element creates valid newsegment events.
Fixes #556428

15 years agogst/mpegdemux/mpegtspacketizer.c: Fixes segfault in get_encoding_and_convert.
Sebastian Pölsterl [Thu, 16 Oct 2008 08:17:59 +0000 (08:17 +0000)]
gst/mpegdemux/mpegtspacketizer.c: Fixes segfault in get_encoding_and_convert.

Original commit message from CVS:
patch by: Sebastian Pölsterl
* gst/mpegdemux/mpegtspacketizer.c:
Fixes segfault in get_encoding_and_convert.
Fixes #556482

15 years agogst/mpegdemux/gstmpegtsdemux.c: Fixes a segfault in the adaptation buffer size strategy.
Zaheer Abbas Merali [Thu, 16 Oct 2008 08:13:49 +0000 (08:13 +0000)]
gst/mpegdemux/gstmpegtsdemux.c: Fixes a segfault in the adaptation buffer size strategy.

Original commit message from CVS:
patch by: Josep Torra
* gst/mpegdemux/gstmpegtsdemux.c:
Fixes a segfault in the adaptation buffer size strategy.
Fixes #556440

15 years agogst/selector/gstinputselector.c: Gracefully handle the cases when we dont' have otherpad.
Edward Hervey [Wed, 15 Oct 2008 17:45:37 +0000 (17:45 +0000)]
gst/selector/gstinputselector.c: Gracefully handle the cases when we dont' have otherpad.

Original commit message from CVS:
* gst/selector/gstinputselector.c: (gst_input_selector_event),
(gst_input_selector_query):
Gracefully handle the cases when we dont' have otherpad.
Fixes #556430

15 years agogst/aiffparse/aiffparse.c: Fix debugging category initialization.
Edward Hervey [Tue, 14 Oct 2008 15:13:05 +0000 (15:13 +0000)]
gst/aiffparse/aiffparse.c: Fix debugging category initialization.

Original commit message from CVS:
* gst/aiffparse/aiffparse.c: (plugin_init):
Fix debugging category initialization.
Fixes #556274

15 years agoext/apexsink/gstapexsink.c: Fix some more format string compiler warnings (from OS/X)
Jan Schmidt [Tue, 14 Oct 2008 14:53:41 +0000 (14:53 +0000)]
ext/apexsink/gstapexsink.c: Fix some more format string compiler warnings (from OS/X)

Original commit message from CVS:
* ext/apexsink/gstapexsink.c:
Fix some more format string compiler warnings (from OS/X)

15 years agoupdate spec for latest plugins changes
Christian Schaller [Mon, 13 Oct 2008 12:27:06 +0000 (12:27 +0000)]
update spec for latest plugins changes

Original commit message from CVS:
update spec for latest plugins changes

15 years agoext/apexsink/gstapexraop.c: Fix format string compiler warnings.
Sebastian Dröge [Mon, 13 Oct 2008 07:35:25 +0000 (07:35 +0000)]
ext/apexsink/gstapexraop.c: Fix format string compiler warnings.

Original commit message from CVS:
* ext/apexsink/gstapexraop.c: (gst_apexraop_connect),
(gst_apexraop_set_volume):
Fix format string compiler warnings.

15 years agosys/oss4/: Add some spaces in translateable strings.
Jan Schmidt [Sun, 12 Oct 2008 21:52:27 +0000 (21:52 +0000)]
sys/oss4/: Add some spaces in translateable strings.

Original commit message from CVS:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-source.c:
Add some spaces in translateable strings.
Fixes: #555969 #555968 #555965

15 years agogst/flv/gstflvdemux.c: Fix regression of handling flow returns in pull mode.
Sebastian Dröge [Sun, 12 Oct 2008 17:08:10 +0000 (17:08 +0000)]
gst/flv/gstflvdemux.c: Fix regression of handling flow returns in pull mode.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag),
(gst_flv_demux_pull_header):
Fix regression of handling flow returns in pull mode.
Fixes bug #556003.

15 years agoext/Makefile.am: Add apexsink to SUBDIRS. Fixes bug #555912.
Sebastian Dröge [Sun, 12 Oct 2008 17:04:17 +0000 (17:04 +0000)]
ext/Makefile.am: Add apexsink to SUBDIRS. Fixes bug #555912.

Original commit message from CVS:
* ext/Makefile.am:
Add apexsink to SUBDIRS. Fixes bug #555912.

15 years agotests/check/pipelines/metadata.c: Make the metadata test not fail when jpegenc isn...
Jan Schmidt [Sat, 11 Oct 2008 11:02:14 +0000 (11:02 +0000)]
tests/check/pipelines/metadata.c: Make the metadata test not fail when jpegenc isn't available.... as it isn't here, ...

Original commit message from CVS:
* tests/check/pipelines/metadata.c:
Make the metadata test not fail when jpegenc isn't available....
as it isn't here, because it's not in this module, and
therefore not in the plugin path when the check runs.

15 years agogst/flv/gstflvparse.c: Use gst_pad_alloc_buffer_and_set_caps() to make sure we get...
Sebastian Dröge [Fri, 10 Oct 2008 16:33:36 +0000 (16:33 +0000)]
gst/flv/gstflvparse.c: Use gst_pad_alloc_buffer_and_set_caps() to make sure we get a buffer with caps that we can wor...

Original commit message from CVS:
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video):
Use gst_pad_alloc_buffer_and_set_caps() to make sure we get
a buffer with caps that we can work with (i.e. the pad's caps).
Add non-keyframe video frames to the index too but without the
keyframe flag.
Add audio frames to the index only if we have no video stream.

15 years agogst/flv/gstflvparse.c: Create pads from the pad templates, use fixed caps on them...
Sebastian Dröge [Fri, 10 Oct 2008 16:15:09 +0000 (16:15 +0000)]
gst/flv/gstflvparse.c: Create pads from the pad templates, use fixed caps on them and only activate them after the ca...

Original commit message from CVS:
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video):
Create pads from the pad templates, use fixed caps on them
and only activate them after the caps are set.

15 years agoconfigure.ac: Disable flacparse for this release as it's too buggy.
Sebastian Dröge [Fri, 10 Oct 2008 15:51:42 +0000 (15:51 +0000)]
configure.ac: Disable flacparse for this release as it's too buggy.

Original commit message from CVS:
* configure.ac:
Disable flacparse for this release as it's too buggy.

15 years agoFix compiler warning on OS/X about parameters not matching the debug format string.
Jan Schmidt [Fri, 10 Oct 2008 11:17:09 +0000 (11:17 +0000)]
Fix compiler warning on OS/X about parameters not matching the debug format string.

Original commit message from CVS:
2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>

* gst/flacparse/gstbaseparse.c (gst_base_parse_push_buffer),
(gst_base_parse_update_upstream_durations):
Fix compiler warning on OS/X about parameters not matching
the debug format string.

15 years agoFix compiler warning on OS/X about parameters not matching the debug format string.
Jan Schmidt [Fri, 10 Oct 2008 11:01:36 +0000 (11:01 +0000)]
Fix compiler warning on OS/X about parameters not matching the debug format string.

Original commit message from CVS:
* gst/flacparse/gstbaseparse.c (gst_base_parse_push_buffer),
(gst_base_parse_update_upstream_durations):
Fix compiler warning on OS/X about parameters not matching
the debug format string.

15 years agogst/deinterlace2/tvtime/tomsmocomp.c: Fix unused variable compiler warning when not...
Sebastian Dröge [Thu, 9 Oct 2008 19:38:52 +0000 (19:38 +0000)]
gst/deinterlace2/tvtime/tomsmocomp.c: Fix unused variable compiler warning when not building

Original commit message from CVS:
* gst/deinterlace2/tvtime/tomsmocomp.c:
(gst_deinterlace_method_tomsmocomp_class_init):
Fix unused variable compiler warning when not building
X86 assembly.

15 years agofix various build files to allow for disting and update spec file with latest changes.
Christian Schaller [Thu, 9 Oct 2008 16:51:35 +0000 (16:51 +0000)]
fix various build files to allow for disting and update spec file with latest changes.

Original commit message from CVS:
fix various build files to allow for disting and update spec file with latest changes.

15 years agogst/flv/: Get an approximate duration of the file by looking at the timestamp of...
Sebastian Dröge [Thu, 9 Oct 2008 16:20:26 +0000 (16:20 +0000)]
gst/flv/: Get an approximate duration of the file by looking at the timestamp of the last tag in pull mode. If we get...

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_loop):
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_timestamp):
* gst/flv/gstflvparse.h:
Get an approximate duration of the file by looking at the timestamp
of the last tag in pull mode. If we get (maybe better) duration from
metadata later we'll use that instead.

15 years agogst/flv/gstflvdemux.c: Refactor _pull_range() logic with checks into a seperate funct...
Sebastian Dröge [Thu, 9 Oct 2008 15:43:02 +0000 (15:43 +0000)]
gst/flv/gstflvdemux.c: Refactor _pull_range() logic with checks into a seperate function to make things a bit more re...

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_pull_range),
(gst_flv_demux_pull_tag), (gst_flv_demux_pull_header):
Refactor _pull_range() logic with checks into a seperate function
to make things a bit more readable.

15 years agogst/flv/gstflvdemux.c: Use gst_element_class_set_details_simple().
Sebastian Dröge [Thu, 9 Oct 2008 15:26:56 +0000 (15:26 +0000)]
gst/flv/gstflvdemux.c: Use gst_element_class_set_details_simple().

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_chain),
(gst_flv_demux_base_init):
Use gst_element_class_set_details_simple().
If we get GST_FLOW_NOT_LINKED in the parse loop but at least
one of the pads is linked continue the loop.

15 years agoext/amrwb/gstamrwbenc.*: Pass the discont flag from the input buffer on to the output...
Stefan Kost [Thu, 9 Oct 2008 10:01:37 +0000 (10:01 +0000)]
ext/amrwb/gstamrwbenc.*: Pass the discont flag from the input buffer on to the output buffer in the AMR encoder.

Original commit message from CVS:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbenc.h:
Pass the discont flag from the input buffer on to the output buffer in
the AMR encoder.

15 years agogst/flv/gstflvparse.c: Correct caps for video codec id 5: It's On2 VP6 with alpha...
Sebastian Dröge [Thu, 9 Oct 2008 10:00:51 +0000 (10:00 +0000)]
gst/flv/gstflvparse.c: Correct caps for video codec id 5: It's On2 VP6 with alpha channel which needs a different dec...

Original commit message from CVS:
* gst/flv/gstflvparse.c: (gst_flv_parse_audio_negotiate),
(gst_flv_parse_tag_audio), (gst_flv_parse_video_negotiate):
Correct caps for video codec id 5: It's On2 VP6 with alpha channel
which needs a different decoder and has different caps.
Add support for audio codec id 14, which is MP3 with 8kHz sampling
rate.
Fix endianness and signedness for raw audio codec ids.
Add support for alaw and mulaw audio.

15 years agogst/flv/gstflvdemux.c: Go out of the parse loop as soon as we get an error instead...
Sebastian Dröge [Thu, 9 Oct 2008 09:48:46 +0000 (09:48 +0000)]
gst/flv/gstflvdemux.c: Go out of the parse loop as soon as we get an error instead of parsing until the GstAdapter is...

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_chain):
Go out of the parse loop as soon as we get an error instead
of parsing until the GstAdapter is empty.
Add some explanations about the header and tag size.
Don't print synchronizing message if everything is fine.

15 years agogst/flv/: Add first version of a FLV muxer. The only missing feature is writing of...
Sebastian Dröge [Thu, 9 Oct 2008 09:26:58 +0000 (09:26 +0000)]
gst/flv/: Add first version of a FLV muxer. The only missing feature is writing of stream metadata.

Original commit message from CVS:
* gst/flv/Makefile.am:
* gst/flv/gstflvdemux.c: (plugin_init):
* gst/flv/gstflvmux.c: (gst_flv_mux_base_init),
(gst_flv_mux_class_init), (gst_flv_mux_init),
(gst_flv_mux_finalize), (gst_flv_mux_reset),
(gst_flv_mux_handle_src_event), (gst_flv_mux_handle_sink_event),
(gst_flv_mux_video_pad_setcaps), (gst_flv_mux_audio_pad_setcaps),
(gst_flv_mux_request_new_pad), (gst_flv_mux_release_pad),
(gst_flv_mux_write_header), (gst_flv_mux_write_buffer),
(gst_flv_mux_collected), (gst_flv_mux_change_state):
* gst/flv/gstflvmux.h:
Add first version of a FLV muxer. The only missing feature is writing
of stream metadata.

15 years agoext/amrwb/gstamrwbparse.*: Add flush seek handler. Taken from recent armnbparse changes.
Stefan Kost [Thu, 9 Oct 2008 09:21:44 +0000 (09:21 +0000)]
ext/amrwb/gstamrwbparse.*: Add flush seek handler. Taken from recent armnbparse changes.

Original commit message from CVS:
* ext/amrwb/gstamrwbparse.c:
* ext/amrwb/gstamrwbparse.h:
Add flush seek handler. Taken from recent armnbparse changes.
Sync the code more and use #defines for HEADER.

15 years agoext/amrwb/gstamrwbparse.*: Fix the duration query. Also set caps on the pads and...
Stefan Kost [Thu, 9 Oct 2008 08:43:41 +0000 (08:43 +0000)]
ext/amrwb/gstamrwbparse.*: Fix the duration query. Also set caps on the pads and buffers more correctly. Taken from r...

Original commit message from CVS:
* ext/amrwb/gstamrwbparse.c:
* ext/amrwb/gstamrwbparse.h:
Fix the duration query. Also set caps on the pads and buffers more
correctly. Taken from recent armnbparse changes.

15 years agogst/mpegdemux/: Add Fluendo to the Long Name.
Zaheer Abbas Merali [Wed, 8 Oct 2008 16:20:26 +0000 (16:20 +0000)]
gst/mpegdemux/: Add Fluendo to the Long Name.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c:
* gst/mpegdemux/gstmpegtsdemux.c:
Add Fluendo to the Long Name.

15 years agoMove of mpegtsparse to mpegdemux.
Zaheer Abbas Merali [Wed, 8 Oct 2008 15:25:24 +0000 (15:25 +0000)]
Move of mpegtsparse to mpegdemux.

Original commit message from CVS:
* configure.ac:
* gst-plugins-bad.spec.in:
* gst/mpegdemux/Makefile.am:
* gst/mpegdemux/flumpegdemux.c:
* gst/mpegdemux/gstmpegdesc.c:
* gst/mpegdemux/gstmpegdesc.h:
* gst/mpegdemux/mpegtspacketizer.c:
* gst/mpegdemux/mpegtspacketizer.h:
* gst/mpegdemux/mpegtsparse.c:
* gst/mpegdemux/mpegtsparse.h:
Move of mpegtsparse to mpegdemux.
Fixes #555193.

15 years agoMove of mpegtsparse to mpegdemux
Zaheer Abbas Merali [Wed, 8 Oct 2008 15:22:12 +0000 (15:22 +0000)]
Move of mpegtsparse to mpegdemux

Original commit message from CVS:
Move of mpegtsparse to mpegdemux

15 years agogst/mpegdemux/gstmpegdemux.c: Prevent a division by zero if last mux rate was zero.
Sebastian Dröge [Wed, 8 Oct 2008 10:21:20 +0000 (10:21 +0000)]
gst/mpegdemux/gstmpegdemux.c: Prevent a division by zero if last mux rate was zero.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data),
(gst_flups_demux_parse_pack_start):
Prevent a division by zero if last mux rate was zero.
If we're going to send a NEWSEGMENT event but the segment start
and the current buffer timestamp differ by more than a second we
will start the NEWSEGMENT at the buffer timestamp.
This fixes playback of the tv2-1_25.mpg file, which has 0 as first SCR
but the first PTS are around 1 hour and 40 minutes.
Fixes bug #553755.

15 years agoext/resindvd/resindvdsrc.c: Fix next/prev chapter seeking at the beginning or end.
Jan Schmidt [Tue, 7 Oct 2008 21:29:26 +0000 (21:29 +0000)]
ext/resindvd/resindvdsrc.c: Fix next/prev chapter seeking at the beginning or end.

Original commit message from CVS:
* ext/resindvd/resindvdsrc.c:
Fix next/prev chapter seeking at the beginning or end.
Use 64-bit scaling utility functions for converting MPEG
timestamps.

15 years agogst/rtpmanager/gstrtpbin-marshal.list: Add marshaller for new action signal.
Håvard Graff [Tue, 7 Oct 2008 18:54:41 +0000 (18:54 +0000)]
gst/rtpmanager/gstrtpbin-marshal.list: Add marshaller for new action signal.

Original commit message from CVS:
Patch by: Håvard Graff <havard dot graff at tandberg dot com>
* gst/rtpmanager/gstrtpbin-marshal.list:
Add marshaller for new action signal.
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_get_internal_session),
(gst_rtp_bin_class_init):
* gst/rtpmanager/gstrtpbin.h:
Add action signal to retrieve the internal RTPSession object.
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_class_init),
(gst_rtp_session_get_property), (gst_rtp_session_release_pad):
Add property to access the internal RTPSession object.
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(check_collision):
* gst/rtpmanager/rtpsession.h:
Add action signal to retrieve an RTPSource object by SSRC.
See #555396.

15 years agogst/selector/gstoutputselector.c: Choose right pad for sending events. Fixes #555244
Stefan Kost [Tue, 7 Oct 2008 13:14:40 +0000 (13:14 +0000)]
gst/selector/gstoutputselector.c: Choose right pad for sending events. Fixes #555244

Original commit message from CVS:
* gst/selector/gstoutputselector.c:
Choose right pad for sending events. Fixes #555244

15 years agogst/rtpmanager/gstrtpbin.c: Release pads of the session manager.
Wim Taymans [Tue, 7 Oct 2008 11:33:10 +0000 (11:33 +0000)]
gst/rtpmanager/gstrtpbin.c: Release pads of the session manager.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (find_session_by_pad),
(free_session), (gst_rtp_bin_dispose), (remove_recv_rtp),
(remove_recv_rtcp), (remove_send_rtp), (remove_rtcp),
(gst_rtp_bin_release_pad):
Release pads of the session manager.
Start implementing releasing pads of gstrtpbin.
* gst/rtpmanager/gstrtpsession.c: (remove_recv_rtp_sink),
(remove_recv_rtcp_sink), (remove_send_rtp_sink),
(remove_send_rtcp_src), (gst_rtp_session_release_pad):
Implement releasing pads in gstrtpsession.

15 years agogst/rtpmanager/gstrtpjitterbuffer.c: Only update the seqnum-base when it was not...
Wim Taymans [Tue, 7 Oct 2008 10:02:20 +0000 (10:02 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Only update the seqnum-base when it was not already configured for the streams.

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_jitter_buffer_sink_parse_caps):
Only update the seqnum-base when it was not already configured for the
streams.