summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
* v4l2: use C99 struct initializerLuca Barbato2012-01-10
| | | | Remove some unneeded memsets.
* v4l2: poll the file descriptorLuca Barbato2012-01-10
| | | | Instead of busy waiting use poll();
* v4l2: support compressed formatsLuca Barbato2012-01-10
| | | | Let pass the codec name to -pixel_format and introduce -input_format.
* cosmetics: drop some pointless parenthesesDiego Biurrun2012-01-07
|
* v4l2: use V4L2_FMT_FLAG_EMULATED only if it is definedJanne Grunau2012-01-04
| | | | V4L2_FMT_FLAG_EMULATED was added in 2.6.32.
* v4l2: list available formatsLuca Barbato2012-01-04
| | | | Make use of the experimental framesize enumeration ioctl if available.
* v4l2: set the proper codec_tagLuca Barbato2012-01-04
| | | | Unbreak direct streamcopy.
* v4l2: refactor device_openLuca Barbato2012-01-04
| | | | Check capabilities directly in the function, further simplify the code.
* v4l2: simplify away io_methodLuca Barbato2012-01-04
| | | | Only mmap is supported.
* v4l2: cosmeticsLuca Barbato2012-01-04
|
* v4l2: uniform and format optionsLuca Barbato2012-01-04
|
* v4l2: do not force interlaced modeLuca Barbato2012-01-04
| | | | | Video4linux2 supports both interlaced and non-interlaced mode, do not ask for interlaced if not necessary.
* v4l2: remove unneded linux specific asm/types.h includeJanne Grunau2011-12-27
|
* build: move inclusion of subdir.mak to main subdir loopMans Rullgard2011-12-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add basic libavdevice documentation.Anton Khirnov2011-12-12
|
* Fix a bunch of common typos.Diego Biurrun2011-12-11
|
* cosmetics: drop some completely pointless parenthesesDiego Biurrun2011-12-07
|
* misc Doxygen markup improvementsDiego Biurrun2011-12-05
|
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-30
| | | | It's supposed to be called only from (de)muxers.
* Make channel layout masks unsignedMans Rullgard2011-11-25
| | | | | | | | | | It makes more sense for a bit mask to use an unsigned type. The change should be source and binary compatible on all supported systems, hence micro version bump. Fixes a few invalid shifts. Signed-off-by: Mans Rullgard <mans@mansr.com>
* pulse: compute frame_duration once and fix itLuca Barbato2011-11-14
| | | | | | | | The frame duration was calculated without taking in account the bytes per sample. Thanks to Lorenzo Pistone <blaffablaffa@gmail.com> for pointing the issue and providing an initial fix.
* Remove leftover includes of strings.hMartin Storsjö2011-11-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all usage of strcasecmp/strncasecmpReimar Döffinger2011-11-06
| | | | | | | | | | | All current usages of it are incompatible with localization. For example strcasecmp("i", "I") != 0 is possible, but would break many of the places where it is used. Instead use our own implementations that always treat the data as ASCII. Signed-off-by: Martin Storsjö <martin@martin.st>
* pulse: introduce pulseaudio inputLuca Barbato2011-10-26
| | | | | | | It currently use the simple api and is using the latency information provided only to offset the stream start. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Move timefilter code from lavf to lavd.Anton Khirnov2011-10-21
| | | | | | It's only used in the JACK device. Fixes linking shared lavd with JACK enabled.
* lavf: use avpriv_ prefix for some dv functions.Anton Khirnov2011-10-20
| | | | They are used in libavdevice.
* lavf: use avpriv_ prefix for ff_new_chapter().Anton Khirnov2011-10-20
| | | | It's used in libavdevice.
* lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov2011-10-19
| | | | | Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* Fix 'heigth' vs. 'height' typos.Diego Biurrun2011-10-05
|
* Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.Diego Biurrun2011-09-24
|
* alsa: add missing headerAnton Khirnov2011-09-21
| | | | Fixes compile with next lavc major.
* lavd: add libcdio-paranoia input device for audio CD grabbingAnton Khirnov2011-09-17
|
* lavf,lavd: remove all usage of AVFormatParameters from demuxers.Anton Khirnov2011-08-15
| | | | | | AVFormatParameters are converted into corresponding private options in av_open_input_file/stream() compat wrappers, so accessing them from demuxers is redundant.
* jack: add 'channels' private option.Anton Khirnov2011-08-15
| | | | Get rid of AVFormatParameters usage.
* x11grab: add show_region AVOption.Yu-Jie Lin2011-07-31
| | | | | | | Draw the current grabbing region for indication. Signed-off-by: Yu-Jie Lin <livibetter@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x11grab: add follow_mouse AVOption.Yu-Jie Lin2011-07-31
| | | | | | | | | -follow_mouse centered|PIXELS move grabbing region to where mouse pointer at the center; or only move when pointer reaches within PIXELS to the edge. Signed-off-by: Yu-Jie Lin <livibetter@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* doxygen: use Doxygen markup for authors and web links where appropriateDiego Biurrun2011-07-15
|
* alsa: limit buffer_size to 32768 frames.Justin Ruggles2011-07-09
| | | | | | In testing, the file output plugin gave a max buffer size of about 20 million frames, which is way more than what is really needed and causes a memory allocation error on my system.
* alsa: fallback to buffer_size/4 for period_size.Justin Ruggles2011-07-09
| | | | | buffer_size/4 is the value used by aplay. This fixes output to null devices, e.g. writing ALSA output to a file.
* x11grab: replace undocumented nomouse hackery with a private option.Anton Khirnov2011-07-08
|
* libavdevice: Remove disabled code.Diego Biurrun2011-07-07
|
* Add some missing mathematics.h #includes for av_rescale().Diego Biurrun2011-07-05
|
* build: include sub-makefiles using full path instead of symlinksMans Rullgard2011-06-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: Remove redundant config.mak includes from subdirectory Makefiles.Diego Biurrun2011-06-25
| | | | | Calling Make from subdirectories is not supported and config.mak has multiple inclusion guards anyway, so the top-level include is enough.
* lavdev: improve feedback in case of invalid frame rate/sizeStefano Sabatini2011-06-23
| | | | | | | | | | Show the invalid string in the error message. While at it also prefer "Could not" over "Couldn't", plain forms are preferred over contractions (simplify readability, especially for non English-savvy people). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vfwcap: prefer "framerate_q" over "fps" in vfw_read_header()Stefano Sabatini2011-06-23
| | | | | | | The variable is used for containing the parsed value of framerate, using a lexically consistent name eases readability/understanding. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* v4l2: prefer "framerate_q" over "fps" in v4l2_set_parameters()Stefano Sabatini2011-06-23
| | | | | | | The variable is used for containing the parsed value of framerate, using a lexically consistent name eases readability/understanding. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fbdev: prefer "framerate_q" over "fps" in device contextStefano Sabatini2011-06-23
| | | | | | | The variable is used for containing the parsed value of framerate, using a lexically consistent name eases readability/understanding. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* bktr: prefer "framerate" over "fps" for grab_read_header()Stefano Sabatini2011-06-23
| | | | | | | The variable is used for containing the parsed value of s1->framerate, using a lexically consistent name ease readability/understanding. Signed-off-by: Anton Khirnov <anton@khirnov.net>