From 61202bb3640740d2cb98cf13922dcdf67970d5ef Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 30 Jan 2017 19:38:43 +0100 Subject: ytdl_hook, edl: implement pseudo-DASH support We use the metadata provided by youtube-dl to sort-of implement fragmented DASH streaming. This is all a bit hacky, but hopefully a makeshift solution until libavformat has proper mechanisms. (Although in danger of being one of those temporary hacks that become permanent.) --- demux/timeline.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'demux/timeline.h') diff --git a/demux/timeline.h b/demux/timeline.h index edc6a2f7ae..21a6602ba8 100644 --- a/demux/timeline.h +++ b/demux/timeline.h @@ -4,6 +4,7 @@ struct timeline_part { double start; double source_start; + char *url; struct demuxer *source; }; @@ -15,6 +16,9 @@ struct timeline { // main source struct demuxer *demuxer; + bstr init_fragment; + bool dash; + // All referenced files. The source file must be at sources[0]. struct demuxer **sources; int num_sources; -- cgit v1.2.3