summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/v4l2src_calls.c
Commit message (Collapse)AuthorAgeFilesLines
* sys/v4l2/v4l2src_calls.c: Fix hang.Ronald S. Bultje2004-10-241-0/+1
| | | | | | Original commit message from CVS: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_clear_format_list): Fix hang.
* sys/v4l2/gstv4l2element.h: Yet Another Hack (tm) for kernel header borkedness.Ronald S. Bultje2004-10-241-0/+4
| | | | | | | | | | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2element.h: Yet Another Hack (tm) for kernel header borkedness. * sys/v4l2/gstv4l2src.c: (gst_v4l2src_init), (gst_v4l2src_v4l2fourcc_to_caps), (gst_v4l2_fourcc_from_structure), (gst_v4l2src_link), (gst_v4l2src_getcaps), (gst_v4l2src_change_state): * sys/v4l2/gstv4l2src.h: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_capture_init), (gst_v4l2src_capture_start), (gst_v4l2src_capture_stop): Fix caps, keep track of state, work.
* don't mix tabs and spacesThomas Vander Stichele2004-03-151-41/+41
| | | | | Original commit message from CVS: don't mix tabs and spaces
* gst-indentThomas Vander Stichele2004-03-141-144/+160
| | | | | Original commit message from CVS: gst-indent
* code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines.David Schleef2004-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines. * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_event): * ext/flac/gstflactag.c: (gst_flac_tag_chain): * ext/xvid/gstxviddec.c: (gst_xviddec_src_link): * gst-libs/gst/play/play.c: (gst_play_get_sink_element): * gst/ac3parse/gstac3parse.c: (gst_ac3parse_chain): * gst/effectv/gstedge.c: (gst_edgetv_sinkconnect): * gst/effectv/gstvertigo.c: (gst_vertigotv_sinkconnect): * gst/intfloat/float22int.c: (gst_float2_2_int_getcaps), (gst_float2_2_int_link): * gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_chain_subtitle): * gst/rtjpeg/RTjpeg.c: (RTjpeg_init_mcompress): * gst/tcp/gsttcpsink.c: (gst_tcpsink_init_send): * gst/tcp/gsttcpsrc.c: (gst_tcpsrc_init_receive): * gst/udp/gstudpsink.c: (gst_udpsink_init_send): * gst/udp/gstudpsrc.c: (gst_udpsrc_init_receive): * sys/v4l/gstv4lelement.c: (gst_v4lelement_init): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture): * testsuite/gst-lint: Add tests for bzero and ;;
* change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele2004-02-021-11/+11
| | | | | | Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
* GST_ELEMENT_ERRORThomas Vander Stichele2004-01-291-11/+11
| | | | | Original commit message from CVS: GST_ELEMENT_ERROR
* another fixThomas Vander Stichele2004-01-191-1/+1
| | | | | Original commit message from CVS: another fix
* use new error signal and classificationThomas Vander Stichele2004-01-181-26/+30
| | | | | Original commit message from CVS: use new error signal and classification
* sys/v4l2/: add norm, channel and frequency properties.Benjamin Otte2004-01-121-368/+244
| | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de> * sys/v4l2/gstv4l2element.c: (gst_v4l2element_class_init), (gst_v4l2element_dispose), (gst_v4l2element_set_property), (gst_v4l2element_get_property): * sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults), (gst_v4l2_open): add norm, channel and frequency properties. * sys/v4l2/gstv4l2tuner.c: fixes for tuner interface changes * sys/v4l2/gstv4l2element.h: * sys/v4l2/gstv4l2src.c: * sys/v4l2/gstv4l2src.h: * sys/v4l2/v4l2src_calls.c: * sys/v4l2/v4l2src_calls.h: rework v4l2src to work with saa1734 cards and allow mmaped buffers.
* Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje2003-11-071-0/+4
| | | | | | | and remove duplicate config.h includes fro... Original commit message from CVS: Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
* compatibility fix for new GST_DEBUG stuff.Benjamin Otte2003-06-291-2/+2
| | | | | | | | 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.
* Actually, I didn't read the spec correctly. dohRonald S. Bultje2003-05-221-16/+2
| | | | | Original commit message from CVS: Actually, I didn't read the spec correctly. doh
* Fix for bttv driver (which doesn't seem to follow the v4l2 spec 100%?Ronald S. Bultje2003-05-221-1/+6
| | | | | Original commit message from CVS: Fix for bttv driver (which doesn't seem to follow the v4l2 spec 100%?
* Some final fixes for the v4lsrc elements. remove software sync thread (use ↵Ronald S. Bultje2003-05-211-34/+190
| | | | | | | | | | | | | | | | | | | 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.
* This implements filtered-caps negotiation for all the v4l*src elements, and ↵Ronald S. Bultje2003-05-101-0/+45
| | | | | | | 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
* Implement element synchronization (#108301)Ronald S. Bultje2003-05-021-0/+10
| | | | | Original commit message from CVS: Implement element synchronization (#108301)
* Unification of the way to speak to v4l2 and v4l elements... Also fix a ↵Ronald S. Bultje2003-03-021-46/+4
| | | | | | | 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
* v4l plugins: add open/close signals v4l2 plugins: add open/close signals ↵Ronald S. Bultje2002-11-131-14/+64
| | | | | | | | | | | | | | 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
* Let's use g_strerror() instead of strerror()Ronald S. Bultje2002-10-261-8/+8
| | | | | Original commit message from CVS: Let's use g_strerror() instead of strerror()
* Use strerror() instead of sys_errlist[] (deprecated)Ronald S. Bultje2002-10-241-8/+8
| | | | | Original commit message from CVS: Use strerror() instead of sys_errlist[] (deprecated)
* This fixes the video4linux/video4linux2 debug output, which had one \n too muchRonald S. Bultje2002-09-171-1/+1
| | | | | Original commit message from CVS: This fixes the video4linux/video4linux2 debug output, which had one \n too much
* this adds video4linux2 source and element plugins. The division in v4l2* ↵Ronald S. Bultje2002-09-091-0/+397
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.