Commit graph

87 commits

Author SHA1 Message Date
Benjamin Otte
ffa5706370 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
4867491632 Add some bugreport about spider+v4lsrc to TODO list (aka testing this CIA commit bot)
Original commit message from CVS:
Add some bugreport about spider+v4lsrc to TODO list (aka testing this CIA commit bot)
2003-06-01 20:55:38 +00:00
Wim Taymans
dc34530987 - UNITS -> DEFAULT
Original commit message from CVS:
- UNITS -> DEFAULT
2003-05-24 10:46:31 +00:00
Ronald S. Bultje
6ba3abb3a5 Some final fixes for the v4lsrc elements. remove software sync thread (use GST_ELEMENT_THREAD_SUGGESTED instead) make...
Original commit message from CVS:
Some final fixes for the v4lsrc elements.

* remove software sync thread (use GST_ELEMENT_THREAD_SUGGESTED instead)
* make all src elements threadsafe
* fix num_buffer argument setting in v4l2src (VIDIOC_S_PARM)
* re-add bufsize (RO) for v4lmjpegsrc
* fix the A/V sync calculation in all elements (spvf=GST_SECOND/fps, not GST_SECOND*fps)
* probably some more crap....

With all this, it actually works quite well. The TODO files describes the
next steps in order to make a full-featured video recorder based on these
elements and GStreamer (bottom). Making a simple recorder should be fairly
easy now, btw.
2003-05-21 06:33:18 +00:00
Ronald S. Bultje
8162e4b296 Un-globalize variable
Original commit message from CVS:
Un-globalize variable
2003-05-14 19:54:37 +00:00
Ronald S. Bultje
863a0f81f8 This implements filtered-caps negotiation for all the v4l*src elements, and removes the accompanying properties since...
Original commit message from CVS:
This implements filtered-caps negotiation for all the v4l*src elements, and removes the accompanying properties since they're no longer needed
2003-05-10 14:36:34 +00:00
Ronald S. Bultje
e8f3cb83ab Implement element synchronization (#108301)
Original commit message from CVS:
Implement element synchronization (#108301)
2003-05-02 21:16:55 +00:00
Ronald S. Bultje
c6809b3db0 Fix v4l/v4l2 compilation problems
Original commit message from CVS:
Fix v4l/v4l2 compilation problems
2003-03-09 15:07:53 +00:00
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