platform/upstream/gstreamer.git
15 years agoIntegrate the moved audioresample into the build system and rename it to legacyresamp...
Sebastian Dröge [Thu, 27 Nov 2008 16:58:31 +0000 (16:58 +0000)]
Integrate the moved audioresample into the build system and rename it to legacyresample. Fixes bug #558124.

Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-aacparse.xml:
* docs/plugins/inspect/plugin-alsaspdif.xml:
* docs/plugins/inspect/plugin-amrparse.xml:
* docs/plugins/inspect/plugin-app.xml:
* docs/plugins/inspect/plugin-bayer.xml:
* docs/plugins/inspect/plugin-bz2.xml:
* docs/plugins/inspect/plugin-cdaudio.xml:
* docs/plugins/inspect/plugin-cdxaparse.xml:
* docs/plugins/inspect/plugin-celt.xml:
* docs/plugins/inspect/plugin-dccp.xml:
* docs/plugins/inspect/plugin-dfbvideosink.xml:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-dvb.xml:
* docs/plugins/inspect/plugin-dvdspu.xml:
* docs/plugins/inspect/plugin-faad.xml:
* docs/plugins/inspect/plugin-fbdevsink.xml:
* docs/plugins/inspect/plugin-festival.xml:
* docs/plugins/inspect/plugin-filter.xml:
* docs/plugins/inspect/plugin-freeze.xml:
* docs/plugins/inspect/plugin-gsm.xml:
* docs/plugins/inspect/plugin-gstinterlace.xml:
* docs/plugins/inspect/plugin-gstrtpmanager.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-jack.xml:
* docs/plugins/inspect/plugin-ladspa.xml:
* docs/plugins/inspect/plugin-metadata.xml:
* docs/plugins/inspect/plugin-mms.xml:
* docs/plugins/inspect/plugin-modplug.xml:
* docs/plugins/inspect/plugin-mpeg4videoparse.xml:
* docs/plugins/inspect/plugin-mpegvideoparse.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-musicbrainz.xml:
* docs/plugins/inspect/plugin-mve.xml:
* docs/plugins/inspect/plugin-mythtv.xml:
* docs/plugins/inspect/plugin-nas.xml:
* docs/plugins/inspect/plugin-neon.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-nuvdemux.xml:
* docs/plugins/inspect/plugin-oss4.xml:
* docs/plugins/inspect/plugin-rawparse.xml:
* docs/plugins/inspect/plugin-real.xml:
* docs/plugins/inspect/plugin-rfbsrc.xml:
* docs/plugins/inspect/plugin-scaletempo.xml:
* docs/plugins/inspect/plugin-sdl.xml:
* docs/plugins/inspect/plugin-sdp.xml:
* docs/plugins/inspect/plugin-selector.xml:
* docs/plugins/inspect/plugin-sndfile.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-speexresample.xml:
* docs/plugins/inspect/plugin-stereo.xml:
* docs/plugins/inspect/plugin-subenc.xml:
* docs/plugins/inspect/plugin-tta.xml:
* docs/plugins/inspect/plugin-twolame.xml:
* docs/plugins/inspect/plugin-vcdsrc.xml:
* docs/plugins/inspect/plugin-videosignal.xml:
* docs/plugins/inspect/plugin-vmnc.xml:
* docs/plugins/inspect/plugin-wildmidi.xml:
* docs/plugins/inspect/plugin-y4menc.xml:
* gst/audioresample/gstaudioresample.c: (plugin_init):
* gst/audioresample/Makefile.am:
* tests/check/Makefile.am:
* tests/check/elements/audioresample.c: (setup_audioresample),
(GST_START_TEST):
Integrate the moved audioresample into the build system and
rename it to legacyresample. Fixes bug #558124.

15 years agogst/mxf/: Implement parsing of the random index pack, which provides a seek table...
Sebastian Dröge [Thu, 27 Nov 2008 16:26:39 +0000 (16:26 +0000)]
gst/mxf/: Implement parsing of the random index pack, which provides a seek table (including body sid) to the start o...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset),
(gst_mxf_demux_handle_random_index_pack),
(gst_mxf_demux_pull_random_index_pack), (gst_mxf_demux_loop):
* gst/mxf/mxfdemux.h:
* gst/mxf/mxfparse.c: (mxf_random_index_pack_parse):
* gst/mxf/mxfparse.h:
* gst/mxf/mxftypes.h:
Implement parsing of the random index pack, which provides a seek
table (including body sid) to the start of partition packs.
Later this will be used for reading all index table segments of
the complete file efficiently.

15 years agogst/mxf/: Add fundamental support for DV-DIF essence streams.
Sebastian Dröge [Thu, 27 Nov 2008 10:09:53 +0000 (10:09 +0000)]
gst/mxf/: Add fundamental support for DV-DIF essence streams.

Original commit message from CVS:
* gst/mxf/Makefile.am:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_update_streams),
(gst_mxf_demux_handle_klv_packet):
* gst/mxf/mxfdv-dif.c: (mxf_is_dv_dif_essence_track),
(mxf_dv_dif_handle_essence_element), (mxf_dv_dif_create_caps):
* gst/mxf/mxfdv-dif.h:
* gst/mxf/mxfparse.c: (mxf_is_descriptive_metadata):
* gst/mxf/mxfparse.h:
Add fundamental support for DV-DIF essence streams.
Handle descriptive metadata packets as metadata packets.

15 years agogst/mxf/mxfdemux.*: Only try to pull the footer metadata once and not on every KLV...
Sebastian Dröge [Thu, 27 Nov 2008 08:49:08 +0000 (08:49 +0000)]
gst/mxf/mxfdemux.*: Only try to pull the footer metadata once and not on every KLV packet if it failed before.

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset),
(gst_mxf_demux_handle_klv_packet):
* gst/mxf/mxfdemux.h:
Only try to pull the footer metadata once and not on every KLV packet
if it failed before.

15 years agogst/rtpmanager/rtpsession.c: Make obtain_source return an aditional ref so that we...
Wim Taymans [Wed, 26 Nov 2008 12:40:18 +0000 (12:40 +0000)]
gst/rtpmanager/rtpsession.c: Make obtain_source return an aditional ref so that we don't lose our ref to it when a se...

Original commit message from CVS:
* gst/rtpmanager/rtpsession.c: (obtain_source),
(rtp_session_create_source), (rtp_session_process_rtp),
(rtp_session_process_sr), (rtp_session_process_rr),
(rtp_session_process_sdes), (rtp_session_process_bye):
Make obtain_source return an aditional ref so that we don't lose our ref
to it when a session cleanup occurs when we are emiting a signal.
Emit the on_new_ssrc signal for the CSRC, not the SSRC.
Fixes #562319.

15 years agogst/rtpmanager/gstrtpbin.c: Reset the sync parameters when clearing the payload type...
Wim Taymans [Wed, 26 Nov 2008 12:02:21 +0000 (12:02 +0000)]
gst/rtpmanager/gstrtpbin.c: Reset the sync parameters when clearing the payload type map too.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_reset_sync),
(gst_rtp_bin_clear_pt_map):
Reset the sync parameters when clearing the payload type map too.
Fixes #562312.

15 years agogst/rtpmanager/gstrtpbin.*: Remove a lot of per stream state that is not needed and...
Wim Taymans [Wed, 26 Nov 2008 11:44:37 +0000 (11:44 +0000)]
gst/rtpmanager/gstrtpbin.*: Remove a lot of per stream state that is not needed and pass new info in the method call.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (get_client),
(gst_rtp_bin_reset_sync), (gst_rtp_bin_associate),
(gst_rtp_bin_handle_sync), (create_stream),
(gst_rtp_bin_class_init), (new_ssrc_pad_found):
* gst/rtpmanager/gstrtpbin.h:
Remove a lot of per stream state that is not needed and pass new info in
the method call.
Add signal to reset sync parameters.
Avoid parsing the caps to get a clock_base, we get this from the sync
signal now.

15 years agogst/mxf/mxfdemux.c: Properly combine flow returns of the source pads.
Sebastian Dröge [Wed, 26 Nov 2008 11:30:28 +0000 (11:30 +0000)]
gst/mxf/mxfdemux.c: Properly combine flow returns of the source pads.

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_pad_init),
(gst_mxf_demux_reset_metadata), (gst_mxf_demux_combine_flows),
(gst_mxf_demux_handle_generic_container_essence_element):
Properly combine flow returns of the source pads.
Improve debugging and reset pad fields together with the
metadata to prevent invalid memory references.
* gst/mxf/mxfparse.c: (mxf_metadata_preface_parse):
Fix typo.

15 years agogst/mxf/: When memset'ing the descriptors to zeroes only touch the part of this descr...
Sebastian Dröge [Wed, 26 Nov 2008 10:37:34 +0000 (10:37 +0000)]
gst/mxf/: When memset'ing the descriptors to zeroes only touch the part of this descriptor, not it's parent type.

Original commit message from CVS:
* gst/mxf/mxfaes-bwf.c:
(mxf_metadata_wave_audio_essence_descriptor_reset):
* gst/mxf/mxfmpeg.c: (mxf_metadata_mpeg_video_descriptor_reset):
* gst/mxf/mxfparse.c: (mxf_metadata_file_descriptor_handle_tag),
(mxf_metadata_file_descriptor_reset),
(mxf_metadata_generic_sound_essence_descriptor_reset),
(mxf_metadata_generic_picture_essence_descriptor_reset),
(mxf_metadata_cdci_picture_essence_descriptor_reset),
(mxf_metadata_rgba_picture_essence_descriptor_reset),
(mxf_metadata_multiple_descriptor_reset):
* gst/mxf/mxfparse.h:
When memset'ing the descriptors to zeroes only touch the part
of this descriptor, not it's parent type.
Set correct default values for all metadata fields.

15 years agogst/mpegdemux/gstmpegtsdemux.*: Enable latency code, since we're definitely after...
David Schleef [Wed, 26 Nov 2008 04:57:22 +0000 (04:57 +0000)]
gst/mpegdemux/gstmpegtsdemux.*: Enable latency code, since we're definitely after 0.10.12

Original commit message from CVS:
* gst/mpegdemux/gstmpegtsdemux.c:
* gst/mpegdemux/gstmpegtsdemux.h:
Enable latency code, since we're definitely after 0.10.12

15 years agoext/spc/gstspc.c: Post an error and push EOS when we can't start playback for some...
Jonathan Matthew [Tue, 25 Nov 2008 18:28:18 +0000 (18:28 +0000)]
ext/spc/gstspc.c: Post an error and push EOS when we can't start playback for some reason. also avoid a crash when fe...

Original commit message from CVS:
Patch by: Jonathan Matthew <notverysmart at gmail dot com>
* ext/spc/gstspc.c: (gst_spc_dec_sink_event), (spc_setup):
Post an error and push EOS when we can't start playback for some reason.
also avoid a crash when fed an empty file. Fixes #480543.

15 years agotests/check/elements/speexresample.c: Make unit test again faster to prevent timeouts...
Sebastian Dröge [Tue, 25 Nov 2008 16:37:50 +0000 (16:37 +0000)]
tests/check/elements/speexresample.c: Make unit test again faster to prevent timeouts with valgrind.

Original commit message from CVS:
* tests/check/elements/speexresample.c: (test_pipeline):
Make unit test again faster to prevent timeouts with valgrind.

15 years agogst/rtpmanager/gstrtpsession.c: Fix event leak.
Wim Taymans [Tue, 25 Nov 2008 15:12:06 +0000 (15:12 +0000)]
gst/rtpmanager/gstrtpsession.c: Fix event leak.

Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_event_send_rtcp_src):
Fix event leak.

15 years agogst/mxf/: Set video dimensions and pixel aspect ratio on the caps.
Sebastian Dröge [Tue, 25 Nov 2008 14:49:34 +0000 (14:49 +0000)]
gst/mxf/: Set video dimensions and pixel aspect ratio on the caps.

Original commit message from CVS:
* gst/mxf/mxfmpeg.c: (mxf_mpeg_video_create_caps):
* gst/mxf/mxfparse.c:
(mxf_metadata_generic_picture_essence_descriptor_set_caps):
* gst/mxf/mxfparse.h:
Set video dimensions and pixel aspect ratio on the caps.

15 years agogst/mxf/: Add initial parsing of RGBA descriptors.
Sebastian Dröge [Tue, 25 Nov 2008 10:26:11 +0000 (10:26 +0000)]
gst/mxf/: Add initial parsing of RGBA descriptors.

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset_metadata),
(gst_mxf_demux_handle_metadata_generic_descriptor),
(gst_mxf_demux_handle_metadata_file_descriptor),
(gst_mxf_demux_handle_metadata_multiple_descriptor),
(gst_mxf_demux_handle_metadata_generic_picture_essence_descriptor),
(gst_mxf_demux_handle_metadata_cdci_picture_essence_descriptor),
(gst_mxf_demux_handle_metadata_rgba_picture_essence_descriptor),
(gst_mxf_demux_handle_metadata_mpeg_video_descriptor),
(gst_mxf_demux_handle_metadata_generic_sound_essence_descriptor),
(gst_mxf_demux_handle_metadata_wave_audio_essence_descriptor),
(gst_mxf_demux_handle_header_metadata_resolve_references),
(gst_mxf_demux_handle_metadata):
* gst/mxf/mxfdemux.h:
* gst/mxf/mxfparse.c:
(mxf_metadata_rgba_picture_essence_descriptor_handle_tag),
(mxf_metadata_rgba_picture_essence_descriptor_reset):
* gst/mxf/mxfparse.h:
* gst/mxf/mxftypes.h:
Add initial parsing of RGBA descriptors.
Don't initialize descriptor GArray with zeroes.

15 years agogst/mxf/: Rewrite parsing of descriptors to go top-down instead of bottom-up which...
Sebastian Dröge [Tue, 25 Nov 2008 09:38:26 +0000 (09:38 +0000)]
gst/mxf/: Rewrite parsing of descriptors to go top-down instead of bottom-up which makes it possible to have the buff...

Original commit message from CVS:
* gst/mxf/mxfaes-bwf.c:
(mxf_metadata_wave_audio_essence_descriptor_handle_tag):
* gst/mxf/mxfaes-bwf.h:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_metadata_generic_descriptor),
(gst_mxf_demux_handle_metadata_file_descriptor),
(gst_mxf_demux_handle_metadata_multiple_descriptor),
(gst_mxf_demux_handle_metadata_generic_picture_essence_descriptor),
(gst_mxf_demux_handle_metadata_cdci_picture_essence_descriptor),
(gst_mxf_demux_handle_metadata_mpeg_video_descriptor),
(gst_mxf_demux_handle_metadata_generic_sound_essence_descriptor),
(gst_mxf_demux_handle_metadata_wave_audio_essence_descriptor),
(gst_mxf_demux_handle_header_metadata_resolve_references),
(gst_mxf_demux_handle_metadata):
* gst/mxf/mxfmpeg.c:
(mxf_metadata_mpeg_video_descriptor_handle_tag):
* gst/mxf/mxfmpeg.h:
* gst/mxf/mxfparse.c: (mxf_partition_pack_parse),
(mxf_primer_pack_parse), (mxf_metadata_preface_parse),
(mxf_metadata_identification_parse),
(mxf_metadata_content_storage_parse),
(mxf_metadata_essence_container_data_parse),
(mxf_metadata_generic_package_parse), (mxf_metadata_track_parse),
(mxf_metadata_sequence_parse),
(mxf_metadata_structural_component_parse),
(mxf_metadata_descriptor_parse),
(mxf_metadata_generic_descriptor_handle_tag),
(mxf_metadata_generic_descriptor_reset),
(mxf_metadata_file_descriptor_handle_tag),
(mxf_metadata_generic_sound_essence_descriptor_handle_tag),
(mxf_metadata_generic_picture_essence_descriptor_handle_tag),
(mxf_metadata_cdci_picture_essence_descriptor_handle_tag),
(mxf_metadata_multiple_descriptor_handle_tag),
(mxf_metadata_locator_parse):
* gst/mxf/mxfparse.h:
Rewrite parsing of descriptors to go top-down instead of bottom-up
which makes it possible to have the buffer data non-writable.
Improve debugging a bit.

15 years agoAdd new directory for new acmmp3dec plugin
Michael Smith [Tue, 25 Nov 2008 00:20:22 +0000 (00:20 +0000)]
Add new directory for new acmmp3dec plugin

Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
Add new directory for new acmmp3dec plugin
* sys/acmenc/Makefile.am:
* sys/acmenc/acmmp3dec.c:
Add new acmmp3dec plugin, which uses ACM for decoding mp3 on windows.

15 years agogst/mxf/mxfdemux.c: Make sure to only output generic container essence elements for...
Sebastian Dröge [Mon, 24 Nov 2008 11:31:27 +0000 (11:31 +0000)]
gst/mxf/mxfdemux.c: Make sure to only output generic container essence elements for a track if the body SID of the su...

Original commit message from CVS:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_generic_container_essence_element):
Make sure to only output generic container essence elements
for a track if the body SID of the surrounding partition is
the same as the body SID of the track's source package.

15 years agogst/flv/gstflvdemux.c: Fix non key unit seeking by always going to the previous keyfr...
Julien Moutte [Mon, 24 Nov 2008 11:17:19 +0000 (11:17 +0000)]
gst/flv/gstflvdemux.c: Fix non key unit seeking by always going to the previous keyframe. Mark the discont flag when ...

Original commit message from CVS:
2008-11-24  Julien Moutte  <julien@fluendo.com>

* gst/flv/gstflvdemux.c: (gst_flv_demux_find_offset),
(gst_flv_demux_handle_seek_push),
(gst_flv_demux_handle_seek_pull):
Fix non key unit seeking by always going to the previous
keyframe. Mark
the discont flag when we've moved in the file.
* gst/flv/gstflvparse.c: (gst_flv_parse_audio_negotiate): MP3
streams
are parsed already, makes autoplugged pipelines shorter.

15 years agogst/mpegtsmux/: Add initial support for muxing AC3/DTS/LPCM into MPEG TS.
vanista [Mon, 24 Nov 2008 10:46:01 +0000 (10:46 +0000)]
gst/mpegtsmux/: Add initial support for muxing AC3/DTS/LPCM into MPEG TS.

Original commit message from CVS:
Patch by: vanista <vanista at gmail dot com>
* gst/mpegtsmux/mpegtsmux.c: (mpegtsmux_create_stream):
* gst/mpegtsmux/tsmux/tsmuxstream.c: (tsmux_stream_new):
Add initial support for muxing AC3/DTS/LPCM into MPEG TS.
Fixes bug #550613.

15 years agogst/mxf/: Allow non-MXF KLV packets and just drop them instead of throwing an error...
Sebastian Dröge [Mon, 24 Nov 2008 10:41:13 +0000 (10:41 +0000)]
gst/mxf/: Allow non-MXF KLV packets and just drop them instead of throwing an error and handle 9 byte product version...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_pull_klv_packet),
(gst_mxf_demux_handle_klv_packet), (gst_mxf_demux_chain):
* gst/mxf/mxfparse.c: (mxf_product_version_parse),
(mxf_metadata_identification_parse),
(mxf_metadata_content_storage_parse):
Allow non-MXF KLV packets and just drop them instead of throwing
an error and handle 9 byte product versions as written by Avid.
This doesn't add support for the non-standard Avid MXF files
but at least makes it possible to parse their header metadata.
Fix a copy&paste error in debug output.

15 years agoext/jack/: Query port latencies for sink/src delays.
Stefan Kost [Sun, 23 Nov 2008 17:50:08 +0000 (17:50 +0000)]
ext/jack/: Query port latencies for sink/src delays.

Original commit message from CVS:
* ext/jack/gstjackaudiosink.c:
* ext/jack/gstjackaudiosrc.c:
Query port latencies for sink/src delays.
* ext/jack/gstjackbin.c:
No printf please.

15 years agogst/mxf/mxfdemux.c: Actually we support a length stored inside 8 bytes but it must...
Sebastian Dröge [Sun, 23 Nov 2008 11:25:30 +0000 (11:25 +0000)]
gst/mxf/mxfdemux.c: Actually we support a length stored inside 8 bytes but it must be smaller than G_MAXUINT for GstB...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_pull_klv_packet),
(gst_mxf_demux_chain):
Actually we support a length stored inside 8 bytes but it must
be smaller than G_MAXUINT for GstBuffer.

15 years agoext/resindvd/resindvdsrc.c: Fix format string. Fixes bug #561992.
Tal Shalif [Sun, 23 Nov 2008 11:16:36 +0000 (11:16 +0000)]
ext/resindvd/resindvdsrc.c: Fix format string. Fixes bug #561992.

Original commit message from CVS:
Patch by: Tal Shalif <tshalif at nargila dot org>
* ext/resindvd/resindvdsrc.c:
(rsn_dvdsrc_prepare_streamsinfo_event):
Fix format string. Fixes bug #561992.

15 years agogst/rtpmanager/rtpsession.c: Add property to configure the RTCP MTU.
Wim Taymans [Sat, 22 Nov 2008 15:31:36 +0000 (15:31 +0000)]
gst/rtpmanager/rtpsession.c: Add property to configure the RTCP MTU.

Original commit message from CVS:
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(rtp_session_init), (rtp_session_set_property),
(rtp_session_get_property):
Add property to configure the RTCP MTU.

15 years agogst/rtpmanager/rtpsession.c: Add G_PARAM_STATIC_STRINGS.
Wim Taymans [Sat, 22 Nov 2008 15:24:47 +0000 (15:24 +0000)]
gst/rtpmanager/rtpsession.c: Add G_PARAM_STATIC_STRINGS.

Original commit message from CVS:
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(copy_source), (rtp_session_create_sources),
(rtp_session_get_property):
Add G_PARAM_STATIC_STRINGS.
Add property to return a GValueArray of all known RTPSources in the
session.
* gst/rtpmanager/rtpsource.c: (rtp_source_class_init),
(rtp_source_create_sdes), (rtp_source_set_property),
(rtp_source_get_property):
Remove properties to set the various SDES items, an application is never
supposed to change the RTPSource data.
Change the SDES getter properties to one SDES property that returns all
SDES items in a GstStructure.

15 years agotests/check/elements/speexresample.c: Make the unit test a bit faster to prevent...
Sebastian Dröge [Sat, 22 Nov 2008 15:02:15 +0000 (15:02 +0000)]
tests/check/elements/speexresample.c: Make the unit test a bit faster to prevent timeouts, especially with valgrind.

Original commit message from CVS:
* tests/check/elements/speexresample.c: (GST_START_TEST):
Make the unit test a bit faster to prevent timeouts, especially
with valgrind.

15 years agogst/mxf/: Some more format string fixes and usage of guint instead of gint where...
Sebastian Dröge [Sat, 22 Nov 2008 14:51:06 +0000 (14:51 +0000)]
gst/mxf/: Some more format string fixes and usage of guint instead of gint where negative values don't make sense.

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_push_src_event),
(gst_mxf_demux_handle_header_metadata_update_streams):
* gst/mxf/mxfparse.c: (gst_mxf_ul_hash),
(mxf_partition_pack_parse), (mxf_primer_pack_parse),
(mxf_metadata_preface_parse), (mxf_metadata_content_storage_parse),
(mxf_metadata_generic_package_parse),
(mxf_metadata_sequence_parse),
(mxf_metadata_generic_descriptor_parse),
(mxf_metadata_multiple_descriptor_parse):
Some more format string fixes and usage of guint instead of gint
where negative values don't make sense.

15 years agogst/mxf/: Use guint instead of guint64 or gsize for all buffer sizes and use correct...
Sebastian Dröge [Sat, 22 Nov 2008 14:42:08 +0000 (14:42 +0000)]
gst/mxf/: Use guint instead of guint64 or gsize for all buffer sizes and use correct format strings for them. Only lo...

Original commit message from CVS:
* gst/mxf/mxfaes-bwf.c:
(mxf_metadata_wave_audio_essence_descriptor_parse):
* gst/mxf/mxfaes-bwf.h:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_pull_range),
(gst_mxf_demux_pull_klv_packet),
(gst_mxf_demux_parse_footer_metadata),
(gst_mxf_demux_handle_klv_packet),
(gst_mxf_demux_pull_and_handle_klv_packet), (gst_mxf_demux_chain):
* gst/mxf/mxfmpeg.c: (mxf_metadata_mpeg_video_descriptor_parse):
* gst/mxf/mxfmpeg.h:
* gst/mxf/mxfparse.c: (mxf_timestamp_parse), (mxf_fraction_parse),
(mxf_utf16_to_utf8), (mxf_product_version_parse),
(mxf_partition_pack_parse), (mxf_primer_pack_parse),
(mxf_local_tag_parse), (mxf_metadata_preface_parse),
(mxf_metadata_identification_parse),
(mxf_metadata_content_storage_parse),
(mxf_metadata_essence_container_data_parse),
(mxf_metadata_generic_package_parse), (mxf_metadata_track_parse),
(mxf_metadata_sequence_parse),
(mxf_metadata_structural_component_parse),
(mxf_metadata_generic_descriptor_parse),
(mxf_metadata_file_descriptor_parse),
(mxf_metadata_generic_sound_essence_descriptor_parse),
(mxf_metadata_generic_picture_essence_descriptor_parse),
(mxf_metadata_cdci_picture_essence_descriptor_parse),
(mxf_metadata_multiple_descriptor_parse),
(mxf_metadata_locator_parse):
* gst/mxf/mxfparse.h:
Use guint instead of guint64 or gsize for all buffer sizes and
use correct format strings for them. Only local tag set sizes
are still guint16 as they can't be larger.
Only allow KLV packets of sizes below 1<<32 as GStreamer only uses
guint for buffer sizes. The MXF standard allows packet sizes up
to 1<<64.

15 years agogst/rtpmanager/gstrtpbin.c: Also unref the target pad for unknown pads.
Wim Taymans [Sat, 22 Nov 2008 13:17:24 +0000 (13:17 +0000)]
gst/rtpmanager/gstrtpbin.c: Also unref the target pad for unknown pads.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_release_pad):
Also unref the target pad for unknown pads.

15 years agogst/dccp/gstdccp.c: Use G_GSIZE_FORMAT instead of "%u" for a size_t variable in the...
Sebastian Dröge [Sat, 22 Nov 2008 08:23:17 +0000 (08:23 +0000)]
gst/dccp/gstdccp.c: Use G_GSIZE_FORMAT instead of "%u" for a size_t variable in the format string to prevent a compil...

Original commit message from CVS:
* gst/dccp/gstdccp.c: (gst_dccp_socket_write):
Use G_GSIZE_FORMAT instead of "%u" for a size_t variable in
the format string to prevent a compiler warning.

15 years agogst/rtpmanager/gstrtpbin.c: Release the right pads on rtpbin. Fixes #561752.
Olivier Crete [Fri, 21 Nov 2008 16:17:22 +0000 (16:17 +0000)]
gst/rtpmanager/gstrtpbin.c: Release the right pads on rtpbin. Fixes #561752.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_release_pad):
Release the right pads on rtpbin. Fixes #561752.

15 years agogst/speexresample/gstspeexresample.c: Add a "filter-length" property that maps to...
Sebastian Dröge [Fri, 21 Nov 2008 15:45:15 +0000 (15:45 +0000)]
gst/speexresample/gstspeexresample.c: Add a "filter-length" property that maps to the quality values for compatibilty...

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_class_init), (gst_speex_resample_set_property),
(gst_speex_resample_get_property):
Add a "filter-length" property that maps to the quality values
for compatibilty with audioresample.

15 years agoconfigure.ac: Remove the "experimental" flag from the deinterlace2 plugin.
Sebastian Dröge [Fri, 21 Nov 2008 10:37:13 +0000 (10:37 +0000)]
configure.ac: Remove the "experimental" flag from the deinterlace2 plugin.

Original commit message from CVS:
* configure.ac:
Remove the "experimental" flag from the deinterlace2 plugin.

15 years agoAdd first version of an MXF demuxer. Currently it supports
Sebastian Dröge [Fri, 21 Nov 2008 10:27:15 +0000 (10:27 +0000)]
Add first version of an MXF demuxer. Currently it supports

Original commit message from CVS:
* configure.ac:
* gst/mxf/Makefile.am:
* gst/mxf/mxf.c: (plugin_init):
* gst/mxf/mxfaes-bwf.c:
(mxf_metadata_wave_audio_essence_descriptor_parse),
(mxf_metadata_wave_audio_essence_descriptor_reset),
(mxf_is_aes_bwf_essence_track), (mxf_bwf_handle_essence_element),
(mxf_bwf_create_caps), (mxf_aes_bwf_create_caps):
* gst/mxf/mxfaes-bwf.h:
* gst/mxf/mxfdemux.c: (gst_mxf_pad_finalize),
(gst_mxf_pad_class_init), (gst_mxf_pad_init),
(gst_mxf_demux_flush), (gst_mxf_demux_remove_pad),
(gst_mxf_demux_reset_mxf_state), (gst_mxf_demux_reset_metadata),
(gst_mxf_demux_reset), (gst_mxf_demux_pull_range),
(gst_mxf_demux_push_src_event),
(gst_mxf_demux_handle_partition_pack),
(gst_mxf_demux_handle_primer_pack),
(gst_mxf_demux_handle_metadata_preface),
(gst_mxf_demux_handle_metadata_identification),
(gst_mxf_demux_handle_metadata_content_storage),
(gst_mxf_demux_handle_metadata_essence_container_data),
(gst_mxf_demux_handle_metadata_material_package),
(gst_mxf_demux_handle_metadata_source_package),
(gst_mxf_demux_handle_metadata_track),
(gst_mxf_demux_handle_metadata_sequence),
(gst_mxf_demux_handle_metadata_structural_component),
(gst_mxf_demux_handle_metadata_generic_descriptor),
(gst_mxf_demux_handle_metadata_file_descriptor),
(gst_mxf_demux_handle_metadata_multiple_descriptor),
(gst_mxf_demux_handle_metadata_generic_picture_essence_descriptor),
(gst_mxf_demux_handle_metadata_cdci_picture_essence_descriptor),
(gst_mxf_demux_handle_metadata_mpeg_video_descriptor),
(gst_mxf_demux_handle_metadata_generic_sound_essence_descriptor),
(gst_mxf_demux_handle_metadata_wave_audio_essence_descriptor),
(gst_mxf_demux_handle_metadata_locator),
(gst_mxf_demux_handle_header_metadata_resolve_references),
(gst_mxf_demux_handle_header_metadata_update_streams),
(gst_mxf_demux_handle_metadata),
(gst_mxf_demux_handle_generic_container_system_item),
(gst_mxf_demux_handle_generic_container_essence_element),
(gst_mxf_demux_handle_random_index_pack),
(gst_mxf_demux_handle_index_table_segment),
(gst_mxf_demux_pull_klv_packet),
(gst_mxf_demux_parse_footer_metadata),
(gst_mxf_demux_handle_klv_packet),
(gst_mxf_demux_pull_and_handle_klv_packet), (gst_mxf_demux_loop),
(gst_mxf_demux_chain), (gst_mxf_demux_src_event),
(gst_mxf_demux_src_query_type), (gst_mxf_demux_src_query),
(gst_mxf_demux_sink_activate), (gst_mxf_demux_sink_activate_push),
(gst_mxf_demux_sink_activate_pull), (gst_mxf_demux_sink_event),
(gst_mxf_demux_change_state), (gst_mxf_demux_finalize),
(gst_mxf_demux_base_init), (gst_mxf_demux_class_init),
(gst_mxf_demux_init):
* gst/mxf/mxfdemux.h:
* gst/mxf/mxfmpeg.c: (mxf_metadata_mpeg_video_descriptor_parse),
(mxf_metadata_mpeg_video_descriptor_reset),
(mxf_is_mpeg_video_essence_track),
(mxf_mpeg_video_handle_essence_element),
(mxf_mpeg_video_create_caps):
* gst/mxf/mxfmpeg.h:
* gst/mxf/mxfparse.c: (mxf_is_mxf_packet), (mxf_is_partition_pack),
(mxf_is_header_partition_pack), (mxf_is_body_partition_pack),
(mxf_is_footer_partition_pack), (mxf_is_fill),
(mxf_is_primer_pack), (mxf_is_metadata),
(mxf_is_random_index_pack), (mxf_is_index_table_segment),
(mxf_is_generic_container_system_item),
(mxf_is_generic_container_essence_element),
(mxf_is_generic_container_essence_container_label),
(mxf_ul_is_equal), (mxf_ul_is_zero), (mxf_ul_to_string),
(mxf_umid_is_equal), (mxf_umid_is_zero), (mxf_umid_to_string),
(gst_mxf_ul_hash), (gst_mxf_ul_equal), (mxf_timestamp_parse),
(mxf_timestamp_is_unknown), (mxf_timestamp_compare),
(mxf_fraction_parse), (mxf_utf16_to_utf8),
(mxf_product_version_parse), (mxf_partition_pack_parse),
(mxf_partition_pack_reset), (_mxf_mapping_ul_free),
(mxf_primer_pack_parse), (mxf_primer_pack_reset),
(mxf_local_tag_parse), (gst_mxf_local_tag_free),
(gst_metadata_add_custom_tag), (mxf_metadata_preface_parse),
(mxf_metadata_preface_reset), (mxf_metadata_identification_parse),
(mxf_metadata_identification_reset),
(mxf_metadata_content_storage_parse),
(mxf_metadata_content_storage_reset),
(mxf_metadata_essence_container_data_parse),
(mxf_metadata_essence_container_data_reset),
(mxf_metadata_generic_package_parse),
(mxf_metadata_generic_package_reset), (mxf_metadata_track_parse),
(mxf_metadata_track_reset), (mxf_metadata_track_identifier_parse),
(mxf_metadata_sequence_parse), (mxf_metadata_sequence_reset),
(mxf_metadata_structural_component_parse),
(mxf_metadata_structural_component_reset),
(mxf_metadata_generic_descriptor_parse),
(mxf_metadata_generic_descriptor_reset),
(mxf_metadata_file_descriptor_parse),
(mxf_metadata_file_descriptor_reset),
(mxf_metadata_generic_sound_essence_descriptor_parse),
(mxf_metadata_generic_sound_essence_descriptor_reset),
(mxf_metadata_generic_picture_essence_descriptor_parse),
(mxf_metadata_generic_picture_essence_descriptor_reset),
(mxf_metadata_cdci_picture_essence_descriptor_parse),
(mxf_metadata_cdci_picture_essence_descriptor_reset),
(mxf_metadata_multiple_descriptor_parse),
(mxf_metadata_multiple_descriptor_reset),
(mxf_metadata_locator_parse), (mxf_metadata_locator_reset):
* gst/mxf/mxfparse.h:
* gst/mxf/mxftypes.h:
Add first version of an MXF demuxer. Currently it supports
MPEG video and raw audio and OP 1a/b/c.

15 years agosys/dshowdecwrapper/gstdshowaudiodec.cpp: Fix flushing/seeking problems returning...
Michael Smith [Fri, 21 Nov 2008 00:47:37 +0000 (00:47 +0000)]
sys/dshowdecwrapper/gstdshowaudiodec.cpp: Fix flushing/seeking problems returning error code.

Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.cpp:
Fix flushing/seeking problems returning error code.
Fix mp3 decoding with winXP (crashed randomly, occasionally).
* sys/dshowdecwrapper/gstdshowvideodec.cpp:
Fix problems when framerate is missing from video.

15 years agogst/rtpmanager/gstrtpsession.c: Pass the running time to the session when processing...
Wim Taymans [Thu, 20 Nov 2008 18:41:34 +0000 (18:41 +0000)]
gst/rtpmanager/gstrtpsession.c: Pass the running time to the session when processing RTP packets.

Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c: (get_current_times),
(rtcp_thread), (gst_rtp_session_chain_recv_rtp):
Pass the running time to the session when processing RTP packets.
Improve the time function to provide more info.
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(rtp_session_init), (update_arrival_stats),
(rtp_session_process_rtp), (rtp_session_process_sdes),
(rtp_session_process_rtcp), (session_start_rtcp),
(rtp_session_on_timeout):
* gst/rtpmanager/rtpsession.h:
Mark the internal source with a flag.
Use running_time instead of the more useless timestamp.
Validate a source when a valid SDES has been received.
Pass the current system time when processing SR packets.
* gst/rtpmanager/rtpsource.c: (rtp_source_class_init),
(rtp_source_init), (rtp_source_create_stats),
(rtp_source_get_property), (rtp_source_send_rtp),
(rtp_source_process_rb), (rtp_source_get_new_rb),
(rtp_source_get_last_rb):
* gst/rtpmanager/rtpsource.h:
Add property to get source stats.
Mark params as STATIC_STRINGS.
Calculate the bitrate at the sender SSRC.
Avoid negative values in the round trip time calculations.
* gst/rtpmanager/rtpstats.h:
Update some docs and change some variable name to more closely reflect
what it contains.

15 years agogst/dccp/: CodeStyle improvements and minor fixes to the DCCP plugin.
Leandro Melo de Sales [Thu, 20 Nov 2008 16:01:27 +0000 (16:01 +0000)]
gst/dccp/: CodeStyle improvements and minor fixes to the DCCP plugin.

Original commit message from CVS:
patch by: Leandro Melo de Sales <leandroal@gmail.com>
* gst/dccp/gstdccp.c:
* gst/dccp/gstdccp.h:
* gst/dccp/gstdccpclientsink.c:
* gst/dccp/gstdccpclientsink.h:
* gst/dccp/gstdccpclientsrc.c:
* gst/dccp/gstdccpserversink.c:
* gst/dccp/gstdccpserversrc.c:
* gst/dccp/gstdccpserversrc.h:
CodeStyle improvements and minor fixes to the DCCP plugin.
Fixes #553823.

15 years agogst/rtpmanager/gstrtpjitterbuffer.c: Initialize return value to fix compiler warning...
Sebastian Dröge [Thu, 20 Nov 2008 08:19:15 +0000 (08:19 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Initialize return value to fix compiler warning about uninitialized variable.

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_chain_rtcp):
Initialize return value to fix compiler warning about uninitialized
variable.

15 years agogst/rtpmanager/gstrtpjitterbuffer.c: Mark signal arg as static scope.
Wim Taymans [Wed, 19 Nov 2008 16:48:38 +0000 (16:48 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Mark signal arg as static scope.

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_class_init):
Mark signal arg as static scope.

15 years agogst/rtpmanager/gstrtpbin.c: Remove internal sync pad, use signals instead to get...
Wim Taymans [Wed, 19 Nov 2008 09:06:29 +0000 (09:06 +0000)]
gst/rtpmanager/gstrtpbin.c: Remove internal sync pad, use signals instead to get lip-sync notifications.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_associate),
(gst_rtp_bin_handle_sync), (create_stream), (free_stream),
(new_ssrc_pad_found):
Remove internal sync pad, use signals instead to get lip-sync
notifications.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_base_init),
(gst_rtp_jitter_buffer_class_init),
(gst_rtp_jitter_buffer_internal_links), (create_rtcp_sink),
(remove_rtcp_sink), (gst_rtp_jitter_buffer_request_new_pad),
(gst_rtp_jitter_buffer_release_pad),
(gst_rtp_jitter_buffer_sink_rtcp_event),
(gst_rtp_jitter_buffer_chain_rtcp),
(gst_rtp_jitter_buffer_get_property):
* gst/rtpmanager/gstrtpjitterbuffer.h:
Make it possible to send SR packets to the jitterbuffer.
Check if the SR timestamps are valid by comparing them to the RTP
timestamps.
Signal the SR packet and the timing information to listeners.
* gst/rtpmanager/gstrtpssrcdemux.c: (create_demux_pad_for_ssrc),
(gst_rtp_ssrc_demux_rtcp_chain), (gst_rtp_ssrc_demux_src_query):
Remove some unused code.
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew),
(calculate_skew), (rtp_jitter_buffer_get_sync):
* gst/rtpmanager/rtpjitterbuffer.h:
Keep track of the last seen RTP timestamp so that we can filter out
invalid SR packets.

15 years agoext/metadata/gstbasemetadata.c: Avoid deadlock during pad activation.
Alessandro Decina [Tue, 18 Nov 2008 16:52:11 +0000 (16:52 +0000)]
ext/metadata/gstbasemetadata.c: Avoid deadlock during pad activation.

Original commit message from CVS:
* ext/metadata/gstbasemetadata.c:
Avoid deadlock during pad activation.
Fixes #561241.

15 years agogst/qtmux/gstqtmux.c: Quiet a debugging message that I recently added.
David Schleef [Tue, 18 Nov 2008 01:09:09 +0000 (01:09 +0000)]
gst/qtmux/gstqtmux.c: Quiet a debugging message that I recently added.

Original commit message from CVS:
* gst/qtmux/gstqtmux.c: Quiet a debugging message that I recently
added.

15 years agogst/rtpmanager/rtpsource.c: Fix GST_DEBUG call to only have as many arguments as...
Sebastian Dröge [Mon, 17 Nov 2008 19:47:32 +0000 (19:47 +0000)]
gst/rtpmanager/rtpsource.c: Fix GST_DEBUG call to only have as many arguments as required by the format string. Fixes...

Original commit message from CVS:
* gst/rtpmanager/rtpsource.c: (get_clock_rate):
Fix GST_DEBUG call to only have as many arguments as required
by the format string. Fixes a compiler warning.

15 years agogst/rtpmanager/gstrtpbin.c: Do not try to keep track of the clock-rate ourselves...
Wim Taymans [Mon, 17 Nov 2008 15:17:52 +0000 (15:17 +0000)]
gst/rtpmanager/gstrtpbin.c: Do not try to keep track of the clock-rate ourselves but simply get the value from the ji...

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_associate),
(gst_rtp_bin_sync_chain), (create_stream), (new_ssrc_pad_found):
Do not try to keep track of the clock-rate ourselves but simply get the
value from the jitterbuffer.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_jitter_buffer_sink_parse_caps), (gst_rtp_jitter_buffer_chain),
(gst_rtp_jitter_buffer_get_sync):
* gst/rtpmanager/gstrtpjitterbuffer.h:
Add some debug info.
Pass the clock-rate to the jitterbuffer.
Also pass the clock-rate along with the rtp timestamp when getting the
sync parameters.
* gst/rtpmanager/gstrtpptdemux.c: (gst_rtp_pt_demux_chain):
Fix some debug.
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew),
(calculate_skew), (rtp_jitter_buffer_get_sync):
* gst/rtpmanager/rtpjitterbuffer.h:
Keep track of clock-rate changes and return the clock-rate together with
the rtp timestamps used for sync.
Don't try to construct timestamps when we have no base_time.
* gst/rtpmanager/rtpsource.c: (get_clock_rate):
Request a new clock-rate when the payload type changes.
Reset the jitter calculation when the clock-rate changes.

15 years agotests/check/elements/: Add missing files.
Stefan Kost [Mon, 17 Nov 2008 09:33:50 +0000 (09:33 +0000)]
tests/check/elements/: Add missing files.

Original commit message from CVS:
* tests/check/elements/aacparse_data.h:
* tests/check/elements/amrparse_data.h:
Add missing files.

15 years agogst/qtmux/gstqtmux.*: Use dts from GST_BUFFER_OFFSET_END() for video/x-qt-part.
David Schleef [Sat, 15 Nov 2008 02:56:31 +0000 (02:56 +0000)]
gst/qtmux/gstqtmux.*: Use dts from GST_BUFFER_OFFSET_END() for video/x-qt-part.

Original commit message from CVS:
* gst/qtmux/gstqtmux.c:
* gst/qtmux/gstqtmux.h:
Use dts from GST_BUFFER_OFFSET_END() for video/x-qt-part.

15 years agosys/qtwrapper/codecmapping.c: Add some of our favorite codecs.
David Schleef [Fri, 14 Nov 2008 23:01:56 +0000 (23:01 +0000)]
sys/qtwrapper/codecmapping.c: Add some of our favorite codecs.

Original commit message from CVS:
* sys/qtwrapper/codecmapping.c: Add some of our favorite codecs.

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

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

15 years agogst/qtmux/: Revert previous commit.
Mark Nauwelaerts [Fri, 14 Nov 2008 21:24:51 +0000 (21:24 +0000)]
gst/qtmux/: Revert previous commit.

Original commit message from CVS:
* gst/qtmux/atoms.c:
* gst/qtmux/atoms.h:
* gst/qtmux/descriptors.c:
* gst/qtmux/descriptors.h:
* gst/qtmux/fourcc.h:
* gst/qtmux/ftypcc.h:
* gst/qtmux/gstqtmux.c:
* gst/qtmux/gstqtmux.h:
* gst/qtmux/gstqtmuxmap.c:
* gst/qtmux/gstqtmuxmap.h:
* gst/qtmux/properties.c:
* gst/qtmux/properties.h:
Revert previous commit.

15 years agogst/qtmux/: Dual license LGPL/MIT, as apparently supposed to.
Mark Nauwelaerts [Fri, 14 Nov 2008 20:38:18 +0000 (20:38 +0000)]
gst/qtmux/: Dual license LGPL/MIT, as apparently supposed to.

Original commit message from CVS:
* gst/qtmux/atoms.c:
* gst/qtmux/atoms.h:
* gst/qtmux/descriptors.c:
* gst/qtmux/descriptors.h:
* gst/qtmux/fourcc.h:
* gst/qtmux/ftypcc.h:
* gst/qtmux/gstqtmux.c:
* gst/qtmux/gstqtmux.h:
* gst/qtmux/gstqtmuxmap.c:
* gst/qtmux/gstqtmuxmap.h:
* gst/qtmux/properties.c:
* gst/qtmux/properties.h:
Dual license LGPL/MIT, as apparently supposed to.

15 years agogst/qtmux/: Cut detour in sample description extension construction.
Mark Nauwelaerts [Fri, 14 Nov 2008 20:17:10 +0000 (20:17 +0000)]
gst/qtmux/: Cut detour in sample description extension construction.

Original commit message from CVS:
* gst/qtmux/atoms.c: (build_esds_extension),
(build_mov_aac_extension), (build_jp2h_extension),
(build_codec_data_extension):
* gst/qtmux/atoms.h:
* gst/qtmux/fourcc.h:
* gst/qtmux/gstqtmux.c: (gst_qt_mux_audio_sink_set_caps),
(gst_qt_mux_video_sink_set_caps):
* gst/qtmux/gstqtmuxmap.c: (gst_qt_mux_map_format_to_header):
Cut detour in sample description extension construction.
Also actually implement ISO JPEG2000 mj2 format.

15 years agoext/x264/gstx264enc.c: Construct source caps in more conventional (and correct) manner.
Mark Nauwelaerts [Fri, 14 Nov 2008 19:52:24 +0000 (19:52 +0000)]
ext/x264/gstx264enc.c: Construct source caps in more conventional (and correct) manner.

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_set_src_caps):
Construct source caps in more conventional (and correct) manner.

15 years agono more egging the pudding
Christian Schaller [Fri, 14 Nov 2008 16:15:43 +0000 (16:15 +0000)]
no more egging the pudding

Original commit message from CVS:
no more egging the pudding

15 years agogst-libs/gst/play/: Remove cruft. This is not entered by make and its not even compil...
Stefan Kost [Fri, 14 Nov 2008 14:23:02 +0000 (14:23 +0000)]
gst-libs/gst/play/: Remove cruft. This is not entered by make and its not even compilable.

Original commit message from CVS:
* gst-libs/gst/play/.cvsignore:
* gst-libs/gst/play/play.h:
* gst-libs/gst/play/play.vcproj:
Remove cruft. This is not entered by make and its not even compilable.

15 years agoext/dirac/gstdiracenc.cc: Set pixel-aspect-ratio correctly in the encoder API, as...
David Schleef [Thu, 13 Nov 2008 22:30:54 +0000 (22:30 +0000)]
ext/dirac/gstdiracenc.cc: Set pixel-aspect-ratio correctly in the encoder API, as well as some default gstreamerish c...

Original commit message from CVS:
* ext/dirac/gstdiracenc.cc:
Set pixel-aspect-ratio correctly in the encoder API, as well
as some default gstreamerish colorspace properties.  Also,
apparently, change a bunch of indentation.

15 years agoext/jp2k/: Add jp2kenc to jp2k plugin.
Mark Nauwelaerts [Thu, 13 Nov 2008 21:44:15 +0000 (21:44 +0000)]
ext/jp2k/: Add jp2kenc to jp2k plugin.

Original commit message from CVS:
* ext/jp2k/Makefile.am:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_class_init),
(gst_jasper_dec_change_state):
* ext/jp2k/gstjasperenc.c: (gst_jasper_enc_base_init),
(gst_jasper_enc_class_init), (gst_jasper_enc_init),
(gst_jasper_enc_reset), (gst_jasper_enc_set_src_caps),
(gst_jasper_enc_init_encoder), (gst_jasper_enc_sink_setcaps),
(gst_jasper_enc_get_data), (gst_jasper_enc_chain),
(gst_jasper_enc_set_property), (gst_jasper_enc_get_property),
(gst_jasper_enc_change_state):
* ext/jp2k/gstjasperenc.h:
* ext/jp2k/gstjp2k.c: (plugin_init):
Add jp2kenc to jp2k plugin.

15 years agoext/jp2k/gstjasperdec.*: Make pad template caps reflect the supported formats.
Mark Nauwelaerts [Thu, 13 Nov 2008 21:31:14 +0000 (21:31 +0000)]
ext/jp2k/gstjasperdec.*: Make pad template caps reflect the supported formats.

Original commit message from CVS:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_init),
(gst_jasper_dec_reset), (gst_jasper_dec_negotiate),
(gst_jasper_dec_get_picture):
* ext/jp2k/gstjasperdec.h:
Make pad template caps reflect the supported formats.
Add or modify some debug statements, and slightly simplify image
passing to encoding library.

15 years agogst/aacparse/gstaacparse.c: Don't autoplug aacparse until it works.
Wim Taymans [Thu, 13 Nov 2008 17:24:58 +0000 (17:24 +0000)]
gst/aacparse/gstaacparse.c: Don't autoplug aacparse until it works.

Original commit message from CVS:
* gst/aacparse/gstaacparse.c: (plugin_init):
Don't autoplug aacparse until it works.

15 years agogst/rtpmanager/: Small cleanups and some more debug info.
Wim Taymans [Thu, 13 Nov 2008 15:48:54 +0000 (15:48 +0000)]
gst/rtpmanager/: Small cleanups and some more debug info.

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_jitter_buffer_sink_parse_caps),
(gst_rtp_jitter_buffer_flush_stop), (gst_rtp_jitter_buffer_chain):
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew),
(calculate_skew):
Small cleanups and some more debug info.

15 years agotests/check/: Add unit tests for new parsers.
Stefan Kost [Thu, 13 Nov 2008 15:20:15 +0000 (15:20 +0000)]
tests/check/: Add unit tests for new parsers.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/aacparse.c:
* tests/check/elements/amrparse.c:
Add unit tests for new parsers.

15 years agodocs/plugins/: Update docs.
Stefan Kost [Thu, 13 Nov 2008 14:31:45 +0000 (14:31 +0000)]
docs/plugins/: Update docs.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/inspect/plugin-aacparse.xml:
* docs/plugins/inspect/plugin-amrparse.xml:
Update docs.

15 years agogst/: Fix baseparse type name.
Stefan Kost [Thu, 13 Nov 2008 14:21:39 +0000 (14:21 +0000)]
gst/: Fix baseparse type name.

Original commit message from CVS:
* gst/aacparse/gstbaseparse.c:
* gst/amrparse/gstbaseparse.c:
Fix baseparse type name.

15 years agoAdd two new baseparse based parsers (aac and amr) from Bug #518857.
Stefan Kost [Thu, 13 Nov 2008 12:59:34 +0000 (12:59 +0000)]
Add two new baseparse based parsers (aac and amr) from Bug #518857.

Original commit message from CVS:
* configure.ac:
* gst/aacparse/Makefile.am:
* gst/aacparse/gstaacparse.c:
* gst/aacparse/gstaacparse.h:
* gst/aacparse/gstbaseparse.c:
* gst/aacparse/gstbaseparse.h:
* gst/amrparse/Makefile.am:
* gst/amrparse/gstamrparse.c:
* gst/amrparse/gstamrparse.h:
* gst/amrparse/gstbaseparse.c:
* gst/amrparse/gstbaseparse.h:
Add two new baseparse based parsers (aac and amr) from Bug #518857.

15 years agogst/librfb/rfbdecoder.c: Fix uninitialized warnings
Thijs Vermeir [Wed, 12 Nov 2008 10:32:24 +0000 (10:32 +0000)]
gst/librfb/rfbdecoder.c: Fix uninitialized warnings

Original commit message from CVS:
* gst/librfb/rfbdecoder.c:
Fix uninitialized warnings

15 years agotests/check/: Add unit test for qtmux.
Mark Nauwelaerts [Tue, 11 Nov 2008 19:31:35 +0000 (19:31 +0000)]
tests/check/: Add unit test for qtmux.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/qtmux.c: (setup_src_pad),
(teardown_src_pad), (setup_qtmux), (cleanup_qtmux),
(check_qtmux_pad), (GST_START_TEST), (qtmux_suite), (main):
Add unit test for qtmux.

15 years agogst/qtmux/gstqtmux.c: Add some more safety/sanity checks in tag manipulation.
Mark Nauwelaerts [Tue, 11 Nov 2008 19:24:12 +0000 (19:24 +0000)]
gst/qtmux/gstqtmux.c: Add some more safety/sanity checks in tag manipulation.

Original commit message from CVS:
* gst/qtmux/gstqtmux.c: (gst_qt_mux_add_metadata_tags):
Add some more safety/sanity checks in tag manipulation.

15 years agogst/rtpmanager/gstrtpjitterbuffer.c: Also configure the next expected output seqnum...
Wim Taymans [Mon, 10 Nov 2008 15:26:40 +0000 (15:26 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Also configure the next expected output seqnum when we get a seqnum-base on the ...

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_jitter_buffer_sink_parse_caps), (gst_rtp_jitter_buffer_chain):
Also configure the next expected output seqnum when we get a seqnum-base
on the caps.

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

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

15 years agogst/filter/gstiir.c: Fix name tag.
Thomas Vander Stichele [Mon, 10 Nov 2008 14:01:42 +0000 (14:01 +0000)]
gst/filter/gstiir.c: Fix name tag.

Original commit message from CVS:
* gst/filter/gstiir.c:
Fix name tag.

15 years agoCopy qtmux from revision 148 of the gst-qtmux repository.
Thiago Sousa Santos [Sat, 8 Nov 2008 02:00:58 +0000 (02:00 +0000)]
Copy qtmux from revision 148 of the gst-qtmux repository.

Original commit message from CVS:
patch by: Thiago Sousa Santos <thiagossantos@gmail.com>
* configure.ac:
* gst/qtmux/Makefile.am:
* gst/qtmux/atoms.c:
* gst/qtmux/atoms.h:
* gst/qtmux/descriptors.c:
* gst/qtmux/descriptors.h:
* gst/qtmux/fourcc.h:
* gst/qtmux/ftypcc.h:
* gst/qtmux/gstqtmux.c:
* gst/qtmux/gstqtmux.h:
* gst/qtmux/gstqtmuxmap.c:
* gst/qtmux/gstqtmuxmap.h:
* gst/qtmux/properties.c:
* gst/qtmux/properties.h:
Copy qtmux from revision 148 of the gst-qtmux repository.
Fixes #550280.

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

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

16 years agoFix basic navigation events
Thijs Vermeir [Thu, 6 Nov 2008 22:54:39 +0000 (22:54 +0000)]
Fix basic navigation events

Original commit message from CVS:
* configure.ac:
* gst/librfb/Makefile.am:
* gst/librfb/gstrfbsrc.c:
Fix basic navigation events

16 years agogst/deinterlace2/gstdeinterlace2.c: Bring properties into this century.
Wim Taymans [Thu, 6 Nov 2008 14:05:55 +0000 (14:05 +0000)]
gst/deinterlace2/gstdeinterlace2.c: Bring properties into this century.

Original commit message from CVS:
* gst/deinterlace2/gstdeinterlace2.c:
(gst_deinterlace2_class_init), (gst_deinterlace2_init),
(gst_deinterlace2_set_property), (gst_deinterlace2_get_property):
Bring properties into this century.

16 years agosys/dvb/gstdvbsrc.c: Set filters in PAUSED or PLAYING.
Zaheer Abbas Merali [Thu, 6 Nov 2008 13:00:54 +0000 (13:00 +0000)]
sys/dvb/gstdvbsrc.c: Set filters in PAUSED or PLAYING.

Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Set filters in PAUSED or PLAYING.

16 years agogst/mpegdemux/gstmpegtsdemux.c: Make private section pads have a caps set so they...
Zaheer Abbas Merali [Thu, 6 Nov 2008 12:17:08 +0000 (12:17 +0000)]
gst/mpegdemux/gstmpegtsdemux.c: Make private section pads have a caps set so they are not tried to be linked in parse...

Original commit message from CVS:
* gst/mpegdemux/gstmpegtsdemux.c:
Make private section pads have a caps set so they are not tried
to be linked in parse_launch for example.

16 years agogst/mpegdemux/gstmpegtsdemux.c: No need to reclaculate flush in this case.
Zaheer Abbas Merali [Thu, 6 Nov 2008 11:31:03 +0000 (11:31 +0000)]
gst/mpegdemux/gstmpegtsdemux.c: No need to reclaculate flush in this case.

Original commit message from CVS:
patch by: Josep Torra
* gst/mpegdemux/gstmpegtsdemux.c:
No need to reclaculate flush in this case.
Fixes some bad decode errors introduced.

16 years agogst/mpegdemux/gstmpegtsdemux.*: Fix typo.
Zaheer Abbas Merali [Thu, 6 Nov 2008 10:42:59 +0000 (10:42 +0000)]
gst/mpegdemux/gstmpegtsdemux.*: Fix typo.

Original commit message from CVS:
* gst/mpegdemux/gstmpegtsdemux.c:
* gst/mpegdemux/gstmpegtsdemux.h:
Fix typo.

16 years agogst/librfb/gstrfbsrc.c: Fix RGB mask in caps
Thijs Vermeir [Wed, 5 Nov 2008 23:31:41 +0000 (23:31 +0000)]
gst/librfb/gstrfbsrc.c: Fix RGB mask in caps

Original commit message from CVS:
* gst/librfb/gstrfbsrc.c:
Fix RGB mask in caps

16 years agogst/librfb/: Add Hextile encoding
Thijs Vermeir [Wed, 5 Nov 2008 22:25:25 +0000 (22:25 +0000)]
gst/librfb/: Add Hextile encoding

Original commit message from CVS:
* gst/librfb/gstrfbsrc.c:
* gst/librfb/rfbdecoder.c:
* gst/librfb/rfbdecoder.h:
Add Hextile encoding

16 years agogst/mpegdemux/gstmpegtsdemux.c: Heuristic approach when resyncing.
Zaheer Abbas Merali [Wed, 5 Nov 2008 18:52:38 +0000 (18:52 +0000)]
gst/mpegdemux/gstmpegtsdemux.c: Heuristic approach when resyncing.

Original commit message from CVS:
patch by: Josep Torra
* gst/mpegdemux/gstmpegtsdemux.c:
Heuristic approach when resyncing.

16 years agogst/mpegdemux/gstmpegdesc.c: Length should be a guint8 not a gint.
Sebastian Pölsterl [Wed, 5 Nov 2008 18:11:55 +0000 (18:11 +0000)]
gst/mpegdemux/gstmpegdesc.c: Length should be a guint8 not a gint.

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.

16 years agogst/modplug/gstmodplug.cc: Send tag event. Fixes #559286.
Stefan Kost [Tue, 4 Nov 2008 20:26:00 +0000 (20:26 +0000)]
gst/modplug/gstmodplug.cc: Send tag event. Fixes #559286.

Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
Send tag event. Fixes #559286.

16 years agogst/mpegdemux/mpegtsparse.c: Fix another memleak.
Sebastian Pölsterl [Tue, 4 Nov 2008 18:03:55 +0000 (18:03 +0000)]
gst/mpegdemux/mpegtsparse.c: Fix another memleak.

Original commit message from CVS:
patch by: Sebastian Pölsterl
* gst/mpegdemux/mpegtsparse.c:
Fix another memleak.

16 years agoFix memleaks.
Sebastian Pölsterl [Tue, 4 Nov 2008 17:25:09 +0000 (17:25 +0000)]
Fix memleaks.

Original commit message from CVS:
patch by: Sebastian Pölsterl
* gst/mpegdemux/mpegtspacketizer.c:
* sys/dvb/gstdvbsrc.c:
Fix memleaks.

16 years agoDon't install static libs for plugins. Fixes #550851 for -bad.
Stefan Kost [Tue, 4 Nov 2008 12:42:30 +0000 (12:42 +0000)]
Don't install static libs for plugins. Fixes #550851 for -bad.

Original commit message from CVS:
* ext/alsaspdif/Makefile.am:
* ext/amrwb/Makefile.am:
* ext/apexsink/Makefile.am:
* ext/arts/Makefile.am:
* ext/artsd/Makefile.am:
* ext/audiofile/Makefile.am:
* ext/audioresample/Makefile.am:
* ext/bz2/Makefile.am:
* ext/cdaudio/Makefile.am:
* ext/celt/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dirac/Makefile.am:
* ext/directfb/Makefile.am:
* ext/divx/Makefile.am:
* ext/dts/Makefile.am:
* ext/faac/Makefile.am:
* ext/faad/Makefile.am:
* ext/gsm/Makefile.am:
* ext/hermes/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/jack/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/lcs/Makefile.am:
* ext/libfame/Makefile.am:
* ext/libmms/Makefile.am:
* ext/metadata/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mplex/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/mythtv/Makefile.am:
* ext/nas/Makefile.am:
* ext/neon/Makefile.am:
* ext/ofa/Makefile.am:
* ext/polyp/Makefile.am:
* ext/resindvd/Makefile.am:
* ext/sdl/Makefile.am:
* ext/shout/Makefile.am:
* ext/snapshot/Makefile.am:
* ext/sndfile/Makefile.am:
* ext/soundtouch/Makefile.am:
* ext/spc/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/tarkin/Makefile.am:
* ext/theora/Makefile.am:
* ext/timidity/Makefile.am:
* ext/twolame/Makefile.am:
* ext/x264/Makefile.am:
* ext/xine/Makefile.am:
* ext/xvid/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/dshow/Makefile.am:
* gst/aiffparse/Makefile.am:
* gst/app/Makefile.am:
* gst/audiobuffer/Makefile.am:
* gst/bayer/Makefile.am:
* gst/cdxaparse/Makefile.am:
* gst/chart/Makefile.am:
* gst/colorspace/Makefile.am:
* gst/dccp/Makefile.am:
* gst/deinterlace/Makefile.am:
* gst/deinterlace2/Makefile.am:
* gst/dvdspu/Makefile.am:
* gst/festival/Makefile.am:
* gst/filter/Makefile.am:
* gst/flacparse/Makefile.am:
* gst/flv/Makefile.am:
* gst/games/Makefile.am:
* gst/h264parse/Makefile.am:
* gst/librfb/Makefile.am:
* gst/mixmatrix/Makefile.am:
* gst/modplug/Makefile.am:
* gst/mpeg1sys/Makefile.am:
* gst/mpeg4videoparse/Makefile.am:
* gst/mpegdemux/Makefile.am:
* gst/mpegtsmux/Makefile.am:
* gst/mpegvideoparse/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/nuvdemux/Makefile.am:
* gst/overlay/Makefile.am:
* gst/passthrough/Makefile.am:
* gst/pcapparse/Makefile.am:
* gst/playondemand/Makefile.am:
* gst/rawparse/Makefile.am:
* gst/real/Makefile.am:
* gst/rtjpeg/Makefile.am:
* gst/rtpmanager/Makefile.am:
* gst/scaletempo/Makefile.am:
* gst/sdp/Makefile.am:
* gst/selector/Makefile.am:
* gst/smooth/Makefile.am:
* gst/smoothwave/Makefile.am:
* gst/speed/Makefile.am:
* gst/speexresample/Makefile.am:
* gst/stereo/Makefile.am:
* gst/subenc/Makefile.am:
* gst/tta/Makefile.am:
* gst/vbidec/Makefile.am:
* gst/videodrop/Makefile.am:
* gst/videosignal/Makefile.am:
* gst/virtualdub/Makefile.am:
* gst/vmnc/Makefile.am:
* gst/y4m/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/cdrom/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
* sys/dvb/Makefile.am:
* sys/dxr3/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/oss4/Makefile.am:
* sys/qcam/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/vcd/Makefile.am:
* sys/wininet/Makefile.am:
* win32/common/config.h:
Don't install static libs for plugins. Fixes #550851 for -bad.

16 years agogst/mpegdemux/mpegtsparse.c: Fix memleak.
Sebastian Pölsterl [Tue, 4 Nov 2008 08:24:10 +0000 (08:24 +0000)]
gst/mpegdemux/mpegtsparse.c: Fix memleak.

Original commit message from CVS:
patch by: Sebastian Pölsterl
* gst/mpegdemux/mpegtsparse.c:
Fix memleak.

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

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

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

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

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

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

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

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

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

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

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

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

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