summaryrefslogtreecommitdiff
path: root/libavdevice/avdevice.c
Commit message (Collapse)AuthorAge
* avdevice: add info about media types(s) to AVDeviceInfoDiederick Niehorster2021-12-24
| | | | | | | | | | | | | | An avdevice, regardless of whether its category says its an audio or video device, may provide access to devices providing different media types, or even single devices providing multiple media types. Also, some devices may provide no media types. dshow is an example encompassing all of these cases. Users should be provided with this information, so AVDeviceInfo is extended to provide it. Bump avdevice version Signed-off-by: Diederick Niehorster <dcnieho@gmail.com> Reviewed-by: Roger Pack <rogerdpack2@gmail.com>
* Remove/replace some unnecessary avcodec.h inclusionsAndreas Rheinhardt2021-07-22
| | | | | | | Also remove other unnecessary headers and include headers directly while at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avdevice/avdevice: Constify avdevice_list_input_sources/output_sinksAndreas Rheinhardt2021-04-27
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avdevice/avdevice: Deprecate AVDevice Capabilities APIAndreas Rheinhardt2021-02-14
| | | | | | | | | | | | | | It has been added in 6db42a2b6b22e6f1928fafcf3faa67ed78201004, yet since then none of the necessary create/free_device_capabilities functions has been implemented, making this API completely useless. Because of this one can already simplify avdevice_capabilities_free/create and can already remove the function pointers at the next major bump; given that the documentation explicitly states that av_device_capabilities is not to be used by a user, it's options can already be removed (save for the sentinel). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avdevice/alldevices: stop using deprecated linked list APIJames Almer2020-10-19
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Silence "string-plus-int" warning shown by clang.Carl Eugen Hoyos2020-01-06
| | | | libswscale/utils.c:89:42: warning: adding 'unsigned long' to a string does not append to the string [-Wstring-plus-int]
* Revert "lavd: add new API for iterating input and output devices"Josh de Kock2018-03-31
| | | | | | | | | | This reverts commit 0fd475704e871ef3a535947596a012894bae3cbd. Revert "lavd: fix iterating of input and output devices" This reverts commit ce1d77a5e7cebce11074bf6f9e38ad6da37338ff. Signed-off-by: Josh de Kock <josh@itanimul.li>
* lavd: add new API for iterating input and output devicesJosh de Kock2018-02-06
| | | | | This also adds an avpriv function to register devices in libavformat
* avdevice: remove usage of deprecated setter and getter functionsJames Almer2017-10-29
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avdevice: Use av_format_get_control_message_cb()Michael Niedermayer2015-01-16
| | | | | | | This is required as the location of this field could change and is specified in libavformat not avdevice Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/avdevice: introduce helper functions for sink/sources listingLukasz Marek2015-01-11
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* lavd/avdevice: remove av_ prefix from private functionLukasz Marek2015-01-11
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* Add FFMPEG_VERSION into the binary libsMichael Niedermayer2014-12-19
| | | | | | This simplifies identifying from which revision a binary of a lib came from Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/avdevice: use better option types for caps optionsLukasz Marek2014-12-14
| | | | | | | Using dedicated types allows to use format/layout names, not just raw int values. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* avdevice/avdevice.c: Use av_freep(), avoid leaving stale pointersMichael Niedermayer2014-11-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd: no default device unless explicitly setLukasz Marek2014-04-12
| | | | | | | AVDeviceInfoList was allocated with first device set as default even though there is no device after allocation. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* lavd: add device capabilities APILukasz Marek2014-04-11
| | | | | | | Provides API to query device capabilities. Each device must implement callbacks to benefit from this API. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/avdevice: always free detected devices on errorLukasz Marek2014-03-06
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/avdevice: add device iteratorsLukasz Marek2014-03-03
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd: add list devices APILukasz Marek2014-02-16
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd: add avdevice_dev_to_app_control_message APILukasz Marek2014-01-27
| | | | | | New API allows to send messages from devices to application. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd: add avdevice_app_to_dev_control_message APILukasz Marek2014-01-27
| | | | | | New API allows to send messages from application to devices. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Fix even more missing includes after the common.h removal build: Factor out rangecoder dependencies to CONFIG_RANGECODER build: Factor out error resilience dependencies to CONFIG_ERROR_RESILIENCE x86: avcodec: Consistently name all init files Add more missing includes after removing the implicit common.h Add some more missing includes after removing the implicit common.h Don't include common.h from avutil.h rtmp: Automatically compute the hash for SWFVerification Conflicts: configure doc/APIchanges doc/examples/decoding_encoding.c libavcodec/Makefile libavcodec/assdec.c libavcodec/audio_frame_queue.c libavcodec/avpacket.c libavcodec/dv_profile.c libavcodec/dwt.c libavcodec/libtheoraenc.c libavcodec/rawdec.c libavcodec/rv40dsp.c libavcodec/tiff.c libavcodec/tiffenc.c libavcodec/v210dec.h libavcodec/vc1dsp.c libavcodec/x86/Makefile libavfilter/asrc_anullsrc.c libavfilter/avfilter.c libavfilter/buffer.c libavfilter/formats.c libavfilter/vf_ass.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_select.c libavfilter/video.c libavfilter/vsrc_testsrc.c libavformat/version.h libavutil/audioconvert.c libavutil/error.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | libavdevice: increase LIBAVDEVICE_VERSION_MICRO to 100Michael Niedermayer2011-12-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"Michael Niedermayer2011-03-17
| | | | | | | | This reverts commit 29ba091136a5e04574f7bfc1b17536c923958f6f.
* | Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"Michael Niedermayer2011-03-17
|/ | | | This reverts commit a03be6e1ba4cbf9984b0bbdb674704bbb2da6713.
* use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*Janne Grunau2011-03-16
|
* replace FFMPEG with LIBAV in FFMPEG_CONFIGURATIONJanne Grunau2011-03-16
| | | | also update the multiple inclusion guards in config.h|mak
* Add functions to return library license and library configuration.Diego Biurrun2009-11-18
| | | | Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split avdevice.c off from alldevices.c.Diego Biurrun2009-11-18
alldevices.c is not a good place for avdevice_version(). Originally committed as revision 20546 to svn://svn.ffmpeg.org/ffmpeg/trunk