summaryrefslogtreecommitdiffstats
path: root/gst
Commit message (Collapse)AuthorAgeFilesLines
* Add semicolons after GST_BOILERPLATE[_FULL] so that indent doesn't mess up ↵Maciej Katafiasz2006-05-065-11/+16
| | | | | | | following lines. Original commit message from CVS: Add semicolons after GST_BOILERPLATE[_FULL] so that indent doesn't mess up following lines.
* gst/matroska/matroska-demux.c: Don't leak caps when freeing the stream ↵Michal Benes2006-05-041-0/+1
| | | | | | | | | context (#340623). Original commit message from CVS: Patch by: Michal Benes <michal dot benes at xeris dot cz> * gst/matroska/matroska-demux.c: (gst_matroska_demux_reset): Don't leak caps when freeing the stream context (#340623).
* gst/matroska/matroska-mux.c: Don't strcmp() NULL strings.Tim-Philipp Müller2006-05-031-4/+13
| | | | | | | | | | | Original commit message from CVS: * gst/matroska/matroska-mux.c: (gst_matroska_mux_stream_is_vorbis_header), (gst_matroska_mux_write_data): Don't strcmp() NULL strings. Only start new clusters on video keyframes, not on any random audio buffer that doesn't have the DELTA_UNIT flag set (fixes 'make check' again).
* gst/matroska/matroska-mux.c: Don't misinterpret GST_CLOCK_TIME_NONE as very ↵Mark Nauwelaerts2006-05-031-5/+49
| | | | | | | | | | | | | | | | high timestamp value and then dead-lock w... Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet be> * gst/matroska/matroska-mux.c: (gst_matroska_mux_best_pad), (gst_matroska_mux_stream_is_vorbis_header), (gst_matroska_mux_write_data): Don't misinterpret GST_CLOCK_TIME_NONE as very high timestamp value and then dead-lock when muxing vorbis audio streams (the three vorbis header buffers carry no timestamp, and it would try to mux these after all video buffers). Fixes #340346. Improve clustering: start a new cluster also whenever we get a keyframe.
* gst/qtdemux/qtdemux.c: Clean up one piece of logic slightly and remove a ↵Jan Schmidt2006-05-031-17/+7
| | | | | | | | | dead code block. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Clean up one piece of logic slightly and remove a dead code block.
* gst/: don't leak caps-stringStefan Kost2006-05-023-4/+18
| | | | | | | | Original commit message from CVS: * gst/alpha/gstalphacolor.c: (gst_alpha_color_transform_caps): * gst/debug/negotiation.c: (gst_negotiation_update_caps): * gst/rtp/gstrtpilbcdepay.c: (gst_rtp_ilbc_depay_setcaps): don't leak caps-string
* gst/id3demux/gstid3demux.c: Let core insert default error message for ↵Tim-Philipp Müller2006-05-021-4/+2
| | | | | | | | | | | TYPE_NOT_FOUND errors, it's just as good as our... Original commit message from CVS: * gst/id3demux/gstid3demux.c: (gst_id3demux_chain), (gst_id3demux_sink_activate): Let core insert default error message for TYPE_NOT_FOUND errors, it's just as good as our own and has the added bonus of being translated.
* gst/: Post an error message when we get an EOS event and were not able to ↵Tim-Philipp Müller2006-05-022-1/+57
| | | | | | | | | | | | | | | | | find out the type of stream. Original commit message from CVS: * gst/apetag/gsttagdemux.c: (gst_tag_demux_init), (gst_tag_demux_sink_event): * gst/id3demux/gstid3demux.c: (gst_id3demux_init), (gst_id3demux_sink_event): Post an error message when we get an EOS event and were not able to find out the type of stream. * tests/check/elements/id3v2mux.c: (fill_mp3_buffer), (got_buffer), (test_taglib_id3mux_with_tags): Decrease num-buffers to 16 per iteration again, otherwise the many memcpy()s and reallocations in the test will hammer slow CPUs completely and make the test timeout.
* fix docs for wavparseThomas Vander Stichele2006-05-021-3/+2
| | | | | Original commit message from CVS: fix docs for wavparse
* gst/wavparse/gstwavparse.c: ... and fix multichannel/WAVFORMATEX support again.Tim-Philipp Müller2006-04-291-4/+4
| | | | | | Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers): ... and fix multichannel/WAVFORMATEX support again.
* gst/wavparse/gstwavparse.*: Add push (streaming) mode to wavparse (fixes ↵Stefan Kost2006-04-282-160/+444
| | | | | | | | | | | | | | | | | | | | | #337625) Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_base_init), (gst_wavparse_class_init), (gst_wavparse_dispose), (gst_wavparse_reset), (gst_wavparse_init), (gst_wavparse_create_sourcepad), (gst_wavparse_parse_adtl), (gst_wavparse_parse_cues), (gst_wavparse_parse_file_header), (gst_wavparse_stream_init), (gst_wavparse_perform_seek), (gst_wavparse_peek_chunk_info), (gst_wavparse_peek_chunk), (gst_wavparse_stream_headers), (gst_wavparse_parse_stream_init), (gst_wavparse_send_event), (gst_wavparse_add_src_pad), (gst_wavparse_stream_data), (gst_wavparse_loop), (gst_wavparse_chain), (gst_wavparse_srcpad_event), (gst_wavparse_sink_activate), (gst_wavparse_sink_activate_pull), (gst_wavparse_change_state), (plugin_init): * gst/wavparse/gstwavparse.h: Add push (streaming) mode to wavparse (fixes #337625)
* gst/icydemux/gsticydemux.*: Fix event handling: cache events when ↵Michael Smith2006-04-282-0/+53
| | | | | | | | | | | | | typefinding and forward later. Original commit message from CVS: * gst/icydemux/gsticydemux.c: (gst_icydemux_reset), (gst_icydemux_init), (gst_icydemux_sink_setcaps), (gst_icydemux_add_srcpad), (gst_icydemux_parse_and_send_tags), (gst_icydemux_handle_event), (gst_icydemux_send_cached_events), (gst_icydemux_typefind_or_forward), (gst_icydemux_add_meta), (gst_icydemux_chain), (gst_icydemux_send_tag_event): * gst/icydemux/gsticydemux.h: Fix event handling: cache events when typefinding and forward later.
* gst/id3demux/id3v2frames.c: Recognise and skip any byte order marker (BOM) inTim-Philipp Müller2006-04-281-0/+24
| | | | | | | | Original commit message from CVS: * gst/id3demux/id3v2frames.c: (has_utf16_bom), (parse_split_strings): Recognise and skip any byte order marker (BOM) in UTF-16 strings.
* Add docs for both avidemux and avimux.Tim-Philipp Müller2006-04-272-0/+64
| | | | | | | | | | | | Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/gst-plugins-good-plugins.hierarchy: * docs/plugins/inspect/plugin-avi.xml: * gst/avi/gstavidemux.c: * gst/avi/gstavimux.c: Add docs for both avidemux and avimux.
* gst/avi/: Port AVI muxer to GStreamer-0.10 (#332031).Mark Nauwelaerts2006-04-274-329/+588
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet dot be> * gst/avi/Makefile.am: * gst/avi/gstavi.c: (plugin_init): * gst/avi/gstavimux.c: (gst_avi_mux_get_type), (gst_avi_mux_base_init), (gst_avi_mux_finalize), (gst_avi_mux_class_init), (gst_avi_mux_init), (gst_avi_mux_vidsink_set_caps), (gst_avi_mux_audsink_set_caps), (gst_avi_mux_pad_link), (gst_avi_mux_pad_unlink), (gst_avi_mux_request_new_pad), (gst_avi_mux_release_pad), (gst_avi_mux_write_tag), (gst_avi_mux_riff_get_avi_header), (gst_avi_mux_riff_get_avix_header), (gst_avi_mux_riff_get_video_header), (gst_avi_mux_riff_get_audio_header), (gst_avi_mux_add_index), (gst_avi_mux_write_index), (gst_avi_mux_bigfile), (gst_avi_mux_start_file), (gst_avi_mux_stop_file), (gst_avi_mux_restart_file), (gst_avi_mux_handle_event), (gst_avi_mux_fill_queue), (gst_avi_mux_send_pad_data), (gst_avi_mux_strip_buffer), (gst_avi_mux_do_audio_buffer), (gst_avi_mux_do_video_buffer), (gst_avi_mux_do_one_buffer), (gst_avi_mux_loop), (gst_avi_mux_collect_pads), (gst_avi_mux_get_property), (gst_avi_mux_set_property), (gst_avi_mux_change_state): * gst/avi/gstavimux.h: Port AVI muxer to GStreamer-0.10 (#332031). * tests/check/Makefile.am: * tests/check/elements/avimux.c: * tests/check/elements/.cvsignore: Add unit test for AVI muxer.
* gst/wavparse/gstwavparse.*: reverted patch #337625 for the price of 1 hour sleepStefan Kost2006-04-262-450/+158
| | | | | | | | | | | | | | | | Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_base_init), (gst_wavparse_class_init), (gst_wavparse_reset), (gst_wavparse_init), (gst_wavparse_create_sourcepad), (gst_wavparse_parse_file_header), (gst_wavparse_stream_init), (gst_wavparse_perform_seek), (gst_wavparse_stream_headers), (gst_wavparse_send_event), (gst_wavparse_add_src_pad), (gst_wavparse_stream_data), (gst_wavparse_loop), (gst_wavparse_srcpad_event), (gst_wavparse_sink_activate), (gst_wavparse_sink_activate_pull), (gst_wavparse_change_state), (plugin_init): * gst/wavparse/gstwavparse.h: reverted patch #337625 for the price of 1 hour sleep
* gst/wavparse/gstwavparse.*: correct partial implementation of push mode ↵Stefan Kost2006-04-262-95/+130
| | | | | | | | | | | | | | | | | (from my last commit) Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_base_init), (gst_wavparse_class_init), (gst_wavparse_reset), (gst_wavparse_init), (gst_wavparse_create_sourcepad), (gst_wavparse_parse_adtl), (gst_wavparse_parse_cues), (gst_wavparse_parse_file_header), (gst_wavparse_stream_init), (gst_wavparse_perform_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data), (gst_wavparse_loop), (gst_wavparse_chain), (plugin_init): * gst/wavparse/gstwavparse.h: correct partial implementation of push mode (from my last commit)
* gst/auparse/gstauparse.*: Rewrite auparse to suck a little bit less: make ↵Tim-Philipp Müller2006-04-262-254/+566
| | | | | | | | | | | | | | | | | | | | | | | source pad dynamic, so decodebin/playbin wo... Original commit message from CVS: * gst/auparse/gstauparse.c: (gst_au_parse_base_init), (gst_au_parse_class_init), (gst_au_parse_init), (gst_au_parse_reset), (gst_au_parse_add_srcpad), (gst_au_parse_remove_srcpad), (gst_au_parse_parse_header), (gst_au_parse_chain), (gst_au_parse_src_convert), (gst_au_parse_src_query), (gst_au_parse_handle_seek), (gst_au_parse_sink_event), (gst_au_parse_src_event), (gst_au_parse_change_state): * gst/auparse/gstauparse.h: Rewrite auparse to suck a little bit less: make source pad dynamic, so decodebin/playbin work with non-raw formats like alaw/mulaw; add query function for duration/position queries; check whether we have enough data before attempting to parse the header (instead of crashing when that is not the case); work around audioconvert sucking by swapping endianness to the native endianness ourselves for float formats; send initial newsegment event. Fixes #161712.
* Define GstElementDetails as const and also static (when defined as global)Stefan Kost2006-04-256-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/amrwb/gstamrwbdec.c: * ext/amrwb/gstamrwbenc.c: * ext/amrwb/gstamrwbparse.c: * ext/arts/gst_arts.c: * ext/artsd/gstartsdsink.c: * ext/audiofile/gstafparse.c: * ext/audiofile/gstafsink.c: * ext/audiofile/gstafsrc.c: * ext/audioresample/gstaudioresample.c: * ext/bz2/gstbz2dec.c: * ext/bz2/gstbz2enc.c: * ext/cdaudio/gstcdaudio.c: * ext/directfb/dfbvideosink.c: * ext/divx/gstdivxdec.c: * ext/divx/gstdivxenc.c: * ext/dts/gstdtsdec.c: (gst_dtsdec_base_init): * ext/faac/gstfaac.c: (gst_faac_base_init): * ext/faad/gstfaad.c: * ext/gsm/gstgsmdec.c: * ext/gsm/gstgsmenc.c: * ext/hermes/gsthermescolorspace.c: * ext/ivorbis/vorbisfile.c: * ext/lcs/gstcolorspace.c: * ext/libfame/gstlibfame.c: * ext/libmms/gstmms.c: (gst_mms_base_init): * ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init): * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init): * ext/nas/nassink.c: (gst_nassink_base_init): * ext/neon/gstneonhttpsrc.c: * ext/sdl/sdlaudiosink.c: * ext/sdl/sdlvideosink.c: * ext/shout/gstshout.c: * ext/snapshot/gstsnapshot.c: * ext/sndfile/gstsf.c: * ext/swfdec/gstswfdec.c: * ext/tarkin/gsttarkindec.c: * ext/tarkin/gsttarkinenc.c: * ext/theora/theoradec.c: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init): * ext/xvid/gstxviddec.c: * ext/xvid/gstxvidenc.c: * gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init): * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init): * gst/chart/gstchart.c: * gst/colorspace/gstcolorspace.c: * gst/deinterlace/gstdeinterlace.c: * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init): * gst/festival/gstfestival.c: * gst/filter/gstbpwsinc.c: * gst/filter/gstiir.c: * gst/filter/gstlpwsinc.c: * gst/freeze/gstfreeze.c: * gst/games/gstpuzzle.c: (gst_puzzle_base_init): * gst/librfb/gstrfbsrc.c: * gst/mixmatrix/mixmatrix.c: * gst/mpeg1sys/gstmpeg1systemencode.c: * gst/mpeg1videoparse/gstmp1videoparse.c: * gst/mpeg2sub/gstmpeg2subt.c: * gst/mpegaudioparse/gstmpegaudioparse.c: * gst/multifilesink/gstmultifilesink.c: * gst/overlay/gstoverlay.c: * gst/passthrough/gstpassthrough.c: * gst/playondemand/gstplayondemand.c: * gst/qtdemux/qtdemux.c: * gst/rtjpeg/gstrtjpegdec.c: * gst/rtjpeg/gstrtjpegenc.c: * gst/smooth/gstsmooth.c: * gst/smoothwave/gstsmoothwave.c: * gst/spectrum/gstspectrum.c: * gst/speed/gstspeed.c: * gst/stereo/gststereo.c: * gst/switch/gstswitch.c: * gst/tta/gstttadec.c: (gst_tta_dec_base_init): * gst/tta/gstttaparse.c: (gst_tta_parse_base_init): * gst/vbidec/gstvbidec.c: * gst/videocrop/gstvideocrop.c: * gst/videodrop/gstvideodrop.c: * gst/virtualdub/gstxsharpen.c: * gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init): * gst/y4m/gsty4mencode.c: * sys/cdrom/gstcdplayer.c: * sys/directdraw/gstdirectdrawsink.c: * sys/directsound/gstdirectsoundsink.c: * sys/glsink/glimagesink.c: * sys/qcam/gstqcamsrc.c: * sys/v4l2/gstv4l2src.c: * sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init): * sys/ximagesrc/ximagesrc.c: Define GstElementDetails as const and also static (when defined as global)
* Define GstElementDetails as const and also static (when defined as global)Stefan Kost2006-04-2583-157/+424
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/aalib/gstaasink.c: * ext/annodex/gstcmmldec.c: * ext/annodex/gstcmmlenc.c: * ext/cairo/gsttextoverlay.c: * ext/cairo/gsttimeoverlay.c: * ext/cdio/gstcdiocddasrc.c: * ext/dv/gstdvdec.c: * ext/dv/gstdvdemux.c: * ext/esd/esdmon.c: * ext/esd/esdsink.c: * ext/flac/gstflacenc.c: * ext/flac/gstflactag.c: * ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init): * ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_base_init): * ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init): * ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_base_init): * ext/gdk_pixbuf/pixbufscale.c: * ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init): * ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init): * ext/jpeg/gstjpegdec.c: * ext/jpeg/gstjpegenc.c: * ext/jpeg/gstsmokedec.c: * ext/jpeg/gstsmokeenc.c: * ext/libcaca/gstcacasink.c: * ext/libmng/gstmngdec.c: * ext/libmng/gstmngenc.c: * ext/libpng/gstpngdec.c: * ext/libpng/gstpngenc.c: * ext/mikmod/gstmikmod.c: * ext/raw1394/gstdv1394src.c: * ext/shout2/gstshout2.c: (gst_shout2send_init): * ext/shout2/gstshout2.h: * ext/speex/gstspeexdec.c: * ext/speex/gstspeexenc.c: * gst/alpha/gstalpha.c: * gst/alpha/gstalphacolor.c: * gst/apetag/gstapedemux.c: * gst/auparse/gstauparse.c: * gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_base_init): * gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_base_init): * gst/avi/gstavidemux.c: (gst_avi_demux_base_init): * gst/avi/gstavimux.c: (gst_avimux_base_init): * gst/cutter/gstcutter.c: * gst/debug/breakmydata.c: * gst/debug/efence.c: * gst/debug/gstnavigationtest.c: * gst/debug/gstnavseek.c: * gst/debug/negotiation.c: * gst/debug/progressreport.c: * gst/debug/testplugin.c: * gst/effectv/gstaging.c: * gst/effectv/gstdice.c: * gst/effectv/gstedge.c: * gst/effectv/gstquark.c: * gst/effectv/gstrev.c: * gst/effectv/gstshagadelic.c: * gst/effectv/gstvertigo.c: * gst/effectv/gstwarp.c: * gst/flx/gstflxdec.c: * gst/goom/gstgoom.c: * gst/icydemux/gsticydemux.c: * gst/id3demux/gstid3demux.c: * gst/interleave/deinterleave.c: * gst/interleave/interleave.c: * gst/law/alaw-decode.c: (gst_alawdec_base_init): * gst/law/alaw-encode.c: (gst_alawenc_base_init): * gst/law/mulaw-decode.c: (gst_mulawdec_base_init): * gst/law/mulaw-encode.c: (gst_mulawenc_base_init): * gst/level/gstlevel.c: * gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init): * gst/matroska/matroska-mux.c: (gst_matroska_mux_base_init): * gst/median/gstmedian.c: * gst/monoscope/gstmonoscope.c: * gst/multipart/multipartdemux.c: * gst/multipart/multipartmux.c: * gst/oldcore/gstaggregator.c: * gst/oldcore/gstfdsink.c: * gst/oldcore/gstmd5sink.c: * gst/oldcore/gstmultifilesrc.c: * gst/oldcore/gstpipefilter.c: * gst/oldcore/gstshaper.c: * gst/oldcore/gststatistics.c: * gst/rtp/gstasteriskh263.c: * gst/rtp/gstrtpL16depay.c: * gst/rtp/gstrtpL16pay.c: * gst/rtp/gstrtpamrdepay.c: * gst/rtp/gstrtpamrpay.c: * gst/rtp/gstrtpdepay.c: * gst/rtp/gstrtpgsmpay.c: * gst/rtp/gstrtph263pay.c: * gst/rtp/gstrtph263pdepay.c: * gst/rtp/gstrtph263ppay.c: * gst/rtp/gstrtpilbcdepay.c: * gst/rtp/gstrtpmp4gpay.c: * gst/rtp/gstrtpmp4vdepay.c: * gst/rtp/gstrtpmp4vpay.c: * gst/rtp/gstrtpmpadepay.c: * gst/rtp/gstrtpmpapay.c: * gst/rtp/gstrtppcmadepay.c: * gst/rtp/gstrtppcmapay.c: * gst/rtp/gstrtppcmudepay.c: * gst/rtp/gstrtppcmupay.c: * gst/rtp/gstrtpspeexdepay.c: * gst/rtp/gstrtpspeexpay.c: * gst/rtsp/gstrtpdec.c: * gst/rtsp/gstrtspsrc.c: * gst/smpte/gstsmpte.c: * gst/udp/gstdynudpsink.c: * gst/udp/gstmultiudpsink.c: * gst/udp/gstudpsink.c: * gst/udp/gstudpsrc.c: * gst/videobox/gstvideobox.c: * gst/videofilter/gstgamma.c: (gst_gamma_base_init): * gst/videofilter/gstvideobalance.c: * gst/videofilter/gstvideoflip.c: * gst/videofilter/gstvideotemplate.c: (gst_videotemplate_base_init): * gst/videomixer/videomixer.c: * gst/wavparse/gstwavparse.c: (gst_wavparse_base_init), (gst_wavparse_class_init), (gst_wavparse_dispose), (gst_wavparse_reset), (gst_wavparse_init), (gst_wavparse_perform_seek), (gst_wavparse_peek_chunk_info), (gst_wavparse_peek_chunk), (gst_wavparse_stream_headers), (gst_wavparse_parse_stream_init), (gst_wavparse_send_event), (gst_wavparse_add_src_pad), (gst_wavparse_stream_data), (gst_wavparse_chain), (gst_wavparse_srcpad_event), (gst_wavparse_sink_activate), (gst_wavparse_sink_activate_pull), (gst_wavparse_change_state): * gst/wavparse/gstwavparse.h: * sys/oss/gstossmixerelement.c: * sys/oss/gstosssink.c: * sys/oss/gstosssrc.c: * sys/osxaudio/gstosxaudioelement.c: * sys/osxaudio/gstosxaudiosink.c: * sys/osxaudio/gstosxaudiosrc.c: * sys/sunaudio/gstsunaudiomixer.c: * sys/sunaudio/gstsunaudiosink.c: Define GstElementDetails as const and also static (when defined as global)
* gst/matroska/: Handle case where the TrackType ebml chunk does not come ↵Tim-Philipp Müller2006-04-254-31/+159
| | | | | | | | | | | | | | | | | | before the Original commit message from CVS: * gst/matroska/Makefile.am: * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream), (gst_matroska_demux_handle_src_event): * gst/matroska/matroska-ids.c: (gst_matroska_track_init_video_context), (gst_matroska_track_init_audio_context), (gst_matroska_track_init_subtitle_context), (gst_matroska_track_init_complex_context): * gst/matroska/matroska-ids.h: Handle case where the TrackType ebml chunk does not come before the TrackInfoAudio or TrackInfoVideo ebml chunk (#339446). Ignore QoS events.
* gst/rtp/: It's codec_data, not codec_info.Wim Taymans2006-04-252-14/+14
| | | | | | | Original commit message from CVS: * gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_setcaps): * gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_setcaps): It's codec_data, not codec_info.
* gst/matroska/matroska-demux.c: Handle codec_data for VfW compatibility codec ↵Mark Nauwelaerts2006-04-252-34/+64
| | | | | | | | | | | | | IDs (#339451) Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet dot be> * gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps): Handle codec_data for VfW compatibility codec IDs (#339451) * gst/matroska/matroska-mux.c: (gst_matroska_mux_video_pad_setcaps): Same here, handle codec_data and add additional caps we can handle now to the pad template (huffyuv, dv and h263 video) (#339451)
* gst/matroska/matroska-mux.c: Fix timestamping of B-frames, use signed ↵Josef Zlomek2006-04-251-4/+12
| | | | | | | | | | | | integers, do some rounding (#339678). Original commit message from CVS: Patch by: Josef Zlomek <josef dot zlomek at itonis dot tv> * gst/matroska/matroska-mux.c: (gst_matroska_mux_create_buffer_header), (gst_matroska_mux_write_data): Fix timestamping of B-frames, use signed integers, do some rounding (#339678).
* gst/matroska/matroska-demux.c: Fix a bad conversion using ↵Sébastien Moutte2006-04-231-3/+4
| | | | | | | | | | | | | gst_guint64_to_gdouble. fabs ((gdouble) demux->index[entry]... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroskademux_do_index_seek): Fix a bad conversion using gst_guint64_to_gdouble. fabs ((gdouble) demux->index[entry].time - (gdouble) seek_pos) can not be replaced by fabs (gst_guint64_to_gdouble (demux->index[entry].time - seek_pos)) as the difference could be negative. fabs (gst_guint64_to_gdouble (demux->index[entry].time) - gst_guint64_to_gdouble (seek_pos)) is the good solution. Thanks to Tim who has seen my mistake.
* gst/matroska/matroska-demux.c: Use gst_guint64_to_gdouble for conversionsSébastien Moutte2006-04-221-2/+3
| | | | | | | | | Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroskademux_do_index_seek): Use gst_guint64_to_gdouble for conversions * win32/vs6/gst_plugins_good.dsw: * win32/vs6/libgsticydemux.dsp: Add a project file for icydemux
* gst/avi/gstavidemux.c: When splitting audio chunks, the block alignment is ↵Fabrizio Gennari2006-04-211-1/+8
| | | | | | | | | | | | not taken in consideration, so the smaller... Original commit message from CVS: Patch by: Fabrizio Gennari <fabrizio dot ge at tiscali dot it> * gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream), (gst_avi_demux_parse_index), (gst_avi_demux_massage_index): When splitting audio chunks, the block alignment is not taken in consideration, so the smaller chunks could be of size which is not a multiple of the block alignment. Fixes #336904
* gst/debug/progressreport.c: Add 'format' property to force querying to a ↵Tim-Philipp Müller2006-04-211-82/+138
| | | | | | | | | | | | particular format. Original commit message from CVS: * gst/debug/progressreport.c: (gst_progress_report_finalize), (gst_progress_report_class_init), (gst_progress_report_init), (gst_progress_report_do_query), (gst_progress_report_report), (gst_progress_report_set_property), (gst_progress_report_get_property): Add 'format' property to force querying to a particular format.
* Add icydemux, and tests.Michael Smith2006-04-213-0/+678
| | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * gst/icydemux/Makefile.am: * gst/icydemux/gsticydemux.c: (gst_icydemux_get_type), (gst_icydemux_base_init), (gst_icydemux_class_init), (gst_icydemux_reset), (gst_icydemux_init), (gst_icydemux_sink_setcaps), (gst_icydemux_dispose), (gst_icydemux_add_srcpad), (gst_icydemux_remove_srcpad), (unicodify), (gst_icydemux_unicodify), (gst_icydemux_parse_and_send_tags), (gst_icydemux_typefind_or_forward), (gst_icydemux_add_meta), (gst_icydemux_chain), (gst_icydemux_change_state), (gst_icydemux_send_tag_event), (plugin_init): * gst/icydemux/gsticydemux.h: * tests/check/Makefile.am: * tests/check/elements/icydemux.c: (typefind_succeed), (plugin_init), (icydemux_found_pad), (create_icydemux), (cleanup_icydemux), (push_data), (GST_START_TEST), (icydemux_suite), (main): Add icydemux, and tests.
* gst/avi/gstavidemux.c: Fix index creation when we have to scan the file to ↵Fabrizio Gennari2006-04-201-60/+56
| | | | | | | | | | | | | create an index. There may be other types ... Original commit message from CVS: Patch by: Fabrizio Gennari <fabrizio dot ge at tiscali dot it> * gst/avi/gstavidemux.c: (gst_avi_demux_peek_tag), (gst_avi_demux_next_data_buffer), (gst_avi_demux_stream_scan): Fix index creation when we have to scan the file to create an index. There may be other types of RIFF 'LIST' chunks than 'movi' and we need to skip them properly as well or we'll end up reading garbage (#336889). Some other cosmetic changes.
* gst/matroska/: Set DISCONT flag on first buffer after a discontinuity.Tim-Philipp Müller2006-04-203-31/+82
| | | | | | | | | | | | | | | Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream), (gst_matroskademux_do_index_seek), (gst_matroska_demux_handle_seek_event), (gst_matroska_demux_parse_blockgroup_or_simpleblock): * gst/matroska/matroska-ids.h: Set DISCONT flag on first buffer after a discontinuity. Fix newsegment events sent when seeking and honour KEY_UNIT seek flag. Create pad with bogus caps if we don't recognise the stream codec id. * gst/matroska/matroska-demux.h: Fix GObject macros.
* gst/matroska/matroska-demux.c: Handle end of segment properly when set; ↵Mark Nauwelaerts2006-04-201-8/+12
| | | | | | | | | | | | don't dead-lock when posting start of segment... Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet dot be> * gst/matroska/matroska-demux.c: (gst_matroska_demux_handle_seek_event), (gst_matroska_demux_loop): Handle end of segment properly when set; don't dead-lock when posting start of segment message when doing a segment seek. Fixes #338810.
* gst/qtdemux/qtdemux.c: Never treat video streams as an audio stream.j^2006-04-201-2/+7
| | | | | | | | | | Original commit message from CVS: Patch by: j^ <j at bootlab dot org> * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak), (qtdemux_video_caps): Never treat video streams as an audio stream. Add qtdrw mime type. Fixes #339041
* gst/matroska/matroska-demux.c: Make mpeg2 aac audio work: create artificial ↵Tim-Philipp Müller2006-04-201-17/+19
| | | | | | | | | | | private codec data chunk which faad2 seem... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps), (gst_matroska_demux_plugin_init): Make mpeg2 aac audio work: create artificial private codec data chunk which faad2 seems to require, just as we do for mpeg4 aac. Also call gst_riff_init(). Partially fixes #338767.
* gst/wavenc/gstwavenc.*: Set caps on first outgoing buffer, so that it ↵Tim-Philipp Müller2006-04-192-269/+222
| | | | | | | | | | | | | | | | | doesn't error out immediately with a non-negoti... Original commit message from CVS: * gst/wavenc/gstwavenc.c: (gst_wavenc_base_init), (gst_wavenc_class_init), (gst_wavenc_init), (gst_wavenc_create_header_buf), (gst_wavenc_push_header), (gst_wavenc_sink_setcaps), (get_id_from_name), (gst_wavenc_event), (gst_wavenc_chain), (gst_wavenc_change_state): * gst/wavenc/gstwavenc.h: Set caps on first outgoing buffer, so that it doesn't error out immediately with a non-negotiated error (#338716). Rewrite and clean up a bit; fix setcaps function to parse things properly; fix sink caps (8bit audio is unsigned and doesn't have depth); use boilerplate macros; remove unused properties stuff.
* gst/qtdemux/qtdemux.c: For VBR audio, don't try to calculate the ↵Wim Taymans2006-04-191-3/+6
| | | | | | | | | samples_per_frame. Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): For VBR audio, don't try to calculate the samples_per_frame. Fixes #338935.
* gst/id3demux/id3tags.c: (Fixes #338713)Alex Lancaster2006-04-171-0/+1
| | | | | | | Original commit message from CVS: * gst/id3demux/id3tags.c: Recognise TCO (Genre) tags in ID3v2.2. Patch by Alex Lancaster (Fixes #338713)
* reverting rtp patches to fix freeze break on -base as explained on the listThomas Vander Stichele2006-04-1326-81/+309
| | | | | Original commit message from CVS: reverting rtp patches to fix freeze break on -base as explained on the list
* gst/rtp/: Fix GObject macros.Tim-Philipp Müller2006-04-1324-55/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * gst/rtp/gstasteriskh263.h: * gst/rtp/gstrtpL16depay.h: * gst/rtp/gstrtpL16pay.h: * gst/rtp/gstrtpamrdepay.h: * gst/rtp/gstrtpamrpay.h: * gst/rtp/gstrtpdepay.h: * gst/rtp/gstrtpgsmdepay.h: * gst/rtp/gstrtpgsmpay.h: * gst/rtp/gstrtph263pay.h: * gst/rtp/gstrtph263pdepay.h: * gst/rtp/gstrtph263ppay.h: * gst/rtp/gstrtpilbcdepay.h: * gst/rtp/gstrtpilbcpay.h: * gst/rtp/gstrtpmp4gpay.h: * gst/rtp/gstrtpmp4vdepay.h: * gst/rtp/gstrtpmp4vpay.h: * gst/rtp/gstrtpmpadepay.h: * gst/rtp/gstrtpmpapay.h: * gst/rtp/gstrtppcmadepay.h: * gst/rtp/gstrtppcmapay.h: * gst/rtp/gstrtppcmudepay.h: * gst/rtp/gstrtppcmupay.h: * gst/rtp/gstrtpspeexdepay.h: * gst/rtp/gstrtpspeexpay.h: Fix GObject macros.
* gst/rtp/: Ported mulaw and alaw payloaders to use new base classPhilippe Kalaf2006-04-1310-258/+540
| | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2006-04-12 Philippe Kalaf <philippe.kalaf@collabora.co.uk> * gst/rtp/gstrtppcmapay.c: * gst/rtp/gstrtppcmapay.h: * gst/rtp/gstrtppcmupay.c: * gst/rtp/gstrtppcmupay.h: Ported mulaw and alaw payloaders to use new base class * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: * gst/rtp/gstrtpilbcpay.c: * gst/rtp/gstrtpilbcpay.h: * gst/rtp/gstrtpilbcdepay.c: * gst/rtp/gstrtpilbcdepay.h: Added new iLBC payloader/depayloader. Payloader uses new audio payload base class.
* gst/rtp/gstrtpmp4vdepay.c: Don't leak memory allocated by ↵Tim-Philipp Müller2006-04-111-2/+2
| | | | | | | | | gst_buffer_new_and_alloc() by overwriting GST_BUFFER_MALLOC... Original commit message from CVS: * gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_process): Don't leak memory allocated by gst_buffer_new_and_alloc() by overwriting GST_BUFFER_MALLOCDATA.
* gst/qtdemux/qtdemux.c: Fix parsing of newer stsd chunks again.Wim Taymans2006-04-101-1/+3
| | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Fix parsing of newer stsd chunks again.
* gst/matroska/ebml-read.c: Don't try to modify read-only data.Tim-Philipp Müller2006-04-102-2/+7
| | | | | | | | | Original commit message from CVS: * gst/matroska/ebml-read.c: (gst_ebml_read_sint): Don't try to modify read-only data. * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_blockgroup_or_simpleblock): Fix comment (won't crash any longer now).
* gst/matroska/matroska-demux.c: Use static pad templates with ANY caps for ↵Tim-Philipp Müller2006-04-101-301/+167
| | | | | | | | | | | | | | | | | | | audio and video source pads and get rid of ... Original commit message from CVS: * gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init), (gst_matroska_demux_handle_seek_event), (gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps), (gst_matroska_demux_subtitle_caps), (gst_matroska_demux_plugin_init): Use static pad templates with ANY caps for audio and video source pads and get rid of a lot of unnecessary (and partially broken) code for the template caps. Clean up caps finding functions. Fixes playback of audio files/streams that do not contain the sample rate and/or number of channels in the audio context (happens a lot with vorbis/mp3 .mka files it seems). Fixes #337183. Also add myself to copyright holders.
* gst/qtdemux/qtdemux.c: Fix framerate calculation.Wim Taymans2006-04-101-4/+11
| | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse_trak): Fix framerate calculation.
* gst/avi/gstavidemux.c: Fix some crashers with empty chunks. (Fixes #337749)Ryan Lortie (desrt)2006-04-101-22/+29
| | | | | | | | | Original commit message from CVS: Patch by: Ryan Lortie (desrt) <desrt at destr dot ca> * gst/avi/gstavidemux.c: (gst_avi_demux_parse_superindex), (gst_avi_demux_parse_stream), (gst_avi_demux_parse_index), (gst_avi_demux_stream_header): Fix some crashers with empty chunks. (Fixes #337749)
* gst/qtdemux/qtdemux.c: force mono 8000 Hz on AMR samples.Wim Taymans2006-04-101-1/+5
| | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): force mono 8000 Hz on AMR samples.
* gst/level/gstlevel.c: use G_GINT64_CONSTANT for INT64 constantsSébastien Moutte2006-04-092-2/+6
| | | | | | | | | | | Original commit message from CVS: * gst/level/gstlevel.c: (gst_level_set_caps),(gst_level_transform_ip): use G_GINT64_CONSTANT for INT64 constants * gst/videofilter/gstvideobalance.c: define rint for WIN32 #define rint(x) (floor((x)+0.5)) * win32/vs6/libgstavi.dsp: add missing libraries for the link and remove avimux.c from the project as it isn't ported to 0.10 yet
* gst/matroska/ebml-read.c: Even better would be if we actually did the right ↵Tim-Philipp Müller2006-04-091-1/+1
| | | | | | | | | thing here (also, G_GUINT64_CONSTANT only... Original commit message from CVS: * gst/matroska/ebml-read.c: (gst_ebml_read_sint): Even better would be if we actually did the right thing here (also, G_GUINT64_CONSTANT only exists since GLib-2.10).
* gst/matroska/ebml-read.c: Can't just replace 1LL with 1L here just because ↵Tim-Philipp Müller2006-04-091-1/+1
| | | | | | | | | | | MSVC doesn't support it, as it might lead ... Original commit message from CVS: * gst/matroska/ebml-read.c: (gst_ebml_read_sint): Can't just replace 1LL with 1L here just because MSVC doesn't support it, as it might lead to incorrect results when doing the bitshifting here. Using GLib's G_GUINT64_CONSTANT() macro to force a 64-bit constant in a way that all compilers are happy with.