Commit graph

141 commits

Author SHA1 Message Date
Andy Wingo
82c42cb6fd implemented wait_async and unschedule ossclock, and support it in osssink -- 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
2003-07-03 14:35:50 +00:00
Benjamin Otte
90da904f1e 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:12 +00:00
Ronald S. Bultje
3deabb351e Remove NEW_MEDIA from plugins
Original commit message from CVS:
Remove NEW_MEDIA from plugins
2003-06-07 00:17:53 +00:00
Wim Taymans
f11e5be82f - use common code to write samples to the device
Original commit message from CVS:
- use common code to write samples to the device
- add some error handling
2003-05-31 14:14:21 +00:00
Wim Taymans
1cf238f9d4 - added gst_oss_clock_set_time to .h file
Original commit message from CVS:
- added gst_oss_clock_set_time to .h file
2003-05-24 10:55:02 +00:00
Wim Taymans
10bb03148d - UNITS -> DEFAULT
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.
2003-05-24 10:45:27 +00:00
Benjamin Otte
d1e45d83b9 properly get rid of clocks on disposal - be parent of own clock
Original commit message from CVS:
properly get rid of clocks on disposal - be parent of own clock
2003-05-10 11:35:59 +00:00
Ronald S. Bultje
cb0e1dd5d8 I'm too lazy to comment this
Original commit message from CVS:
Fix #106709 - waiting for approval in 0.6.1 - patch thanks to Peter N Lundblad <lundblad@linux.nu>
2003-04-04 21:02:18 +00:00
Ronald S. Bultje
8307214acf implement clocking set clock counter back to zero on ready->paused move open/close to ready/null instead of paused/re...
Original commit message from CVS:
* implement clocking
* set clock counter back to zero on ready->paused
* move open/close to ready/null instead of paused/ready.
* add random typos
2003-03-30 21:19:08 +00:00
David Schleef
df0b94aae4 Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer conversion.
Original commit message from CVS:
Change %lld, %llu to G_G[U]INT64_FORMAT globally.  Fix bad pointer->integer
conversion.
2003-02-02 05:26:29 +00:00
Wim Taymans
d1dcf80a9f Removed bogus patch 1.4 to make osssrc work again.
Original commit message from CVS:
Removed bogus patch 1.4 to make osssrc work again.
2003-01-27 20:36:46 +00:00
Wim Taymans
ae07474bb2 - Add error reporting
Original commit message from CVS:
- Add error reporting
- never return a NULL buffer
2003-01-27 20:23:55 +00:00
Wim Taymans
157cf016dc Enable sync again, for some reason it was disabled
Original commit message from CVS:
Enable sync again, for some reason it was disabled
2003-01-19 19:42:18 +00:00
Thomas Vander Stichele
52590aae8f until this reliably works for more than two media types, we're better off 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
2003-01-13 12:48:53 +00:00
Christian Schaller
e250f197a5 Applied patch from Martin Schlemmer for locking issue, see bug http://bugzilla.gnome.org/show_bug.cgi?id=102025
Original commit message from CVS:
Applied patch from Martin Schlemmer for locking issue, see bug http://bugzilla.gnome.org/show_bug.cgi?id=102025
2003-01-12 11:43:46 +00:00
Thomas Vander Stichele
c2a01f482c PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:32 +00:00
Thomas Vander Stichele
be876ae577 another batch of connect->link fixes please let me know about issues and 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
2003-01-10 10:22:25 +00:00
Wim Taymans
4d36ba7e87 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
Wim Taymans
a06b9161dc Update to new element sync API
Original commit message from CVS:
Update to new element sync API
2002-12-27 23:00:36 +00:00
Wim Taymans
dff7f0496f Properly reset the internal state without leaking the filehandle
Original commit message from CVS:
Properly reset the internal state without leaking the filehandle
2002-12-10 20:41:06 +00:00
Thomas Vander Stichele
e16c50551b parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:09 +00:00
Wim Taymans
4682001013 More refactoring osssrc has more features now, like query/convert etc
Original commit message from CVS:
More refactoring
osssrc has more features now, like query/convert etc
2002-12-07 20:54:47 +00:00
Wim Taymans
f5743b63de Some cleanups and refactoring make ossrc do good negotiation
Original commit message from CVS:
Some cleanups and refactoring
make ossrc do good negotiation
2002-12-07 14:25:18 +00:00
Iain Holmes
3a96272da6 Add an event handler to the GstOssSrc. Handle EOS events.
Original commit message from CVS:
Add an event handler to the GstOssSrc. Handle EOS events.
2002-12-06 01:23:41 +00:00
Thomas Vander Stichele
a03ceeadcb more useful error messages
Original commit message from CVS:
more useful error messages
- how about i18n ?
- is this really the best way to pass user-visible error messages ?
2002-12-03 09:39:52 +00:00
Iain Holmes
2c758796f5 Make the OSSSrc set the correct rate/number of channels as set in the GstCaps.
Original commit message from CVS:
Make the OSSSrc set the correct rate/number of channels as set in the GstCaps.
Handle state changes correctly according to docs/random/wtay/states
2002-12-03 00:36:54 +00:00
Wim Taymans
c2758dbd00 Moved clock set/get to class functions.
Original commit message from CVS:
Moved clock set/get to class functions.
2002-11-27 20:54:43 +00:00
Jeremy Simon
07f3eef84d Bug #94429 (open with O_NONBLOCK). I hope it's ok (wtay ?)
Original commit message from CVS:
Bug #94429 (open with O_NONBLOCK). I hope it's ok (wtay ?)
2002-11-24 11:45:03 +00:00
Wim Taymans
bb4952c055 Remove properties that can easily be found on the caps.
Original commit message from CVS:
Remove properties that can easily be found on the caps.
2002-11-02 13:42:01 +00:00
Thomas Vander Stichele
1f86b14dd6 oss debug backport fixes
Original commit message from CVS:
oss debug backport fixes
2002-09-23 09:09:41 +00:00
Christian Schaller
2ff64d483e plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:51 +00:00
Wim Taymans
2d22fed727 Some cleanups
Original commit message from CVS:
Some cleanups
2002-09-12 18:47:39 +00:00
Ronald S. Bultje
0b497b1634 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:40 +00:00
Thomas Vander Stichele
c897422d57 some wim forgot this
Original commit message from CVS:
some wim forgot this
2002-09-03 16:11:57 +00:00
Wim Taymans
a8b166e3e4 - Don't misuse fragment property for storing the fragment size
Original commit message from CVS:
- Don't misuse fragment property for storing the fragment size
- Better property descriptions
- correctly calculate fragment_time
2002-09-02 19:22:35 +00:00
Wim Taymans
7168a7b9c0 small sync fix
Original commit message from CVS:
small sync fix
2002-07-28 18:13:26 +00:00
Wim Taymans
ba4646de1f - eventmask/query/format functions
Original commit message from CVS:
- eventmask/query/format functions
- expose oss format as an enum
- moved default_pool allocation to where it is needed.
2002-07-24 21:46:03 +00:00
Wim Taymans
4453f03613 use new method names
Original commit message from CVS:
use new method names
2002-07-13 23:13:42 +00:00
Thomas Vander Stichele
88772a64b5 vishnu's patch
Original commit message from CVS:
vishnu's patch
2002-07-10 21:14:13 +00:00
Wim Taymans
c171c41417 unref events
Original commit message from CVS:
unref events
2002-07-08 19:44:28 +00:00
Wim Taymans
d80cba052a Small fix for event cleanup
Original commit message from CVS:
Small fix for event cleanup
2002-06-16 21:58:39 +00:00
Wim Taymans
efab9f1420 Implement element query fix convert bug
Original commit message from CVS:
Implement element query
fix convert bug
2002-06-08 23:45:12 +00:00
Thomas Vander Stichele
227da54688 UNITS
Original commit message from CVS:
UNITS
2002-06-02 15:57:30 +00:00
Wim Taymans
6a53e8ea4a Reenable oss clock
Original commit message from CVS:
Reenable oss clock
2002-06-02 14:28:04 +00:00
Wim Taymans
6bb455cdc9 Make elements nanoseconds aware
Original commit message from CVS:
Make elements nanoseconds aware
2002-06-02 13:25:40 +00:00
Wim Taymans
8b094e02a9 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:13 +00:00
Wim Taymans
9b020fb093 Some query and convert functions.
Original commit message from CVS:
Some query and convert functions.
2002-06-01 11:00:27 +00:00
Wim Taymans
ee0c7c63bc Don't call oss_clock methods on the clock
Original commit message from CVS:
Don't call oss_clock methods on the clock
2002-05-31 17:52:50 +00:00
Wim Taymans
38b9027f8c Slightly better sync if we could not resync the clock.
Original commit message from CVS:
Slightly better sync if we could not resync the clock.
2002-05-30 19:10:31 +00:00
Wim Taymans
40b3b23ce1 Resurect ossclock with a simple algorithm
Original commit message from CVS:
Resurect ossclock with a simple algorithm
2002-05-28 22:52:52 +00:00
Thomas Vander Stichele
2676502231 "pardon begg'd, Sir, I do think that my backside's not a sync"
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
2002-05-28 09:02:17 +00:00
Wim Taymans
fc8757bc01 Use alternative method for getting delay
Original commit message from CVS:
Use alternative method for getting delay
2002-05-27 23:15:56 +00:00
Thomas Vander Stichele
7ad2309eea virtual wtay patch
Original commit message from CVS:
virtual wtay patch
2002-05-27 23:02:02 +00:00
Wim Taymans
d05f8f80dc Added sync option to disable syncing to the clock.
Original commit message from CVS:
Added sync option to disable syncing to the clock.
2002-05-26 23:01:16 +00:00
Wim Taymans
91a716f915 - 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
Andy Wingo
7a81331d6d don't compile the oss helper by default
Original commit message from CVS:
don't compile the oss helper by default
2002-05-20 22:44:14 +00:00
Andy Wingo
5bb8c70ac5 temporary commit to resurrect osshelper.c, will fix...
Original commit message from CVS:
temporary commit to resurrect osshelper.c, will fix...
2002-05-20 22:39:57 +00:00
Andy Wingo
7758f308f3 get rid of evil gstosshelper (intended for use with LD_PRELOAD)
Original commit message from CVS:
get rid of evil gstosshelper (intended for use with LD_PRELOAD)
2002-05-20 22:21:35 +00:00
Wim Taymans
7f83fbc9fe Reset the handled number of samples when going to PAUSED
Original commit message from CVS:
Reset the handled number of samples when going to PAUSED
Some cleanups
2002-05-04 18:52:32 +00:00
Wim Taymans
71d810adff Fix clocking.
Original commit message from CVS:
Fix clocking.
2002-04-28 14:33:09 +00:00
Wim Taymans
ca8b0275ca More intelligent clock offset and sync.
Original commit message from CVS:
More intelligent clock offset and sync.
2002-04-28 13:25:08 +00:00
Andy Wingo
cca77e215b 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
Thomas Vander Stichele
4a596daeb3 more mergeback from the latest release
Original commit message from CVS:
more mergeback from the latest release
2002-04-15 09:27:03 +00:00
Benjamin Otte
599c0b188a revert part of a patch that broke BE machines
Original commit message from CVS:
revert part of a patch that broke BE machines
2002-04-14 19:59:24 +00:00
Thomas Vander Stichele
e1f6397f76 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
Andy Wingo
3a9c675a68 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
13d9e8d352 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
afb7bcab51 some s/KHz/Hz/ fixes in osssrc consistency-with-the-rest-of-gst adjustments
Original commit message from CVS:
* some s/KHz/Hz/ fixes in osssrc
* added dxr3 plugin from rehan khwaja <rehankhwaja@yahoo.com>, with some
consistency-with-the-rest-of-gst adjustments
2002-03-29 00:23:16 +00:00
David I. Lehn
983feed7a1 _get_property for curroffset should use g_value_get_ulong
Original commit message from CVS:
_get_property for curroffset should use g_value_get_ulong
2002-03-27 03:05:59 +00:00
Andy Wingo
29aa39e99c filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS:
* filter newlines out of GST_DEBUG statements to reflect new core behavior
* fixes to adder's caps, again
2002-03-24 22:07:03 +00:00
David I. Lehn
498fb7ef22 cosmetic
Original commit message from CVS:
cosmetic
2002-03-21 08:41:35 +00:00
Andy Wingo
d8e18eb071 s/Gnome-Streamer/GStreamer/
Original commit message from CVS:
s/Gnome-Streamer/GStreamer/
2002-03-20 21:45:03 +00:00
Andy Wingo
d6258153e0 removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-03-19 04:10:05 +00:00
Andy Wingo
0f1d754932 s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables variables are defined as make variables automagi...
Original commit message from CVS:
s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/

@-substitued variables variables are defined as make variables automagically,
and this gives the user the freedom to say make GST_PLUGIN_LDFLAGS=-myflag
2002-03-19 01:39:42 +00:00
Richard Boulton
58d346c0c4 Add timestamps to osssrc.
Original commit message from CVS:
Add timestamps to osssrc.
Remove unused member "seq".
2002-03-02 15:52:46 +00:00
Thomas Vander Stichele
a7f2831dd7 a few fixes
Original commit message from CVS:
* a few fixes
2002-02-21 13:49:11 +00:00
Thomas Vander Stichele
5500d710be fixed compiler warning in sink put debug output in proper categories don't set caps while opening device (in state ch...
Original commit message from CVS:
* fixed compiler warning in sink
* put debug output in proper categories
* don't set caps while opening device (in state change) since caps setting
is not allowed if element isn't ready yet
2002-02-21 10:47:27 +00:00
Thomas Vander Stichele
7858bbc88a remove weird thing code set caps on src pad as soon as card is opened
Original commit message from CVS:
remove weird thing code
set caps on src pad as soon as card is opened
2002-02-20 16:23:56 +00:00
Andy Wingo
6f2a22eb93 better capsnego in osssink s/parseau/auparse/ update volume, mulawdecode, auparse to new capsnego
Original commit message from CVS:
* better capsnego in osssink
* s/parseau/auparse/
* update volume, mulawdecode, auparse to new capsnego
2002-02-17 02:06:04 +00:00
Benjamin Otte
34ba44ffda - modified to use _notify
Original commit message from CVS:
- modified to use _notify
- no more //
- DON'T allow to set the device while device is open. _get_property("device") returns wrong device else
2002-02-07 14:32:36 +00:00
Wim Taymans
aff68553db Moved capsnego in ossrc to a more suitable place.
Original commit message from CVS:
Moved capsnego in ossrc to a more suitable place.
2002-02-05 21:58:41 +00:00
Wim Taymans
341e978125 Add the oss clock too.
Original commit message from CVS:
Add the oss clock too.
This one shows that there should be more infrastructure to dispatch clock
events.
2002-02-03 20:11:47 +00:00
Wim Taymans
98ffdface2 Assorted fixes.
Original commit message from CVS:
Assorted fixes.
Use the new clocking stuff.
2002-02-03 20:10:04 +00:00
Wim Taymans
a7928f4f94 Remove deprecated call.
Original commit message from CVS:
Remove deprecated call.
2002-02-02 16:26:41 +00:00
Wrobell
7304bf825b - plugins are built without versioning info
Original commit message from CVS:
- plugins are built without versioning info
2002-01-18 02:05:25 +00:00
Wim Taymans
97454065ce 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:25 +00:00
David I. Lehn
c656b5eab6 s/filter/plugin/ link plugins to GST_LIBS rearrange rules to a common format
Original commit message from CVS:
* s/filter/plugin/
* link plugins to GST_LIBS
* rearrange rules to a common format
2002-01-12 03:34:26 +00:00
Zeeshan Ali
85829a732d omega: you agreed on starting rate from 1000, which is really neeeded for Apps like mine(zchat)
Original commit message from CVS:
omega: you agreed on starting rate from 1000, which is really neeeded for Apps like mine(zchat)
2001-12-29 12:37:00 +00:00
Wim Taymans
0f1b49a387 Fixed some plugins
Original commit message from CVS:
Fixed some plugins
2001-12-28 20:24:41 +00:00
Wim Taymans
a81b495e22 Added better state change handling to osssink
Original commit message from CVS:
Added better state change handling to osssink
2001-12-25 02:17:53 +00:00
Thomas Vander Stichele
f0bb7eef82 first batch
Original commit message from CVS:
first batch
2001-12-17 19:03:13 +00:00