summaryrefslogtreecommitdiffstats
path: root/sys/v4l2
Commit message (Collapse)AuthorAgeFilesLines
...
* ext/alsa/gstalsamixer.c: Setting mixer interface type to HARDWARE.Julien Moutte2004-01-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2004-01-15 Julien MOUTTE <julien@moutte.net> * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_interface_init): Setting mixer interface type to HARDWARE. * gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init): Adding a default type to SOFTWARE. * gst-libs/gst/mixer/mixer.h: Adding mixer interface type and macro. * gst-libs/gst/mixer/mixertrack.h: Adding mixertrack flag SOFTWARE. * gst/volume/gstvolume.c: (gst_volume_interface_supported), (gst_volume_interface_init), (gst_volume_list_tracks), (gst_volume_set_volume), (gst_volume_get_volume), (gst_volume_set_mute), (gst_volume_mixer_init), (gst_volume_dispose), (gst_volume_get_type), (volume_class_init), (volume_init): Implementing mixer interface. * gst/volume/gstvolume.h: Adding tracklist for mixer interface. * sys/oss/gstosselement.c: (gst_osselement_get_type), (gst_osselement_change_state): Removing some trailing commas in structures. * sys/oss/gstossmixer.c: (gst_ossmixer_interface_init): Setting mixer interface type to HARDWARE. * sys/v4l/gstv4lcolorbalance.c: (gst_v4l_color_balance_interface_init): Setting colorbalance interface type to HARDWARE. * sys/v4l2/gstv4l2colorbalance.c: (gst_v4l2_color_balance_interface_init): Setting colorbalance interface type to HARDWARE. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain): use exactly the same code than ximagesink for event handling.
* ext/divx/: Set category to divx4linux instead of divx (too generic).Ronald S. Bultje2004-01-141-1/+1
| | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2004-01-14 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/divx/gstdivxdec.c: * ext/divx/gstdivxenc.c: Set category to divx4linux instead of divx (too generic). * gst/wavparse/gstwavparse.c: (gst_wavparse_init), (gst_wavparse_parse_fmt), (gst_wavparse_handle_sink_event), (gst_wavparse_loop), (gst_wavparse_change_state): * gst/wavparse/gstwavparse.h: fix parsing of WAV files with non-standard fmt-tag size and fix skipping of unrecognized chunks... Someone please fix this thing to use rifflib so all this is automated. * sys/v4l/Makefile.am: * sys/v4l2/Makefile.am: Add X_CFLAGS because we depend on X (for overlay).
* sys/v4l2/: add norm, channel and frequency properties.Benjamin Otte2004-01-128-1097/+1098
| | | | | | | | | | | | | | | | | | | 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.
* Fix for instantiate-test (see core). Also remove dead code from jpegenc ↵Ronald S. Bultje2004-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | (which still needs fixing, but that's lower o... Original commit message from CVS: 2004-01-07 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/audiofile/gstafsink.c: (gst_afsink_init), (gst_afsink_chain), (gst_afsink_handle_event): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_init): * gst/avi/gstavimux.c: (gst_avimux_request_new_pad): * sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init): * sys/dxr3/dxr3spusink.c: (dxr3spusink_init): * sys/dxr3/dxr3videosink.c: (dxr3videosink_init): Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower on my TODO list...). * sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps): Never return NULL as caps.
* Merge CAPS branchDavid Schleef2003-12-222-145/+86
| | | | | Original commit message from CVS: Merge CAPS branch
* configure.ac: Improve mpeg2enc detection. This is for distributions that do ↵Ronald S. Bultje2003-12-211-45/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ship mjpegtools, but without mpeg2enc. Al... Original commit message from CVS: 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net> * configure.ac: Improve mpeg2enc detection. This is for distributions that do ship mjpegtools, but without mpeg2enc. Also does object check for might there ever be ABI incompatibility. * ext/mpeg2enc/gstmpeg2enc.cc: Add Andrew as second maintainer (he's helping me), and also add an error if no caps was set. This happens if I pull before capsnego and that's something I should solve sometime else. * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_blockgroup): Fix time parsing. * gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_link), (gst_matroska_mux_track_header): Add caps to templates. * gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_sink_factory): Add mpegversion=1 to prevent confusion with MPEG/AAC. * gst/mpegstream/gstmpegdemux.c: Remove layer since it causes warnings about unfixed caps. * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get): Fix obvious typo (we error out if caps were set, we should of course error out if *no* caps were set). * sys/oss/gstosselement.c: (gst_osselement_convert): Fix format conversion, we confused bits/bytes. * sys/oss/gstosselement.h: Improve documentation for 'bps'. * sys/v4l/TODO: Remove stuff about plugins that need removing - this was done ages ago. * sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init), (gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query): * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_src_convert), (gst_v4lsrc_src_query): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_init), (gst_v4l2src_src_convert), (gst_v4l2src_src_query): Add get_query_types(), get_formats() and query() functions.
* Move over from GstInterface to GstImplementsInterface. Also adds some ↵Ronald S. Bultje2003-12-071-4/+4
| | | | | | | signals to several interfaces Original commit message from CVS: Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces
* remove copyright field from pluginsAndy Wingo2003-12-041-1/+0
| | | | | Original commit message from CVS: remove copyright field from plugins
* distcheck fixesDavid Schleef2003-11-221-1/+1
| | | | | Original commit message from CVS: distcheck fixes
* Proper device-capabilities check when openingRonald S. Bultje2003-11-101-0/+11
| | | | | Original commit message from CVS: Proper device-capabilities check when opening
* Fix device probing from multiple childs. It's done once in the parent class ↵Ronald S. Bultje2003-11-091-5/+8
| | | | | | | 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.
* 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
* Add device autodetectionRonald S. Bultje2003-11-072-1/+180
| | | | | Original commit message from CVS: Add device autodetection
* All the interfaces are collected in libgstinterfaces now.Jan Schmidt2003-11-061-3/+1
| | | | | Original commit message from CVS: All the interfaces are collected in libgstinterfaces now.
* v4l2 was executing mixmatrix's plugin_init, so make sure to make plugin_init ↵Benjamin Otte2003-11-031-1/+1
| | | | | | | static Original commit message from CVS: v4l2 was executing mixmatrix's plugin_init, so make sure to make plugin_init static
* hmm...Ronald S. Bultje2003-11-025-67/+51
| | | | | Original commit message from CVS: hmm...
* Oops, input <-> output confusionRonald S. Bultje2003-10-261-1/+1
| | | | | Original commit message from CVS: Oops, input <-> output confusion
* Forgot to commit Makefile.am - these remove the marshallers and add ↵Ronald S. Bultje2003-10-142-34/+10
| | | | | | | interface implementation files Original commit message from CVS: Forgot to commit Makefile.am - these remove the marshallers and add interface implementation files
* another file that needs to be addedDavid Schleef2003-10-111-0/+1
| | | | | Original commit message from CVS: another file that needs to be added
* Some interface implementations for video4linux/video4linux2 plugins: a Tuner ↵Ronald S. Bultje2003-10-1013-585/+1246
| | | | | | | | | | | | | | | | | | | | | | 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!
* /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo2003-10-081-3/+3
| | | | | | | deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
* typosRonald S. Bultje2003-09-131-1/+2
| | | | | Original commit message from CVS: typos
* Move all the several v4l/v4l2 plugins in one v4l and one v4l2 pluginRonald S. Bultje2003-09-136-35/+66
| | | | | Original commit message from CVS: Move all the several v4l/v4l2 plugins in one v4l and one v4l2 plugin
* add cvsignoresChristian Schaller2003-09-111-0/+2
| | | | | Original commit message from CVS: add cvsignores
* Remove redundant definition of plugindirDavid Schleef2003-08-101-1/+0
| | | | | Original commit message from CVS: Remove redundant definition of plugindir
* New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje2003-07-061-24/+66
| | | | | | | over to the new mimetypes spec as descri... Original commit message from CVS: New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
* Fix missing config.h and unistd.h includes which were apparently removed ↵Ronald S. Bultje2003-07-032-0/+5
| | | | | | | from gst/gst.h recently Original commit message from CVS: Fix missing config.h and unistd.h includes which were apparently removed from gst/gst.h recently
* compatibility fix for new GST_DEBUG stuff.Benjamin Otte2003-06-294-5/+5
| | | | | | | | 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.
* - UNITS -> DEFAULTWim Taymans2003-05-241-7/+1
| | | | | Original commit message from CVS: - UNITS -> DEFAULT
* 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-214-46/+218
| | | | | | | | | | | | | | | | | | | 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-104-376/+368
| | | | | | | 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-023-29/+243
| | | | | Original commit message from CVS: Implement element synchronization (#108301)
* Fix v4l/v4l2 compilation problemsRonald S. Bultje2003-03-091-0/+14
| | | | | Original commit message from CVS: Fix v4l/v4l2 compilation problems
* Unification of the way to speak to v4l2 and v4l elements... Also fix a ↵Ronald S. Bultje2003-03-0211-328/+213
| | | | | | | 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
* PadConnect -> PadLinkThomas Vander Stichele2003-01-101-3/+3
| | | | | Original commit message from CVS: PadConnect -> PadLink
* another batch of connect->link fixes please let me know about issues and ↵Thomas Vander Stichele2003-01-101-10/+10
| | | | | | | | | | 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
* parallel install fixesThomas Vander Stichele2002-12-081-1/+1
| | | | | Original commit message from CVS: parallel install fixes
* v4l plugins: add open/close signals v4l2 plugins: add open/close signals ↵Ronald S. Bultje2002-11-139-157/+274
| | | | | | | | | | | | | | 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-263-31/+31
| | | | | Original commit message from CVS: Let's use g_strerror() instead of strerror()
* Use strerror() instead of sys_errlist[] (deprecated)Ronald S. Bultje2002-10-243-31/+31
| | | | | Original commit message from CVS: Use strerror() instead of sys_errlist[] (deprecated)
* I'm such an idiot - these files should have been in a week agoRonald S. Bultje2002-09-285-90/+28
| | | | | Original commit message from CVS: I'm such an idiot - these files should have been in a week ago
* This patch fixes some issues caused by design issues in video4linux, adds ↵Ronald S. Bultje2002-09-202-57/+67
| | | | | | | | | | | | | | | | | 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
* some enhancements for capsnegoRonald S. Bultje2002-09-181-2/+15
| | | | | Original commit message from CVS: some enhancements for capsnego
* This fixes the video4linux/video4linux2 debug output, which had one \n too muchRonald S. Bultje2002-09-173-3/+3
| | | | | Original commit message from CVS: This fixes the video4linux/video4linux2 debug output, which had one \n too much
* This build bug accidently went into the CVSRonald S. Bultje2002-09-171-3/+3
| | | | | Original commit message from CVS: This build bug accidently went into the CVS
* Add the convert functions to the source pads of the video4linux and ↵Ronald S. Bultje2002-09-161-1/+65
| | | | | | | video4linux2 source plugins Original commit message from CVS: Add the convert functions to the source pads of the video4linux and video4linux2 source plugins
* This updates all plugins to the new API for gst_pad_try_set_capsRonald S. Bultje2002-09-101-1/+1
| | | | | Original commit message from CVS: This updates all plugins to the new API for gst_pad_try_set_caps
* this adds video4linux2 source and element plugins. The division in v4l2* ↵Ronald S. Bultje2002-09-0911-0/+3159
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.