1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-09-27 14:10:05 +00:00
Commit graph

36 commits

Author SHA1 Message Date
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
f0d91c5e7c
fix rust_2018_idioms 2020-04-09 09:29:29 +02:00
Luro02
20072c2695
implement missing traits 2020-03-25 16:13:40 +01:00
Luro02
02d363daa1
slight changes to tests 2020-03-23 12:00: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
9273e6c16c
add must_use attributes 2020-02-24 16:30:43 +01:00
Luro02
86bb573c97
various improvements to InStreamId 2020-02-21 20:41:31 +01:00
Luro02
8cced1ac53
some improvements 2020-02-14 13:05:18 +01:00
Luro02
3a388e3985
improvements to code 2020-02-10 13:21:48 +01:00
Luro02
27d94faec4
use shorthand #24 2020-02-02 13:38:11 +01:00
Luro02
a777f74cfa
refactor attribute parsing to comply with #26 2020-01-26 13:11:57 +01:00
Luro02
e156f6e3fd
improve ExtXMedia 2020-01-25 12:26:20 +01:00
Luro02
ac80ac5c9d
switch error implementation #23
closes #23
2020-01-23 19:13:26 +01:00
Luro02
73d9eb4f79 minor changes 2019-10-12 11:38:28 +02:00
Luro02
c53e9e33f1 added pretty_assertions
This will allow for better troubleshooting of failing test, because you 
don't have to search for the difference (between left and right). This 
is especially helpful for larger assertions.
2019-10-08 15:42:33 +02:00
Luro02
b1c1ea8bdc minor changes + more tests #25 2019-10-06 16:39:18 +02:00
Luro02
32876e1371 fix some clippy lints 2019-10-05 16:08:03 +02:00
Luro02
4b4cffc248 fix #20 2019-10-04 11:02:21 +02:00
Luro02
5eca073a8c added rustfmt.toml 2019-10-03 18:04:10 +02:00
Luro02
93283f61f1 more tests #25 + better docs #31 2019-10-03 18:04:10 +02:00
Luro02
6b717f97c2 more tests #25 + better docs #31 2019-10-03 18:01:53 +02:00
Luro02
0c4fa008e6 more documentation #31 + tests #25 2019-09-22 18:00:38 +02:00
Luro02
3240417304 replaced builder with derive_builder #14 2019-09-22 12:56:28 +02:00
Luro02
81f9a421fe added RequiredVersion trait 2019-09-22 10:57:28 +02:00
Luro02
b954ae1134 remove all occurences of ref 2019-09-14 21:42:06 +02:00
Luro02
3721106795 Rewrote AttributePairs 2019-09-14 11:31:16 +02:00
Luro02
c8f3df1228 New Error type 2019-09-13 16:06:52 +02:00
Luro02
1a35463185 updated parser 2019-09-10 11:05:20 +02:00
Luro02
cf97a45f60 fixed clippy warnings 2019-09-08 12:23:33 +02:00
Luro02
1966a7608d removed QuotedString 2019-09-08 11:30:52 +02:00
Luro02
cb27640867 rustfmt code 2019-09-06 13:21:05 +02:00
Luro02
3ecbbd9acb move tags into their own modules 2019-09-06 12:55:00 +02:00