Commit graph

78 commits

Author SHA1 Message Date
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
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
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
Wim Taymans
15968144ba Fix the timestamps. A new incomming timestamp should not be used on a pertial buffer.
Original commit message from CVS:
Fix the timestamps. A new incomming timestamp should not be used on a
pertial buffer.
2002-09-18 22:04:32 +00:00
Christian Schaller
64789849a6 plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:46 +00:00
Wim Taymans
fc0a9cf215 Setting a GList as propsentry is not the same as a list
Original commit message from CVS:
Setting a GList as propsentry is not the same as a list
2002-09-17 23:47:57 +00:00
Wim Taymans
37a30ca3d0 - Small speed improvements
Original commit message from CVS:
- Small speed improvements
- added id3 tag support

This is a POC for metadata notification, benefits of using gobject
properties and GstCaps are basically:
- GstCaps as boxed type (g_strdup_value_contents() etc works)
- g_object_notify to notify the app of (new/updated) metadata
- deep_notify to get easily pass metadata up in the pipeline
- GstCaps API for easy parsing of lists, strings, ints etc.
- GstCaps mime type to describe the type of metadata (ID3 tags,
standard Gst tags etc)
- easy method of setting metadata on objects/pads (for encoders)
2002-09-17 21:40:37 +00:00
Ronald S. Bultje
0d5f4a02ca This updates all plugins to the new API for gst_pad_try_set_caps
Original commit message from CVS:
This updates all plugins to the new API for gst_pad_try_set_caps
2002-09-10 09:31:38 +00:00
Wim Taymans
e3329811fe grr..
Original commit message from CVS:
grr..
2002-09-02 19:07:01 +00:00
Wim Taymans
62579ab3f2 oops
Original commit message from CVS:
oops
2002-09-02 18:50:38 +00:00
Wim Taymans
70f2f1ba90 Make sure renegotiation happens after going to READY
Original commit message from CVS:
Make sure renegotiation happens after going to READY
2002-09-02 18:13:26 +00:00
Wim Taymans
5ac10a9303 Don't send event on unusable pads.
Original commit message from CVS:
Don't send event on unusable pads.
2002-08-02 11:29:59 +00:00
Wim Taymans
8e2de001d5 - Expose some object properties as enums
Original commit message from CVS:
- Expose some object properties as enums
- implement format/eventmask/querytype getters
- implement more efficient seeking with the new getters
2002-07-24 21:36:39 +00:00
Wim Taymans
c00336816a - unref events and pools
Original commit message from CVS:
- unref events and pools
- use _merge in mikmod instead of _append
2002-07-08 19:35:51 +00:00
Wim Taymans
bebb579a91 Move discont event back to where it was :)
Original commit message from CVS:
Move discont event back to where it was :)
2002-06-09 14:30:16 +00:00
Wim Taymans
1d77cd3e78 push the dicont right before pushing the new buffer
Original commit message from CVS:
push the dicont right before pushing the new buffer
2002-06-09 12:26:32 +00:00
Wim Taymans
51ce4737e2 Fix the event_free mess, do a mad_sync
Original commit message from CVS:
Fix the event_free mess, do a mad_sync
2002-06-09 11:29:14 +00:00