summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflacenc.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a bug add in last commit, where no event is send. Thanks Tim to show me.Edgard Lima2006-02-031-4/+7
| | | | | Original commit message from CVS: Fixed a bug add in last commit, where no event is send. Thanks Tim to show me.
* Just make it compile with --disable-gst-debug.Edgard Lima2006-02-031-0/+2
| | | | | Original commit message from CVS: Just make it compile with --disable-gst-debug.
* borgify and fix up documentationThomas Vander Stichele2005-12-091-54/+55
| | | | | Original commit message from CVS: borgify and fix up documentation
* Update for alloc_buffer changes.Andy Wingo2005-12-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2005-12-05 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdec.c: (gst_dvdec_chain): * ext/flac/gstflacdec.c: (gst_flacdec_write): * ext/flac/gstflacenc.c: (gst_flacenc_write_callback): * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_chain): * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_chain): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_chain): * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_process): * ext/libpng/gstpngdec.c: (user_info_callback), (gst_pngdec_task): * ext/speex/gstspeexdec.c: (speex_dec_chain): * ext/speex/gstspeexenc.c: (gst_speexenc_chain): * gst/auparse/gstauparse.c: (gst_auparse_chain): * gst/flx/gstflxdec.c: (gst_flxdec_chain): * gst/goom/gstgoom.c: (gst_goom_chain): * gst/matroska/matroska-demux.c: (gst_matroska_demux_push_vorbis_codec_priv_data), (gst_matroska_demux_add_wvpk_header): * gst/multipart/multipartdemux.c: (gst_multipart_demux_chain): * gst/multipart/multipartmux.c: (gst_multipart_mux_collected): * gst/videomixer/videomixer.c: (gst_videomixer_collected): * gst/wavenc/gstwavenc.c: (gst_wavenc_chain): Update for alloc_buffer changes.
* fix up more enumsThomas Vander Stichele2005-11-221-4/+4
| | | | | Original commit message from CVS: fix up more enums
* Update for gst_tag_setter API changes.Andy Wingo2005-11-221-2/+2
| | | | | | | Original commit message from CVS: 2005-11-22 Andy Wingo <wingo@pobox.com> * Update for gst_tag_setter API changes.
* ext/dv/gstdvdemux.c (gst_dvdemux_handle_sink_event) ↵Andy Wingo2005-11-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (gst_dvdemux_demux_frame) ext/flac/gstflacdec.c (gst_flacdec_writ... Original commit message from CVS: 2005-11-22 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdemux.c (gst_dvdemux_handle_sink_event) (gst_dvdemux_demux_frame) * ext/flac/gstflacdec.c (gst_flacdec_write) * ext/flac/gstflacenc.c (gst_flacenc_seek_callback) (gst_flacenc_sink_event) * ext/gconf/gstgconfaudiosink.c (gst_gconf_audio_sink_init) * ext/gconf/gstgconfvideosink.c (gst_gconf_video_sink_init) * ext/libpng/gstpngdec.c (gst_pngdec_caps_create_and_set) * ext/speex/gstspeexdec.c (speex_dec_event, speex_dec_chain) * gst/auparse/gstauparse.c (gst_auparse_chain) * gst/autodetect/gstautoaudiosink.c (gst_auto_audio_sink_init) * gst/autodetect/gstautovideosink.c (gst_auto_video_sink_init) * gst/avi/gstavidemux.c (gst_avi_demux_stream_header) (gst_avi_demux_handle_seek) * gst/goom/gstgoom.c (gst_goom_event) * gst/matroska/ebml-write.c (gst_ebml_write_seek) * gst/matroska/matroska-demux.c (gst_matroska_demux_handle_seek_event) (gst_matroska_demux_loop_stream_parse_id) * gst/wavenc/gstwavenc.c (gst_wavenc_stop_file) * gst/wavparse/gstwavparse.c (gst_wavparse_handle_seek) (gst_wavparse_stream_headers): Run update-funcnames.
* Update for stream lock API changes: don't take stream log in sink event ↵Tim-Philipp Müller2005-11-211-6/+0
| | | | | | | | | | | | | | | | | | | | | | handlers any longer and change GST_STREAM_LOC... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_sink_event): * ext/flac/gstflacdec.c: (gst_flacdec_loop), (gst_flacdec_src_event): * ext/flac/gstflacenc.c: (gst_flacenc_sink_event): * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_event), (gst_signal_processor_getrange), (gst_signal_processor_chain): * gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek): * gst/flx/gstflxdec.c: (gst_flxdec_src_event_handler), (gst_flxdec_sink_event_handler): * gst/matroska/matroska-demux.c: (gst_matroska_demux_handle_seek_event): * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek): Update for stream lock API changes: don't take stream log in sink event handlers any longer and change GST_STREAM_LOCK to GST_PAD_STREAM_LOCK. Don't leak references in flxdec event functions.
* *.*: Ran scripts/update-macros. Oh yes.Andy Wingo2005-11-211-4/+4
| | | | | | | | Original commit message from CVS: 2005-11-21 Andy Wingo <wingo@pobox.com> * *.h: * *.c: Ran scripts/update-macros. Oh yes.
* ext/flac/gstflacenc.*: Fix seeking, so that flacenc can rewrite the header ↵Tim-Philipp Müller2005-10-241-32/+118
| | | | | | | | | | | | | | | | | with the correct duration and amount of sa... Original commit message from CVS: * ext/flac/gstflacenc.c: (gst_flacenc_base_init), (gst_flacenc_init), (gst_flacenc_sink_setcaps), (gst_flacenc_seek_callback), (gst_flacenc_write_callback), (gst_flacenc_sink_event), (gst_flacenc_chain), (gst_flacenc_set_property), (gst_flacenc_get_property), (gst_flacenc_change_state): * ext/flac/gstflacenc.h: Fix seeking, so that flacenc can rewrite the header with the correct duration and amount of samples and all that at EOS; also set timestamps and granulepos on outgoing buffers; add debug category; fix state change function.
* configure.ac (GST_PLUGIN_LDFLAGS): Change to be like -base.Andy Wingo2005-10-021-311/+289
| | | | | | | | | | | | | | | | 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.
* ext/: gsttaginterface.h -> gsttagsetter.hStefan Kost2005-09-071-1/+1
| | | | | | | | | 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
* All plugins updated for element state changes.Andy Wingo2005-09-021-12/+13
| | | | | | | Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * All plugins updated for element state changes.
* Update for API change in flac-1.1.1. Update requirement in configure.ac. ↵Ronald S. Bultje2005-01-091-1/+19
| | | | | | | | | | | | | | 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.
* Fixes a bunch of problems with finalize and dispose functions, either ↵Jan Schmidt2004-11-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* second batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet2004-05-211-1/+1
| | | | | | | | | 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)
* don't mix tabs and spacesThomas Vander Stichele2004-03-151-103/+105
| | | | | Original commit message from CVS: don't mix tabs and spaces
* gst-indentThomas Vander Stichele2004-03-141-318/+328
| | | | | Original commit message from CVS: gst-indent
* 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)
* change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele2004-02-021-1/+1
| | | | | | Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
* GST_ELEMENT_ERRORThomas Vander Stichele2004-01-291-3/+3
| | | | | Original commit message from CVS: GST_ELEMENT_ERROR
* use new error signal and classificationThomas Vander Stichele2004-01-181-6/+5
| | | | | 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)
* Merge CAPS branchDavid Schleef2003-12-221-33/+23
| | | | | Original commit message from CVS: Merge CAPS branch
* distcheck fixesThomas Vander Stichele2003-12-141-1/+1
| | | | | Original commit message from CVS: distcheck fixes
* Fixed bug when filling tags in gstflacencChristophe Fergeau2003-12-081-1/+1
| | | | | | 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
* Added element to rewrite vorbiscomments embedded in flac files. It currently ↵Christophe Fergeau2003-12-071-1/+1
| | | | | | | | | 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
* 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-281-51/+55
| | | | | | | 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.
* -fix segfault on PAUSED => READY when metadata wasn't setBenjamin Otte2003-11-221-5/+8
| | | | | | Original commit message from CVS: -fix segfault on PAUSED => READY when metadata wasn't set - fix caps mimetype that always caused a failure on caps nego
* + checking in plugin category changesLeif Johnson2003-11-161-1/+1
| | | | | Original commit message from CVS: + checking in plugin category changes
* Whheeee, FLAC ported to new system tooIain Holmes2003-11-011-7/+55
| | | | | Original commit message from CVS: Whheeee, FLAC ported to new system too
* /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo2003-10-081-4/+5
| | | | | | | deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
* reverting error patch before making a branch.Thomas Vander Stichele2003-09-161-9/+6
| | | | | Original commit message from CVS: reverting error patch before making a branch.
* converted gst_element_error to new format in ext/ - gettext pendingBenjamin Otte2003-09-151-6/+9
| | | | | Original commit message from CVS: converted gst_element_error to new format in ext/ - gettext pending
* New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje2003-07-061-1/+11
| | | | | | | over to the new mimetypes spec as descri... Original commit message from CVS: New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
* compatibility fix for new GST_DEBUG stuff.Benjamin Otte2003-06-291-0/+3
| | | | | | | | Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
* _ Change from StreamEncoder to SeekableStreamEncoder _ Add a seek callback ↵Jeremy Simon2003-05-111-91/+127
| | | | | | | | | to fill STREAMINFO blocks correctly _ Add ... Original commit message from CVS: _ Change from StreamEncoder to SeekableStreamEncoder _ Add a seek callback to fill STREAMINFO blocks correctly _ Add metadata (vorbis comments)
* fixes:Benjamin Otte2003-04-261-5/+5
| | | | | | | | Original commit message from CVS: fixes: - wrong type of 0 - only write data into buffer if buffer is big enough - write data into a buffer which we actually may write
* PadConnect -> PadLinkThomas Vander Stichele2003-01-101-2/+2
| | | | | Original commit message from CVS: PadConnect -> PadLink
* another batch of connect->link fixes please let me know about issues and ↵Thomas Vander Stichele2003-01-101-3/+3
| | | | | | | | | | please refrain of making them yourself, so t... Original commit message from CVS: another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so that I don't spend double the time resolving conflicts
* Some quick fixes for FLAC 1.0.4Wim Taymans2002-09-291-2/+2
| | | | | Original commit message from CVS: Some quick fixes for FLAC 1.0.4
* no whitespace is allowed between macro names and parameter listsDavid I. Lehn2002-09-211-1/+1
| | | | | Original commit message from CVS: no whitespace is allowed between macro names and parameter lists
* yay, I can commit again !!! this fixes warnings I hadThomas Vander Stichele2002-09-191-9/+9
| | | | | | | Original commit message from CVS: yay, I can commit again !!! this fixes warnings I had
* Add hack to make the flac plugin compile with both flac-1.0.2 and 1.0.3David Schleef2002-09-181-0/+2
| | | | | | Original commit message from CVS: Add hack to make the flac plugin compile with both flac-1.0.2 and 1.0.3
* plugins part of license field patchChristian Schaller2002-09-181-0/+1
| | | | | Original commit message from CVS: plugins part of license field patch