summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstosssink.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some clocking issue in OSS. The issue is that if we seek forward (note: ↵Ronald S. Bultje2003-12-161-15/+8
| | | | | | | specifically forward-only), then we call ... Original commit message from CVS: Fix some clocking issue in OSS. The issue is that if we seek forward (note: specifically forward-only), then we call handle_discont() before re-setting the clock to active. However, gstclock.c tells us that handle_discont only succeeds if allow_discont=TRUE, which is set in... set_active(TRUE). So, we first need to re-activate the clock and *then* call handle_discont(). More importantly, though, we should **NEVER EVER EVER EVER EVER** **NEVER EVER EVER EVER EVER** call clock_wait() after a forward discont without first having called handle_discont(). I don't know who added that code, but it's beyond fundamentally broken. clock_wait() **WAITS** until we're at the new given buftime, so if we do that on a forward-seek buffer, we... yes! we wait the amount of time that we seeked forward. Anyway, Apparently this code has been in here for quite a long time so I don't get how this can ever have worked...
* first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, ↵Benjamin Otte2003-10-311-22/+13
| | | | | | | | | 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
* /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo2003-10-081-2/+3
| | | | | | | 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.
* reverting error patch before making a branch.Thomas Vander Stichele2003-09-161-3/+1
| | | | | Original commit message from CVS: reverting error patch before making a branch.
* converted gst_element_error to new format in sys/oss - gettext pendingBenjamin Otte2003-09-151-1/+3
| | | | | Original commit message from CVS: converted gst_element_error to new format in sys/oss - gettext pending
* Interface implementation example: OSS mixer. Also osscommon->osselement so ↵Ronald S. Bultje2003-09-131-76/+26
| | | | | | | it can be loaded without being a source/si... Original commit message from CVS: Interface implementation example: OSS mixer. Also osscommon->osselement so it can be loaded without being a source/sink (for a stand-alone mixer)
* second attempt fixing gdkpixbuf stuffThomas Vander Stichele2003-07-281-1/+0
| | | | | | Original commit message from CVS: second attempt fixing gdkpixbuf stuff
* actually recurse into sndfile if we are able big ladspa cleanups, mainly to ↵Andy Wingo2003-07-161-7/+6
| | | | | | | | | | | | | | | | | comply with the buffer-frames caps proper... Original commit message from CVS: * actually recurse into sndfile if we are able * big ladspa cleanups, mainly to comply with the buffer-frames caps property, but also general cleanups - the samplerate prop is gone, if you want to set it explicitly (as in for get-based plugins) you need to use a filtered connection, just like with buffer-frames * big float2int and int2float changes for buffer-frames compatibility - I think it's quite a bit simpler * make the ossclock general, add it to gstaudio, and use it in sndfile as well i need to update mimetypes, but that's coming soon. there are some other plugins that don't support buffer-frames, i guess i need to get around to fixing them as well.
* New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje2003-07-061-3/+1
| | | | | | | 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
* implemented wait_async and unschedule ossclock, and support it in osssink -- ↵Andy Wingo2003-07-031-4/+9
| | | | | | | really should make this a general clock,... Original commit message from CVS: implemented wait_async and unschedule ossclock, and support it in osssink -- really should make this a general clock, ill need it in gstsf
* compatibility fix for new GST_DEBUG stuff.Benjamin Otte2003-06-291-2/+6
| | | | | | | | 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.
* Remove NEW_MEDIA from pluginsRonald S. Bultje2003-06-071-3/+0
| | | | | Original commit message from CVS: Remove NEW_MEDIA from plugins
* - use common code to write samples to the deviceWim Taymans2003-05-311-12/+20
| | | | | | Original commit message from CVS: - use common code to write samples to the device - add some error handling
* - UNITS -> DEFAULTWim Taymans2003-05-241-8/+26
| | | | | | | | Original commit message from CVS: - UNITS -> DEFAULT - added chunk_size option to osssink, buffers will be written to the devive in chunks of this size, this can increase the accuracy of the clock on some devices.
* properly get rid of clocks on disposal - be parent of own clockBenjamin Otte2003-05-101-1/+13
| | | | | Original commit message from CVS: properly get rid of clocks on disposal - be parent of own clock
* Enable sync again, for some reason it was disabledWim Taymans2003-01-191-2/+2
| | | | | Original commit message from CVS: Enable sync again, for some reason it was disabled
* until this reliably works for more than two media types, we're better off ↵Thomas Vander Stichele2003-01-131-2/+2
| | | | | | | | making FALSE the default Original commit message from CVS: until this reliably works for more than two media types, we're better off making FALSE the default
* PadConnect -> PadLinkThomas Vander Stichele2003-01-101-2/+2
| | | | | Original commit message from CVS: PadConnect -> PadLink
* another batch of connect->link fixes please let me know about issues and ↵Thomas Vander Stichele2003-01-101-5/+5
| | | | | | | | | | please refrain of making them yourself, so t... Original commit message from CVS: another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so that I don't spend double the time resolving conflicts
* Fix plugins for new query APIWim Taymans2002-12-301-11/+11
| | | | | Original commit message from CVS: Fix plugins for new query API
* Update to new element sync APIWim Taymans2002-12-271-2/+4
| | | | | Original commit message from CVS: Update to new element sync API
* Properly reset the internal state without leaking the filehandleWim Taymans2002-12-101-1/+1
| | | | | Original commit message from CVS: Properly reset the internal state without leaking the filehandle
* More refactoring osssrc has more features now, like query/convert etcWim Taymans2002-12-071-338/+43
| | | | | | Original commit message from CVS: More refactoring osssrc has more features now, like query/convert etc
* Some cleanups and refactoring make ossrc do good negotiationWim Taymans2002-12-071-69/+12
| | | | | | Original commit message from CVS: Some cleanups and refactoring make ossrc do good negotiation
* more useful error messagesThomas Vander Stichele2002-12-031-2/+32
| | | | | | | Original commit message from CVS: more useful error messages - how about i18n ? - is this really the best way to pass user-visible error messages ?
* Moved clock set/get to class functions.Wim Taymans2002-11-271-3/+3
| | | | | Original commit message from CVS: Moved clock set/get to class functions.
* Bug #94429 (open with O_NONBLOCK). I hope it's ok (wtay ?)Jeremy Simon2002-11-241-2/+3
| | | | | Original commit message from CVS: Bug #94429 (open with O_NONBLOCK). I hope it's ok (wtay ?)
* Remove properties that can easily be found on the caps.Wim Taymans2002-11-021-76/+0
| | | | | Original commit message from CVS: Remove properties that can easily be found on the caps.
* oss debug backport fixesThomas Vander Stichele2002-09-231-10/+48
| | | | | Original commit message from CVS: oss debug backport fixes
* plugins part of license field patchChristian Schaller2002-09-181-0/+2
| | | | | Original commit message from CVS: plugins part of license field patch
* Some cleanupsWim Taymans2002-09-121-0/+3
| | | | | Original commit message from CVS: Some cleanups
* - Don't misuse fragment property for storing the fragment sizeWim Taymans2002-09-021-35/+41
| | | | | | | Original commit message from CVS: - Don't misuse fragment property for storing the fragment size - Better property descriptions - correctly calculate fragment_time
* small sync fixWim Taymans2002-07-281-2/+2
| | | | | Original commit message from CVS: small sync fix
* - eventmask/query/format functionsWim Taymans2002-07-241-7/+59
| | | | | | | Original commit message from CVS: - eventmask/query/format functions - expose oss format as an enum - moved default_pool allocation to where it is needed.
* vishnu's patchThomas Vander Stichele2002-07-101-36/+37
| | | | | Original commit message from CVS: vishnu's patch
* unref eventsWim Taymans2002-07-081-2/+2
| | | | | Original commit message from CVS: unref events
* Small fix for event cleanupWim Taymans2002-06-161-2/+3
| | | | | Original commit message from CVS: Small fix for event cleanup
* Implement element query fix convert bugWim Taymans2002-06-081-5/+24
| | | | | | Original commit message from CVS: Implement element query fix convert bug
* UNITSThomas Vander Stichele2002-06-021-3/+3
| | | | | Original commit message from CVS: UNITS
* Reenable oss clockWim Taymans2002-06-021-1/+0
| | | | | Original commit message from CVS: Reenable oss clock
* Make elements nanoseconds awareWim Taymans2002-06-021-0/+1
| | | | | Original commit message from CVS: Make elements nanoseconds aware
* Remove media specific seeking type in favour of unit. xvimage compile fix.Wim Taymans2002-06-021-3/+3
| | | | | | Original commit message from CVS: Remove media specific seeking type in favour of unit. xvimage compile fix.
* Some query and convert functions.Wim Taymans2002-06-011-5/+108
| | | | | Original commit message from CVS: Some query and convert functions.
* Don't call oss_clock methods on the clockWim Taymans2002-05-311-1/+1
| | | | | Original commit message from CVS: Don't call oss_clock methods on the clock
* Slightly better sync if we could not resync the clock.Wim Taymans2002-05-301-0/+2
| | | | | Original commit message from CVS: Slightly better sync if we could not resync the clock.
* Resurect ossclock with a simple algorithmWim Taymans2002-05-281-12/+68
| | | | | Original commit message from CVS: Resurect ossclock with a simple algorithm
* "pardon begg'd, Sir, I do think that my backside's not a sync"Thomas Vander Stichele2002-05-281-1/+1
| | | | | | | Original commit message from CVS: "pardon begg'd, Sir, I do think that my backside's not a sync" Sorry for fixing this but I'm pretty anable that way
* Use alternative method for getting delayWim Taymans2002-05-271-1/+9
| | | | | Original commit message from CVS: Use alternative method for getting delay
* virtual wtay patchThomas Vander Stichele2002-05-271-1/+1
| | | | | Original commit message from CVS: virtual wtay patch
* Added sync option to disable syncing to the clock.Wim Taymans2002-05-261-2/+13
| | | | | Original commit message from CVS: Added sync option to disable syncing to the clock.