summaryrefslogtreecommitdiffstats
path: root/gst/wavparse
Commit message (Collapse)AuthorAgeFilesLines
* first 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 Original commit message from CVS: first batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
* rename WMAx codec defines to be consistentStéphane Loeuillet2004-05-172-6/+6
| | | | | Original commit message from CVS: rename WMAx codec defines to be consistent
* gst-libs/gst/riff/riff-read.c: Don't touch events after not owning them anymore.Ronald S. Bultje2004-05-162-250/+143
| | | | | | | | | | | | | Original commit message from CVS: * gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek): Don't touch events after not owning them anymore. * gst/wavparse/gstwavparse.c: (gst_wavparse_base_init), (gst_wavparse_fmt), (gst_wavparse_other), (gst_wavparse_handle_seek), (gst_wavparse_loop), (gst_wavparse_pad_convert), (gst_wavparse_pad_query), (gst_wavparse_srcpad_event): * gst/wavparse/gstwavparse.h: Add seeking, fix querying.
* ext/audiofile/gstafparse.c: change class to Codec/Demuxer/AudioStéphane Loeuillet2004-05-131-1/+1
| | | | | | | Original commit message from CVS: * ext/audiofile/gstafparse.c : change class to Codec/Demuxer/Audio * gst/auparse/gstauparse.c : idem * gst/wavparse/gstwavparse.c : idem
* gst/wavparse/gstwavparse.c: make PAUSED=>READY=>PAUSED=READY work by not ↵Benjamin Otte2004-05-091-4/+5
| | | | | | | | | | destroying NULL sourcepads Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_destroy_sourcepad), (gst_wavparse_create_sourcepad): make PAUSED=>READY=>PAUSED=READY work by not destroying NULL sourcepads
* Rewrote wavparse to use riff-read instead of doing bytestream stuff by hand.Iain Holmes2004-05-082-296/+174
| | | | | | Original commit message from CVS: Rewrote wavparse to use riff-read instead of doing bytestream stuff by hand. Made some useful functions in riff-read non-static.
* gst/wavparse/gstwavparse.c: Missing variable initialization. Add handling of ↵Ronald S. Bultje2004-04-231-2/+19
| | | | | | | | | | | | | | | DVI ADPCM. Fix mis-parsing of LIST chunk... Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_create_sourcepad), (gst_wavparse_parse_fmt), (gst_wavparse_handle_sink_event), (gst_wavparse_loop): Missing variable initialization. Add handling of DVI ADPCM. Fix mis-parsing of LIST chunks. This works around a bug where we mis- parse non-aligning LIST chunks (so LIST chunks where the contents don't align with the actual LIST size). The correct fix is to use rifflib, I'm not going to fix wavparse - too much work. All this fixes #104878.
* gst/wavparse/gstwavparse.c: Hack to make wavparse work with spider (always ↵Ronald S. Bultje2004-04-181-3/+36
| | | | | | | | | | | -> sometimes pad). Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_init), (gst_wavparse_destroy_sourcepad), (gst_wavparse_create_sourcepad), (gst_wavparse_parse_fmt), (gst_wavparse_change_state): Hack to make wavparse work with spider (always -> sometimes pad). Fixes #135862 && #140411.
* Allow all events, not just EOSIain Holmes2004-04-171-1/+1
| | | | | Original commit message from CVS: Allow all events, not just EOS
* gst/: Add MS RLE support. I added some functions to read out strf chunks ↵Ronald S. Bultje2004-04-161-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into strf chunks and the data behind it. Thi... Original commit message from CVS: reviewed by: <delete if not using a buddy> * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data), (gst_riff_create_video_caps), (gst_riff_create_audio_caps), (gst_riff_create_video_template_caps), (gst_riff_create_audio_template_caps): * gst-libs/gst/riff/riff-media.h: * gst-libs/gst/riff/riff-read.c: (gst_riff_read_strf_vids_with_data), (gst_riff_read_strf_vids): * gst-libs/gst/riff/riff-read.h: * gst/avi/gstavidemux.c: (gst_avi_demux_add_stream): Add MS RLE support. I added some functions to read out strf chunks into strf chunks and the data behind it. This is usually color palettes (as in RLE, but also in 8-bit RGB). Also use those during caps creation. Lastly, add ADPCM (similar to wavparse - which should eventually be rifflib based). * gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init), (gst_matroska_demux_init), (gst_matroska_demux_reset): * gst/matroska/matroska-demux.h: Remove placeholders for some prehistoric tagging system. Didn't add support for any tag system really anyway. * gst/qtdemux/qtdemux.c: Add support for audio/x-m4a (MPEG-4) through spider. * gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt), (gst_wavparse_loop): ADPCM support (#135862). Increase max. buffer size because we cannot split buffers for ADPCM (screws references) and I've seen files with 2048 byte chunks. 4096 seems safe for now.
* small removalThomas Vander Stichele2004-03-301-1/+0
| | | | | Original commit message from CVS: small removal
* don't mix tabs and spacesThomas Vander Stichele2004-03-151-304/+308
| | | | | Original commit message from CVS: don't mix tabs and spaces
* *.h: Revert indentingJohan Dahlin2004-03-152-153/+132
| | | | | Original commit message from CVS: * *.h: Revert indenting
* gst-indentThomas Vander Stichele2004-03-143-680/+695
| | | | | Original commit message from CVS: gst-indent
* ext/aalib/gstaasink.c: Add fixate function. (bug #131128)David Schleef2004-03-061-0/+1
| | | | | | | | | | | | | Original commit message from CVS: * ext/aalib/gstaasink.c: (gst_aasink_fixate), (gst_aasink_init): Add fixate function. (bug #131128) * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_init), (gst_sdlvideosink_fixate): Add fixate function. * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link): Fix attempt to print a non-pointer using GST_PTR_FORMAT. * gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt): Fix missing break that was causing ulaw to be interpreted as raw int.
* debug updatesThomas Vander Stichele2004-03-061-14/+38
| | | | | Original commit message from CVS: debug updates
* gst/wavparse/gstwavparse.c: Fix a caps memleak.David Schleef2004-02-051-2/+4
| | | | | | Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt): Fix a caps memleak.
* change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele2004-02-021-3/+3
| | | | | | 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-3/+4
| | | | | Original commit message from CVS: use new error signal and classification
* ext/esd/esdsink.c: Remove property that handles osssink fallback.David Schleef2004-01-151-41/+19
| | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_class_init): Remove property that handles osssink fallback. * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init), (gst_audio_convert_getcaps): * gst/qtdemux/qtdemux.c: (qtdemux_audio_caps): Add audio/x-qdm2 for QDM2 audio. * gst/sine/gstsinesrc.c: (gst_sinesrc_get): * gst/sine/gstsinesrc.h: Add example of how to implement tags. * gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps): Decrease minimum size to 16x16. * gst/wavparse/gstwavparse.c: Convert disabled pad template caps to new caps. * sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get), (gst_xvimagesink_chain): Throw element error when display cannot be opened. Increase minimum framerate to 1.0. Check the data free function on a buffer to make sure it is the type we expect before manipulating it.
* ext/divx/: Set category to divx4linux instead of divx (too generic).Ronald S. Bultje2004-01-142-35/+15
| | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2004-01-14 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/divx/gstdivxdec.c: * ext/divx/gstdivxenc.c: Set category to divx4linux instead of divx (too generic). * gst/wavparse/gstwavparse.c: (gst_wavparse_init), (gst_wavparse_parse_fmt), (gst_wavparse_handle_sink_event), (gst_wavparse_loop), (gst_wavparse_change_state): * gst/wavparse/gstwavparse.h: fix parsing of WAV files with non-standard fmt-tag size and fix skipping of unrecognized chunks... Someone please fix this thing to use rifflib so all this is automated. * sys/v4l/Makefile.am: * sys/v4l2/Makefile.am: Add X_CFLAGS because we depend on X (for overlay).
* gst/matroska/matroska-demux.c: Fix EBML-laced block parsing. Diffs are ↵Ronald S. Bultje2004-01-042-5/+39
| | | | | | | | | | | | | | | | | | | relative to previous lace, not the first lace.... Original commit message from CVS: 2004-01-04 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/matroska/matroska-demux.c: Fix EBML-laced block parsing. Diffs are relative to previous lace, not the first lace. Thanks to Mosu from the Matroska team for detecting this. (gst_matroska_demux_parse_blockgroup): * gst/wavparse/gstwavparse.c: (gst_wavparse_init), (gst_wavparse_parse_fmt), (gst_wavparse_getcaps), (gst_wavparse_handle_sink_event), (gst_wavparse_loop), (gst_wavparse_change_state): * gst/wavparse/gstwavparse.h: Quickfix for capsnego.
* Fix some regressions caused by caps conversionDavid Schleef2004-01-021-8/+9
| | | | | Original commit message from CVS: Fix some regressions caused by caps conversion
* Convert elements to use gst_pad_use_explicit_caps() where appropriate.David Schleef2004-01-021-5/+3
| | | | | Original commit message from CVS: Convert elements to use gst_pad_use_explicit_caps() where appropriate.
* Merge CAPS branchDavid Schleef2003-12-222-93/+71
| | | | | Original commit message from CVS: Merge CAPS branch
* Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the ↵Ronald S. Bultje2003-12-181-14/+16
| | | | | | | autoplugger uses mad and not faad for mp3 decoding... Original commit message from CVS: Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding. This should fix mp3 playback.
* remove copyright field from pluginsAndy Wingo2003-12-041-1/+0
| | | | | Original commit message from CVS: remove copyright field from plugins
* + checking in plugin category changesLeif Johnson2003-11-161-2/+2
| | | | | Original commit message from CVS: + checking in plugin category changes
* Don't flush if we come across a cue tag.Iain Holmes2003-11-141-37/+46
| | | | | | Original commit message from CVS: Don't flush if we come across a cue tag. Emit the got metadata signal once we've parsed the adtl tag
* disting fixes, pixbuf loader still borked in regards to distingChristian Schaller2003-11-091-1/+1
| | | | | Original commit message from CVS: disting fixes, pixbuf loader still borked in regards to disting
* Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje2003-11-071-1/+0
| | | | | | | and remove duplicate config.h includes fro... Original commit message from CVS: Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
* fix to new plugin systemBenjamin Otte2003-11-021-26/+29
| | | | | Original commit message from CVS: fix to new plugin system
* fix bytestream headerDavid Schleef2003-10-301-1/+1
| | | | | Original commit message from CVS: fix bytestream header
* Add a local copy of riff.h as we don't use rifflib anymore.Iain Holmes2003-10-293-295/+991
| | | | | | | | Original commit message from CVS: Add a local copy of riff.h as we don't use rifflib anymore. Rewrite the main loop to use bytestreams instead of rifflib. Make it a loopbased filter. Handle metadata, cues and labels as well
* merge TYPEFIND branch. Major changes:Benjamin Otte2003-10-281-42/+0
| | | | | | | | | | | | Original commit message from CVS: merge TYPEFIND branch. Major changes: - totally reworked type(find) system - all typefind functions are in gst/typefind now - more typefind functions then before - some plugins might fail to compile now because I don't have them installed and they a) require bytestream or b) haven't had their typefind fixed. Please fix those plugins and put the typefind functions into gst/typefind if they don't have dependencies
* Add a parser for metadataIain Holmes2003-10-172-64/+219
| | | | | | | | | | Original commit message from CVS: Add a parser for metadata (demux_metadata): Given the buffer containing the metadata, look through it and get the info out of it. (wav_new_chunk_callback): Change the if statement to a switch statement. Handle GST_RIFF_TAG_LIST by changing what the type of list it is and parsing out metadata if it is "INFO".
* riff.h is in a different directoryDavid Schleef2003-10-131-1/+1
| | | | | Original commit message from CVS: riff.h is in a different directory
* /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo2003-10-081-6/+7
| | | | | | | 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.
* New typefind system: bytestream is now part of the core all plugins have ↵Ronald S. Bultje2003-10-011-7/+20
| | | | | | | | | | | | | | | | | | | | | been modified to use this new typefind syste... Original commit message from CVS: New typefind system: * bytestream is now part of the core * all plugins have been modified to use this new typefind system * asf typefinding added * mpeg video stream typefiding removed because it's broken * duplicate typefind entries removed * extra id3 typefinding added, because we've seen 4 types of files (riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs to work. Instead, I've added an id3 element and let it redo typefiding after the id3 header. this needs a hack because spider only typefinds once. We can remove this hack once spider supports multiple typefinds. * with all this, mp3 typefinding is semi-rewritten * id3 typefinding in flac/vorbis is removed, it's no longer needed * fixed spider and gst-typefind to use this, too. * Other general cleanups
* reverting error patch before making a branch.Thomas Vander Stichele2003-09-161-6/+2
| | | | | Original commit message from CVS: reverting error patch before making a branch.
* converted gst_element_error to new format in gst/ - gettext pendingBenjamin Otte2003-09-151-2/+6
| | | | | Original commit message from CVS: converted gst_element_error to new format in gst/ - gettext pending
* Fix regressions from using gstriff libraryDavid Schleef2003-08-133-92/+105
| | | | | Original commit message from CVS: Fix regressions from using gstriff library
* Remove riff code, since it's duplicated in the riff libraryDavid Schleef2003-08-135-220/+13
| | | | | Original commit message from CVS: Remove riff code, since it's duplicated in the riff library
* Remove redundant plugindir definitionDavid Schleef2003-08-101-1/+0
| | | | | Original commit message from CVS: Remove redundant plugindir definition
* New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje2003-07-061-26/+29
| | | | | | | 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-14/+17
| | | | | | | | 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.
* Added state change function where state is clearedWim Taymans2003-06-131-1/+38
| | | | | Original commit message from CVS: Added state change function where state is cleared
* UNITS -> DEFAULTWim Taymans2003-05-241-7/+4
| | | | | Original commit message from CVS: UNITS -> DEFAULT
* make wavparse not segfault when somebody puts data at the end of the fileBenjamin Otte2003-05-171-5/+7
| | | | | Original commit message from CVS: make wavparse not segfault when somebody puts data at the end of the file