Skip to content

Commit

Permalink
libavdevice: Update the class name as uniform style
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mypopydev committed Aug 15, 2019
1 parent 9c3adb7 commit 3aeb681
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion libavdevice/alsa_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libavdevice/alsa_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libavdevice/avfoundation.m
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ static int avf_close(AVFormatContext *s)
};

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,
Expand Down
2 changes: 1 addition & 1 deletion libavdevice/bktr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libavdevice/caca.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libavdevice/decklink_dec_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libavdevice/decklink_enc_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libavdevice/openal-dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libavdevice/oss_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libavdevice/oss_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libavdevice/pulse_audio_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libavdevice/pulse_audio_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3aeb681

Please sign in to comment.