summaryrefslogtreecommitdiffstats
path: root/ext/flac
Commit message (Collapse)AuthorAgeFilesLines
* API change fix.Wim Taymans2005-10-191-7/+17
| | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_get_src_query_types), (gst_dvdemux_src_query): * ext/flac/gstflacdec.c: (gst_flacdec_length), (gst_flacdec_src_query): * ext/raw1394/gstdv1394src.c: (gst_dv1394src_query): * ext/speex/gstspeexdec.c: (speex_dec_src_query): * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query): * gst/debug/gstnavseek.c: (gst_navseek_seek): * gst/debug/progressreport.c: (gst_progress_report_report): * gst/matroska/ebml-read.c: (gst_ebml_read_get_length): * gst/matroska/matroska-demux.c: (gst_matroska_demux_handle_src_query): * gst/matroska/matroska-mux.c: (gst_matroska_mux_start): * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data), (gst_wavparse_pad_convert), (gst_wavparse_pad_query), (gst_wavparse_srcpad_event): API change fix.
* newsegment API update.Wim Taymans2005-10-111-1/+1
| | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_sink_event), (gst_dvdemux_demux_frame): * ext/flac/gstflacdec.c: (gst_flacdec_write): * gst/auparse/gstauparse.c: (gst_auparse_chain): * gst/avi/gstavidemux.c: (gst_avi_demux_stream_header), (gst_avi_demux_handle_seek): * gst/goom/gstgoom.c: (gst_goom_event): * gst/wavenc/gstwavenc.c: (gst_wavenc_stop_file): * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data), (gst_wavparse_loop), (gst_wavparse_pad_convert), (gst_wavparse_srcpad_event): newsegment API update.
* ext/flac/gstflacdec.c (gst_flacdec_write): Deal with pad_alloc error returns.Andy Wingo2005-10-021-5/+9
| | | | | | | | Original commit message from CVS: 2005-10-03 Andy Wingo <wingo@pobox.com> * ext/flac/gstflacdec.c (gst_flacdec_write): Deal with pad_alloc error returns.
* configure.ac (GST_PLUGIN_LDFLAGS): Change to be like -base.Andy Wingo2005-10-025-367/+363
| | | | | | | | | | | | | | | | Original commit message from CVS: 2005-10-02 Andy Wingo <wingo@pobox.com> * configure.ac (GST_PLUGIN_LDFLAGS): Change to be like -base. * ext/flac/gstflacenc.c: Ported to 0.9. * ext/flac/gstflacdec.c (gst_flacdec_loop): Handle errors better. * ext/flac/Makefile.am: Add the GST_PLUGINS_BASE cflags and libs, and link to gsttagedit. Enable flacenc. * ext/flac/gstflacdec.c: Re-enable tag reading.
* fix build and use of GST_LIBSThomas Vander Stichele2005-09-231-2/+1
| | | | | Original commit message from CVS: fix build and use of GST_LIBS
* ext/: gsttaginterface.h -> gsttagsetter.hStefan Kost2005-09-073-3/+3
| | | | | | | | | Original commit message from CVS: * ext/flac/gstflacdec.c: * ext/flac/gstflacenc.c: * ext/flac/gstflactag.c: * ext/speex/gstspeexenc.c: gsttaginterface.h -> gsttagsetter.h
* ext/flac/gstflacdec.*: Add support for flac files with 24/32 bits per ↵Tim-Philipp Müller2005-09-062-23/+31
| | | | | | | | | | | sample; and misc. minor clean-ups. Seeking is s... Original commit message from CVS: * ext/flac/gstflacdec.c: (flac_caps_factory), (raw_caps_factory), (gst_flacdec_write), (gst_flacdec_convert_src): * ext/flac/gstflacdec.h: Add support for flac files with 24/32 bits per sample; and misc. minor clean-ups. Seeking is still partly broken (for me at least).
* All plugins updated for element state changes.Andy Wingo2005-09-023-31/+34
| | | | | | | Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * All plugins updated for element state changes.
* Port flacdec (seeking is still slow'ish).Ronald S. Bultje2005-08-224-194/+194
| | | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * ext/Makefile.am: * ext/flac/Makefile.am: * ext/flac/gstflac.c: (plugin_init): * ext/flac/gstflacdec.c: (flacdec_get_type), (gst_flacdec_init), (gst_flacdec_update_metadata), (gst_flacdec_seek), (gst_flacdec_tell), (gst_flacdec_length), (gst_flacdec_read), (gst_flacdec_write), (gst_flacdec_loop), (gst_flacdec_get_src_query_types), (gst_flacdec_src_query), (gst_flacdec_src_event), (gst_flacdec_sink_activate), (gst_flacdec_sink_activate_pull), (gst_flacdec_change_state): * ext/flac/gstflacdec.h: Port flacdec (seeking is still slow'ish).
* Update for API change in flac-1.1.1. Update requirement in configure.ac. ↵Ronald S. Bultje2005-01-092-1/+20
| | | | | | | | | | | | | | Fixes #162974. Original commit message from CVS: * configure.ac: * ext/flac/gstflacenc.c: (gst_flacenc_init), (gst_flacenc_seek_callback), (gst_flacenc_write_callback), (gst_flacenc_tell_callback), (gst_flacenc_chain), (gst_flacenc_change_state): * ext/flac/gstflacenc.h: Update for API change in flac-1.1.1. Update requirement in configure.ac. Fixes #162974.
* fix typoThomas Vander Stichele2004-12-211-1/+1
| | | | | Original commit message from CVS: fix typo
* Fixes a bunch of problems with finalize and dispose functions, either ↵Jan Schmidt2004-11-012-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assumptions that dispose is only called once, o... Original commit message from CVS: * ext/alsa/gstalsa.c: (gst_alsa_class_init), (gst_alsa_dispose), (gst_alsa_finalize): * ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init), (gst_cdaudio_finalize): * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init), (cdparanoia_finalize): * ext/divx/gstdivxdec.c: (gst_divxdec_dispose): * ext/divx/gstdivxenc.c: (gst_divxenc_dispose): * ext/dvdread/dvdreadsrc.c: (dvdreadsrc_class_init), (dvdreadsrc_finalize): * ext/flac/gstflacdec.c: (gst_flacdec_class_init), (gst_flacdec_finalize): * ext/flac/gstflacenc.c: (gst_flacenc_class_init), (gst_flacenc_finalize): * ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_class_init), (gst_gnomevfssink_finalize): * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_class_init), (gst_gnomevfssrc_finalize): * ext/libfame/gstlibfame.c: (gst_fameenc_class_init), (gst_fameenc_finalize): * ext/nas/nassink.c: (gst_nassink_class_init), (gst_nassink_finalize): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_finalize), (gst_sdlvideosink_class_init): * ext/sndfile/gstsf.c: (gst_sf_dispose): * gst-libs/gst/mixer/mixertrack.c: (gst_mixer_track_dispose): * gst-libs/gst/tuner/tunerchannel.c: (gst_tuner_channel_dispose): * gst-libs/gst/tuner/tunernorm.c: (gst_tuner_norm_dispose): * gst-libs/gst/xwindowlistener/xwindowlistener.c: (gst_x_window_listener_dispose): * gst/audioscale/gstaudioscale.c: * gst/playondemand/gstplayondemand.c: (play_on_demand_class_init), (play_on_demand_finalize): * gst/videofilter/gstvideobalance.c: (gst_videobalance_dispose): * gst/videoscale/gstvideoscale.c: (gst_videoscale_chain): * sys/cdrom/gstcdplayer.c: (cdplayer_class_init), (cdplayer_finalize): * sys/glsink/glimagesink.c: (gst_glimagesink_finalize), (gst_glimagesink_class_init): * sys/oss/gstosselement.c: (gst_osselement_class_init), (gst_osselement_finalize): * sys/oss/gstosssink.c: (gst_osssink_dispose): * sys/oss/gstosssrc.c: (gst_osssrc_dispose): * sys/v4l/gstv4lelement.c: (gst_v4lelement_dispose): Fixes a bunch of problems with finalize and dispose functions, either assumptions that dispose is only called once, or not calling the parent class dispose/finalize function
* ext/: Add codec-name metadata.Ronald S. Bultje2004-10-251-1/+2
| | | | | | | | | Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flacdec_update_metadata): * ext/speex/gstspeexdec.c: (speex_dec_chain): * ext/theora/theoradec.c: (theora_dec_chain): * ext/vorbis/vorbisdec.c: (vorbis_dec_chain): Add codec-name metadata.
* ext/flac/gstflacdec.c: Only return true if we actually filled something in. ↵Ronald S. Bultje2004-09-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents player applications from showing... Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flacdec_src_query): Only return true if we actually filled something in. Prevents player applications from showing a random length for flac files. * gst-libs/gst/riff/riff-read.c: (gst_riff_read_class_init), (gst_riff_read_use_event), (gst_riff_read_handle_event), (gst_riff_read_seek), (gst_riff_read_skip), (gst_riff_read_strh), (gst_riff_read_strf_vids_with_data), (gst_riff_read_strf_auds_with_data), (gst_riff_read_strf_iavs): OK, ok, so I implemented event handling. Apparently it's normal that we receive random events at random points without asking for it. * gst/avi/gstavidemux.c: (gst_avi_demux_reset), (gst_avi_demux_src_convert), (gst_avi_demux_handle_src_query), (gst_avi_demux_handle_src_event), (gst_avi_demux_stream_index), (gst_avi_demux_sync), (gst_avi_demux_stream_scan), (gst_avi_demux_massage_index), (gst_avi_demux_stream_header), (gst_avi_demux_handle_seek), (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data), (gst_avi_demux_loop): * gst/avi/gstavidemux.h: Implement non-lineair chunk handling and subchunk processing. The first solves playback of AVI files where the audio and video data of individual buffers that we read are not synchronized. This should not happen according to the wonderful AVI specs, but of course it does happen in reality. It is also a prerequisite for the second. Subchunk processing allows us to cut chunks in small pieces and process each of these pieces separately. This is required because I've seen several AVI files with incredibly large audio chunks, even some files with only one audio chunk for the whole file. This allows for proper playback including seeking. This patch is supposed to fix all AVI A/V sync issues. * gst/flx/gstflxdec.c: (gst_flxdec_class_init), (flx_decode_chunks), (flx_decode_color), (gst_flxdec_loop): Work. * gst/modplug/gstmodplug.cc: Proper return value setting for the query() function. * gst/playback/gstplaybasebin.c: (setup_source): Being in non-playing state (after, e.g., EOS) is not necessarily a bad thing. Allow for that. This fixes playback of short files. They don't actually playback fully now, because the clock already runs. This means that small files (<500kB) with a small length (<2sec) will still not or barely play. Other files, such as mod or flx, will work correctly, however.
* Make flacenc work with mono streams by only setting the mid_side and ↵Iain Holmes2004-08-171-2/+6
| | | | | | | loose_mid_side when its a stereo stream Original commit message from CVS: Make flacenc work with mono streams by only setting the mid_side and loose_mid_side when its a stereo stream
* ext/flac/gstflacdec.c: (gst_flacdec_write): Actually, GST_PAD_CAPS() has ↵David Schleef2004-07-031-19/+17
| | | | | | | | | nothing to do with the logic. Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flacdec_class_init), (gst_flacdec_write): Actually, GST_PAD_CAPS() has nothing to do with the logic.
* ext/flac/gstflacdec.c: Set duration on output buffers. Fix logic mistake. ↵David Schleef2004-07-031-2/+4
| | | | | | | | (bug #144866) Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flacdec_write): Set duration on output buffers. Fix logic mistake. (bug #144866)
* ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment buffer ↵Christophe Fergeau2004-06-011-0/+12
| | | | | | | | | | | since libflac doesn't expect it (reports a ... Original commit message from CVS: 2004-06-01 Christophe Fergeau <teuf@gnome.org> * ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment buffer since libflac doesn't expect it (reports a sync error when it encounters that)
* second batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet2004-05-212-3/+3
| | | | | | | | | foreign compilers (forte) and gtk-doc (in ... Original commit message from CVS: second batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in gst-plugins/ext/ this time)
* fix a number of memleaksColin Walters2004-05-071-0/+18
| | | | | Original commit message from CVS: fix a number of memleaks
* don't mix tabs and spacesThomas Vander Stichele2004-03-154-258/+265
| | | | | Original commit message from CVS: don't mix tabs and spaces
* *.h: Revert indentingJohan Dahlin2004-03-153-60/+54
| | | | | Original commit message from CVS: * *.h: Revert indenting
* gst-indentThomas Vander Stichele2004-03-147-755/+776
| | | | | Original commit message from CVS: gst-indent
* Fix several misuse of gst_buffer_merge (it doesn't take ownership of any ↵Christophe Fergeau2004-03-061-2/+10
| | | | | | | | | | | | | | | | | | buffer), should fix some leaks. I hope I did... Original commit message from CVS: 2004-03-06 Christophe Fergeau <teuf@gnome.org> * ext/faac/gstfaac.c: (gst_faac_chain): * ext/flac/gstflactag.c: (gst_flac_tag_chain): * ext/libpng/gstpngenc.c: (user_write_data): * ext/mikmod/gstmikmod.c: (gst_mikmod_loop): * gst/ac3parse/gstac3parse.c: (gst_ac3parse_chain): * gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_chain_subtitle): * gst/mpegstream/gstrfc2250enc.c: (gst_rfc2250_enc_add_slice): Fix several misuse of gst_buffer_merge (it doesn't take ownership of any buffer), should fix some leaks. I hope I didn't unref buffers that shouldn't be...
* gst/audioconvert/gstaudioconvert.c: set rank to PRIMARYBenjamin Otte2004-02-221-2/+2
| | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2004-02-22 Benjamin Otte <otte@gnome.org> reported by: Stefan Kost <kost@imn.htwk-leipzig.de> * gst/audioconvert/gstaudioconvert.c: (plugin_init): set rank to PRIMARY * gst/volume/gstvolume.c: (plugin_init): set rank to NONE fixes #134960 2004-02-22 Julio M. Merino Vidal <jmmv@menta.net> reviewed by Benjamin Otte <otte@gnome.org> * ext/flac/gstflacenc.c: (gst_flacenc_chain): escape NULL strings in GST_ELEMENT_ERROR properly (fixes #135116)
* Spelling fixJohan Dahlin2004-02-161-1/+1
| | | | | Original commit message from CVS: Spelling fix
* Replace use of GST_PAD_FORMATS_FUNCTION() and similar macros with the code ↵David Schleef2004-02-041-12/+31
| | | | | | | | | | | | | | that they would expand to. Original commit message from CVS: Replace use of GST_PAD_FORMATS_FUNCTION() and similar macros with the code that they would expand to. * ext/flac/gstflacdec.c: (gst_flacdec_get_src_formats), (gst_flacdec_get_src_query_types), (gst_flacdec_get_src_event_masks): * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get_formats), (gst_gnomevfssrc_get_query_types), (gst_gnomevfssrc_get_event_mask):
* code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines.David Schleef2004-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines. * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_event): * ext/flac/gstflactag.c: (gst_flac_tag_chain): * ext/xvid/gstxviddec.c: (gst_xviddec_src_link): * gst-libs/gst/play/play.c: (gst_play_get_sink_element): * gst/ac3parse/gstac3parse.c: (gst_ac3parse_chain): * gst/effectv/gstedge.c: (gst_edgetv_sinkconnect): * gst/effectv/gstvertigo.c: (gst_vertigotv_sinkconnect): * gst/intfloat/float22int.c: (gst_float2_2_int_getcaps), (gst_float2_2_int_link): * gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_chain_subtitle): * gst/rtjpeg/RTjpeg.c: (RTjpeg_init_mcompress): * gst/tcp/gsttcpsink.c: (gst_tcpsink_init_send): * gst/tcp/gsttcpsrc.c: (gst_tcpsrc_init_receive): * gst/udp/gstudpsink.c: (gst_udpsink_init_send): * gst/udp/gstudpsrc.c: (gst_udpsrc_init_receive): * sys/v4l/gstv4lelement.c: (gst_v4lelement_init): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture): * testsuite/gst-lint: Add tests for bzero and ;;
* change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele2004-02-023-7/+7
| | | | | | Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
* ext/flac/: Fix typosJeremy Simon2004-01-314-4/+3
| | | | | | | | | Original commit message from CVS: 2004-01-31 Jeremy Simon <jesimon@libertysurf.fr> * ext/flac/gstflacdec.c: (gst_flacdec_class_init): * ext/flac/gstflacdec.h: * ext/flac/gstflacenc.h: Fix typos
* GST_ELEMENT_ERRORThomas Vander Stichele2004-01-293-9/+9
| | | | | Original commit message from CVS: GST_ELEMENT_ERROR
* use new error signal and classificationThomas Vander Stichele2004-01-183-15/+13
| | | | | Original commit message from CVS: use new error signal and classification
* ext/flac/gstflacenc.c: handle tags correctlyBenjamin Otte2004-01-141-4/+5
| | | | | | | | | | | Original commit message from CVS: 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/flac/gstflacenc.c: (gst_flacenc_set_metadata), (gst_flacenc_chain): handle tags correctly * gst/tags/gstid3tag.c: (gst_tag_list_new_from_id3v1): extract ID3v1 tags correctly
* ext/flac/: length is already host endian, no need to convert. Fixes playback ↵Benjamin Otte2004-01-141-1/+1
| | | | | | | | | | | | of tagged files on PPC. (bug #128384) Original commit message from CVS: 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/flac/gstflacdec.c: (gst_flacdec_update_metadata): * ext/flac/gstflacenc.c: (add_one_tag): length is already host endian, no need to convert. Fixes playback of tagged files on PPC. (bug #128384)
* ext/flac/gstflacdec.c: length is already host endian, no need to convert. ↵Benjamin Otte2004-01-131-1/+1
| | | | | | | | | | | Fixes playback of tagged files on PPC. Original commit message from CVS: 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/flac/gstflacdec.c: (gst_flacdec_update_metadata): length is already host endian, no need to convert. Fixes playback of tagged files on PPC.
* ext/flac/gstflacdec.c: Finish flac decoder on EOS. See #116178.Ronald S. Bultje2004-01-031-2/+1
| | | | | | | | Original commit message from CVS: 2004-01-04 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/flac/gstflacdec.c: (gst_flacdec_loop): Finish flac decoder on EOS. See #116178.
* ext/: OS X fixes (see #126628).Ronald S. Bultje2004-01-031-1/+0
| | | | | | | | | | Original commit message from CVS: 2004-01-03 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/flac/gstflacdec.c: * ext/libpng/gstpngenc.h: * ext/mikmod/gstmikmod.h: OS X fixes (see #126628).
* Convert elements to use gst_pad_use_explicit_caps() where appropriate.David Schleef2004-01-021-1/+2
| | | | | Original commit message from CVS: Convert elements to use gst_pad_use_explicit_caps() where appropriate.
* Merge CAPS branchDavid Schleef2003-12-223-102/+63
| | | | | Original commit message from CVS: Merge CAPS branch
* distcheck fixesThomas Vander Stichele2003-12-143-3/+3
| | | | | Original commit message from CVS: distcheck fixes
* distcheck fixesThomas Vander Stichele2003-12-081-1/+1
| | | | | Original commit message from CVS: distcheck fixes
* Fixed bug when filling tags in gstflacencChristophe Fergeau2003-12-082-49/+188
| | | | | | Original commit message from CVS: Fixed bug when filling tags in gstflacenc Added merging support, and a mode which stops after outputting tags to flactag
* Forgot to change one application/x-flac to audio/x-flacChristophe Fergeau2003-12-081-2/+2
| | | | | Original commit message from CVS: Forgot to change one application/x-flac to audio/x-flac
* Compilation will work better if I don't forget new files..Christophe Fergeau2003-12-071-0/+6
| | | | | Original commit message from CVS: Compilation will work better if I don't forget new files..
* Added element to rewrite vorbiscomments embedded in flac files. It currently ↵Christophe Fergeau2003-12-074-3/+438
| | | | | | | | | doesn't honour the tag merge mode setting. Original commit message from CVS: Added element to rewrite vorbiscomments embedded in flac files. It currently doesn't honour the tag merge mode setting. Changed application/x-flac to audio/x-flac in gstflacenc.c
* Forgot to mark one function as staticChristophe Fergeau2003-12-071-3/+3
| | | | | Original commit message from CVS: Forgot to mark one function as static
* remove copyright field from pluginsAndy Wingo2003-12-041-1/+0
| | | | | Original commit message from CVS: remove copyright field from plugins
* Apply patch from jesimon@libertysurf.fr (Jeremy SIMON) in #122368.David Schleef2003-12-021-8/+9
| | | | | | Original commit message from CVS: Apply patch from jesimon@libertysurf.fr (Jeremy SIMON) in #122368. FLAC io functions should be called every time the encoder is initialized.
* Use new tagging stuff to read and write flac metadata. Only handles ↵Christophe Fergeau2003-11-285-126/+77
| | | | | | | vorbiscomment tags, and not (older) id3v2 tags. Original commit message from CVS: Use new tagging stuff to read and write flac metadata. Only handles vorbiscomment tags, and not (older) id3v2 tags.
* flac mime type is audio/x-flac, not application/x-flacChristophe Fergeau2003-11-221-1/+1
| | | | | Original commit message from CVS: flac mime type is audio/x-flac, not application/x-flac