summaryrefslogtreecommitdiffstats
path: root/gst
Commit message (Collapse)AuthorAgeFilesLines
* gst/rtp/: Add MP1S depayloader.Wim Taymans2008-08-055-0/+313
| | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpmp1sdepay.c: (gst_rtp_mp1s_depay_base_init), (gst_rtp_mp1s_depay_class_init), (gst_rtp_mp1s_depay_init), (gst_rtp_mp1s_depay_setcaps), (gst_rtp_mp1s_depay_process), (gst_rtp_mp1s_depay_set_property), (gst_rtp_mp1s_depay_get_property), (gst_rtp_mp1s_depay_change_state), (gst_rtp_mp1s_depay_plugin_init): * gst/rtp/gstrtpmp1sdepay.h: Add MP1S depayloader. * gst/rtsp/URLS: Some more sample rtsp streams.
* gst/rtsp/URLS: Add another URL.Wim Taymans2008-08-051-0/+3
| | | | | | | | | Original commit message from CVS: * gst/rtsp/URLS: Add another URL. * tests/check/elements/id3v2mux.c: (test_taglib_id3mux_with_tags): * tests/check/elements/rglimiter.c: (GST_START_TEST): Add some more debug info.
* gst/avi/gstavimux.c: Provide cbSize field for audio extra_data size, and ↵Mark Nauwelaerts2008-08-041-8/+18
| | | | | | | | | take care to pad extra_data. Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header): Provide cbSize field for audio extra_data size, and take care to pad extra_data.
* gst/qtdemux/qtdemux.c: Return the result of gst_pad_{start,stop}_task ↵Stefan Kost2008-08-041-4/+3
| | | | | | | | | instead of hard-coded Original commit message from CVS: * gst/qtdemux/qtdemux.c: Return the result of gst_pad_{start,stop}_task instead of hard-coded TRUE.
* gst/qtdemux/: Add keyword tag support. Fixes #520694 for qtdemux.Stefan Kost2008-08-042-0/+13
| | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: * gst/qtdemux/qtdemux_fourcc.h: Add keyword tag support. Fixes #520694 for qtdemux.
* gst/qtdemux/qtdemux.c: Add support for tmpo tag (BPM).Stefan Kost2008-08-041-0/+31
| | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: Add support for tmpo tag (BPM).
* gst/matroska/matroska-demux.c: When receiving a SEEK event on a specific pad ↵Sebastian Dröge2008-08-021-13/+25
| | | | | | | | | | | | | first search for a seek table entry for ... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroskademux_do_index_seek), (gst_matroska_demux_element_send_event), (gst_matroska_demux_handle_seek_event), (gst_matroska_demux_handle_src_event): When receiving a SEEK event on a specific pad first search for a seek table entry for the stream of the pad and then fall back to an entry for a different stream.
* Build depend on core CVS for the attachment tag.Sebastian Dröge2008-08-022-10/+0
| | | | | | | | Original commit message from CVS: * configure.ac: * gst/matroska/matroska-ids.c: (gst_matroska_register_tags): * gst/matroska/matroska-ids.h: Build depend on core CVS for the attachment tag.
* Decode the codec private data and following ContentEncoding if necessary.Sebastian Dröge2008-08-025-110/+686
| | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * gst/matroska/Makefile.am: * gst/matroska/lzo.c: (get_byte), (get_len), (copy), (copy_backptr), (lzo1x_decode), (main): * gst/matroska/lzo.h: * gst/matroska/matroska-demux.c: (gst_matroska_demux_read_track_encoding), (gst_matroska_decompress_data), (gst_matroska_decode_data), (gst_matroska_decode_buffer), (gst_matroska_decode_content_encodings), (gst_matroska_demux_read_track_encodings), (gst_matroska_demux_add_stream), (gst_matroska_demux_parse_blockgroup_or_simpleblock): * gst/matroska/matroska-ids.h: Decode the codec private data and following ContentEncoding if necessary. Support bzip2, lzo and header stripped compression. For lzo use the ffmpeg lzo implementation as liblzo is GPL licensed. Fix zlib decompression.
* gst/matroska/matroska-mux.c: Fix muxing of MP3/MP2 with different MPEG ↵Sebastian Dröge2008-08-021-10/+21
| | | | | | | | | | versions by calculating the duration of a fram... Original commit message from CVS: * gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_setcaps): Fix muxing of MP3/MP2 with different MPEG versions by calculating the duration of a frame with the new mpegaudioversion caps field.
* gst/matroska/matroska-demux.*: Allow an infinite number of stream inside ↵Sebastian Dröge2008-08-022-51/+74
| | | | | | | | | | | | | | | | | | | Matroska containers and use a GPtrArray for ... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_finalize), (gst_matroska_demux_class_init), (gst_matroska_demux_init), (gst_matroska_demux_combine_flows), (gst_matroska_demux_reset), (gst_matroska_demux_stream_from_num), (gst_matroska_demux_tracknumber_unique), (gst_matroska_demux_add_stream), (gst_matroska_demux_send_event), (gst_matroska_demux_handle_seek_event), (gst_matroska_demux_sync_streams), (gst_matroska_demux_parse_blockgroup_or_simpleblock), (gst_matroska_demux_loop): * gst/matroska/matroska-demux.h: Allow an infinite number of stream inside Matroska containers and use a GPtrArray for storing them instead of allowing "only" 127 streams.
* gst/matroska/: Fix indention everywhere. A broken indent version has added ↵Sebastian Dröge2008-08-024-266/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | newlines after every single declaration so... Original commit message from CVS: * gst/matroska/ebml-read.c: (gst_ebml_read_class_init), (gst_ebml_read_change_state), (gst_ebml_read_element_level_up), (gst_ebml_read_peek_bytes), (gst_ebml_read_element_id), (gst_ebml_read_element_length), (gst_ebml_peek_id), (gst_ebml_read_get_length), (gst_ebml_read_skip), (gst_ebml_read_buffer), (gst_ebml_read_bytes), (gst_ebml_read_uint), (gst_ebml_read_sint), (_ext2dbl), (gst_ebml_read_float), (gst_ebml_read_ascii), (gst_ebml_read_date), (gst_ebml_read_master), (gst_ebml_read_binary), (gst_ebml_read_header): * gst/matroska/ebml-write.c: (gst_ebml_write_element_id), (gst_ebml_write_element_size), (gst_ebml_write_uint), (gst_ebml_write_sint), (gst_ebml_write_ascii), (gst_ebml_write_master_start), (gst_ebml_write_master_finish), (gst_ebml_replace_uint): * gst/matroska/matroska-demux.c: (gst_matroska_demux_reset), (gst_matroska_demux_read_track_encoding), (gst_matroska_demux_read_track_encodings), (gst_matroska_demux_add_stream), (gst_matroskademux_do_index_seek), (gst_matroska_demux_send_event), (gst_matroska_demux_element_send_event), (gst_matroska_demux_handle_seek_event), (gst_matroska_demux_handle_src_event), (gst_matroska_demux_init_stream), (gst_matroska_demux_parse_tracks), (gst_matroska_demux_parse_index_cuetrack), (gst_matroska_demux_parse_index_pointentry), (gst_matroska_demux_parse_index), (gst_matroska_demux_parse_info), (gst_matroska_demux_parse_metadata_id_simple_tag), (gst_matroska_demux_parse_metadata_id_tag), (gst_matroska_demux_parse_metadata), (gst_matroska_demux_parse_attached_file), (gst_matroska_demux_parse_attachments), (gst_matroska_demux_parse_chapters), (gst_matroska_ebmlnum_uint), (gst_matroska_ebmlnum_sint), (gst_matroska_demux_push_hdr_buf), (gst_matroska_demux_push_flac_codec_priv_data), (gst_matroska_demux_push_xiph_codec_priv_data), (gst_matroska_demux_push_dvd_clut_change_event), (gst_matroska_demux_add_mpeg_seq_header), (gst_matroska_demux_add_wvpk_header), (gst_matroska_demux_check_subtitle_buffer), (gst_matroska_decode_buffer), (gst_matroska_demux_parse_blockgroup_or_simpleblock), (gst_matroska_demux_parse_cluster), (gst_matroska_demux_parse_contents_seekentry), (gst_matroska_demux_parse_contents), (gst_matroska_demux_loop_stream_parse_id), (gst_matroska_demux_loop_stream), (gst_matroska_demux_loop), (gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps), (gst_matroska_demux_subtitle_caps), (gst_matroska_demux_change_state): * gst/matroska/matroska-ids.c: * gst/matroska/matroska-mux.c: (gst_matroska_mux_class_init), (gst_matroska_mux_reset), (gst_matroska_mux_handle_sink_event), (gst_matroska_mux_video_pad_setcaps), (xiph3_streamheader_to_codecdata), (vorbis_streamheader_to_codecdata), (theora_streamheader_to_codecdata), (gst_matroska_mux_audio_pad_setcaps), (gst_matroska_mux_request_new_pad), (gst_matroska_mux_release_pad), (gst_matroska_mux_track_header), (gst_matroska_mux_start), (gst_matroska_mux_write_simple_tag), (gst_matroska_mux_finish), (gst_matroska_mux_best_pad), (gst_matroska_mux_write_data), (gst_matroska_mux_collected), (gst_matroska_mux_change_state): Fix indention everywhere. A broken indent version has added newlines after every single declaration some time ago.
* gst/matroska/matroska-demux.c: If no Tracks are found error out instead of ↵Sebastian Dröge2008-08-021-2/+2
| | | | | | | | | | trying it again until the end of time. Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_loop_stream_parse_id): If no Tracks are found error out instead of trying it again until the end of time.
* gst/matroska/matroska-demux.c: Fix demuxing of raw integer audio. The ↵Sebastian Dröge2008-08-021-1/+1
| | | | | | | | | samples are unsigned only for 8 bit and signed ... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps): Fix demuxing of raw integer audio. The samples are unsigned only for 8 bit and signed otherwise, not the other way around.
* gst/matroska/matroska-mux.c: Add more raw YUV formats to the list of ↵Sebastian Dröge2008-08-021-1/+2
| | | | | | | | supported formats. Original commit message from CVS: * gst/matroska/matroska-mux.c: Add more raw YUV formats to the list of supported formats.
* gst/matroska/matroska-mux.c: Add support for muxing raw float audio now that ↵Sebastian Dröge2008-08-021-8/+32
| | | | | | | | | | | | the spec defines the endianness and add ... Original commit message from CVS: * gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_setcaps): Add support for muxing raw float audio now that the spec defines the endianness and add support for muxing raw integer audio with 24 and 32 bits. Allow muxing of more than 8 audio channels.
* gst/matroska/matroska-mux.c: Add locking to the global array of used track ↵Sebastian Dröge2008-08-021-27/+15
| | | | | | | | | | | | | UIDs to prevent random crashes if more tha... Original commit message from CVS: * gst/matroska/matroska-mux.c: (gst_matroska_mux_create_uid), (gst_matroska_mux_reset), (gst_matroska_mux_start): Add locking to the global array of used track UIDs to prevent random crashes if more than a single matrosmux instance is used. Use 64 bit values for the track UIDs. Use the global GRandom of GLib instead of creating our own one for the few random numbers we need every single time.
* gst/qtdemux/qtdemux.c: Fix segment-stop regression.Edward Hervey2008-07-251-1/+71
| | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment): Fix segment-stop regression. Add documentation regarding segments in quicktime files by Wim Taymans. Fixes #544509
* gst/goom/: Fix build with MSVC: include glib.h to define inline ↵Michael Smith2008-07-237-13/+37
| | | | | | | | | | | | | | | | | | appropriately, use header guards where needed. Original commit message from CVS: * gst/goom/convolve_fx.c: * gst/goom/filters.c: * gst/goom/goom_config.h: * gst/goom/goom_core.c: * gst/goom/goom_tools.h: Fix build with MSVC: include glib.h to define inline appropriately, use header guards where needed. * gst/udp/gstudpnetutils.c: * gst/udp/gstudpsrc.c: Fix build with MSVC: use WSA* constants/functions where appropriate, use g_snprintf rather than snprintf. Fixes #544433.
* gst/debug/gsttaginject.*: Sent tags in _transform_ip() instead of _start(). ↵Stefan Kost2008-07-222-12/+17
| | | | | | | | | | Fixes #543404 partially. Original commit message from CVS: * gst/debug/gsttaginject.c: * gst/debug/gsttaginject.h: Sent tags in _transform_ip() instead of _start(). Fixes #543404 partially.
* gst/qtdemux/qtdemux.c: Revert ISO base media spec based pixel-aspect-ratio ↵Mark Nauwelaerts2008-07-181-32/+0
| | | | | | | | | | calculation. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse_trak): Revert ISO base media spec based pixel-aspect-ratio calculation. Fixes #543300.
* gst/debug/gsttaginject.c: Don't pass NULL taglists to gst_tag_list_is_empty().Sebastian Dröge2008-07-141-1/+1
| | | | | | Original commit message from CVS: * gst/debug/gsttaginject.c: (gst_tag_inject_start): Don't pass NULL taglists to gst_tag_list_is_empty().
* gst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. ↵Sebastian Dröge2008-07-141-0/+5
| | | | | | | | | | Define it to the old value (1) if it's n... Original commit message from CVS: * gst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the old value (1) if it's not defined which should not cause any problems as we're using it internal only anyway.
* gst/avi/gstavidemux.c: Fix build of avidemux on big endian architectures.Alessandro Decina2008-07-141-3/+3
| | | | | | | Original commit message from CVS: Patch by: Alessandro Decina <alessandro at nnva dot org> * gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp): Fix build of avidemux on big endian architectures.
* gst/qtdemux/qtdemux.c: Correctly distinguish 8bit vs 16bit raw audio. Fixes ↵Thiago Sousa Santos2008-07-101-2/+2
| | | | | | | | | #542410. Original commit message from CVS: Patch by: Thiago Sousa Santos <thiagoss at lcc dot ufcg dot edu dot br> * gst/qtdemux/qtdemux.c: (qtdemux_audio_caps): Correctly distinguish 8bit vs 16bit raw audio. Fixes #542410.
* gst/qtdemux/qtdemux.c: Set pixel-aspect-ratio in caps using display width ↵Mark Nauwelaerts2008-07-081-0/+32
| | | | | | | | | | and height provided in track. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse_trak): Set pixel-aspect-ratio in caps using display width and height provided in track.
* gst/rtp/gstrtpspeexdepay.*: Revert last change: Only the jitterbuffer is ↵Sebastian Dröge2008-07-072-10/+1
| | | | | | | | | | | | able to convert RTP to Original commit message from CVS: * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_init), (gst_rtp_speex_depay_process): * gst/rtp/gstrtpspeexdepay.h: Revert last change: Only the jitterbuffer is able to convert RTP to Gstreamer timestamps and normal (de)payloaders should simply copy it. Reopens bug #541787.
* gst/rtp/gstrtpvrawdepay.c: Include stdlib.h for atoi().Stefan Kost2008-07-072-1/+2
| | | | | | | | Original commit message from CVS: * gst/rtp/gstrtpvrawdepay.c: Include stdlib.h for atoi(). * gst/rtsp/gstrtspsrc.c: Use floating point math for latencies < 0 sec in log output.
* gst/rtp/gstrtpspeexdepay.*: Take timestamp from the RTP packet as a first ↵Tomasz Grobelny2008-07-072-1/+10
| | | | | | | | | | | | | step to fix problems with transmission over... Original commit message from CVS: Patch by: Tomasz Grobelny <tomasz at grobelny dot oswiecenia dot net> * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_init), (gst_rtp_speex_depay_process): * gst/rtp/gstrtpspeexdepay.h: Take timestamp from the RTP packet as a first step to fix problems with transmission over RTP when the network is not reliable. Fixes bug #541787.
* gst/udp/gstudpsrc.c: Fix parsing of udp:// URIs containing IPv6 addresses.Tero Saarni2008-07-051-1/+1
| | | | | | | | Original commit message from CVS: Patch by: Tero Saarni <tero dot saarni at gmail dot com> * gst/udp/gstudpsrc.c: (gst_udpsrc_set_uri): Fix parsing of udp:// URIs containing IPv6 addresses. Fixes bug #541650.
* gst/matroska/matroska-demux.c: Handle position and duration query in DEFAULT ↵Sebastian Dröge2008-07-021-32/+69
| | | | | | | | | | | | | | | format if the pad's track has a default ... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init), (gst_matroska_demux_add_stream), (gst_matroska_demux_query), (gst_matroska_demux_element_query), (gst_matroska_demux_handle_src_query), (gst_matroska_demux_handle_seek_event): Handle position and duration query in DEFAULT format if the pad's track has a default frame duration set. Fix seeking now that the segment's duration doesn't contain the (possibly wrong or inaccurate) duration of the Matroska file.
* gst/matroska/ebml-read.c: Use NAN constant instead of 0.0/0.0 if possible. ↵Sebastian Dröge2008-07-021-1/+11
| | | | | | | | | | NAN is defined in math.h except on MSVC wh... Original commit message from CVS: * gst/matroska/ebml-read.c: (_ext2dbl): Use NAN constant instead of 0.0/0.0 if possible. NAN is defined in math.h except on MSVC where it is defined in xmath.h. Fixes compilation with MSVC.
* gst/matroska/matroska-demux.*: Don't set the segment duration to the ↵Sebastian Dröge2008-07-022-3/+4
| | | | | | | | | | | | | duration from the Matroska header as this value ... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_reset), (gst_matroska_demux_handle_src_query), (gst_matroska_demux_parse_info), (gst_matroska_demux_loop_stream_parse_id): * gst/matroska/matroska-demux.h: Don't set the segment duration to the duration from the Matroska header as this value could be wrong and is just informational.
* gst/matroska/matroska-demux.c: If no Tracks element is found until the first ↵Sebastian Dröge2008-07-021-3/+68
| | | | | | | | | | Cluster is found search it and error out... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_loop_stream_parse_id): If no Tracks element is found until the first Cluster is found search it and error out if none is found in the complete file.
* gst/matroska/matroska-demux.c: Resync non-subtitle tracks too if a too large ↵Sebastian Dröge2008-07-021-2/+0
| | | | | | | | | gap compared to other tracks is detected. Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_sync_streams): Resync non-subtitle tracks too if a too large gap compared to other tracks is detected.
* gst/rtp/: Add raw video pay and depayloaders, see RFC4175.Wim Taymans2008-07-016-2/+1260
| | | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtpvrawdepay.c: (gst_rtp_vraw_depay_base_init), (gst_rtp_vraw_depay_class_init), (gst_rtp_vraw_depay_init), (gst_rtp_vraw_depay_setcaps), (gst_rtp_vraw_depay_process), (gst_rtp_vraw_depay_change_state), (gst_rtp_vraw_depay_plugin_init): * gst/rtp/gstrtpvrawdepay.h: * gst/rtp/gstrtpvrawpay.c: (gst_rtp_vraw_pay_get_type), (gst_rtp_vraw_pay_base_init), (gst_rtp_vraw_pay_class_init), (gst_rtp_vraw_pay_init), (gst_rtp_vraw_pay_finalize), (gst_rtp_vraw_pay_setcaps), (gst_rtp_vraw_pay_handle_buffer), (gst_rtp_vraw_pay_plugin_init): * gst/rtp/gstrtpvrawpay.h: Add raw video pay and depayloaders, see RFC4175.
* gst/avi/avi-ids.h: Add vprp chunk related structures.Mark Nauwelaerts2008-06-294-3/+273
| | | | | | | | | | | | | | Original commit message from CVS: * gst/avi/avi-ids.h: Add vprp chunk related structures. * gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp), (gst_avi_demux_parse_stream): Parse optional vprp chunk and add calculated pixel-aspect-ratio to caps. Fixes #539482. * gst/avi/gstavimux.h: * gst/avi/gstavimux.c: (gst_avi_mux_pad_reset), (gst_avi_mux_vidsink_set_caps), (gst_avi_mux_riff_get_avi_header): Add a vprp chunk if non-trival pixel-aspect-ratio provided in caps.
* gst/qtdemux/qtdemux.c: Add Dirac stream typeDavid Schleef2008-06-271-0/+4
| | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: Add Dirac stream type
* gst/avi/gstavimux.*: Add 8 bytes to current streamheader to make for a ↵Mark Nauwelaerts2008-06-272-29/+44
| | | | | | | | | | complete one and to make more players happy. ... Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header): * gst/avi/gstavimux.h: Add 8 bytes to current streamheader to make for a complete one and to make more players happy. Fixes #519460.
* gst/udp/gstudpsrc.c: Call getsockname() after the call to bind() to get ↵Sebastian Dröge2008-06-251-0/+32
| | | | | | | | | | | updated values for the port, etc. This fixes ... Original commit message from CVS: * gst/udp/gstudpsrc.c: (gst_udpsrc_start): Call getsockname() after the call to bind() to get updated values for the port, etc. This fixes the usage of udpsrc on anonymous binding and it's usage by rtspsrc. Fixes bugs #539372, #539548. Thanks to Aurelien Grimaud for pointing out the obvious fix.
* gst/matroska/matroska-demux.c: Fix buggy format strings in macros. (makes it ↵Julien Moutte2008-06-231-4/+4
| | | | | | | | | | | | build on OS X again...) Original commit message from CVS: 2008-06-23 Julien Moutte <julien@fluendo.com> * gst/matroska/matroska-demux.c: (gst_matroska_demux_read_track_encoding), (gst_matroska_demux_parse_blockgroup_or_simpleblock): Fix buggy format strings in macros. (makes it build on OS X again...)
* gst/: Added debug.Thomas Vander Stichele2008-06-202-2/+7
| | | | | | | Original commit message from CVS: * gst/rtp/gstrtptheorapay.c: * gst/udp/gstmultiudpsink.c: Added debug.
* gst/rtp/gstrtpg726pay.c: Remove unused variable so that we can compile again.Wim Taymans2008-06-191-1/+0
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpg726pay.c: (gst_rtp_g726_pay_setcaps): Remove unused variable so that we can compile again.
* gst/rtp/gstrtpg726pay.c: No need to check for audio/G723 and audio/32KADPCM ↵Peter Kjellerstedt2008-06-191-13/+1
| | | | | | | | | here as they are no longer supported. Original commit message from CVS: * gst/rtp/gstrtpg726pay.c: (gst_rtp_g726_pay_setcaps): No need to check for audio/G723 and audio/32KADPCM here as they are no longer supported.
* gst/matroska/: Fix demuxing of WavPack files. Muxing is still broken.Sebastian Dröge2008-06-192-37/+127
| | | | | | | | | Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_wvpk_header), (gst_matroska_demux_audio_caps): * gst/matroska/matroska-ids.h: Fix demuxing of WavPack files. Muxing is still broken.
* gst/matroska/: Add a "vfunc" to the track context for postprocessing frames ↵Sebastian Dröge2008-06-192-40/+121
| | | | | | | | | | | | | | | | | | | | | and convert the wavpack and subtitle post... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_track_free), (gst_matroska_demux_add_mpeg_seq_header), (gst_matroska_demux_add_wvpk_header), (gst_matroska_demux_check_subtitle_buffer), (gst_matroska_demux_parse_blockgroup_or_simpleblock), (gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps), (gst_matroska_demux_subtitle_caps): * gst/matroska/matroska-ids.h: Add a "vfunc" to the track context for postprocessing frames and convert the wavpack and subtitle postprocessing to this vfunc. Copy buffer flags in those functions to the new buffers too. Parse CodecState elements of Blocks. Add a postprocessing function for MPEG video that adds the sequence header from the codec private data or codec state to the frames if it's not already there.
* gst/matroska/matroska-demux.c: If a gap of more than 1/2 second is found in ↵Sebastian Dröge2008-06-191-9/+21
| | | | | | | | | | | | | | | | one stream send a Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_blockgroup_or_simpleblock): If a gap of more than 1/2 second is found in one stream send a NEWSEGMENT event to not stall the pipeline if the gap is too large. This also fixes Matroska files where the first buffer doesn't start at timestamp 0. Fixes bug #429322. The duration of a block is the default duration multiplied with the number of laces. Every lace is one frame and the default duration is the duration of one frame. This fixes playback of files that use lacing for some tracks.
* gst/matroska/matroska-demux.c: Update FIXME/TODOs and only ignore EOS at the ↵Sebastian Dröge2008-06-181-16/+5
| | | | | | | | | | central, important place instead of seve... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_contents_seekentry): Update FIXME/TODOs and only ignore EOS at the central, important place instead of several places.
* gst/rtp/gstrtpg726pay.c: Fix caps, See #538891.Wim Taymans2008-06-181-4/+2
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpg726pay.c: Fix caps, See #538891.
* gst/matroska/matroska-demux.c: Improve debug output everywhere and fix the ↵Sebastian Dröge2008-06-185-574/+743
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EOS logic. Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_reset), (gst_matroska_demux_stream_from_num), (gst_matroska_demux_encoding_cmp), (gst_matroska_demux_encoding_order_unique), (gst_matroska_demux_read_track_encoding), (gst_matroska_demux_read_track_encodings), (gst_matroska_demux_tracknumber_unique), (gst_matroska_demux_add_stream), (gst_matroska_demux_init_stream), (gst_matroska_demux_parse_tracks), (gst_matroska_demux_parse_index_cuetrack), (gst_matroska_demux_parse_index_pointentry), (gst_matroska_demux_parse_index), (gst_matroska_demux_parse_info), (gst_matroska_demux_parse_metadata_id_simple_tag), (gst_matroska_demux_parse_metadata_id_tag), (gst_matroska_demux_parse_metadata), (gst_matroska_demux_parse_attached_file), (gst_matroska_demux_parse_attachments), (gst_matroska_demux_parse_chapters), (gst_matroska_demux_sync_streams), (gst_matroska_decode_buffer), (gst_matroska_demux_parse_blockgroup_or_simpleblock), (gst_matroska_demux_parse_cluster), (gst_matroska_demux_parse_contents_seekentry), (gst_matroska_demux_parse_contents), (gst_matroska_demux_loop_stream_parse_id), (gst_matroska_demux_loop): Improve debug output everywhere and fix the EOS logic. Check the values of the ContentEncoding elements more strictly and don't use tracks for which it's invalid. Check that the track number is unique for this stream. Check that seek positions are below G_MAXINT64 as our seeks are int64-based and overflows will fail badly. After seeks also don't push SimpleBlocks until the first one containing a keyframe is found. Before this was done only for normal Blocks. Update some FIXME/TODOs. * gst/matroska/ebml-read.c: (gst_ebml_read_peek_bytes), (gst_ebml_read_utf8), (gst_ebml_read_header): Improve debug output. * gst/matroska/matroska-ids.c: (gst_matroska_track_init_video_context): * gst/matroska/matroska-ids.h: * gst/matroska/matroska-mux.c: (gst_matroska_mux_video_pad_setcaps): Remove eye mode and don't parse it anymore. We can't use that information in GStreamer yet so it's useless.