summaryrefslogtreecommitdiffstats
path: root/sys/v4l2
AgeCommit message (Collapse)AuthorFilesLines
2004-12-19sys/: g_assert() can be a macro, don't use #ifdef inside it.Ronald S. Bultje1-3/+5
Original commit message from CVS: * sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported): * sys/v4l2/gstv4l2element.c: (gst_v4l2_iface_supported): g_assert() can be a macro, don't use #ifdef inside it.
2004-11-11sys/v4l2/gstv4l2element.c: Fix compilation if HAVE_XVIDEO is not definedZaheer Abbas Merali1-1/+6
Original commit message from CVS: 2004-11-11 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/v4l2/gstv4l2element.c: (gst_v4l2_iface_supported): Fix compilation if HAVE_XVIDEO is not defined
2004-10-25sys/: Remove client-side overlay handling, use the X-server v4l plugin for ↵Ronald S. Bultje8-227/+155
that. Nicer overlay, less code. Also make ... Original commit message from CVS: * sys/v4l/Makefile.am: * sys/v4l/gstv4l.c: (plugin_init): * sys/v4l/gstv4lelement.c: (gst_v4lelement_get_type), (gst_v4lelement_init), (gst_v4lelement_dispose), (gst_v4lelement_change_state): * sys/v4l/gstv4lelement.h: * sys/v4l/gstv4lxoverlay.c: (gst_v4l_xoverlay_open), (gst_v4l_xoverlay_close), (idle_refresh), (gst_v4l_xoverlay_set_xwindow_id): * sys/v4l/gstv4lxoverlay.h: * sys/v4l/v4l-overlay_calls.c: * sys/v4l/v4l_calls.h: * sys/v4l2/Makefile.am: * sys/v4l2/gstv4l2.c: (plugin_init): * sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_type), (gst_v4l2element_init), (gst_v4l2element_dispose), (gst_v4l2element_change_state): * sys/v4l2/gstv4l2element.h: * sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open), (gst_v4l2_xoverlay_close), (idle_refresh), (gst_v4l2_xoverlay_set_xwindow_id): * sys/v4l2/gstv4l2xoverlay.h: * sys/v4l2/v4l2-overlay_calls.c: * sys/v4l2/v4l2_calls.h: Remove client-side overlay handling, use the X-server v4l plugin for that. Nicer overlay, less code. Also make the plugin compileable without X (but then without overlay, obviously). Makes xwindowlistener obsolete, should we remove that?
2004-10-25sys/oss/gstosssrc.*: OK, so people want offset in DEFAULT. This time, ↵Ronald S. Bultje1-1/+3
actually fix all cases. Original commit message from CVS: * sys/oss/gstosssrc.c: (gst_osssrc_get_time), (gst_osssrc_get), (gst_osssrc_src_query): * sys/oss/gstosssrc.h: OK, so people want offset in DEFAULT. This time, actually fix all cases. * sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps): Add FPS properly.
2004-10-24sys/v4l2/gstv4l2element.c: Fix properties (channel, norm, frequency).Ronald S. Bultje1-11/+12
Original commit message from CVS: * sys/v4l2/gstv4l2element.c: (gst_v4l2element_set_property): Fix properties (channel, norm, frequency).
2004-10-24sys/v4l2/gstv4l2element.c: Flag typo.Ronald S. Bultje2-9/+12
Original commit message from CVS: * sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_property): Flag typo. * sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults): No warnings.
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. Bultje4-7/+25
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-08-03compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friendsBenjamin Otte2-3/+3
Original commit message from CVS: * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record), (gst_alsa_mixer_set_option), (gst_alsa_mixer_get_option): * ext/dvdnav/dvdnavsrc.c: (dvdnav_get_event_name), (dvdnavsrc_print_event): * ext/ogg/gstoggdemux.c: (_find_chain_process), (gst_ogg_print): * ext/ogg/gstoggmux.c: (gst_ogg_mux_pad_link), (gst_ogg_mux_pad_unlink): * gst/multipart/multipartmux.c: (gst_multipart_mux_pad_link), (gst_multipart_mux_pad_unlink): * gst/videofilter/gstvideobalance.c: (gst_videobalance_colorbalance_set_value): * gst/videomixer/videomixer.c: (gst_videomixer_pad_link), (gst_videomixer_pad_unlink): * po/uk.po: * sys/oss/gstossmixer.c: * sys/v4l/gstv4lcolorbalance.c: * sys/v4l/gstv4ltuner.c: * sys/v4l/v4lsrc_calls.c: * sys/v4l2/gstv4l2colorbalance.c: * sys/v4l2/gstv4l2tuner.c: compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends
2004-05-31- update links to v4l[12] API docsStéphane Loeuillet1-3/+7
Original commit message from CVS: - update links to v4l[12] API docs - remove a dupe in AUTHORS list
2004-05-31gst-libs/gst/tuner/tunerchannel.h: - add a freq_multiplicator field to make ↵Stéphane Loeuillet2-6/+14
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-07sys/v4l2/gstv4l2src.c: Ronald S. Bultje1-0/+1
Original commit message from CVS: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps): Missing break, detected by Daniel Gazard <daniel.gazard@free.fr>.
2004-04-10Workaround for missing struct v4l2_buffer declaration in Suse 9 and Mandrake ↵Ronald S. Bultje1-0/+30
10 linux/videodev2.h header file (#135919). Original commit message from CVS: * configure.ac: * sys/v4l2/gstv4l2element.h: Workaround for missing struct v4l2_buffer declaration in Suse 9 and Mandrake 10 linux/videodev2.h header file (#135919).
2004-04-10sys/v4l2/gstv4l2src.c: fix Y41P (was typo'ed toRonald S. Bultje1-37/+42
Original commit message from CVS: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps), (gst_v4l2_fourcc_from_structure): Add Y41B/Y42B YUV formats (see #125732), fix Y41P (was typo'ed to Y41B somewhere).
2004-03-15don't mix tabs and spacesThomas Vander Stichele9-523/+524
Original commit message from CVS: don't mix tabs and spaces
2004-03-15*.h: Revert indentingJohan Dahlin7-151/+168
Original commit message from CVS: * *.h: Revert indenting
2004-03-14gst-indentThomas Vander Stichele16-1816/+1710
Original commit message from CVS: gst-indent
2004-03-04fix headers fix signals to use - instead of _Thomas Vander Stichele1-3/+3
Original commit message from CVS: fix headers fix signals to use - instead of _
2004-02-02remove textdomain callsThomas Vander Stichele1-1/+0
Original commit message from CVS: remove textdomain calls
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 Stichele5-41/+41
Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
2004-01-29GST_ELEMENT_ERRORThomas Vander Stichele5-41/+41
Original commit message from CVS: GST_ELEMENT_ERROR
2004-01-21fix includes for distcheckThomas Vander Stichele1-1/+1
Original commit message from CVS: fix includes for distcheck
2004-01-20fix missing includeBenjamin Otte1-0/+2
Original commit message from CVS: fix missing include
2004-01-19another fixThomas Vander Stichele1-1/+1
Original commit message from CVS: another fix
2004-01-19fix element_errorThomas Vander Stichele1-12/+11
Original commit message from CVS: fix element_error
2004-01-19further element_error fixesThomas Vander Stichele1-36/+37
Original commit message from CVS: further element_error fixes
2004-01-19putting i18n in place for pluginsThomas Vander Stichele2-18/+24
Original commit message from CVS: putting i18n in place for plugins
2004-01-19updating v4l2 for new error handlingThomas Vander Stichele1-60/+63
Original commit message from CVS: updating v4l2 for new error handling
2004-01-18use new error signal and classificationThomas Vander Stichele2-27/+31
Original commit message from CVS: use new error signal and classification
2004-01-15ext/alsa/gstalsamixer.c: Setting mixer interface type to HARDWARE.Julien Moutte1-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.
2004-01-14ext/divx/: Set category to divx4linux instead of divx (too generic).Ronald S. Bultje1-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).
2004-01-12sys/v4l2/: add norm, channel and frequency properties.Benjamin Otte8-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.
2004-01-07Fix for instantiate-test (see core). Also remove dead code from jpegenc ↵Ronald S. Bultje1-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.
2003-12-22Merge CAPS branchDavid Schleef2-145/+86
Original commit message from CVS: Merge CAPS branch
2003-12-21configure.ac: Improve mpeg2enc detection. This is for distributions that do ↵Ronald S. Bultje1-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.
2003-12-07Move over from GstInterface to GstImplementsInterface. Also adds some ↵Ronald S. Bultje1-4/+4
signals to several interfaces Original commit message from CVS: Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces
2003-12-04remove copyright field from pluginsAndy Wingo1-1/+0
Original commit message from CVS: remove copyright field from plugins
2003-11-22distcheck fixesDavid Schleef1-1/+1
Original commit message from CVS: distcheck fixes
2003-11-10Proper device-capabilities check when openingRonald S. Bultje1-0/+11
Original commit message from CVS: Proper device-capabilities check when opening
2003-11-09Fix device probing from multiple childs. It's done once in the parent class ↵Ronald S. Bultje1-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.
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-11-07Add device autodetectionRonald S. Bultje2-1/+180
Original commit message from CVS: Add device autodetection
2003-11-06All the interfaces are collected in libgstinterfaces now.Jan Schmidt1-3/+1
Original commit message from CVS: All the interfaces are collected in libgstinterfaces now.
2003-11-03v4l2 was executing mixmatrix's plugin_init, so make sure to make plugin_init ↵Benjamin Otte1-1/+1
static Original commit message from CVS: v4l2 was executing mixmatrix's plugin_init, so make sure to make plugin_init static
2003-11-02hmm...Ronald S. Bultje5-67/+51
Original commit message from CVS: hmm...
2003-10-26Oops, input <-> output confusionRonald S. Bultje1-1/+1
Original commit message from CVS: Oops, input <-> output confusion
2003-10-14Forgot to commit Makefile.am - these remove the marshallers and add ↵Ronald S. Bultje2-34/+10
interface implementation files Original commit message from CVS: Forgot to commit Makefile.am - these remove the marshallers and add interface implementation files
2003-10-11another file that needs to be addedDavid Schleef1-0/+1
Original commit message from CVS: another file that needs to be added
2003-10-10Some interface implementations for video4linux/video4linux2 plugins: a Tuner ↵Ronald S. Bultje13-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!