You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	libavdevice: Update the class name as uniform style
Update the class name to uniform indev/outdev style. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
This commit is contained in:
		| @@ -148,7 +148,7 @@ static const AVOption options[] = { | ||||
| }; | ||||
|  | ||||
| static const AVClass alsa_demuxer_class = { | ||||
|     .class_name     = "ALSA demuxer", | ||||
|     .class_name     = "ALSA indev", | ||||
|     .item_name      = av_default_item_name, | ||||
|     .option         = options, | ||||
|     .version        = LIBAVUTIL_VERSION_INT, | ||||
|   | ||||
| @@ -151,7 +151,7 @@ static int audio_get_device_list(AVFormatContext *h, AVDeviceInfoList *device_li | ||||
| } | ||||
|  | ||||
| static const AVClass alsa_muxer_class = { | ||||
|     .class_name     = "ALSA muxer", | ||||
|     .class_name     = "ALSA outdev", | ||||
|     .item_name      = av_default_item_name, | ||||
|     .version        = LIBAVUTIL_VERSION_INT, | ||||
|     .category       = AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT, | ||||
|   | ||||
| @@ -1140,7 +1140,7 @@ static const AVOption options[] = { | ||||
| }; | ||||
|  | ||||
| static const AVClass avf_class = { | ||||
|     .class_name = "AVFoundation input device", | ||||
|     .class_name = "AVFoundation indev", | ||||
|     .item_name  = av_default_item_name, | ||||
|     .option     = options, | ||||
|     .version    = LIBAVUTIL_VERSION_INT, | ||||
|   | ||||
| @@ -341,7 +341,7 @@ static const AVOption options[] = { | ||||
| }; | ||||
|  | ||||
| static const AVClass bktr_class = { | ||||
|     .class_name = "BKTR grab interface", | ||||
|     .class_name = "BKTR grab indev", | ||||
|     .item_name  = av_default_item_name, | ||||
|     .option     = options, | ||||
|     .version    = LIBAVUTIL_VERSION_INT, | ||||
|   | ||||
| @@ -220,7 +220,7 @@ static const AVOption options[] = { | ||||
| }; | ||||
|  | ||||
| static const AVClass caca_class = { | ||||
|     .class_name = "caca_outdev", | ||||
|     .class_name = "caca outdev", | ||||
|     .item_name  = av_default_item_name, | ||||
|     .option     = options, | ||||
|     .version    = LIBAVUTIL_VERSION_INT, | ||||
|   | ||||
| @@ -89,7 +89,7 @@ static const AVOption options[] = { | ||||
| }; | ||||
|  | ||||
| static const AVClass decklink_demuxer_class = { | ||||
|     .class_name = "Blackmagic DeckLink demuxer", | ||||
|     .class_name = "Blackmagic DeckLink indev", | ||||
|     .item_name  = av_default_item_name, | ||||
|     .option     = options, | ||||
|     .version    = LIBAVUTIL_VERSION_INT, | ||||
|   | ||||
| @@ -41,7 +41,7 @@ static const AVOption options[] = { | ||||
| }; | ||||
|  | ||||
| static const AVClass decklink_muxer_class = { | ||||
|     .class_name = "Blackmagic DeckLink muxer", | ||||
|     .class_name = "Blackmagic DeckLink outdev", | ||||
|     .item_name  = av_default_item_name, | ||||
|     .option     = options, | ||||
|     .version    = LIBAVUTIL_VERSION_INT, | ||||
|   | ||||
| @@ -241,7 +241,7 @@ static const AVOption options[] = { | ||||
| }; | ||||
|  | ||||
| static const AVClass class = { | ||||
|     .class_name = "openal", | ||||
|     .class_name = "openal indev", | ||||
|     .item_name = av_default_item_name, | ||||
|     .option = options, | ||||
|     .version = LIBAVUTIL_VERSION_INT, | ||||
|   | ||||
| @@ -125,7 +125,7 @@ static const AVOption options[] = { | ||||
| }; | ||||
|  | ||||
| static const AVClass oss_demuxer_class = { | ||||
|     .class_name     = "OSS demuxer", | ||||
|     .class_name     = "OSS indev", | ||||
|     .item_name      = av_default_item_name, | ||||
|     .option         = options, | ||||
|     .version        = LIBAVUTIL_VERSION_INT, | ||||
|   | ||||
| @@ -90,7 +90,7 @@ static int audio_write_trailer(AVFormatContext *s1) | ||||
| } | ||||
|  | ||||
| static const AVClass oss_muxer_class = { | ||||
|     .class_name     = "OSS muxer", | ||||
|     .class_name     = "OSS outdev", | ||||
|     .item_name      = av_default_item_name, | ||||
|     .version        = LIBAVUTIL_VERSION_INT, | ||||
|     .category       = AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT, | ||||
|   | ||||
| @@ -359,7 +359,7 @@ static const AVOption options[] = { | ||||
| }; | ||||
|  | ||||
| static const AVClass pulse_demuxer_class = { | ||||
|     .class_name     = "Pulse demuxer", | ||||
|     .class_name     = "Pulse indev", | ||||
|     .item_name      = av_default_item_name, | ||||
|     .option         = options, | ||||
|     .version        = LIBAVUTIL_VERSION_INT, | ||||
|   | ||||
| @@ -771,7 +771,7 @@ static const AVOption options[] = { | ||||
| }; | ||||
|  | ||||
| static const AVClass pulse_muxer_class = { | ||||
|     .class_name     = "PulseAudio muxer", | ||||
|     .class_name     = "PulseAudio outdev", | ||||
|     .item_name      = av_default_item_name, | ||||
|     .option         = options, | ||||
|     .version        = LIBAVUTIL_VERSION_INT, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user