mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
lavf: Add non diegetic stream disposition flag
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
5636972c7a
commit
b2d6e7a289
@ -879,6 +879,13 @@ typedef struct AVIndexEntry {
|
|||||||
*/
|
*/
|
||||||
#define AV_DISPOSITION_TIMED_THUMBNAILS (1 << 11)
|
#define AV_DISPOSITION_TIMED_THUMBNAILS (1 << 11)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The stream is intended to be mixed with a spatial audio track. For example,
|
||||||
|
* it could be used for narration or stereo music, and may remain unchanged by
|
||||||
|
* listener head rotation.
|
||||||
|
*/
|
||||||
|
#define AV_DISPOSITION_NON_DIEGETIC (1 << 12)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The subtitle stream contains captions, providing a transcription and possibly
|
* The subtitle stream contains captions, providing a transcription and possibly
|
||||||
* a translation of audio. Typically intended for hearing-impaired audiences.
|
* a translation of audio. Typically intended for hearing-impaired audiences.
|
||||||
|
@ -618,6 +618,8 @@ static void dump_stream_format(const AVFormatContext *ic, int i,
|
|||||||
av_log(NULL, AV_LOG_INFO, " (dependent)");
|
av_log(NULL, AV_LOG_INFO, " (dependent)");
|
||||||
if (st->disposition & AV_DISPOSITION_STILL_IMAGE)
|
if (st->disposition & AV_DISPOSITION_STILL_IMAGE)
|
||||||
av_log(NULL, AV_LOG_INFO, " (still image)");
|
av_log(NULL, AV_LOG_INFO, " (still image)");
|
||||||
|
if (st->disposition & AV_DISPOSITION_NON_DIEGETIC)
|
||||||
|
av_log(NULL, AV_LOG_INFO, " (non-diegetic)");
|
||||||
av_log(NULL, AV_LOG_INFO, "\n");
|
av_log(NULL, AV_LOG_INFO, "\n");
|
||||||
|
|
||||||
dump_metadata(NULL, st->metadata, " ");
|
dump_metadata(NULL, st->metadata, " ");
|
||||||
|
Loading…
Reference in New Issue
Block a user