Unified · Split
| @@ -14,6 +14,10 @@ libavutil: 2017-10-21 · 13 unmodified lines | |||
| 14 | 14 | ||
| 15 | API changes, most recent first: | 15 | API changes, most recent first: |
| 16 | 16 | ||
| 17 | 2021-04-27 - xxxxxxxxxx - lavd yyyyyyyyy - avdevice.h | ||
| 18 | avdevice_list_input_sources and avdevice_list_output_sinks now accept | ||
| 19 | pointers to const AVInputFormat resp. const AVOutputFormat. | ||
| 20 | |||
| 17 | 2021-04-27 - xxxxxxxxxx - lavf yyyyyyyyy - avformat.h | 21 | 2021-04-27 - xxxxxxxxxx - lavf yyyyyyyyy - avformat.h |
| 18 | av_find_best_stream now uses a const AVCodec ** parameter | 22 | av_find_best_stream now uses a const AVCodec ** parameter |
| 19 | for the returned decoder. | 23 | for the returned decoder. |
| @@ -2205,7 +2205,7 @@ double get_rotation(AVStream *st) · 2204 unmodified lines | |||
| 2205 | } | 2205 | } |
| 2206 | 2206 | ||
| 2207 | #if CONFIG_AVDEVICE | 2207 | #if CONFIG_AVDEVICE |
| 2208 | static int print_device_sources(AVInputFormat *fmt, AVDictionary *opts) | 2208 | static int print_device_sources(const AVInputFormat *fmt, AVDictionary *opts) |
| 2209 | { | 2209 | { |
| 2210 | int ret, i; | 2210 | int ret, i; |
| 2211 | AVDeviceInfoList *device_list = NULL; | 2211 | AVDeviceInfoList *device_list = NULL; |
| @@ -2235,7 +2235,7 @@ static int print_device_sources(AVInputFormat *fmt, AVDictionary *opts) · 23 unmodified lines | |||
| 2235 | return ret; | 2235 | return ret; |
| 2236 | } | 2236 | } |
| 2237 | 2237 | ||
| 2238 | static int print_device_sinks(AVOutputFormat *fmt, AVDictionary *opts) | 2238 | static int print_device_sinks(const AVOutputFormat *fmt, AVDictionary *opts) |
| 2239 | { | 2239 | { |
| 2240 | int ret, i; | 2240 | int ret, i; |
| 2241 | AVDeviceInfoList *device_list = NULL; | 2241 | AVDeviceInfoList *device_list = NULL; |
| @@ -120,7 +120,7 @@ static int list_devices_for_context(AVFormatContext *s, AVDictionary *options, · 119 unmodified lines | |||
| 120 | return ret; | 120 | return ret; |
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | int avdevice_list_input_sources(AVInputFormat *device, const char *device_name, | 123 | int avdevice_list_input_sources(const AVInputFormat *device, const char *device_name, |
| 124 | AVDictionary *device_options, AVDeviceInfoList **device_list) | 124 | AVDictionary *device_options, AVDeviceInfoList **device_list) |
| 125 | { | 125 | { |
| 126 | AVFormatContext *s = NULL; | 126 | AVFormatContext *s = NULL; |
| @@ -131,7 +131,7 @@ int avdevice_list_input_sources(AVInputFormat *device, const char *device_name, · 4 unmodified lines | |||
| 131 | return list_devices_for_context(s, device_options, device_list); | 131 | return list_devices_for_context(s, device_options, device_list); |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | int avdevice_list_output_sinks(AVOutputFormat *device, const char *device_name, | 134 | int avdevice_list_output_sinks(const AVOutputFormat *device, const char *device_name, |
| 135 | AVDictionary *device_options, AVDeviceInfoList **device_list) | 135 | AVDictionary *device_options, AVDeviceInfoList **device_list) |
| 136 | { | 136 | { |
| 137 | AVFormatContext *s = NULL; | 137 | AVFormatContext *s = NULL; |
| @@ -507,9 +507,9 @@ void avdevice_free_list_devices(AVDeviceInfoList **device_list); · 506 unmodified lines | |||
| 507 | * @return count of autodetected devices, negative on error. | 507 | * @return count of autodetected devices, negative on error. |
| 508 | * @note device argument takes precedence over device_name when both are set. | 508 | * @note device argument takes precedence over device_name when both are set. |
| 509 | */ | 509 | */ |
| 510 | int avdevice_list_input_sources(struct AVInputFormat *device, const char *device_name, | 510 | int avdevice_list_input_sources(const AVInputFormat *device, const char *device_name, |
| 511 | AVDictionary *device_options, AVDeviceInfoList **device_list); | 511 | AVDictionary *device_options, AVDeviceInfoList **device_list); |
| 512 | int avdevice_list_output_sinks(struct AVOutputFormat *device, const char *device_name, | 512 | int avdevice_list_output_sinks(const AVOutputFormat *device, const char *device_name, |
| 513 | AVDictionary *device_options, AVDeviceInfoList **device_list); | 513 | AVDictionary *device_options, AVDeviceInfoList **device_list); |
| 514 | 514 | ||
| 515 | /** | 515 | /** |