summaryrefslogtreecommitdiffstats
path: root/gst/mpegaudioparse
AgeCommit message (Collapse)AuthorFilesLines
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.
2002-03-19s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables ↵Andy Wingo1-2/+2
variables are defined as make variables automagi... Original commit message from CVS: s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables variables are defined as make variables automagically, and this gives the user the freedom to say make GST_PLUGIN_LDFLAGS=-myflag
2002-02-21Uhm, if I'll be fixing errors like this all over just because I'm enabling ↵Thomas Vander Stichele1-2/+2
plugin debug output for the first time, I'... Original commit message from CVS: Uhm, if I'll be fixing errors like this all over just because I'm enabling plugin debug output for the first time, I'm in for a world of hurt over the next few hours...
2002-02-08fixed silly bug apparently gcc 3 allows this according to gcc3Thomas Vander Stichele1-2/+2
Original commit message from CVS: fixed silly bug apparently gcc 3 allows this according to gcc3
2002-02-08bugfix: do Uraeus' job - no more //Benjamin Otte1-2/+2
Original commit message from CVS: bugfix: do Uraeus' job - no more //
2002-02-08bugfix: allow ID3v2 tags at start of audioBenjamin Otte1-1/+30
Original commit message from CVS: bugfix: allow ID3v2 tags at start of audio
2002-01-18- plugins are built without versioning infoWrobell1-0/+2
Original commit message from CVS: - plugins are built without versioning info
2002-01-13Bring the plugins in sync with the new core capsnego system.Wim Taymans1-1/+0
Original commit message from CVS: Bring the plugins in sync with the new core capsnego system. Added some features, enhancements...
2002-01-12s/filter/plugin/ link plugins to GST_LIBS rearrange rules to a common formatDavid I. Lehn1-2/+4
Original commit message from CVS: * s/filter/plugin/ * link plugins to GST_LIBS * rearrange rules to a common format
2001-12-28Fixed some pluginsWim Taymans1-6/+4
Original commit message from CVS: Fixed some plugins
2001-12-28Remove caps from the template for nowWim Taymans1-1/+3
Original commit message from CVS: Remove caps from the template for now
2001-12-28Don't set the capsWim Taymans1-2/+1
Original commit message from CVS: Don't set the caps
2001-12-23some changes, can't remember what :-)Andy Wingo1-1/+1
Original commit message from CVS: some changes, can't remember what :-)
2001-12-23much build fixage turns out synaesthesia and smoothwav depend on gtk, maybe ↵Andy Wingo1-1/+1
they should go to ext/ Original commit message from CVS: much build fixage turns out synaesthesia and smoothwav depend on gtk, maybe they should go to ext/