Commit graph

126 commits

Author SHA1 Message Date
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
Wim Taymans
1c3dd75368 Remove redundant code, call real convert functions
Original commit message from CVS:
Remove redundant code, call real convert functions
2002-06-02 20:13:35 +00:00
Wim Taymans
f311f50684 UNIT -> UNITS
Original commit message from CVS:
UNIT -> UNITS
2002-06-02 17:06:46 +00:00
Wim Taymans
452ff33bb3 Only act when the seek worked.
Original commit message from CVS:
Only act when the seek worked.
2002-06-02 15:17:31 +00:00
Wim Taymans
05c26d51a3 Remove media specific seeking type in favour of unit. xvimage compile fix.
Original commit message from CVS:
Remove media specific seeking type in favour of unit.
xvimage compile fix.
2002-06-02 11:57:12 +00:00
Steve Baker
8d6dc6a67e add ranks only for plugins who participate in autoplugging. If you have a file that used to autoplug but doesn't any...
Original commit message from CVS:
add ranks only for plugins who participate in autoplugging.  If you have a file that used to autoplug but doesn't anymore, then let me know or add a rank to the missing element.
2002-05-31 08:24:31 +00:00
Wim Taymans
b482dd1ab1 Fix event problem.
Original commit message from CVS:
Fix event problem.
2002-05-30 19:06:44 +00:00
Wim Taymans
b0c33553d3 - Changed plugins for new APIs
Original commit message from CVS:
- Changed plugins for new APIs
- modularized audiofile.
- added seeking, query and convert functions for mad, mpeg2dec,
avidemux, mpegdemux, mpegparse
- sync updates to oss. removed the ossclock for now
2002-05-26 21:59:22 +00:00
Wim Taymans
7d3ce90c33 Reset some properties.
Original commit message from CVS:
Reset some properties.
Break out of the loop after state change to READY...
2002-05-07 21:02:24 +00:00
Andy Wingo
06989d4c52 a hack to work around intltool's brokenness a current check for mpeg2dec 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-20 21:42:51 +00:00
Wim Taymans
ff9836e8aa Don't try to continue parsing stuff after an error but skip the junk
Original commit message from CVS:
Don't try to continue parsing stuff after an error but skip the junk
2002-04-13 17:17:59 +00:00
Thomas Vander Stichele
66776ccfa7 spec fixes gst-launch-ext additions trying to fix up ieeetest but failed function collision in avifile dir
Original commit message from CVS:
* spec fixes
* gst-launch-ext additions
* trying to fix up ieeetest but failed
* function collision in avifile dir
2002-04-13 00:46:23 +00:00
Thomas Vander Stichele
1ed4713a08 cvs collision
Original commit message from CVS:
cvs collision
2002-04-12 10:27:16 +00:00
Andy Wingo
1f45cc0b2b GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory 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-11 20:42:25 +00:00
Wim Taymans
45dbf76d1b Changed to the new props API
Original commit message from CVS:
Changed to the new props API
Other small tuff.
2002-03-30 17:06:26 +00:00
Andy Wingo
2ebabe996e s/Gnome-Streamer/GStreamer/
Original commit message from CVS:
s/Gnome-Streamer/GStreamer/
2002-03-20 21:45:03 +00:00
Andy Wingo
20d957de03 get up-to-date with the gst_caps_debug api improved capsnego in mad improved capsnego in adder improved capsnego in i...
Original commit message from CVS:
* get up-to-date with the gst_caps_debug api
* improved capsnego in mad
* improved capsnego in adder
* improved capsnego in intfloat plugins
* unbroke capsnego in stereomono plugins
* fix cothread stack allocation within the main thread in new cothreads
2002-03-03 00:53:24 +00:00
Benjamin Otte
a77aca90da add an 'average-bitrate' property and everything necessary to compute it to mad
Original commit message from CVS:
add an 'average-bitrate' property and everything necessary to compute it to mad
2002-02-13 08:15:34 +00:00
Benjamin Otte
df0d0d6ba2 bugfix: make mad decode the whole stream
Original commit message from CVS:
bugfix: make mad decode the whole stream
2002-02-10 14:13:41 +00:00
Benjamin Otte
d08e532655 make mad use g_object_notify instead of events - includes creation of properties
Original commit message from CVS:
make mad use g_object_notify instead of events - includes creation of properties
2002-02-06 18:10:35 +00:00
Wim Taymans
fd97b5a8a3 Assorted fixes.
Original commit message from CVS:
Assorted fixes.
Use the new clocking stuff.
2002-02-03 20:10:04 +00:00
Wim Taymans
8693a11ba2 Bring the plugins in sync with the new core capsnego system.
Original commit message from CVS:
Bring the plugins in sync with the new core capsnego system.
Added some features, enhancements...
2002-01-13 22:27:24 +00:00
Wim Taymans
ee1612fb38 Use the low-level mad API to create a chain based plugin that does less memcpy's and memove's.
Original commit message from CVS:
Use the low-level mad API to create a chain based plugin that does less
memcpy's and memove's.
2001-12-28 01:59:26 +00:00
Wim Taymans
9a0d8226cc Fix a buffer leak
Original commit message from CVS:
Fix a buffer leak
2001-12-24 15:04:51 +00:00
Wim Taymans
d9d9741855 This looks better.
Original commit message from CVS:
This looks better.
2001-12-23 02:59:22 +00:00
Wim Taymans
124791bc84 Clean up the last buffers.
Original commit message from CVS:
Clean up the last buffers.
2001-12-23 02:55:39 +00:00
Wim Taymans
7d8f9d559f Various changes and cleanups.
Original commit message from CVS:
Various changes and cleanups.
2001-12-22 21:18:53 +00:00
Thomas Vander Stichele
37770a0f4c wtay's version
Original commit message from CVS:
wtay's version
2001-12-20 22:27:35 +00:00
Thomas Vander Stichele
1d55b3c653 mad plugin
Original commit message from CVS:
mad plugin
2001-12-20 22:10:54 +00:00