diff options
author | Josh de Kock <josh@itanimul.li> | 2018-03-23 10:16:15 +0000 |
---|---|---|
committer | Josh de Kock <josh@itanimul.li> | 2018-03-31 23:26:31 +0100 |
commit | d8ae40611bc01257776b71f20d774eb720151906 (patch) | |
tree | 125ca3583f0c36bd81ba4c26e74191ba189f9e63 /libavdevice/avdevice.h | |
parent | 8f1382f80e0d4184c54c14afdda6482f050fbba7 (diff) |
Revert "lavd: add new API for iterating input and output devices"
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>
Diffstat (limited to 'libavdevice/avdevice.h')
-rw-r--r-- | libavdevice/avdevice.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h index dd6ad9365e..ee9462480e 100644 --- a/libavdevice/avdevice.h +++ b/libavdevice/avdevice.h @@ -66,29 +66,6 @@ const char *avdevice_configuration(void); const char *avdevice_license(void); /** - * Iterate over all registered output devices. - * - * @param opaque a pointer where libavdevice will store the iteration state. Must - * point to NULL to start the iteration. - * - * @return the next registered output device or NULL when the iteration is - * finished - */ -const AVOutputFormat *av_outdev_iterate(void **opaque); - -/** - * Iterate over all registered input devices. - * - * @param opaque a pointer where libavdevice will store the iteration state. Must - * point to NULL to start the iteration. - * - * @return the next registered input device or NULL when the iteration is - * finished - */ -const AVInputFormat *av_indev_iterate(void **opaque); - -#if FF_API_NEXT -/** * Initialize libavdevice and register all the input and output devices. */ void avdevice_register_all(void); @@ -100,7 +77,6 @@ void avdevice_register_all(void); * if d is non-NULL, returns the next registered input audio/video device after d * or NULL if d is the last one. */ -attribute_deprecated AVInputFormat *av_input_audio_device_next(AVInputFormat *d); /** @@ -110,7 +86,6 @@ AVInputFormat *av_input_audio_device_next(AVInputFormat *d); * if d is non-NULL, returns the next registered input audio/video device after d * or NULL if d is the last one. */ -attribute_deprecated AVInputFormat *av_input_video_device_next(AVInputFormat *d); /** @@ -120,7 +95,6 @@ AVInputFormat *av_input_video_device_next(AVInputFormat *d); * if d is non-NULL, returns the next registered output audio/video device after d * or NULL if d is the last one. */ -attribute_deprecated AVOutputFormat *av_output_audio_device_next(AVOutputFormat *d); /** @@ -130,9 +104,7 @@ AVOutputFormat *av_output_audio_device_next(AVOutputFormat *d); * if d is non-NULL, returns the next registered output audio/video device after d * or NULL if d is the last one. */ -attribute_deprecated AVOutputFormat *av_output_video_device_next(AVOutputFormat *d); -#endif typedef struct AVDeviceRect { int x; /**< x coordinate of top left corner */ |