Commit graph

690 commits

Author SHA1 Message Date
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
Ronald S. Bultje
bcf4679ab3 v4l plugins: add open/close signals v4l2 plugins: add open/close signals move source format enumeration from v4l2elem...
Original commit message from CVS:
v4l plugins:
* add open/close signals

v4l2 plugins:
* add open/close signals
* move source format enumeration from v4l2element to v4l2src
* adapt to the final v4l2 API in kernel 2.5 (patches for 2.4 on http://bytesex.org/patches)
* small tweaks
2002-11-13 12:35:56 +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
Ronald S. Bultje
3aa3407ca8 Let's use g_strerror() instead of strerror()
Original commit message from CVS:
Let's use g_strerror() instead of strerror()
2002-10-26 09:40:55 +00:00
Ronald S. Bultje
d09ec5ca08 Use strerror() instead of sys_errlist[] (deprecated)
Original commit message from CVS:
Use strerror() instead of sys_errlist[] (deprecated)
2002-10-24 12:04:14 +00:00
Ronald S. Bultje
b878bc1416 I'm such an idiot - these files should have been in a week ago
Original commit message from CVS:
I'm such an idiot - these files should have been in a week ago
2002-09-28 11:05:39 +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
Ronald S. Bultje
8635b377f9 This patch fixes some issues caused by design issues in video4linux, adds some nicety to video4linux2 plugins and doe...
Original commit message from CVS:
This patch fixes some issues caused by design issues in video4linux, adds
some nicety to video4linux2 plugins and does some more evil stuff:
* video4linux doesn't tell us which formats are supported by a card, so
the only way to know this is by simply trying it out. This patch adds that.
* v4lmjpegsink didnt have a bufferpool yet - is integrated now.
* all copy() bufferpool functions have been removed since they're not needed.
* v4lmjpegsink doesnt have a free() function, because hen playing the frames,
all this is already handled. When the frame is not played, nothing has to
be done. In total, the function is not needed.
* adds a get_caps() function to v4l2src
* some minor crap
2002-09-20 09:28:46 +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
Ronald S. Bultje
c75c3a3542 some enhancements for capsnego
Original commit message from CVS:
some enhancements for capsnego
2002-09-18 10:57:56 +00:00
Ronald S. Bultje
1e4feac240 This fixes the video4linux/video4linux2 debug output, which had one \n too much
Original commit message from CVS:
This fixes the video4linux/video4linux2 debug output, which had one \n too much
2002-09-17 17:45:19 +00:00
Ronald S. Bultje
a1055ebd6e This build bug accidently went into the CVS
Original commit message from CVS:
This build bug accidently went into the CVS
2002-09-17 12:25:49 +00:00
Ronald S. Bultje
899ab22256 Add the convert functions to the source pads of the video4linux and video4linux2 source plugins
Original commit message from CVS:
Add the convert functions to the source pads of the video4linux and video4linux2 source plugins
2002-09-16 21:01:43 +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
Ronald S. Bultje
41fc985089 This adds v4l2 stuff to the build system
Original commit message from CVS:
This adds v4l2 stuff to the build system
2002-09-09 07:15:56 +00:00
Ronald S. Bultje
9413402bc6 this adds video4linux2 source and element plugins. The division in v4l2* plugins is the same as for v4l1 - i.e. an el...
Original commit message from CVS:
this adds video4linux2 source and element plugins. The division in v4l2* plugins is the same as for v4l1 - i.e. an element, a src and a sink, but there won't be separate encoding plugins (like v4lmjpegsrc) - all functionality is (thanks to video4linux2) integrated in one plugin: v4l2src. v4l2sink is still to be done, that'll come later.
2002-09-09 07:14:35 +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
b5a39eb4c3 Added conditional for cdrom, someone needs to write a configure check to make this work
Original commit message from CVS:
Added conditional for cdrom, someone needs to write a configure check
to make this work
2002-07-27 01:38:32 +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
c5e4b06ff5 check for the proper dxr3 header aphabetization fixes
Original commit message from CVS:
* check for the proper dxr3 header
* aphabetization fixes
2002-03-29 00:41:45 +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
Benjamin Otte
8bca5e88ee adding 'videosink' element
Original commit message from CVS:
adding 'videosink' element
It's basically a rewritten xvideosink, but is more modular and allows 'hooks'.
It is needed by GstVideoWidget in gst-player
2002-03-02 17:55:33 +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
Thomas Vander Stichele
1b4db8ac52 reverting hadess's patch
Original commit message from CVS:
reverting hadess's patch
2002-01-17 12:59:54 +00:00
Bastien Nocera
511817763d - make the qcam plugin build only only platforms using NASM, ie. x86
Original commit message from CVS:
- make the qcam plugin build only only platforms using NASM, ie. x86
2002-01-17 00:36:01 +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
2f7d491580 applied taaz's virtual patch
Original commit message from CVS:
applied taaz's virtual patch
2001-12-20 21:28:35 +00:00
Thomas Vander Stichele
12e4f309b2 added qcam checks
Original commit message from CVS:
added qcam checks
2001-12-20 21:03:18 +00:00
Thomas Vander Stichele
b6b5c5a3fd vcd checks
Original commit message from CVS:
vcd checks
2001-12-20 20:44:05 +00:00
Thomas Vander Stichele
a17c37a04f added v4l handling
Original commit message from CVS:
added v4l handling
2001-12-20 20:37:57 +00:00
Thomas Vander Stichele
8ac390cb61 unforming dir names
Original commit message from CVS:
unforming dir names
2001-12-20 20:25:24 +00:00
Thomas Vander Stichele
f0bb7eef82 first batch
Original commit message from CVS:
first batch
2001-12-17 19:03:13 +00:00