summaryrefslogtreecommitdiffstats
path: root/demux/demux_cue.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-01-11 14:10:41 +0100
committerwm4 <wm4@nowhere>2019-09-19 20:37:04 +0200
commit87db2f24e8eca23664dc23128b8fca2b5d07125d (patch)
treefe6250c363bad702b064533f21ccdea49890ee3f /demux/demux_cue.c
parenta09396ee609af71f49f70521320e87989577b577 (diff)
downloadmpv-87db2f24e8eca23664dc23128b8fca2b5d07125d.tar.bz2
mpv-87db2f24e8eca23664dc23128b8fca2b5d07125d.tar.xz
demux_edl, cue, mkv: slightly nicer file format indication
Instead of just using "edl/" for the file format, report mkv_oc if it's generated from ordered chapters, "cue/" if from .cue, "multi/" if it's from EDL but only for adding separate streams, "dash/" if it's from EDL but only using the DASH hack, and "edl/" for everything else. The EDL variants are mostly special-cased to the variants the ytdl wrapper usually generates. This has no effect other than what the command.c file-format property returns.
Diffstat (limited to 'demux/demux_cue.c')
-rw-r--r--demux/demux_cue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux_cue.c b/demux/demux_cue.c
index 8518d928d1..708b742e8f 100644
--- a/demux/demux_cue.c
+++ b/demux/demux_cue.c
@@ -232,6 +232,7 @@ static void build_timeline(struct timeline *tl)
tl->num_chapters = track_count;
MP_TARRAY_APPEND(tl, tl->pars, tl->num_pars, par);
tl->meta = par->track_layout;
+ tl->format = "cue";
out:
talloc_free(ctx);