summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)AuthorFilesLines
2009-11-11v4l2: Make sure to initialize variables before using themSebastian Dröge1-1/+1
2009-10-23osxvideosink: Create the video NSView in READY->PAUSED rather than NULL->READYMichael Smith1-1/+3
2009-10-23osxvideo: explicitly link to GST_LIBSMichael Smith1-1/+4
2009-10-14v4l2src: Set duration on buffersThiago Santos1-0/+4
Use framerate to estimate duration of buffers. Fixes #590362
2009-10-09osxvideo: fix a warning doing a castJosep Torra1-1/+1
2009-10-09osxaudio: fix warnings on macosxJosep Torra1-10/+14
2009-10-09osxaudio: Fixes build on macosx snow leopard.Josep Torra1-0/+1
2009-10-09v4l2: Include sys/ioctl.h for the V4L ioctl requestsPau Garcia i Quiles1-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.
2009-10-08oss: Downgrade the rank of osssrc to SECONDARYSjoerd Simons1-1/+1
which is the same rank as osssink has. Fixes bug #597730.
2009-09-16osxaudio: link against GST_BASE_LIBSDavid Schleef1-0/+1
2009-09-11v4l2src: add a function pointer for get_frame function and optimize a bitStefan Kost2-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.
2009-09-11v4l2: log buffer copies on queue underrun in perf categoryStefan Kost2-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.
2009-09-10docs: fix gtk-doc warningsStefan Kost4-24/+42
2009-09-09whitespace fixesWim Taymans1-9/+9
2009-09-07v4l2src: add support for mpeg formatsWim Taymans3-51/+84
2009-09-05Remove Ronald Bultje from Authors fieldDavid Schleef1-2/+1
Replaced with "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>" or just removed, depending on the number of other authors.
2009-09-04v4l2: Define V4L2_FMT_FLAG_EMULATED if it's not defined yetSebastian Dröge1-4/+7
libv4l2 already uses this flag, even on Linux kernel versions before 2.6.32.
2009-09-03v4l2: Fix stupid typo in last commitSebastian Dröge1-1/+1
2009-09-03v4l2: Put emulated formats behind native formatsSebastian Dröge1-29/+67
Fixes bug #593764.
2009-08-14v4l2src: fix 'hang' with some cameras caused by bad timestamping if no ↵Hans de Goede1-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.
2009-08-14v4l2src: clear format list in READY->NULLFilippo Argiolas2-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.
2009-08-11v4l2: fix make distcheck by disting some more headersTim-Philipp Müller1-4/+11
2009-08-09v4l2src: if max == min width/height put an int in the probed caps, not an ↵Tim-Philipp Müller1-8/+15
int range Fixes #560033.
2009-08-09osxaudiosrc: if max_channels == min_channels, use an int instead of an int ↵Tim-Philipp Müller1-3/+6
range in the caps
2009-08-04v4l2: Directly use GST_PTR_FORMAT for printing caps with the LOG_CAPS macroSebastian Dröge1-9/+1
2009-08-04v4l2: Remove some OMAP specific hacksSebastian Dröge2-38/+1
They require special build flags and are not useful in general.
2009-08-04v4l2sink: change where buffers get dequeuedRob Clark4-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.
2009-08-04v4l2: Add v4l2sink elementRob Clark14-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.
2009-07-19v4l2: Fix v4l2src on OpenSolarisElaine Xiong4-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>
2009-07-13v4l2src: optional support for device probing with gudevFilippo Argiolas2-8/+83
Enumerate v4l2 devices using gudev if available. Fixes bug #583640.
2009-06-25waveformsink: use 'guint8' instead of 'byte' to fix compilation with MSVC8Tim-Philipp Müller1-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.
2009-06-25v4l2src: set structs to zero before using them in ioctlsStefan Kost1-5/+5
This fixes valgrind warnings.
2009-06-22v4l2: open/close the device in READYStefan Kost1-9/+39
This allows to query the device in READY. Before one need to switch it to PAUSED and that also starts streaming.
2009-06-05sunaudio: Fix switch setting on some devices. Add debug. Fix a FIXME.Jan Schmidt3-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.
2009-06-05sunaudio: Support new flags for options and actionsJan Schmidt7-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>
2009-05-26v4l2: cleanup and commentingStefan Kost2-48/+17
Remove newlines inserted by gst-indent once. Remove unused var from instance struct. Add comments. Add another #define for default property value.
2009-05-16Moved 'directdraw' from -good to -badJan Schmidt5-2153/+2
2009-05-15Fix compiler warningsJames Andrewartha4-8/+10
Fixes bug #582715.
2009-04-18osxringbuffer: Run gst-indent.Edward Hervey1-1/+3
2009-04-18ximage: Remove dead assignments.Edward Hervey1-3/+0
Those variables are not read after that point.
2009-04-18Remove trivial unused variables detected by CLang static analyzer.Edward Hervey1-4/+1
2009-04-18Remove unused variables in _class_initEdward Hervey2-8/+0
Detected by LLVM's CLang static analyzer
2009-04-15sunaudio: fix broken indentation of variable declarationsTim-Philipp Müller1-13/+0
2009-04-15sunaudio: remove some unused variables and goto labelsJames Andrewartha2-9/+0
Fixes #579070.
2009-03-25v4l2src: move duplicated timestamping and buffer metadata code to _create()Stefan Kost2-68/+42
This will include the latency changes also in the mmap case.
2009-03-25v4l2src: remove win32 ifdefs introduced by commit ↵Stefan Kost2-10/+0
cff3f46760eac74c9bbd7a36aca44fedf327424b V4l2src is under sys and does not exists/run under windows anyway.
2009-03-15v4l2src: log details if we have them, needed for #575391Stefan Kost1-2/+2
2009-03-13v4l2src: Prepend to lists and reverse them at the end.Jan Schmidt1-3/+7
Gratuitous micro-optimisation - prepend to lists and reverse them, rather than appending to them each time.
2009-03-06v4l2src: fix pads, so that they are subset of template capsStefan Kost1-4/+9
Do not add w=0 | h=0. When we can't get a framerate add fraction range.
2009-03-01Remove hardcoded definition of OBJCDavid Schleef1-2/+0