Commit graph

229 commits

Author SHA1 Message Date
Ronald S. Bultje
33bfd20100 Unification of the way to speak to v4l2 and v4l elements... Also fix a segfautl when doing gst-inspect v4l2src
Original commit message from CVS:
Unification of the way to speak to v4l2 and v4l elements... Also fix a segfautl when doing gst-inspect v4l2src
2003-03-02 21:58:52 +00:00
Sjoerd Simons
ec25d2a65c I'm too lazy to comment this
Original commit message from CVS:
Some nicer softsync thread work (patch by sjoerd@luon.net)
2003-03-01 14:35:17 +00:00
Sjoerd Simons
6581670631 I'm too lazy to comment this
Original commit message from CVS:
close device if opening fails, and don't use audio if nothing was set (patch by sjoerd@luon.net)
2003-03-01 13:12:41 +00:00
Sjoerd Simons
b1972de393 Use GST_TIMEVAL_TO_TIME (patch from sjoerd@luon.net)
Original commit message from CVS:
Use GST_TIMEVAL_TO_TIME (patch from sjoerd@luon.net)
2003-03-01 13:11:02 +00:00
Ronald S. Bultje
39e02b7779 make v4l element do all calls in one thread, this makes performance much better (because of kernel locking, more thre...
Original commit message from CVS:
make v4l element do all calls in one thread, this makes performance much better (because of kernel locking, more threads doesn't make sense anyway)
2003-02-06 18:45:35 +00:00
David Schleef
0a1d9ddd6a 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
Ronald S. Bultje
4d7724b183 Don't use irrelevant debugging output on get_buffer calls
Original commit message from CVS:
Don't use irrelevant debugging output on get_buffer calls
2003-01-31 23:45:25 +00:00
Ronald S. Bultje
e346961876 Don't use irrelevant debugging output on get_buffer calls, and fix a race in v4lsrc
Original commit message from CVS:
Don't use irrelevant debugging output on get_buffer calls, and fix a race in v4lsrc
2003-01-31 23:44:40 +00:00
Thomas Vander Stichele
e976ccb298 PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:32 +00:00
Thomas Vander Stichele
9032557b33 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
5e702de8b4 Update to new element sync API
Original commit message from CVS:
Update to new element sync API
2002-12-27 23:00:37 +00:00
Steve Baker
7a05dcca91 need to cast the buffer funcs, for some reason
Original commit message from CVS:
need to cast the buffer funcs, for some reason
2002-12-20 23:14:41 +00:00
David Schleef
edc3c30fe7 fix stupid typo
Original commit message from CVS:
fix stupid typo
2002-12-20 20:23:37 +00:00
David Schleef
74931b8db0 Fix to allow parameters to be set by gst-launch
Original commit message from CVS:
Fix to allow parameters to be set by gst-launch
2002-12-20 20:12:28 +00:00
Thomas Vander Stichele
3b540378fb parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:09 +00:00
Ronald S. Bultje
3bc7e8a9c1 Fixes a bug discovered by Sjoerd Simons, thanks
Original commit message from CVS:
Fixes a bug discovered by Sjoerd Simons, thanks
2002-12-08 11:02:15 +00:00
Wim Taymans
8ea113adb1 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
Ronald S. Bultje
957282a65d 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:55 +00:00
David Schleef
048fd81203 Convert from pthreads to GThreads. Untested. BBB: feel free to revert this if it's horribly broken.
Original commit message from CVS:
Convert from pthreads to GThreads.  Untested.  BBB: feel free to revert
this if it's horribly broken.
2002-11-02 21:29:10 +00:00
Wim Taymans
9e7cf16bcf Include pthreads.h as the core doesn't use plain pthreads anymore
Original commit message from CVS:
Include pthreads.h as the core doesn't use plain pthreads anymore
2002-11-02 01:07:46 +00:00
Ronald S. Bultje
e087fcd25a 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
264077b956 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
aaf29dddef This is broken too... I'm a moron
Original commit message from CVS:
This is broken too... I'm a moron
2002-10-21 21:06:16 +00:00
Ronald S. Bultje
b39ccb1eab Blabla
Original commit message from CVS:
Blabla
2002-10-21 20:59:53 +00:00
Ronald S. Bultje
d33e6afa2f Ohmy, didnt anyone notice? this is horribly broken
Original commit message from CVS:
Ohmy, didnt anyone notice? this is horribly broken
2002-10-21 20:57:57 +00:00
Ronald S. Bultje
5264e71774 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
Ronald S. Bultje
20538dadc9 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
e127f803f0 plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:52 +00:00
Ronald S. Bultje
9f7340b4a4 some enhancements for capsnego
Original commit message from CVS:
some enhancements for capsnego
2002-09-18 10:57:56 +00:00
Ronald S. Bultje
45f6a1c5f0 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
cd4572dbed 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:42 +00:00
Ronald S. Bultje
95281dfe33 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
9c1e52ad11 This patch: 1) would provide v4l2 plugins, if only the CVS server wouldn't bork on all commits :-(. This patch will c...
Original commit message from CVS:
This patch:
1) would provide v4l2 plugins, if only the CVS server wouldn't bork on all commits :-(. This patch will come later on in a separate commit when SF fixes her repository.
2) it fixes capsnego for all the video4linux1 plugins
3) it rewrites the debugging of all v4l1 plugins, which now make use of the standard gstreamer debugging features (gst-mask=...). This should make debugging video4linux1/gstreamer problems much easier then it used to be.

VS: ----------------------------------------------------------------------
2002-09-09 07:12:29 +00:00
Steve Baker
3acd03c923 add #include <stdlib.h> where needed
Original commit message from CVS:
add #include <stdlib.h> where needed
2002-08-11 11:45:07 +00:00
Wim Taymans
496fd7942c Fix bufferpool compile issues. please test..
Original commit message from CVS:
Fix bufferpool compile issues. please test..
2002-07-08 22:18:49 +00:00
Wim Taymans
c75114628d - 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
34dc312371 We're till using micros for timestamps.
Original commit message from CVS:
We're till using micros for timestamps.
2002-05-08 20:21:45 +00:00
Steve Baker
c5dbaef236 div by zero bad
Original commit message from CVS:
div by zero bad
2002-04-14 10:27:10 +00:00
Andy Wingo
f7ebc8f95d 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:27 +00:00
Benjamin Otte
6d7191f9f0 fixed rest of warning for gcc 3 in /sys
Original commit message from CVS:
fixed rest of warning for gcc 3 in /sys
2002-04-06 15:14:41 +00:00
Wim Taymans
23d2a4198b 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
3e882a4bf3 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
Andy Wingo
1049c792c8 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:06 +00:00
Andy Wingo
1ee4a02043 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:43 +00:00
Thomas Vander Stichele
31a1183653 lib rename
Original commit message from CVS:
lib rename
2002-03-12 17:42:31 +00:00
Andy Wingo
c66bc3fa01 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:25 +00:00
Ronald S. Bultje
ab74586145 Actually forgot to add the overlay file itself
Original commit message from CVS:
Actually forgot to add the overlay file itself
2002-02-23 14:11:43 +00:00
Ronald S. Bultje
162086096d Added basic overlay support to v4l
Original commit message from CVS:
Added basic overlay support to v4l
2002-02-23 14:05:33 +00:00
Ronald S. Bultje
712fbd0e6b Small updates to avimux and the v4l plugins for usability in general
Original commit message from CVS:
Small updates to avimux and the v4l plugins for usability in general
2002-02-20 07:25:40 +00:00
Andy Wingo
f0f64e0786 update v4lmjpegsink to the newer clock api. i can't test this, though.
Original commit message from CVS:
update v4lmjpegsink to the newer clock api. i can't test this, though.
2002-02-16 17:09:01 +00:00
Ronald S. Bultje
1cf253d075 Get rid of the gst_element_info() and replace it with g_message()
Original commit message from CVS:
Get rid of the gst_element_info() and replace it with g_message()
2002-02-13 18:40:15 +00:00
Ronald S. Bultje
c28e95c7a2 And last but not least, update the TODO file
Original commit message from CVS:
And last but not least, update the TODO file
2002-02-04 19:47:37 +00:00
Ronald S. Bultje
d26a6881a9 Re-add v4lelement as an actual element. Useless within pipes but extremely useful in generic video4linux audodetectio...
Original commit message from CVS:
Re-add v4lelement as an actual element. Useless within pipes but extremely useful in generic video4linux audodetection of features and such
2002-02-04 19:45:56 +00:00
Ronald S. Bultje
c8168e2c31 Add an ugly hack for the capsnego system - this should be removed asap, but at least everything works now
Original commit message from CVS:
Add an ugly hack for the capsnego system - this should be removed asap, but at least everything works now
2002-02-04 19:45:02 +00:00
Wim Taymans
1330870c10 Assorted fixes.
Original commit message from CVS:
Assorted fixes.
Use the new clocking stuff.
2002-02-03 20:10:04 +00:00
Ronald S. Bultje
ab9253b9fe Oops - last minute fix
Original commit message from CVS:
Oops - last minute fix
2002-01-31 22:37:15 +00:00
Ronald S. Bultje
ce1c2530ce Various fixes
Original commit message from CVS:
Various fixes
2002-01-31 22:22:42 +00:00
Wim Taymans
c5f2cbad83 Some more v4lsrc fixes.
Original commit message from CVS:
Some more v4lsrc fixes.
2002-01-20 16:03:10 +00:00
Wim Taymans
27c702f5f3 Don't use v4lsrc before initializing it.
Original commit message from CVS:
Don't use v4lsrc before initializing it.
2002-01-20 12:27:11 +00:00
Wrobell
01220dec57 - plugins are built without versioning info
Original commit message from CVS:
- plugins are built without versioning info
2002-01-18 02:05:26 +00:00
Ronald S. Bultje
ad9974927b jpegmmx addition and some small changes
Original commit message from CVS:
jpegmmx addition and some small changes
2002-01-17 12:41:05 +00:00
Ronald S. Bultje
6dd1750d19 Updated all plugins to new capsnego format and added some small usability enhancements to v4lelement
Original commit message from CVS:
Updated all plugins to new capsnego format and added some small usability enhancements to v4lelement
2002-01-15 15:52:09 +00:00
Wim Taymans
5455dbbf3d 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
86ac7ebab9 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:27 +00:00
Ronald S. Bultje
7980d055bb Remind myself to change these changes back when we trash gtk-1.2
Original commit message from CVS:
Remind myself to change these changes back when we trash gtk-1.2
2002-01-07 19:19:29 +00:00
Ronald S. Bultje
c487900876 Compile fixes for gtk-1.2
Original commit message from CVS:
Compile fixes for gtk-1.2
2002-01-07 19:17:02 +00:00
Ronald S. Bultje
de654b5940 Some more explicit palette type handling
Original commit message from CVS:
Some more explicit palette type handling
2002-01-07 09:31:34 +00:00
Ronald S. Bultje
88b8dc6b63 rrrrrrrrrrrrrrright, v4lmjpegsrc works
Original commit message from CVS:
rrrrrrrrrrrrrrright, v4lmjpegsrc works
2002-01-06 21:38:22 +00:00
Ronald S. Bultje
130505618b Bugfixes - better said, v4lsrc works again (it was broken?) and v4lmjpegsrc/sink are being worked on
Original commit message from CVS:
Bugfixes - better said, v4lsrc works again (it was broken?) and v4lmjpegsrc/sink are being worked on
2002-01-04 23:58:11 +00:00
Wim Taymans
fe672ffe26 Fixed some plugins
Original commit message from CVS:
Fixed some plugins
2001-12-28 20:24:41 +00:00
Ronald S. Bultje
dcf3d39af1 Small changes and integration of norm and input autodetection for mjpegv4lsrc
Original commit message from CVS:
Small changes and integration of norm and input autodetection for mjpegv4lsrc
2001-12-28 19:54:23 +00:00
Thomas Vander Stichele
460f0a863f more distcheck fixes
Original commit message from CVS:
more distcheck fixes
2001-12-25 22:30:51 +00:00
Ronald S. Bultje
5001ef6c6a Removed one todo (already fixed)
Original commit message from CVS:
Removed one todo (already fixed)
2001-12-25 21:50:42 +00:00
Ronald S. Bultje
d728b4a2fe Minor updates
Original commit message from CVS:
Minor updates
2001-12-24 21:43:31 +00:00
Ronald S. Bultje
0574040487 First version of a MJPEG-V4L sink plugin
Original commit message from CVS:
First version of a MJPEG-V4L sink plugin
2001-12-24 21:42:14 +00:00
Ronald S. Bultje
580121964c Added pthread software sync for improved timestamps and pthread queue and sync control to make sure that frames are q...
Original commit message from CVS:
Added pthread software sync for improved timestamps and pthread queue and sync control to make sure that frames are queued if we sync on them
2001-12-23 19:14:18 +00:00
Ronald S. Bultje
ab228b7235 New video4linux plugins, can also handle hardware JPEG devices. First check-in, probably has lots of bugs which will ...
Original commit message from CVS:
New video4linux plugins, can also handle hardware JPEG devices. First check-in, probably has lots of bugs which will be fixed when we find them
2001-12-23 15:31:15 +00:00
Ronald S. Bultje
177e0e5c4b Byebye old plugins
Original commit message from CVS:
Byebye old plugins
2001-12-23 15:25:57 +00:00
Thomas Vander Stichele
37c4906a74 first batch
Original commit message from CVS:
first batch
2001-12-17 19:03:14 +00:00