1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-05-28 21:28:18 +00:00
Commit graph

187 commits

Author SHA1 Message Date
Luro02 41d917e6f1
bump to version 0.3.0 2020-04-09 14:37:31 +02:00
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 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 41f81aebb3
add html_root_url 2020-04-09 09:29:17 +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 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 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 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
Luro02 a797e401ed
improve MasterPlaylist 2020-03-17 15:58:43 +01:00
Luro02 025add6dc3
improve VariantStream 2020-03-17 15:54:53 +01:00
Luro02 78edff9341
improve ExtXSessionKey 2020-03-17 15:48:02 +01:00
Luro02 4e41585cbd
improve ExtXMedia 2020-03-17 15:39:07 +01:00
Luro02 187174042d
use chars instead of bytes in the attribute parser 2020-03-16 11:17:52 +01:00
Luro02 e338f5f95f
finer grained clippy lints 2020-03-08 10:00:39 +01:00
Luro02 a262c77c58
improvements to Value 2020-02-24 16:45:32 +01:00
Luro02 6333a80507
minor improvements 2020-02-24 16:45:10 +01:00
Luro02 6ef8182f2c
improvments to ExtXStart 2020-02-24 16:44:02 +01:00
Luro02 9273e6c16c
add must_use attributes 2020-02-24 16:30:43 +01:00