From f5fdb12d5552a3710611f15cd72ce6c7b6fb4da0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 22 Oct 2011 11:20:31 +0200 Subject: [PATCH] pulse: Change application name to LIBAVFORMAT_IDENT This should be changed to LIBAVDEVICE_IDENT once it exists. Signed-off-by: Michael Niedermayer --- libavdevice/pulse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/pulse.c b/libavdevice/pulse.c index 058cda1eec..94bb32ff5e 100644 --- a/libavdevice/pulse.c +++ b/libavdevice/pulse.c @@ -163,7 +163,7 @@ static av_cold int pulse_close(AVFormatContext *s) static const AVOption options[] = { { "server", "pulse server name", OFFSET(server), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, D }, - { "name", "application name", OFFSET(name), AV_OPT_TYPE_STRING, {.str = "ffmpeg"}, 0, 0, D }, + { "name", "application name", OFFSET(name), AV_OPT_TYPE_STRING, {.str = LIBAVFORMAT_IDENT}, 0, 0, D }, { "dev", "device to use", OFFSET(dev), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, D }, { "stream_name", "stream description", OFFSET(stream_name), AV_OPT_TYPE_STRING, {.str = "record"}, 0, 0, D }, { "sample_rate", "", OFFSET(sample_rate), AV_OPT_TYPE_INT, {.dbl = 48000}, 1, INT_MAX, D },