summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* v4l2src: Set duration on buffersThiago Santos2009-10-141-0/+4
| | | | | | Use framerate to estimate duration of buffers. Fixes #590362
* osxvideo: fix a warning doing a castJosep Torra2009-10-091-1/+1
|
* osxaudio: fix warnings on macosxJosep Torra2009-10-091-10/+14
|
* osxaudio: Fixes build on macosx snow leopard.Josep Torra2009-10-091-0/+1
|
* v4l2: Include sys/ioctl.h for the V4L ioctl requestsPau Garcia i Quiles2009-10-091-0/+1
| | | | | | | | | | Old videodevice2.h kernel headers used ioctl stuff without including ioctl.h, making compilation fail on older systems. Note: Including ioctl.h here is only a workaround for old kernel headers, should be removed once everybody has new enough headers. Fixes bug #597867.
* oss: Downgrade the rank of osssrc to SECONDARYSjoerd Simons2009-10-081-1/+1
| | | | | | which is the same rank as osssink has. Fixes bug #597730.
* osxaudio: link against GST_BASE_LIBSDavid Schleef2009-09-161-0/+1
|
* v4l2src: add a function pointer for get_frame function and optimize a bitStefan Kost2009-09-112-8/+18
| | | | | Use a function-pointer for mmap/read, as this can't change during capture. Also sprinkle a few G_LIKELY/UNLIKELY to improve the error-less code path.
* v4l2: log buffer copies on queue underrun in perf categoryStefan Kost2009-09-112-0/+7
| | | | | v4l2src has a slow path where it does buffer-copies when it runs out of queued buffers. Log this to performance category to help monitoring it.
* docs: fix gtk-doc warningsStefan Kost2009-09-104-24/+42
|
* whitespace fixesWim Taymans2009-09-091-9/+9
|
* v4l2src: add support for mpeg formatsWim Taymans2009-09-073-51/+84
|
* Remove Ronald Bultje from Authors fieldDavid Schleef2009-09-051-2/+1
| | | | | | Replaced with "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>" or just removed, depending on the number of other authors.
* v4l2: Define V4L2_FMT_FLAG_EMULATED if it's not defined yetSebastian Dröge2009-09-041-4/+7
| | | | | libv4l2 already uses this flag, even on Linux kernel versions before 2.6.32.
* v4l2: Fix stupid typo in last commitSebastian Dröge2009-09-031-1/+1
|
* v4l2: Put emulated formats behind native formatsSebastian Dröge2009-09-031-29/+67
| | | | Fixes bug #593764.
* v4l2src: fix 'hang' with some cameras caused by bad timestamping if no ↵Hans de Goede2009-08-141-9/+11
| | | | | | | | | | | framerate is available For cameras/drivers that don't support e.g. VIDIOC_G_PARM we'd end up without a framerate and would try to divide by 0, causing run-time warnings and all frames to be timestamped with 0, which makes sinks that sync against the clock drop them, causing 'hangs' (observed with the pwc driver and a Logitech QuickCam Pro 4000). So if we do not know the framerate, simply don't adjust the timestamps. Fixes #591451.
* v4l2src: clear format list in READY->NULLFilippo Argiolas2009-08-142-0/+9
| | | | | | Clear format list and probed caps when going to NULL so if a new device is set we'll probe the formats again instead of using previously detected ones. Fixes bug #591747.
* v4l2: fix make distcheck by disting some more headersTim-Philipp Müller2009-08-111-4/+11
|
* v4l2src: if max == min width/height put an int in the probed caps, not an ↵Tim-Philipp Müller2009-08-091-8/+15
| | | | | | int range Fixes #560033.
* osxaudiosrc: if max_channels == min_channels, use an int instead of an int ↵Tim-Philipp Müller2009-08-091-3/+6
| | | | range in the caps
* v4l2: Directly use GST_PTR_FORMAT for printing caps with the LOG_CAPS macroSebastian Dröge2009-08-041-9/+1
|
* v4l2: Remove some OMAP specific hacksSebastian Dröge2009-08-042-38/+1
| | | | They require special build flags and are not useful in general.
* v4l2sink: change where buffers get dequeuedRob Clark2009-08-044-52/+38
| | | | It seems to cause strange occasional high latencies (almost 200ms) when dequeuing buffers from _buffer_alloc(). It is simpler and seems to work much better to dqbuf from the same thread that is queuing the next buffer.
* v4l2: Add v4l2sink elementRob Clark2009-08-0414-1824/+3051
| | | | | | | | | | | This also does the following changes: (1) pull the bufferpool code out into gstv4l2bufferpool.c, and make a bit more generic so it can be used both for v4l2src and v4l2sink (2) move some of the device probing/configuration/caps stuff into gstv4l2object.c so it does not have to be duplicated between v4l2src and v4l2sink Fixes bug #590280.
* v4l2: Fix v4l2src on OpenSolarisElaine Xiong2009-07-194-8/+25
| | | | | | | | The v4l2 driver for USB webcams on OpenSolaris does not support select() calls. Detect when select() fails, and skip polling the device afterward, which restores the pre 0.10.14 behaviour on OpenSolaris. Signed-off-by: Jan Schmidt <thaytan@noraisin.net>
* v4l2src: optional support for device probing with gudevFilippo Argiolas2009-07-132-8/+83
| | | | | | Enumerate v4l2 devices using gudev if available. Fixes bug #583640.
* waveformsink: use 'guint8' instead of 'byte' to fix compilation with MSVC8Tim-Philipp Müller2009-06-251-1/+1
| | | | | | We need a cast here for pointer arithmetic to work correctly, but some MSVC versions don't seem to like 'byte', so use guint8 here. Hopefully fixes #585361.
* v4l2src: set structs to zero before using them in ioctlsStefan Kost2009-06-251-5/+5
| | | | This fixes valgrind warnings.
* v4l2: open/close the device in READYStefan Kost2009-06-221-9/+39
| | | | | This allows to query the device in READY. Before one need to switch it to PAUSED and that also starts streaming.
* sunaudio: Fix switch setting on some devices. Add debug. Fix a FIXME.Jan Schmidt2009-06-053-21/+42
| | | | | | | | | | Fix the setting of toggle switches on some broken audio drivers which report that no audio ports are settable by ignoring the mod_port field there. Add some debug statements. Fix a FIXME now that Good relies on a new enough gst-plugins-base.
* sunaudio: Support new flags for options and actionsJan Schmidt2009-06-057-111/+583
| | | | | | | | | Use new audio mixer flags added in Base 0.10.23 to expose flags and options on the SunAudio devices. Fixes: #583593 Patch By: Brian Cameron <brian.cameron@sun.com> Patch By: Garrett D'Amore <garrett.damore@sun.com>
* v4l2: cleanup and commentingStefan Kost2009-05-262-48/+17
| | | | | Remove newlines inserted by gst-indent once. Remove unused var from instance struct. Add comments. Add another #define for default property value.
* Moved 'directdraw' from -good to -badJan Schmidt2009-05-165-2153/+2
|
* Fix compiler warningsJames Andrewartha2009-05-154-8/+10
| | | | Fixes bug #582715.
* osxringbuffer: Run gst-indent.Edward Hervey2009-04-181-1/+3
|
* ximage: Remove dead assignments.Edward Hervey2009-04-181-3/+0
| | | | Those variables are not read after that point.
* Remove trivial unused variables detected by CLang static analyzer.Edward Hervey2009-04-181-4/+1
|
* Remove unused variables in _class_initEdward Hervey2009-04-182-8/+0
| | | | Detected by LLVM's CLang static analyzer
* sunaudio: fix broken indentation of variable declarationsTim-Philipp Müller2009-04-151-13/+0
|
* sunaudio: remove some unused variables and goto labelsJames Andrewartha2009-04-152-9/+0
| | | | Fixes #579070.
* v4l2src: move duplicated timestamping and buffer metadata code to _create()Stefan Kost2009-03-252-68/+42
| | | | This will include the latency changes also in the mmap case.
* v4l2src: remove win32 ifdefs introduced by commit ↵Stefan Kost2009-03-252-10/+0
| | | | | | cff3f46760eac74c9bbd7a36aca44fedf327424b V4l2src is under sys and does not exists/run under windows anyway.
* v4l2src: log details if we have them, needed for #575391Stefan Kost2009-03-151-2/+2
|
* v4l2src: Prepend to lists and reverse them at the end.Jan Schmidt2009-03-131-3/+7
| | | | | Gratuitous micro-optimisation - prepend to lists and reverse them, rather than appending to them each time.
* v4l2src: fix pads, so that they are subset of template capsStefan Kost2009-03-061-4/+9
| | | | Do not add w=0 | h=0. When we can't get a framerate add fraction range.
* Remove hardcoded definition of OBJCDavid Schleef2009-03-011-2/+0
|
* Wait for a frame to become available before capturing itSjoerd Simons2009-03-015-2/+95
| | | | | | | | | | Use GstPoll to wait for the fd of the video device to become readable before trying to capture a frame. This speeds up stopping v4l2src a lot as it no longer has to wait for the next frame, especially when capturing with low framerates or when the video device just never generates a frame (which seems a common issue for uvcvideo devices) Fixes bug #563574.
* directdrawsink: Fix type mismatchesLRN2009-02-271-5/+5
| | | | Fixes bug #573343.
* Conditionally compile code for YVYUWim Taymans2009-02-231-0/+2
| | | | | Only compile the code for the YVYU format when the format is actually defined. Spotted by tmatth on IRC.