[FFmpeg-devel] [PATCH] fix codec long name for oss

Stefano Sabatini stefano.sabatini-lala
Thu Aug 7 10:26:23 CEST 2008


On date Thursday 2008-08-07 09:00:19 +0200, Benoit Fouet encoded:
[...]
> Stefano Sabatini wrote:
> > On date Wednesday 2008-08-06 15:10:31 +0200, Benoit Fouet encoded:
[...]
> >> Index: libavdevice/audio.c
> >> ===================================================================
> >> --- libavdevice/audio.c	(revision 14643)
> >> +++ libavdevice/audio.c	(working copy)
> >> @@ -312,7 +312,7 @@
> >>  #ifdef CONFIG_OSS_DEMUXER
> >>  AVInputFormat oss_demuxer = {
> >>      "oss",
> >> -    NULL_IF_CONFIG_SMALL("audio grab and output"),
> >> +    NULL_IF_CONFIG_SMALL("audio grab"),
> >>      sizeof(AudioData),
> >>      NULL,
> >>      audio_read_header,
> >> @@ -325,7 +325,7 @@
> >>  #ifdef CONFIG_OSS_MUXER
> >>  AVOutputFormat oss_muxer = {
> >>      "oss",
> >> -    NULL_IF_CONFIG_SMALL("audio grab and output"),
> >> +    NULL_IF_CONFIG_SMALL("audio output"),
> >>      "",
> >>      "",
> >>      sizeof(AudioData),
> >>     
> >
> > What about something more descriptive, for example:
> > "OSS (Open Sound System) audio {grab|output}"
> > ?
> >
> >   
> 
> updated patch attached
[...]
> Index: libavdevice/audio.c
> ===================================================================
> --- libavdevice/audio.c	(revision 14656)
> +++ libavdevice/audio.c	(working copy)
> @@ -313,7 +313,7 @@
>  #ifdef CONFIG_OSS_DEMUXER
>  AVInputFormat oss_demuxer = {
>      "oss",
> -    NULL_IF_CONFIG_SMALL("audio grab and output"),
> +    NULL_IF_CONFIG_SMALL("Open Sound System capture"),
>      sizeof(AudioData),
>      NULL,
>      audio_read_header,
> @@ -326,7 +326,7 @@
>  #ifdef CONFIG_OSS_MUXER
>  AVOutputFormat oss_muxer = {
>      "oss",
> -    NULL_IF_CONFIG_SMALL("audio grab and output"),
> +    NULL_IF_CONFIG_SMALL("Open Sound System playback"),
>      "",
>      "",
>      sizeof(AudioData),

Fine with me, thanks.

Regards.
-- 
FFmpeg = Forgiving and Freak Magic Picky Ecletic Gem




More information about the ffmpeg-devel mailing list