Commit graph

43 commits

Author SHA1 Message Date
Thomas Vander Stichele
ed8f44a90e sys/v4l/v4l_calls.c: check for and throw RESOURCE_BUSY
Original commit message from CVS:

* sys/v4l/v4l_calls.c: (gst_v4l_open):
check for and throw RESOURCE_BUSY
2006-01-28 16:35:47 +00:00
Jan Schmidt
674ee67e8b ext/libvisual/visual.c: Fix the fps calculations.
Original commit message from CVS:

* ext/libvisual/visual.c: (gst_visual_chain):
Fix the fps calculations.

* gst/ffmpegcolorspace/avcodec.h:
Move structure element for clarity

* gst-libs/gst/interfaces/tunernorm.c: (gst_tuner_norm_init):
* gst-libs/gst/interfaces/tunernorm.h:
* sys/v4l/gstv4ljpegsrc.c: (gst_v4ljpegsrc_src_link):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_base_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_base_init),
(gst_v4lmjpegsrc_get_fps), (gst_v4lmjpegsrc_src_convert),
(gst_v4lmjpegsrc_src_query), (gst_v4lmjpegsrc_get),
(gst_v4lmjpegsrc_getcaps):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate), (gst_v4lsrc_get_caps),
(gst_v4lsrc_set_caps):
* sys/v4l/gstv4lsrc.h:
* sys/v4l/v4l_calls.c: (gst_v4l_open):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_get_fps),
(gst_v4lsrc_get_fps_list), (gst_v4lsrc_buffer_new):
* sys/v4l/v4lsrc_calls.h:
Fractional framerates...
2005-11-22 23:39:12 +00:00
Andy Wingo
84761c6a82 sys/v4l/v4lsrc_calls.*: Remove sync-related stuff.
Original commit message from CVS:
2005-07-07  Andy Wingo  <wingo@pobox.com>

* sys/v4l/v4lsrc_calls.h:
* sys/v4l/v4lsrc_calls.c: Remove sync-related stuff.
(gst_v4lsrc_get_fps_list): Moved here from gstv4lsrc.c.
(gst_v4lsrc_buffer_new): Totally derive from GstBuffer.

* sys/v4l/v4l_calls.h: Cast to V4lElement.
* sys/v4l/v4l_calls.c: Header loc fixen, don't load mjpeg, all
v4lelements are sources.

* sys/v4l/gstv4lxoverlay.h:
* sys/v4l/gstv4lxoverlay.c:
* sys/v4l/gstv4ltuner.h:
* sys/v4l/gstv4ltuner.c: Header loc fixen.

* sys/v4l/gstv4lsrc.h:
* sys/v4l/gstv4lsrc.c: Crucial GPL update. Clean up a bit, port to
PushSrc/BaseSrc. Removed most sync-related properties, videorate
or something should handle that. Made a live source.

* sys/v4l/gstv4lelement.h:
* sys/v4l/gstv4lelement.c: Derive from GstPushSrc. No more
signals. Some cleanups.

* sys/v4l/gstv4lcolorbalance.h: Interface header update.

* sys/v4l/gstv4l.c: Don't register v4lelement, or the jpeg/mjpeg
stuff.

* sys/v4l/Makefile.am: Build everything except the jpeg/mjpeg
stuff.

* sys/Makefile.am (SUBDIRS): Hit the V4L crack pipe.
2005-07-07 11:29:29 +00:00
Ronald S. Bultje
5a7c2ff712 sys/v4l/gstv4lsrc.c: Set FPS correctly, even for webcams and the like.
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_getcaps):
Set FPS correctly, even for webcams and the like.
* sys/v4l/v4l_calls.c: (gst_v4l_set_chan_norm):
Don error on setting while capturing.
2005-01-14 22:39:37 +00:00
Ronald S. Bultje
56ba2a4a6d sys/v4l/v4l_calls.c: Fix logic bug.
Original commit message from CVS:
* sys/v4l/v4l_calls.c: (gst_v4l_get_chan_names):
Fix logic bug.
2004-12-01 22:47:41 +00:00
Zaheer Abbas Merali
3e6dfe2955 sys/v4l/v4l_calls.c: Fix for some v4l cards which hang in v4lsrc
Original commit message from CVS:
2004-10-25  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

reviewed by: Ronald Bultje <rbultje at gnome dot org>

* sys/v4l/v4l_calls.c: (gst_v4l_get_chan_names):
Fix for some v4l cards which hang in v4lsrc
2004-10-25 18:42:47 +00:00
Thomas Vander Stichele
df4c4fbead fix fixate and link
Original commit message from CVS:
fix fixate and link
2004-08-12 15:58:52 +00:00
Thomas Vander Stichele
b72439823e add autoprobe option fixes use try_capture
Original commit message from CVS:
add autoprobe option
fixes
use try_capture
2004-06-17 17:06:24 +00:00
Thomas Vander Stichele
5e9b6aab3b paranoia cleanups and a sync fix
Original commit message from CVS:
paranoia cleanups and a sync fix
2004-06-15 09:11:06 +00:00
Thomas Vander Stichele
f8044583c0 negotiating webcam framerate now works
Original commit message from CVS:
negotiating webcam framerate now works
2004-06-09 11:32:39 +00:00
Thomas Vander Stichele
765f8c50ba changing debug stuff
Original commit message from CVS:
changing debug stuff
2004-06-08 16:45:19 +00:00
Stéphane Loeuillet
f47ad86b73 gst-libs/gst/tuner/tunerchannel.h: - add a freq_multiplicator field to make the conversion between internal frequency...
Original commit message from CVS:
* gst-libs/gst/tuner/tunerchannel.h:
- add a freq_multiplicator field to make the conversion
between internal frequency unit and Hz
* sys/v4l/gstv4lelement.c:
* sys/v4l2/gstv4l2element.c:
- change default video device to /dev/video0
* sys/v4l/v4l_calls.c:
* sys/v4l2/v4l2_calls.c:
- we only expose frequency to the user in Hz instead of
bastard v4lX unit (either 62.5kHz or 62.5Hz)
2004-05-31 14:16:54 +00:00
Thomas Vander Stichele
7da21bd2e8 query v4lsrc device for fps (which works for webcams)
Original commit message from CVS:
query v4lsrc device for fps (which works for webcams)
2004-05-03 17:26:43 +00:00
Thomas Vander Stichele
4676f68803 ext/divx/gstdivxenc.c: fix range since -1 is the default
Original commit message from CVS:
* ext/divx/gstdivxenc.c: (gst_divxenc_get_type),
(gst_divxenc_class_init):
fix range since -1 is the default
* gst/mpeg1sys/gstmpeg1systemencode.c:
(gst_mpeg1_system_encode_get_type), (gst_system_encode_multiplex):
* gst/rtjpeg/gstrtjpegdec.c: (gst_rtjpegdec_get_type),
(gst_rtjpegdec_chain):
* gst/rtjpeg/gstrtjpegenc.c: (gst_rtjpegenc_get_type),
(gst_rtjpegenc_chain):
* sys/qcam/gstqcamsrc.c: (gst_autoexp_mode_get_type),
(gst_qcamsrc_get_type), (gst_qcamsrc_change_state):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_get_type):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get_type):
* sys/v4l/gstv4lsrc.c:
* sys/v4l/v4l_calls.c: (gst_v4l_open):
* sys/v4l/v4lmjpegsink_calls.c: (gst_v4lmjpegsink_playback_init):
* sys/v4l/v4lmjpegsrc_calls.c: (gst_v4lmjpegsrc_capture_init):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_capture_init):
* sys/vcd/vcdsrc.c: (vcdsrc_get_type), (vcdsrc_get):
remove gst_info calls
2004-05-03 14:31:47 +00:00
Thomas Vander Stichele
21dadc6449 fix v4l for qc-usb webcams
Original commit message from CVS:
fix v4l for qc-usb webcams
2004-04-27 11:33:52 +00:00
Thomas Vander Stichele
f83cb187de don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:32:28 +00:00
Thomas Vander Stichele
4df3f18839 gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:34 +00:00
Thomas Vander Stichele
8336c47f0c change NULL to (NULL) for GST_ELEMENT_ERROR
Original commit message from CVS:
change NULL to (NULL) for GST_ELEMENT_ERROR
Make sure errors end with "."
2004-02-02 17:23:33 +00:00
Thomas Vander Stichele
03caa97b73 GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
2004-01-29 23:20:45 +00:00
Thomas Vander Stichele
0d030dd3fa putting i18n in place for plugins
Original commit message from CVS:
putting i18n in place for plugins
2004-01-19 15:45:55 +00:00
Thomas Vander Stichele
b95a710d41 use new error signal and classification
Original commit message from CVS:
use new error signal and classification
2004-01-18 21:46:58 +00:00
Benjamin Otte
1400fdebaf This is unused when debugging is disabled
Original commit message from CVS:
This is unused when debugging is disabled
2003-11-12 02:47:50 +00:00
Ronald S. Bultje
2676b79eb6 Fix device probing from multiple childs. It's done once in the parent class only now, but the childs do get the corre...
Original commit message from CVS:
Fix device probing from multiple childs. It's done once in the parent class only now, but the childs do get the correct values. Also fixes an incorrect succesful state change if we opened a v4l device that doesn't have the capabilities that are needed by the plugin.
2003-11-09 20:54:24 +00:00
Ronald S. Bultje
0f124a569d Some interface implementations for video4linux/video4linux2 plugins: a Tuner interface, with which one can select inp...
Original commit message from CVS:
Some interface implementations for video4linux/video4linux2 plugins:
* a Tuner interface, with which one can select inputs and stations. Audio
work is underway here, but unfinished.
* A Xoverlay interface with which one can do simple overlay. Similar to
the API of the v4l/Xv XFree86 extension. Widget implementation for
GTK-2.0 coming up in the sandbox.
* Colorbalance - for adapting colors (brightness, contrast, etc.) - pretty
basic and maybe somewhat overdesigned. But it'll do for now.

Apart from these interfaces, there's also a loadable library 'xwindowlistener'
that listenes to X for the movement of a window and the overlap of other
windows. This is partly copied from xawtv (and thus partly GPL :(), but it's
needed for the xoverlay interface implementation in the v4l/v4l2 elements.

Lastly, some small changes to remove redundant properties from the v4l/v4l2
elements since these can be done much simpler. Comments appreciated!
2003-10-10 12:47:41 +00:00
Thomas Vander Stichele
453e9b8871 reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
2003-09-16 10:00:02 +00:00
Julien Moutte
26a16e00a3 Fixing gst_element_error calls
Original commit message from CVS:
Fixing gst_element_error calls
2003-09-15 17:21:31 +00:00
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
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
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
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
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
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
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
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
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
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
ce1c2530ce Various fixes
Original commit message from CVS:
Various fixes
2002-01-31 22:22:42 +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
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
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