summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gst/icydemux/gsticydemux.*: Fix event handling: cache events when ↵Michael Smith2006-04-283-0/+65
| | | | | | | | | | | | | 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.
* sys/osxaudio/gstosxaudiosink.c: Register osxaudiosrc to the plugin.Zaheer Abbas Merali2006-04-285-172/+261
| | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2006-04-28 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/osxaudio/gstosxaudiosink.c: (plugin_init): Register osxaudiosrc to the plugin. * sys/osxaudio/gstosxaudiosrc.c: (gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_base_init), (gst_osx_audio_src_class_init), (gst_osx_audio_src_init), (gst_osx_audio_src_set_property), (gst_osx_audio_src_get_property), (gst_osx_audio_src_create_ringbuffer), (gst_osx_audio_src_io_proc), (gst_osx_audio_src_osxelement_init): * sys/osxaudio/gstosxaudiosrc.h: Port of osxaudiosrc to 0.10. * sys/osxaudio/Makefile.am: Add osxaudiosrc
* commit Changelog for previous commitZaheer Abbas Merali2006-04-281-0/+6
| | | | | Original commit message from CVS: commit Changelog for previous commit
* Forgot to commit, quick commit be4 apple diesZaheer Abbas Merali2006-04-282-0/+381
| | | | | Original commit message from CVS: Forgot to commit, quick commit be4 apple dies
* gst/id3demux/id3v2frames.c: Recognise and skip any byte order marker (BOM) inTim-Philipp Müller2006-04-282-0/+31
| | | | | | | | 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-278-0/+103
| | | | | | | | | | | | 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-278-329/+892
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-263-450/+173
| | | | | | | | | | | | | | | | 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-263-95/+144
| | | | | | | | | | | | | | | | | (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)
* ext/esd/esdsink.c: Fix compile problem by defining ESD_MAX_WRITE_SIZE if it ↵Wim Taymans2006-04-262-0/+11
| | | | | | | | | is not in esd.h Original commit message from CVS: * ext/esd/esdsink.c: Fix compile problem by defining ESD_MAX_WRITE_SIZE if it is not in esd.h
* gst/auparse/gstauparse.*: Rewrite auparse to suck a little bit less: make ↵Tim-Philipp Müller2006-04-263-254/+586
| | | | | | | | | | | | | | | | | | | | | | | 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.
* sys/osxaudio/: Port of osxaudiosink to 0.10Zaheer Abbas Merali2006-04-266-674/+413
| | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2006-04-26 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/osxaudio/Makefile.am: * sys/osxaudio/gstosxaudioelement.c: (gst_osx_audio_element_get_type), (gst_osx_audio_element_class_init): * sys/osxaudio/gstosxaudioelement.h: * sys/osxaudio/gstosxaudiosink.c: (gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_base_init), (gst_osx_audio_sink_class_init), (gst_osx_audio_sink_init), (gst_osx_audio_sink_set_property), (gst_osx_audio_sink_get_property), (gst_osx_audio_sink_getcaps), (gst_osx_audio_sink_create_ringbuffer), (gst_osx_audio_sink_io_proc), (gst_osx_audio_sink_osxelement_init), (plugin_init): * sys/osxaudio/gstosxaudiosink.h: Port of osxaudiosink to 0.10
* ext/esd/esdsink.c: Always write ESD_BUF_SIZE bytes and use ↵Wim Taymans2006-04-262-7/+11
| | | | | | | | | | ESD_MAX_WRITE_SIZE as the size of the ringbuffer. This sho... Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_prepare), (gst_esdsink_delay): Always write ESD_BUF_SIZE bytes and use ESD_MAX_WRITE_SIZE as the size of the ringbuffer. This should fix hangs with older esd sound servers.
* Define GstElementDetails as const and also static (when defined as global)Stefan Kost2006-04-2512-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-25124-197/+613
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* ext/jpeg/gstjpegdec.c: Source pad has fixed caps. If we don't set this, bad ↵Tim-Philipp Müller2006-04-252-0/+7
| | | | | | | | | things happen when the window is resized. Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain): Source pad has fixed caps. If we don't set this, bad things happen when the window is resized.
* gst/matroska/: Handle case where the TrackType ebml chunk does not come ↵Tim-Philipp Müller2006-04-255-31/+174
| | | | | | | | | | | | | | | | | | 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-253-14/+20
| | | | | | | 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-253-34/+76
| | | | | | | | | | | | | 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-252-4/+22
| | | | | | | | | | | | 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).
* just make it compile with --disable-gst-debug.Edgard Lima2006-04-242-0/+7
| | | | | Original commit message from CVS: just make it compile with --disable-gst-debug.
* gst/matroska/matroska-demux.c: Fix a bad conversion using ↵Sébastien Moutte2006-04-232-3/+14
| | | | | | | | | | | | | 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-224-2/+146
| | | | | | | | | 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-212-1/+18
| | | | | | | | | | | | 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
* ext/raw1394/gstdv1394src.c: Use scale functionsWim Taymans2006-04-212-2/+12
| | | | | | Original commit message from CVS: * ext/raw1394/gstdv1394src.c: (gst_dv1394src_convert): Use scale functions
* ext/dv/gstdv.c: Fix build.Tim-Philipp Müller2006-04-212-1/+7
| | | | | | Original commit message from CVS: * ext/dv/gstdv.c: (plugin_init): Fix build.
* gst/debug/progressreport.c: Add 'format' property to force querying to a ↵Tim-Philipp Müller2006-04-212-82/+147
| | | | | | | | | | | | 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.
* ext/dv/gstdv.c (plugin_init): libdv is a marginal decoder, at best, on big ↵Andy Wingo2006-04-212-2/+17
| | | | | | | | | | | endian systems. Drop its rank in that case... Original commit message from CVS: 2006-04-21 Andy Wingo <wingo@pobox.com> * ext/dv/gstdv.c (plugin_init): libdv is a marginal decoder, at best, on big endian systems. Drop its rank in that case. OTOH on x86 it's quite fine. See changes from today in gst-ffmpeg as well.
* Add icydemux, and tests.Michael Smith2006-04-217-1/+915
| | | | | | | | | | | | | | | | | | | | | | | 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.
* ext/flac/gstflacdec.c: Post SEGMENT_DONE message in TIME format.Tim-Philipp Müller2006-04-202-1/+12
| | | | | | Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flac_dec_loop): Post SEGMENT_DONE message in TIME format.
* Added a couple of ifdefs to make it compile with other kernels.Edgard Lima2006-04-201-4/+13
| | | | | Original commit message from CVS: Added a couple of ifdefs to make it compile with other kernels.
* gst/avi/gstavidemux.c: Fix index creation when we have to scan the file to ↵Fabrizio Gennari2006-04-202-60/+67
| | | | | | | | | | | | | 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.
* ext/flac/gstflacdec.c: Add support for segment seeks (fixes #338290). Also ↵Tim-Philipp Müller2006-04-202-24/+54
| | | | | | | | | | demote some recurring debug message from D... Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flac_dec_loop), (gst_flac_dec_handle_seek_event): Add support for segment seeks (fixes #338290). Also demote some recurring debug message from DEBUG to LOG level.
* gst/matroska/: Set DISCONT flag on first buffer after a discontinuity.Tim-Philipp Müller2006-04-204-31/+97
| | | | | | | | | | | | | | | 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-202-8/+22
| | | | | | | | | | | | 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-202-17/+27
| | | | | | | | | | | 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-193-269/+236
| | | | | | | | | | | | | | | | | 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.
* ext/gdk_pixbuf/gstgdkpixbuf.c: Leave JPEG decoding to our jpegdec plugin. ↵Tim-Philipp Müller2006-04-182-1/+10
| | | | | | | | | | | | gdkpixbufdec cannot handle MJPEG streams an... Original commit message from CVS: * ext/gdk_pixbuf/gstgdkpixbuf.c: Leave JPEG decoding to our jpegdec plugin. gdkpixbufdec cannot handle MJPEG streams and might be autoplugged for those if the user doesn't have jpegdec installed (resulting in a cryptic error message about huffman tables). Better to disable JPEG decoding here and let the user figure out that she needs to install jpegdec.
* ext/gdk_pixbuf/gstgdkpixbuf.*: Make work with packetised/framed input (e.g. ↵Tim-Philipp Müller2006-04-183-25/+43
| | | | | | | | | | | | | | png-in-quicktime). Use Original commit message from CVS: * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_setcaps), (gst_gdk_pixbuf_class_init), (gst_gdk_pixbuf_init), (gst_gdk_pixbuf_flush), (gst_gdk_pixbuf_chain): * ext/gdk_pixbuf/gstgdkpixbuf.h: Make work with packetised/framed input (e.g. png-in-quicktime). Use GST_ELEMENT_ERROR when we return GST_FLOW_ERROR. Add some GST_DEBUG_FUNCPTR here and there. Use GST_LOG for recurring debug messages. Fix boilerplate macros.
* ext/gdk_pixbuf/gstgdkpixbuf.c: No need to special-case for Gdk-2.0 any ↵Tim-Philipp Müller2006-04-182-25/+8
| | | | | | | | | | longer, we require Original commit message from CVS: * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_get_capslist), (gst_gdk_pixbuf_set_property), (gst_gdk_pixbuf_get_property): No need to special-case for Gdk-2.0 any longer, we require Gdk 2.2 or newer; minor clean-ups.
* Rewrite a bit: use GstBaseSink::start and stop instead of a state change ↵Tim-Philipp Müller2006-04-184-292/+304
| | | | | | | | | | | | | | | | | | | | | | function; use GST_ELEMENT_ERROR for error re... Original commit message from CVS: * ext/shout2/gstshout2.c: (gst_shout2send_base_init), (gst_shout2send_class_init), (gst_shout2send_init), (set_shout_metadata), (gst_shout2send_set_metadata), (gst_shout2send_event), (gst_shout2send_start), (gst_shout2send_connect), (gst_shout2send_stop), (gst_shout2send_render), (gst_shout2send_set_property), (gst_shout2send_get_property), (gst_shout2send_setcaps), (plugin_init): * ext/shout2/gstshout2.h: * po/POTFILES.in: Rewrite a bit: use GstBaseSink::start and stop instead of a state change function; use GST_ELEMENT_ERROR for error reporting, not g_error() or GST_ERROR(); don't unref caps in setcaps function, will cause crashes or assertion failures; remove (unused) "sync" property, basesink already has such a property; misc. other minor fixes and cleanups.
* Add translatable error message for when we cannot connect to the sound ↵Tim-Philipp Müller2006-04-184-11/+27
| | | | | | | | | | | | | server, as "Cannot open resource for writing" ... Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_open), (gst_esdsink_prepare): * ext/esd/gstesd.c: (plugin_init): * po/POTFILES.in: Add translatable error message for when we cannot connect to the sound server, as "Cannot open resource for writing" isn't really an acceptable message to show to the user in this case.
* sys/oss/gst-i18n-plugin.h: Remove bogus file that doesn't belong here.Tim-Philipp Müller2006-04-182-37/+5
| | | | | | Original commit message from CVS: * sys/oss/gst-i18n-plugin.h: Remove bogus file that doesn't belong here.
* ext/shout2/gstshout2.*: Handle tags being received before the connection to ↵Philippe Valembois2006-04-173-11/+33
| | | | | | | | | | | | | the server is established properly (see #... Original commit message from CVS: Patch by: Philippe Valembois * ext/shout2/gstshout2.c: (gst_shout2send_init), (gst_shout2send_set_metadata), (gst_shout2send_event), (gst_shout2send_render), (gst_shout2send_change_state): * ext/shout2/gstshout2.h: Handle tags being received before the connection to the server is established properly (see #338636).
* Just added a gtk-doc comment.Edgard Lima2006-04-171-0/+21
| | | | | Original commit message from CVS: Just added a gtk-doc comment.
* ext/shout2/gstshout2.c: Don't crash in case the connection to the server ↵Tim-Philipp Müller2006-04-172-3/+18
| | | | | | | | | | | | fails: don't set pointer to NULL by assignin... Original commit message from CVS: * ext/shout2/gstshout2.c: (gst_shout2send_render): Don't crash in case the connection to the server fails: don't set pointer to NULL by assigning FALSE; error out properly by using GST_ELEMENT_ERROR and returning GST_FLOW_ERROR (fixes #338636). Lastly, free connection before resetting the pointer.
* gst/id3demux/id3tags.c: (Fixes #338713)Alex Lancaster2006-04-172-0/+7
| | | | | | | Original commit message from CVS: * gst/id3demux/id3tags.c: Recognise TCO (Genre) tags in ID3v2.2. Patch by Alex Lancaster (Fixes #338713)
* Fixed some memory leaks.Edgard Lima2006-04-132-5/+24
| | | | | Original commit message from CVS: Fixed some memory leaks.