[FFmpeg-devel] [PATCH 3/5] add AV_DISPOSITION_IMPAIRED for describing streams intended for hearing or visually impaired persons

Justin Ruggles justin.ruggles
Sat Feb 5 02:53:35 CET 2011


On 02/04/2011 08:11 PM, Peter Ross wrote:

> ---
>  libavformat/avformat.h |    1 +
>  libavformat/version.h  |    2 +-
>  2 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> index 83289e4..160695e 100644
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -472,6 +472,7 @@ typedef struct AVIndexEntry {
>   * even when user did not explicitly ask for subtitles.
>   */
>  #define AV_DISPOSITION_FORCED    0x0040
> +#define AV_DISPOSITION_IMPAIRED  0x0080  /**< stream for the hearing or visually impaired */


I think it might be useful to have separate values for hearing and
visually impaired so that an application could provide an easy way for
users with one or the other impairment to select specific streams for
their needs.

-Justin



More information about the ffmpeg-devel mailing list