1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-12-22 20:16:27 +00:00
Commit graph

239 commits

Author SHA1 Message Date
npajkovsky
34df16f7d6
fix EXT-X-MEDIA DEFAULT=yes wrt AUTOSELECT (#1)
* fix EXT-X-MEDIA DEFAULT=yes wrt AUTOSELECT

In 4.3.4.1. EXT-X-MEDIA section about AUTOSELECT is written

   If the AUTOSELECT attribute is present, its value MUST be YES if
   the value of the DEFAULT attribute is YES.

That means, that if DEFAULT is YES and AUTOSELECT is *not present*, it
ok.

Before the patch, incorrect error is emitted

  If `DEFAULT` is true, `AUTOSELECT` has to be true too, Default:
  Some(true), Autoselect: None!

Signed-off-by: Nikola Pajkovsky <nikola.pajkovsky@livesporttv.cz>

* update src/tags/master_playlist/media.rs

Co-authored-by: Nikola Pajkovsky <nikola.pajkovsky@livesporttv.cz>
Co-authored-by: Lucas <24826124+Luro02@users.noreply.github.com>
2020-04-09 14:12:16 +02:00
Luro02
fdc3442bb6
minor improvements to documentation 2020-04-09 10:50:41 +02:00
Luro02
ec0b5cdb21
improve rustfmt.toml 2020-04-09 09:29:29 +02:00
Luro02
7a918d31bd
document crate features 2020-04-09 09:29:29 +02:00
Luro02
f0d91c5e7c
fix rust_2018_idioms 2020-04-09 09:29:29 +02:00
Luro02
f90ea7a121
slightly improve PlaylistType 2020-04-09 09:29:26 +02:00
Luro02
25a01261f5
add features section in Cargo.toml 2020-04-09 09:29:23 +02:00
Luro02
3492c529c5
add version-sync 2020-04-09 09:29:20 +02:00
Luro02
41f81aebb3
add html_root_url 2020-04-09 09:29:17 +02:00
Lucas
c6b1732c26
Merge pull request #2 from dholroyd/optional-start-date
Make START-DATE optional.
2020-04-08 15:14:42 +02:00
David Holroyd
e07fb9262d Make START-DATE optional.
Although this goes against the wording of RFC8216, the spec includes
examples that omit this, and implementations also omit START-DATE when
for example signalling an 'explicit-IN' SCTE marker.
2020-04-07 21:20:52 +01:00
Luro02
fb4f6a451e
include backtrace feature in ci tests 2020-03-29 13:01:30 +02:00
Luro02
969e5bae9a
minor code improvements 2020-03-29 12:58:43 +02:00
Luro02
9eccea8a7f
automatically infer start of ByteRange 2020-03-29 12:58:32 +02:00
Luro02
47eccfdef9
improve panic messages for ByteRange 2020-03-29 12:57:43 +02:00
Luro02
8ece080cda
remove examples directory 2020-03-29 12:01:28 +02:00
Luro02
79c4f5e934
Merge remote-tracking branch 'upstream/master' 2020-03-29 11:57:16 +02:00
Luro02
3710a9c5c2
change github actions 2020-03-29 11:33:16 +02:00
Luro02
8b3517326b
fix badge in readme 2020-03-29 11:32:59 +02:00
Luro02
e174fcac9a
remove redundant deny.toml 2020-03-29 11:02:30 +02:00
Luro02
899aea7fc1
finish documentation 2020-03-28 10:51:19 +01:00
Luro02
9a2cacf024
fix some clippy lints 2020-03-28 10:48:17 +01:00
Luro02
8eb45dceb7
insert iv based on segmentnumber 2020-03-28 10:47:52 +01:00
Luro02
e187c9dc7c
improve readability 2020-03-28 10:46:07 +01:00
Luro02
20072c2695
implement missing traits 2020-03-25 16:13:40 +01:00
Luro02
6cd9fe7064
fix broken documentation 2020-03-25 15:57:43 +01:00
Luro02
24c5ad8199
fix github actions syntax 2020-03-25 14:56:46 +01:00
Luro02
cc48478b05
some minor fixes 2020-03-25 14:11:11 +01:00
Luro02
7a63c2dcf2
add builder module 2020-03-25 14:10:59 +01:00
Luro02
c268fa3a82
rewrite MediaPlaylist 2020-03-25 14:10:27 +01:00
Luro02
72c0ff9c75
rename MediaSegment::inf to MediaSegment::duration 2020-03-25 13:58:21 +01:00
Luro02
429f3f8c3d
internalize ExtXTargetDuration 2020-03-25 13:37:47 +01:00
Luro02
f48876ee07
internalize ExtXDiscontinuitySequence 2020-03-25 13:21:11 +01:00
Luro02
99b6b23acc
internalize ExtMediaSequence 2020-03-25 13:08:26 +01:00
Luro02
c56a56abe8
internalize ExtXIFramesOnly 2020-03-25 12:49:53 +01:00
Luro02
285d2eccb8
internalize ExtXEndList 2020-03-25 12:41:36 +01:00
Luro02
112c3998b8
improve ExtXDiscontinuitySequence 2020-03-25 12:27:36 +01:00
Luro02
ca302ef543
improve MediaSegment 2020-03-25 12:18:34 +01:00
Luro02
42e1afaa47
change ExtXPlaylistType to PlaylistType 2020-03-25 12:17:03 +01:00
Luro02
15cc360a2c
implement missing traits 2020-03-25 12:03:19 +01:00
Luro02
ca3ba476c3
improve ExtXProgramDateTime 2020-03-25 11:56:43 +01:00
Luro02
fc1136265c
improve DecryptionKey 2020-03-25 11:49:16 +01:00
Luro02
7c26d2f7f1
slightly improve ExtInf 2020-03-25 11:41:24 +01:00
Luro02
870a39cddd
internalize ExtXDiscontinuity 2020-03-25 11:32:48 +01:00
Luro02
d1fdb7fec1
improve ExtXDateRange 2020-03-25 11:21:20 +01:00
Luro02
b8fd4c15d5
rewrite KeyFormatVersions 2020-03-25 11:08:32 +01:00
Luro02
7025114e36
rewrite keys (ExtXKey, ExtXSessionKey) and Encrypted trait 2020-03-23 13:34:26 +01:00
Luro02
02d363daa1
slight changes to tests 2020-03-23 12:00:02 +01:00
Luro02
b2fb58559c
make chrono optional #49 2020-03-20 12:05:16 +01:00
Luro02
1b01675250
improve ExtXMap 2020-03-17 16:13:38 +01:00