Commit graph

98 commits

Author SHA1 Message Date
Benjamin Otte
246a3667eb ext/mad/gstid3tag.c: Add guard against invalid utf-8 conversions in mad. Just in case.
Original commit message from CVS:
2004-01-07  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
Add guard against invalid utf-8 conversions in mad. Just in case.
2004-01-07 03:06:19 +00:00
David Schleef
151cca6d7f remove c99-ism
Original commit message from CVS:
remove c99-ism
2004-01-05 00:58:39 +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
Benjamin Otte
d6719d4e59 ext/mad/gstid3tag.c: Make id3tag use correct caps nego.
Original commit message from CVS:
2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/mad/gstid3tag.c: (gst_id3_tag_add_src_pad),
(gst_id3_tag_do_caps_nego), (gst_id3_tag_src_link):
Make id3tag use correct caps nego.
2003-12-27 13:54:15 +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
3199346aaf make tag encoding use utf-8. Use glib functions for character conversion
Original commit message from CVS:
make tag encoding use utf-8. Use glib functions for character conversion
2003-12-15 04:20:59 +00:00
Benjamin Otte
6eeca5fecf make id3v1 tag reading use internal function, which gets the charset conversion done better. And fix an error with un...
Original commit message from CVS:
make id3v1 tag reading use internal function, which gets the charset conversion done better. And fix an error with unset GstTagSetter tags when in tagsetting mode
2003-12-15 03:30:42 +00:00
Thomas Vander Stichele
1e8327f0c1 distcheck fixes
Original commit message from CVS:
distcheck fixes
2003-12-14 19:50:00 +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
a12e1eee6e oops, we use application/x-id3 as caps for id3 tags. Old code...
Original commit message from CVS:
oops, we use application/x-id3 as caps for id3 tags. Old code...
2003-11-24 21:00:36 +00:00
Benjamin Otte
f950c2d2ed forgot breaks and fixed a bogus 'value used uninitialized'
Original commit message from CVS:
forgot breaks and fixed a bogus 'value used uninitialized'
2003-11-24 16:44:28 +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
David Schleef
141645bc32 Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-10 00:01:58 +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
Wim Taymans
b5bee92a53 Fix plugins for new query API
Original commit message from CVS:
Fix plugins for new query API
2002-12-30 17:53:18 +00:00
Thomas Vander Stichele
39192aa969 people prefer mysterious failures
Original commit message from CVS:
people prefer mysterious failures
2002-12-13 10:23:07 +00:00
Thomas Vander Stichele
0820b958ef never hurts to make sure
Original commit message from CVS:
never hurts to make sure
2002-12-12 13:56:46 +00:00
Thomas Vander Stichele
7df5e894a6 move out some code to a function
Original commit message from CVS:
move out some code to a function
2002-12-11 21:57:39 +00:00
Iain Holmes
ac04104547 Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
Original commit message from CVS:
Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
2002-12-08 17:20:44 +00:00
Thomas Vander Stichele
f1f464b7b2 parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:04 +00:00
Wim Taymans
b4ee2a7763 Clear some more status variables
Original commit message from CVS:
Clear some more status variables
2002-12-07 14:32:21 +00:00
Wim Taymans
7a2515834a Small cleanups, remove properties that are in the streaminfo
Original commit message from CVS:
Small cleanups, remove properties that are in the streaminfo
2002-11-20 20:59:00 +00:00
Thomas Vander Stichele
73280091a3 sync with vorbisfile and media info stuff
Original commit message from CVS:
sync with vorbisfile and media info stuff
2002-11-11 13:54:52 +00:00
Wim Taymans
f8b0cdb562 - Renegotiate if format changes
Original commit message from CVS:
- Renegotiate if format changes
- properly skip the id3 tags
2002-11-08 20:39:58 +00:00
Wim Taymans
d27545a678 Don't decode stuff if the srcpad is not connected
Original commit message from CVS:
Don't decode stuff if the srcpad is not connected
Added half samplerate property and ignore_crc
2002-11-02 17:40:16 +00:00
Wim Taymans
e630a05347 Removed properties that can be retrived from pad caps and query functions
Original commit message from CVS:
Removed properties that can be retrived from pad caps and query
functions
2002-11-02 13:35:45 +00:00