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

Reimar Döffinger Reimar.Doeffinger
Sat Feb 5 10:40:40 CET 2011


On Fri, Feb 04, 2011 at 08:53:35PM -0500, Justin Ruggles wrote:
> 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.

Not objecting, but which kind of stream can you imagine where it's not
obvious?
I mean I've never seen a video or subtitle stream for visually impaired
nor an audio stream for the hearing-impaired...



More information about the ffmpeg-devel mailing list