summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/riff
AgeCommit message (Collapse)AuthorFilesLines
2004-05-13gst-libs/gst/riff/riff-ids.h: - add CDXA to the list of RIFF typesStéphane Loeuillet1-0/+2
Original commit message from CVS: * gst-libs/gst/riff/riff-ids.h : - add CDXA to the list of RIFF types - add plst (playlist ?) to wav chunk list (only diff with wavparse/riff.h)
2004-05-09gst-libs/gst/riff/: Fix for unaligned RIFF files (i.e. where all the chunks ↵Ronald S. Bultje2-0/+33
together in a LIST chunk are not of the s... Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data), (gst_riff_create_audio_caps), (gst_riff_create_audio_template_caps): * gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head): Fix for unaligned RIFF files (i.e. where all the chunks together in a LIST chunk are not of the same size as the size given in the LIST chunk header). Fixes several odd WAVE files. Also fix ADPCM (block_align property) in audio, so that wavparse based on this works now as it used to stand-alone.
2004-05-08Rewrote wavparse to use riff-read instead of doing bytestream stuff by hand.Iain Holmes3-12/+46
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.
2004-04-23gst-libs/gst/riff/riff-media.c: audio/x-raw-int with height rules! not. Now ↵Benjamin Otte1-1/+1
it's depth. Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps): audio/x-raw-int with height rules! not. Now it's depth.
2004-04-22gst-libs/gst/riff/riff-media.c: mpegversion is an intBenjamin Otte1-1/+1
Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data): mpegversion is an int * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_base_init): don't try to create pad templates with NULL caps, use any caps instead.
2004-04-20configure.ac: bump required gstreamer version to 0.8.1.1 because of ↵David Schleef1-5/+6
following changes [--ds] Original commit message from CVS: reviewed by David Schleef * configure.ac: bump required gstreamer version to 0.8.1.1 because of following changes [--ds] * gst-libs/gst/riff/riff-read.c: Include gst/gstutils.h. (gst_riff_peek_head, gst_riff_peek_list, gst_riff_read_list) (gst_riff_read_header): Use GST_READ_UINT* macros to access possibly unaligned memory. * gst/typefind/gsttypefindfunctions.c: Include gst/gstutils.h. (mp3_type_find): Use GST_READ_UINT* macros to access possibly unaligned memory. (mp3_type_find, mpeg1_parse_header, qt_type_find) (speex_type_find): Likewise * gst/tags/gstvorbistag.c: (ADVANCE): Likewise * gst/qtdemux/qtdemux.c: Include stdlib.h (needed by realloc). (QTDEMUX_GUINT32_GET, QTDEMUX_GUINT16_GET, QTDEMUX_FP32_GET) (QTDEMUX_FP16_GET, QTDEMUX_FOURCC_GET) (gst_qtdemux_loop_header, gst_qtdemux_loop_header) (qtdemux_node_dump_foreach, qtdemux_tree_get_child_by_type) (qtdemux_tree_get_sibling_by_type): Use GST_READ_UINT* macros to access possibly unaligned memory. * gst/mpegstream/gstmpegpacketize.c: (parse_generic, parse_chunk): Likewise. * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead) (gst_mpeg_demux_parse_packet, gst_mpeg_demux_parse_pes): Likewise. * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain): Likewise. * gst/mpeg2sub/gstmpeg2subt.c: (GST_BUFFER_DATA) (gst_mpeg2subt_chain_subtitle): Likewise. * gst/mpeg1videoparse/gstmp1videoparse.c: (mp1videoparse_parse_seq) (gst_mp1videoparse_time_code, gst_mp1videoparse_real_chain): Likewise. * gst/mpeg1sys/buffer.c: (mpeg1mux_buffer_update_audio_info): Likewise. * gst/cdxaparse/gstcdxaparse.c: (gst_bytestream_peek_bytes): Likewise. * gst/asfdemux/gstasfdemux.c: (_read_var_length, _read_uint): Likewise.
2004-04-16gst-libs/gst/riff/riff-media.c: Add div[3456] as fourccs for DivX 3 (fixes ↵Ronald S. Bultje1-0/+4
#140137). Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data): Add div[3456] as fourccs for DivX 3 (fixes #140137).
2004-04-16gst/: Add MS RLE support. I added some functions to read out strf chunks ↵Ronald S. Bultje4-3/+119
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.
2004-04-15gst-libs/gst/riff/riff-media.c: Fix typo in divxversion (3 instead of 4 for ↵Ronald S. Bultje1-1/+1
"DIVX" fourcc). Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps): Fix typo in divxversion (3 instead of 4 for "DIVX" fourcc).
2004-04-11gst-libs/gst/riff/riff-media.c: Add MS video v1.Ronald S. Bultje1-0/+14
Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps), (gst_riff_create_video_template_caps): Add MS video v1. * gst/avi/gstavidemux.c: (gst_avi_demux_stream_index), (gst_avi_demux_stream_data): Add support for "rec-list" chunks.
2004-04-11gst-libs/gst/riff/riff-media.c: Fix another codecname mismatch.Ronald S. Bultje1-2/+2
Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps): Fix another codecname mismatch.
2004-04-11gst-libs/gst/riff/riff-media.c: Fix divx caps mismatch and move from ↵Ronald S. Bultje1-13/+14
video/x-jpeg to image/jpeg so that MJPEG plays b... Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps): Fix divx caps mismatch and move from video/x-jpeg to image/jpeg so that MJPEG plays back.
2004-03-30try fixing configure on RH9Benjamin Otte1-1/+1
Original commit message from CVS: try fixing configure on RH9
2004-03-24ext/alsa/gstalsa.h: Remove unused entry.Ronald S. Bultje1-0/+6
Original commit message from CVS: * ext/alsa/gstalsa.h: Remove unused entry. * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps): Add cinepak. * gst/videodrop/gstvideodrop.c: (gst_videodrop_getcaps), (gst_videodrop_link), (gst_videodrop_chain): Fix, sort of. Was horribly broken with new capsnego. Bah...
2004-03-15don't mix tabs and spacesThomas Vander Stichele2-174/+175
Original commit message from CVS: don't mix tabs and spaces
2004-03-15*.h: Revert indentingJohan Dahlin3-75/+87
Original commit message from CVS: * *.h: Revert indenting
2004-03-14gst-indentThomas Vander Stichele6-463/+395
Original commit message from CVS: gst-indent
2004-03-09gst-libs/gst/riff/riff-read.c: Fix metadata read crash (#136537).Ronald S. Bultje1-1/+0
Original commit message from CVS: * gst-libs/gst/riff/riff-read.c: (gst_riff_read_info): Fix metadata read crash (#136537).
2004-02-23gst/: First batch implementing audio and video codec tags in demuxers.Julien Moutte2-15/+118
Original commit message from CVS: 2004-02-23 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps), (gst_riff_create_audio_caps), (gst_riff_create_iavs_caps), (gst_riff_create_video_template_caps), (gst_riff_create_audio_template_caps), (gst_riff_create_iavs_template_caps): * gst-libs/gst/riff/riff-media.h: * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init), (gst_asf_demux_audio_caps), (gst_asf_demux_add_audio_stream), (gst_asf_demux_video_caps), (gst_asf_demux_add_video_stream): * gst/avi/gstavidemux.c: (gst_avi_demux_add_stream): * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream), (gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps), (gst_matroska_demux_plugin_init): First batch implementing audio and video codec tags in demuxers.
2004-02-15examples/gstplay/player.c: Adding some output for debugging.Julien Moutte1-0/+2
Original commit message from CVS: 2004-02-15 Julien MOUTTE <julien@moutte.net> * examples/gstplay/player.c: (got_eos), (main): Adding some output for debugging. * gst-libs/gst/play/play.c: (gst_play_state_change): Stop our timeouts if we go to any state different from PLAYING. * gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek): Fix some more EOS bugs in riff lib.
2004-02-14gst-libs/gst/play/play.c: Disable visualization until i find a way to fix ↵Julien Moutte1-2/+3
switch correctly. Original commit message from CVS: 2004-02-14 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/play.c: (gst_play_connect_visualization): Disable visualization until i find a way to fix switch correctly. * gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head): Fix a bug when EOS arrives. * gst/switch/gstswitch.c: (gst_switch_release_pad), (gst_switch_request_new_pad), (gst_switch_poll_sinkpads), (gst_switch_loop), (gst_switch_dispose), (gst_switch_class_init): Reworked switch to get a more correct behaviour with events and refing of data stored in sinkpads. * gst/switch/gstswitch.h: Adding an eos flag for every sinkpad so that we don't pull from a pad in EOS.
2004-02-07Build fixes for OS X: (see #129600)David Schleef1-4/+4
Original commit message from CVS: Build fixes for OS X: (see #129600) * gst-libs/gst/riff/riff-read.c: (gst_riff_read_strh), (gst_riff_read_strf_vids), (gst_riff_read_strf_auds), (gst_riff_read_strf_iavs): * gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih), (gst_avi_demux_stream_odml): * gst/playondemand/Makefile.am: * gst/rtp/rtp-packet.c:
2004-02-05gst-libs/gst/riff/riff-read.c: use correct GST_TAG_ENCODER tagBenjamin Otte1-1/+1
Original commit message from CVS: 2004-02-05 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst-libs/gst/riff/riff-read.c: (gst_riff_read_info): use correct GST_TAG_ENCODER tag
2004-02-02change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele1-7/+7
Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
2004-01-30gst/: Fix event handling.Ronald S. Bultje1-14/+18
Original commit message from CVS: 2004-01-30 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head), (gst_riff_read_seek): * gst/matroska/ebml-read.c: (gst_ebml_read_element_id), (gst_ebml_read_seek): Fix event handling.
2004-01-29GST_ELEMENT_ERRORThomas Vander Stichele1-8/+8
Original commit message from CVS: GST_ELEMENT_ERROR
2004-01-25gst-libs/gst/riff/riff-read.c: Additional pad usability check.Ronald S. Bultje1-1/+1
Original commit message from CVS: 2004-01-25 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst-libs/gst/riff/riff-read.c: (gst_riff_read_info): Additional pad usability check. * gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_init), (mp1videoparse_find_next_gop), (gst_mp1videoparse_time_code), (gst_mp1videoparse_real_chain): Fix MPEG video stream parsing. The original plugin had several issues, including not timestamping streams where the source was not timestamped (this happens with PTS values in mpeg system streams, but MPEG video is also a valid stream on its own so that needs timestamps too). We use the display time code for that for now. Also, if one incoming buffer contains multiple valid frames, we push them all on correctly now, including proper EOS handling. Lastly, several potential segfaults were fixed, and we properly sync on new sequence/gop headers to include them in next, not previous frames (since they're header for the next frame, not the previous). Also see #119206. * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain), (bpf_from_header): Move caps setting so we only do it after finding several valid MPEG-1 fraes sequentially, not right after the first one (which might be coincidental). * gst/typefind/gsttypefindfunctions.c: (mpeg1_sys_type_find), (mpeg_video_type_find), (mpeg_video_stream_type_find), (plugin_init): Add unsynced MPEG video stream typefinding, and change some probability values so we detect streams rightly. The idea is as follows: I can have an unsynced system stream which contains video. In the current code, I would randomly get a type for either system or video stream type found, because the probabilities are being calculated rather randomly. I now use fixed values, so we always prefer system stream if that was found (and that is how it should be). If no system stream was found, we can still identity the stream as video-only.
2004-01-23gst-libs/gst/riff/riff-read.*: Remove stuff fromold metadata system.Ronald S. Bultje2-34/+0
Original commit message from CVS: 2004-01-23 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst-libs/gst/riff/riff-read.c: (gst_riff_read_class_init), (gst_riff_read_init), (gst_riff_read_change_state): * gst-libs/gst/riff/riff-read.h: Remove stuff fromold metadata system.
2004-01-23ext/ogg/gstoggdemux.c: Fix wrong file comment.Ronald S. Bultje1-29/+59
Original commit message from CVS: 2004-01-23 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/ogg/gstoggdemux.c: Fix wrong file comment. * gst-libs/gst/riff/riff-read.c: (gst_riff_read_info): * gst/avi/gstavidemux.c: (gst_avi_demux_stream_header): Add metadata reading properly.
2004-01-18use new error signal and classificationThomas Vander Stichele1-10/+9
Original commit message from CVS: use new error signal and classification
2004-01-09ext/divx/gstdivxenc.c: Use explicit caps - fix capsnego.Ronald S. Bultje1-1/+2
Original commit message from CVS: 2004-01-09 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/divx/gstdivxenc.c: (gst_divxenc_init): Use explicit caps - fix capsnego. * ext/xvid/gstxviddec.c: * ext/xvid/gstxvidenc.c: Remove macro-inside-macro which caused compile errors. * gst-libs/gst/riff/riff-read.c: (gst_riff_read_header): Error out if it's not a RIFF file. Else we error out without gst_element_error() which is not good...
2003-12-22Merge CAPS branchDavid Schleef2-203/+108
Original commit message from CVS: Merge CAPS branch
2003-12-18Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the ↵Ronald S. Bultje1-2/+3
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.
2003-12-15MP3 is mpegversion=1, else it clashes with MPEG/AACRonald S. Bultje1-2/+3
Original commit message from CVS: MP3 is mpegversion=1, else it clashes with MPEG/AAC
2003-12-07Whoops, this one is needed tooRonald S. Bultje2-4/+102
Original commit message from CVS: Whoops, this one is needed too
2003-12-07Hm, darn, forgot to commit one dirRonald S. Bultje10-936/+1724
Original commit message from CVS: Hm, darn, forgot to commit one dir
2003-12-04remove copyright field from pluginsAndy Wingo1-1/+0
Original commit message from CVS: remove copyright field from plugins
2003-11-07Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje3-0/+11
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
2003-11-03use top-level defined plugindirDavid Schleef1-2/+1
Original commit message from CVS: use top-level defined plugindir
2003-10-31first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, ↵Benjamin Otte1-5/+13
sys/oss, ext/gnomevfs, gst/typefind and ex... Original commit message from CVS: first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, sys/oss, ext/gnomevfs, gst/typefind and ext/mad. You guessed it, everything Rhythmbox needs ;) fixed BMP typefind and made gnomevfs one plugin instead of two while doing this
2003-09-11Remove all locally-defined optimization flagsDavid Schleef1-1/+1
Original commit message from CVS: Remove all locally-defined optimization flags
2003-09-03Remove vestigal code (#121174)David Schleef1-11/+0
Original commit message from CVS: Remove vestigal code (#121174)
2003-08-13clean up code, fix typos in lst checkinDavid Schleef2-11/+9
Original commit message from CVS: clean up code, fix typos in lst checkin
2003-08-13Move some code from wavparseDavid Schleef2-0/+28
Original commit message from CVS: Move some code from wavparse
2003-06-29compatibility fix for new GST_DEBUG stuff.Benjamin Otte2-18/+18
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.
2003-05-22This ISO_VARARGS macro is more consistant with the others.Brian Cameron1-1/+1
Original commit message from CVS: This ISO_VARARGS macro is more consistant with the others.
2003-05-21Corrected the configure.ac so it actually works. Updated some c files so ↵Brian Cameron1-0/+8
that they build on Solaris. This mostly in... Original commit message from CVS: Corrected the configure.ac so it actually works. Updated some c files so that they build on Solaris. This mostly involved supporting ISO style variable-argument macros.
2003-05-21Updated autogen.sh/configure.ac and various Makefiles to make the configure ↵Brian Cameron1-1/+1
script set up all gcc specific compiler a... Original commit message from CVS: Updated autogen.sh/configure.ac and various Makefiles to make the configure script set up all gcc specific compiler arguments, rather than hardcoding them in the Makefile.am files
2003-01-31Renamed GST_RIFF_WAVE_FORMAT_DIVX and _divx to _DIVX_WMAV1 and _DIVX_WMAV2 ↵Owen Fraser-Green1-2/+3
and added _WMAV9 Original commit message from CVS: Renamed GST_RIFF_WAVE_FORMAT_DIVX and _divx to _DIVX_WMAV1 and _DIVX_WMAV2 and added _WMAV9
2003-01-31Add metadata/streaminfo to AVIRonald S. Bultje1-0/+26
Original commit message from CVS: Add metadata/streaminfo to AVI