summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/v4l2src_calls.c
AgeCommit message (Collapse)AuthorFilesLines
2005-11-21Update for GST_FOURCC_FORMAT API change.Tim-Philipp Müller1-3/+4
Original commit message from CVS: * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_get_format_from_caps): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_create): * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (qtdemux_parse), (qtdemux_type_get), (qtdemux_node_dump_foreach), (qtdemux_dump_hdlr), (qtdemux_dump_dref), (qtdemux_dump_stsd), (qtdemux_dump_dcom), (qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_capture_init), (gst_v4l2src_get_size_limits): Update for GST_FOURCC_FORMAT API change.
2004-10-24sys/v4l2/v4l2src_calls.c: Fix hang.Ronald S. Bultje1-0/+1
Original commit message from CVS: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_clear_format_list): Fix hang.
2004-10-24sys/v4l2/gstv4l2element.h: Yet Another Hack (tm) for kernel header borkedness.Ronald S. Bultje1-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.
2004-03-15don't mix tabs and spacesThomas Vander Stichele1-41/+41
Original commit message from CVS: don't mix tabs and spaces
2004-03-14gst-indentThomas Vander Stichele1-144/+160
Original commit message from CVS: gst-indent
2004-02-02code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines.David Schleef1-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 ;;
2004-02-02change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele1-11/+11
Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
2004-01-29GST_ELEMENT_ERRORThomas Vander Stichele1-11/+11
Original commit message from CVS: GST_ELEMENT_ERROR
2004-01-19another fixThomas Vander Stichele1-1/+1
Original commit message from CVS: another fix
2004-01-18use new error signal and classificationThomas Vander Stichele1-26/+30
Original commit message from CVS: use new error signal and classification
2004-01-12sys/v4l2/: add norm, channel and frequency properties.Benjamin Otte1-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.
2003-11-07Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje1-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
2003-06-29compatibility fix for new GST_DEBUG stuff.Benjamin Otte1-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.
2003-05-22Actually, I didn't read the spec correctly. dohRonald S. Bultje1-16/+2
Original commit message from CVS: Actually, I didn't read the spec correctly. doh
2003-05-22Fix for bttv driver (which doesn't seem to follow the v4l2 spec 100%?Ronald S. Bultje1-1/+6
Original commit message from CVS: Fix for bttv driver (which doesn't seem to follow the v4l2 spec 100%?
2003-05-21Some final fixes for the v4lsrc elements. remove software sync thread (use ↵Ronald S. Bultje1-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.
2003-05-10This implements filtered-caps negotiation for all the v4l*src elements, and ↵Ronald S. Bultje1-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
2003-05-02Implement element synchronization (#108301)Ronald S. Bultje1-0/+10
Original commit message from CVS: Implement element synchronization (#108301)
2003-03-02Unification of the way to speak to v4l2 and v4l elements... Also fix a ↵Ronald S. Bultje1-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
2002-11-13v4l plugins: add open/close signals v4l2 plugins: add open/close signals ↵Ronald S. Bultje1-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
2002-10-26Let's use g_strerror() instead of strerror()Ronald S. Bultje1-8/+8
Original commit message from CVS: Let's use g_strerror() instead of strerror()
2002-10-24Use strerror() instead of sys_errlist[] (deprecated)Ronald S. Bultje1-8/+8
Original commit message from CVS: Use strerror() instead of sys_errlist[] (deprecated)
2002-09-17This fixes the video4linux/video4linux2 debug output, which had one \n too muchRonald S. Bultje1-1/+1
Original commit message from CVS: This fixes the video4linux/video4linux2 debug output, which had one \n too much
2002-09-09this adds video4linux2 source and element plugins. The division in v4l2* ↵Ronald S. Bultje1-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.