Commit graph

103 commits

Author SHA1 Message Date
Thomas Vander Stichele
6db1495c32 sync mp3 caps
Original commit message from CVS:
sync mp3 caps
2004-06-14 10:58:27 +00:00
Benjamin Otte
81bbf631d5 ext/alsa/gstalsa.c: cast to GstClockTime to get higher granularity
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_samples_to_timestamp):
cast to GstClockTime to get higher granularity
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
use gst_element_set_time_delay to get the exact time
* ext/mad/gstmad.c: (gst_mad_chain):
use the negotiated rate instead of the current frame's rate which
might be wrong because of bit errors. This avoids emitting totally
bogus timestamps and screwing sync.
(fixes #143454)
2004-06-07 01:41:37 +00:00
Benjamin Otte
0746a067ed ext/mad/gstmad.c: don't unref the event twice
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_handle_event):
don't unref the event twice
2004-05-19 19:34:12 +00:00
Ronald S. Bultje
a32b513bfc ext/mad/gstmad.c: Fix for when the first format in a discont event is not a byte-based one. Should fix #137710.
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_handle_event):
Fix for when the first format in a discont event is not a
byte-based one. Should fix #137710.
2004-05-18 00:25:09 +00:00
Ronald S. Bultje
33e58c689e ext/mad/gstmad.c: Ignore CRCs by default (fixes #142566).
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_class_init), (gst_mad_init):
Ignore CRCs by default (fixes #142566).
2004-05-16 20:50:13 +00:00
Benjamin Otte
c1ff34505b ext/lame/gstlame.c: simplify
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_chain):
simplify
* ext/mad/gstmad.c: (gst_mad_handle_event):
fix event leak
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
be able to detect mp3 files < 4096 bytes
2004-05-07 00:43:50 +00:00
Thomas Vander Stichele
7dc9385301 do not change caps in middle of stream except on new streams fixes #139382
Original commit message from CVS:
do not change caps in middle of stream except on new streams
fixes #139382
2004-04-07 15:48:40 +00:00
Benjamin Otte
53fbf25868 ext/mad/gstmad.c: fix GST_FORMAT_TIME usage
Original commit message from CVS:
* ext/mad/gstmad.c: (normal_seek):
fix GST_FORMAT_TIME usage
2004-04-06 06:03:31 +00:00
Thomas Vander Stichele
43a9410066 more debugging, only reset caps when not in error
Original commit message from CVS:
more debugging, only reset caps when not in error
2004-04-05 12:28:57 +00:00
Thomas Vander Stichele
f8a4777286 add debug category + commenting and cleanups
Original commit message from CVS:
add debug category + commenting and cleanups
2004-04-05 11:38:04 +00:00
Thomas Vander Stichele
9ac53e9a2a don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:32:25 +00:00
Thomas Vander Stichele
908defa2c4 gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:30 +00:00
Thomas Vander Stichele
9dcd265258 report mode/layer/emph
Original commit message from CVS:
report mode/layer/emph
2004-03-06 18:39:39 +00:00
Christophe Fergeau
e81c3184bb ext/mad/gstmad.c: fixed caps leak
Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@gnome.org>

* ext/mad/gstmad.c: (gst_mad_chain): fixed caps leak
2004-03-06 18:22:51 +00:00
Christophe Fergeau
05a4a12c53 ext/mad/gstmad.c: send the average bitrate read from the xing header
Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@gnome.org>

* ext/mad/gstmad.c: (gst_mad_chain): send the average bitrate read
from the xing header
2004-03-06 16:02:21 +00:00
Christophe Fergeau
1391986f6e For some reason, I only committed a ChangeLog entry yesterday and not the corresponding code...
Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@gnome.org>

For some reason, I only committed a ChangeLog entry yesterday and
not the corresponding code...
* ext/mad/gstmad.c: Fix detection of Xing headers
* gst/tags/gstid3tag.c: Changes to support TLEN tags
2004-03-06 12:04:32 +00:00
Christophe Fergeau
9daabec27d ext/mad/: parse Xing header in vbr files, and report the parsed length as a GST_TAG_DURATION tag.
Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@gnome.org>

* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
* ext/mad/gstmad.c: (gst_mad_init), (is_xhead),
(mpg123_parse_xing_header), (gst_mad_chain): parse Xing header in vbr
files, and report the parsed length as a GST_TAG_DURATION tag.
* gst/tags/gstid3tag.c: support TLEN (duration) tag
2004-03-05 23:32:36 +00:00
Andy Wingo
9840e4882e gst/intfloat/, gst/oneton: Removed, replaced by audioconvert and interleave respectively.
Original commit message from CVS:
2004-02-20  Andy Wingo  <wingo@pobox.com>

* gst/intfloat/, gst/oneton: Removed, replaced by audioconvert and
interleave respectively.

* gst/interleave/deinterleave.c: New plugin: deinterleave
(replaces on oneton).
* gst/interleave/interleave.c: New plugin: interleave.
* gst/interleave/plugin.h: Support file.
* gst/interleave/plugin.c: Support file.

* configure.ac: Remove intfloat and oneton, add interleave.

* ext/sndfile/gstsf.c: Handle events better.

* gst/audioconvert/gstaudioconvert.c: Change to support int2float
and float2int operation. int2float has scheduling problems as
noted in in2float_chain.
2004-02-20 14:17:57 +00:00
Thomas Vander Stichele
2ce3a35e15 change NULL to (NULL) for GST_ELEMENT_ERROR
Original commit message from CVS:
change NULL to (NULL) for GST_ELEMENT_ERROR
Make sure errors end with "."
2004-02-02 17:23:32 +00:00
Thomas Vander Stichele
611d7f4dd0 GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
2004-01-29 23:20:44 +00:00
Thomas Vander Stichele
7a033494ea use new error signal and classification
Original commit message from CVS:
use new error signal and classification
2004-01-18 21:46:58 +00:00
David Schleef
763b096ef2 Convert elements to use gst_pad_use_explicit_caps() where appropriate.
Original commit message from CVS:
Convert elements to use gst_pad_use_explicit_caps() where appropriate.
2004-01-02 07:09:23 +00:00
David Schleef
ceb2719593 Negotiation fixes.
Original commit message from CVS:
Negotiation fixes.
2003-12-31 08:02:04 +00:00
David Schleef
200089a2ba Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:08 +00:00
Ronald S. Bultje
b26c0ce2c5 Fix crasher (#129287)
Original commit message from CVS:
Fix crasher (#129287)
2003-12-15 08:52:16 +00:00
Benjamin Otte
33da588e1b rework id3tag plugin to work as a) parser - just strip id3 tags b) tag reader - extract tags and go EOS c) tag writer...
Original commit message from CVS:
rework id3tag plugin to work as
a) parser - just strip id3 tags
b) tag reader - extract tags and go EOS
c) tag writer - change id3 tags
Included is some revamping to ease code to make it possible to strip id3tag from its mad dependency (without ID3v2 support), which would still make the parsing bits work. This is however not done yet.
This plugin supercedes the id3types plugin.
2003-12-09 16:33:52 +00:00
Andy Wingo
dbf9d697eb remove copyright field from plugins
Original commit message from CVS:
remove copyright field from plugins
2003-12-04 10:37:35 +00:00
Benjamin Otte
c5ca1b712d tagging stuff and build fixes. In detail:
Original commit message from CVS:
tagging stuff and build fixes. In detail:
- make gdk-pixbuf loader work when distchecking
- fix invalid syntax in ffmpeg Makefile. wildcards for EXTRA_DIST are not allowed. This broke builds where distdir != srcdir
- fix ffmpeg cvs grabbing when srcdir != distdir
- new id3tag plugin for id3 tag reading/writing (uses mad's libid3tag)
- mad and libid3tag require mad/libid3tag v0.15. Fixed configure to require that
- added ogg demuxer in ext/ogg. The demuxer does not handle events yet. Especially getting seeking right will require some effort or code copying from libvorbis.
- added raw vorbis detection to typefinding. oggdemux requires a typefind function to detect its contents.
- tags plugin in gst/tags. Provides API in <gst/tags/gsttagediting.h>. API includes tag matching GStreamer <=> ID3 and GStreamer <=> vorbis and writing/reading vorbiscomments or ID3v1 tags. Also included is a simple vorbiscomment reader/writer. Writing will not really work though until someone writes oggmux.
- various build fixes. Mostly missing (DIST)CLEANFILES.
- vorbisenc handles tag writing.

Now it's YOUR turn to fix and write more plugins that handle writing/reading of tags. :)
2003-11-24 04:08:47 +00:00
Leif Johnson
b71ed5aa7d + checking in plugin category changes
Original commit message from CVS:
+ checking in plugin category changes
2003-11-16 22:02:04 +00:00
Benjamin Otte
abfdbffca2 first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, 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-10-31 20:03:29 +00:00
Benjamin Otte
97bf62c74f merge TYPEFIND branch. Major changes:
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-28 20:52:41 +00:00
Andy Wingo
6300f2611c /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to 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-08 16:08:10 +00:00
Ronald S. Bultje
0ea59b7a7b New typefind system: bytestream is now part of the core all plugins have 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-10-01 13:14:51 +00:00
Thomas Vander Stichele
e78672327e reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
2003-09-16 10:00:00 +00:00
Benjamin Otte
4535cf586b converted gst_element_error to new format in ext/ - gettext pending
Original commit message from CVS:
converted gst_element_error to new format in ext/ - gettext pending
2003-09-15 01:08:38 +00:00
Ronald S. Bultje
6e8f57d253 gcc-2.9x fixes
Original commit message from CVS:
gcc-2.9x fixes
2003-08-02 00:56:11 +00:00
Joshua N. Pritikin
6dc7c1b621 Provide valuable diagnostics for seek events control by the GST_SEEK debug category.
Original commit message from CVS:
Provide valuable diagnostics for seek events control by the GST_SEEK
debug category.
2003-07-25 02:04:01 +00:00
David Schleef
dc18488304 Applied patch from vishnu to remove can_seek.
Original commit message from CVS:
Applied patch from vishnu to remove can_seek.
2003-07-17 08:32:06 +00:00
Ronald S. Bultje
ed2362149a New mimetypes gone into effect today - this commit changes all old mimetypes 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-07-06 20:49:50 +00:00
Benjamin Otte
b4786e830b compatibility fix for new GST_DEBUG stuff.
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-06-29 19:46:09 +00:00
Ronald S. Bultje
ef073e6ce2 Add duration field support to mad - thanks to Joshua
Original commit message from CVS:
Add duration field support to mad - thanks to Joshua
2003-06-07 00:28:20 +00:00
Wim Taymans
1b3a2a30f7 - fix timestamps
Original commit message from CVS:
- fix timestamps
2003-05-30 14:48:29 +00:00
Wim Taymans
6b8b864541 - Fix offset calculations
Original commit message from CVS:
- Fix offset calculations
2003-05-29 09:12:17 +00:00
Wim Taymans
1f7f70eac3 - update DURATION of the buffer too
Original commit message from CVS:
- update DURATION of the buffer too
- removed _FORMAT_UNITS (soon obsolete)
2003-05-24 10:14:39 +00:00
Wim Taymans
49352d0279 The final state change result is that of the parent
Original commit message from CVS:
The final state change result is that of the parent
2003-05-08 19:58:13 +00:00
Benjamin Otte
c19744b419 - if you don't know the timestamp, don't try to guess. Send an invalid one.
Original commit message from CVS:
- if you don't know the timestamp, don't try to guess. Send an invalid one.
- use new macro GST_CLOCK_TIME_IS_VALID
- send the first buffer, too (funny that nobody noticed for ages, that we don't send the first audio buffer ever, no?)
2003-04-13 03:11:06 +00:00
Wim Taymans
28aadf4801 Use refcounting helpers to make sure metadata and streaminfo caps are not leaked.
Original commit message from CVS:
Use refcounting helpers to make sure metadata and streaminfo caps
are not leaked.
2003-02-02 20:01:56 +00:00
Ronald S. Bultje
7111e0092d Fix bug 104344 and add a missing free()
Original commit message from CVS:
Fix bug 104344 and add a missing free()
2003-01-30 20:12:18 +00:00
Wim Taymans
7518d22e9b Seeking/indexing patch from vishnu
Original commit message from CVS:
Seeking/indexing patch from vishnu
2003-01-20 19:38:37 +00:00
Thomas Vander Stichele
616b2b2bd7 some code cleanup
Original commit message from CVS:
some code cleanup
2003-01-08 16:11:48 +00:00