summaryrefslogtreecommitdiffstats
path: root/gst/mpegaudioparse
AgeCommit message (Collapse)AuthorFilesLines
2004-07-27fix local includes and 64 bits constantsSteve Lhomme1-1/+1
Original commit message from CVS: fix local includes and 64 bits constants
2004-07-27more working pluginsSteve Lhomme1-3/+3
Original commit message from CVS: more working plugins
2004-07-27rename GStreamer-0.8.lib to libgstreamer.libSteve Lhomme1-2/+2
Original commit message from CVS: rename GStreamer-0.8.lib to libgstreamer.lib
2004-07-27avoid problems with math.h, fix release dependancySteve Lhomme1-3/+3
Original commit message from CVS: avoid problems with math.h, fix release dependancy
2004-07-26more plugins supported under windowsSteve Lhomme1-0/+148
Original commit message from CVS: more plugins supported under windows
2004-05-21first batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet1-2/+2
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
2004-04-20configure.ac: bump required gstreamer version to 0.8.1.1 because of ↵David Schleef1-2/+2
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-03-24gst/mpegaudioparse/gstmpegaudioparse.c: Fix buffer overflow read error.Ronald S. Bultje1-1/+1
Original commit message from CVS: * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain): Fix buffer overflow read error.
2004-03-15don't mix tabs and spacesThomas Vander Stichele1-75/+76
Original commit message from CVS: don't mix tabs and spaces
2004-03-15*.h: Revert indentingJohan Dahlin1-22/+19
Original commit message from CVS: * *.h: Revert indenting
2004-03-14gst-indentThomas Vander Stichele2-222/+240
Original commit message from CVS: gst-indent
2004-02-05gst/mpegaudioparse/gstmpegaudioparse.c: Unref leaked buffer. (Noticed by ↵David Schleef1-1/+4
Ronald) Original commit message from CVS: * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain): Unref leaked buffer. (Noticed by Ronald)
2004-01-30gst/mpegaudioparse/gstmpegaudioparse.c: Fix header parsing - stolen from ↵Ronald S. Bultje1-49/+31
ffmpeg (thank you! :) ). Original commit message from CVS: 2004-01-30 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_type_frame_length_from_header): Fix header parsing - stolen from ffmpeg (thank you! :) ).
2004-01-25gst-libs/gst/riff/riff-read.c: Additional pad usability check.Ronald S. Bultje1-14/+20
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-02Convert elements to use gst_pad_use_explicit_caps() where appropriate.David Schleef1-4/+2
Original commit message from CVS: Convert elements to use gst_pad_use_explicit_caps() where appropriate.
2003-12-22Merge CAPS branchDavid Schleef1-51/+34
Original commit message from CVS: Merge CAPS branch
2003-12-21Fix error in my previous commit - NULL was accidentily removed, leading to a ↵Ronald S. Bultje1-1/+2
segfault in gst-register Original commit message from CVS: Fix error in my previous commit - NULL was accidentily removed, leading to a segfault in gst-register
2003-12-21configure.ac: Improve mpeg2enc detection. This is for distributions that do ↵Ronald S. Bultje1-3/+4
ship mjpegtools, but without mpeg2enc. Al... Original commit message from CVS: 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net> * configure.ac: Improve mpeg2enc detection. This is for distributions that do ship mjpegtools, but without mpeg2enc. Also does object check for might there ever be ABI incompatibility. * ext/mpeg2enc/gstmpeg2enc.cc: Add Andrew as second maintainer (he's helping me), and also add an error if no caps was set. This happens if I pull before capsnego and that's something I should solve sometime else. * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_blockgroup): Fix time parsing. * gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_link), (gst_matroska_mux_track_header): Add caps to templates. * gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_sink_factory): Add mpegversion=1 to prevent confusion with MPEG/AAC. * gst/mpegstream/gstmpegdemux.c: Remove layer since it causes warnings about unfixed caps. * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get): Fix obvious typo (we error out if caps were set, we should of course error out if *no* caps were set). * sys/oss/gstosselement.c: (gst_osselement_convert): Fix format conversion, we confused bits/bytes. * sys/oss/gstosselement.h: Improve documentation for 'bps'. * sys/v4l/TODO: Remove stuff about plugins that need removing - this was done ages ago. * sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init), (gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query): * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_src_convert), (gst_v4lsrc_src_query): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_init), (gst_v4l2src_src_convert), (gst_v4l2src_src_query): Add get_query_types(), get_formats() and query() functions.
2003-12-04remove copyright field from pluginsAndy Wingo1-1/+0
Original commit message from CVS: remove copyright field from plugins
2003-11-16+ checking in plugin category changesLeif Johnson1-1/+1
Original commit message from CVS: + checking in plugin category changes
2003-11-07Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje1-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
2003-11-02WhaaaaaaaaaaaaaaaaaaaaaackRonald S. Bultje1-24/+27
Original commit message from CVS: Whaaaaaaaaaaaaaaaaaaaaaack
2003-10-28merge TYPEFIND branch. Major changes:Benjamin Otte3-99/+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
2003-10-08/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo1-3/+4
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.
2003-10-01New typefind system: bytestream is now part of the core all plugins have ↵Ronald S. Bultje3-308/+241
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
2003-09-16reverting error patch before making a branch.BRANCH-ERROR-ROOTBRANCH-ERRORThomas Vander Stichele1-3/+2
Original commit message from CVS: reverting error patch before making a branch.
2003-09-15converted gst_element_error to new format in gst/ - gettext pendingBenjamin Otte1-2/+3
Original commit message from CVS: converted gst_element_error to new format in gst/ - gettext pending
2003-09-12Add mpegversion(1) to the capsRonald S. Bultje1-0/+1
Original commit message from CVS: Add mpegversion(1) to the caps
2003-09-11Remove all locally-defined optimization flagsDavid Schleef1-4/+2
Original commit message from CVS: Remove all locally-defined optimization flags
2003-08-10Remove redundant plugindir definitionDavid Schleef1-1/+0
Original commit message from CVS: Remove redundant plugindir definition
2003-07-29Fix weird leftovers from the old mimetype era and also implement duration ↵Ronald S. Bultje1-2/+4
support Original commit message from CVS: Fix weird leftovers from the old mimetype era and also implement duration support
2003-07-08fix mp3 typefinding and included layer in found typeBenjamin Otte1-10/+18
Original commit message from CVS: fix mp3 typefinding and included layer in found type
2003-07-06Removed function that was only used by _loop(), which was removed by last ↵David Schleef1-18/+0
checkin Original commit message from CVS: Removed function that was only used by _loop(), which was removed by last checkin
2003-07-06New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje2-59/+63
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
2003-06-29compatibility fix for new GST_DEBUG stuff.Benjamin Otte2-24/+27
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-21Updated autogen.sh/configure.ac and various Makefiles to make the configure ↵Brian Cameron1-2/+2
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-04-10fixes to mp3 typefinding:Benjamin Otte1-27/+147
Original commit message from CVS: fixes to mp3 typefinding: - removed workaround that detected files with valid ID3v2 tag as mp3 (not needed anymore) Invalid files didn't occur because of broken length in the tag but because of padding in the beginning of the audio data most of the time. - fixed various assorted stuff in the old typefind function (like not adjusting buffer size after skipping) - added 2nd typefind function to detect mp3 streams (fixes #94113)
2003-04-07Fix a bunch of endianness conversions that were done as long instead of ↵David Schleef1-7/+7
int32. Should go into 0.6.1. Original commit message from CVS: Fix a bunch of endianness conversions that were done as long instead of int32. Should go into 0.6.1.
2003-04-04Partial fix for #109700. Should be applied to 0.6.1.David Schleef1-2/+2
Original commit message from CVS: Partial fix for #109700. Should be applied to 0.6.1.
2002-12-08Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flacIain Holmes2-4/+4
Original commit message from CVS: Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
2002-12-08parallel install fixesThomas Vander Stichele1-1/+1
Original commit message from CVS: parallel install fixes
2002-09-18plugins part of license field patchChristian Schaller1-0/+1
Original commit message from CVS: plugins part of license field patch
2002-09-11- Ripped some ID3 tag parsing from libid3 for typefind.Wim Taymans1-23/+40
Original commit message from CVS: - Ripped some ID3 tag parsing from libid3 for typefind. - Added ID3V1 to fypefind. - Don't check for a valid mp3 header after finding the ID3 tag as some ID3 tags seem broken.
2002-07-08- use _merge instead of _appendWim Taymans1-1/+1
Original commit message from CVS: - use _merge instead of _append - unref events
2002-04-20a hack to work around intltool's brokenness a current check for mpeg2dec ↵Andy Wingo1-3/+3
details->klass reorganizations an element br... Original commit message from CVS: * a hack to work around intltool's brokenness * a current check for mpeg2dec * details->klass reorganizations * an element browser that uses details->klass * separated cdxa parse out from the avi directory
2002-04-11GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory ↵Andy Wingo2-10/+10
and typefind. Original commit message from CVS: GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind. also, some -Werror fixes.
2002-04-06fixed first bunch of compiler warningsBenjamin Otte1-2/+2
Original commit message from CVS: fixed first bunch of compiler warnings
2002-03-24filter newlines out of GST_DEBUG statements to reflect new core behavior ↵Andy Wingo2-22/+22
fixes to adder's caps, again Original commit message from CVS: * filter newlines out of GST_DEBUG statements to reflect new core behavior * fixes to adder's caps, again
2002-03-20s/Gnome-Streamer/GStreamer/Andy Wingo3-3/+3
Original commit message from CVS: s/Gnome-Streamer/GStreamer/
2002-03-19removal of //-style comments don't link plugins to core libs -- the ↵Andy Wingo4-34/+34
versioning is done internally to the plugins with... Original commit message from CVS: * removal of //-style comments * don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct, and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.