1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-05-19 16:58:23 +00:00
Commit graph

114 commits

Author SHA1 Message Date
Lucas 6c3438a68f
Merge pull request #69 from Luro02/issue64
fix issue 64
2021-10-01 13:37:19 +02:00
Lucas 3a742a95b6 fix issue #64 2021-10-01 13:32:36 +02:00
Lucas c2c94f9352 fix clippy lints 2021-10-01 13:04:57 +02:00
Luro02 e6588ab963
Fix a lot of clippy lints 2020-08-11 11:13:14 +02:00
Luro02 f98f12fa82
Fix #59 2020-08-11 10:36:44 +02:00
Lucas 85df5c94ad
Merge branch 'master' into 0.3.1 2020-04-25 09:54:01 +02:00
Luro02 fe54e0b456 Fix #55 2020-04-25 09:50:31 +02:00
Luro02 c4643c7083 Use Cow<'a, str> to reduce clones #52 2020-04-22 10:34:23 +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 f0d91c5e7c
fix rust_2018_idioms 2020-04-09 09:29:29 +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 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 7a63c2dcf2
add builder module 2020-03-25 14:10:59 +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 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 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 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
Luro02 f7d81a55c9
improve documentation of ExtXIndependentSegments 2020-02-24 16:16:40 +01:00
Luro02 5972216323
improve documentation and tests of ByteRange 2020-02-23 18:56:41 +01:00
Luro02 a8c788f4d2
improve documentation and tests of ExtXSessionData 2020-02-21 22:06:09 +01:00
Luro02 8948f9914b
improve documentation of ExtXVersion 2020-02-21 21:11:51 +01:00
Luro02 5304947885
various minor improvements 2020-02-21 20:45:23 +01:00
Luro02 f404e68d1c
add VariantStream::is_associated 2020-02-21 20:45:18 +01:00
Luro02 86bb573c97
various improvements to InStreamId 2020-02-21 20:41:31 +01:00
Luro02 c39d104137
remove DecryptionKey 2020-02-21 10:45:04 +01:00
Luro02 b2c997d04d
remove _tag suffix from MediaSegment fields 2020-02-16 12:50:52 +01:00
Luro02 8cced1ac53
some improvements 2020-02-14 13:05:18 +01:00
Luro02 25f9691c75
improve error 2020-02-14 13:01:42 +01:00