Luro02
e6588ab963
Fix a lot of clippy lints
2020-08-11 11:13:14 +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
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
fc1136265c
improve DecryptionKey
2020-03-25 11:49:16 +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
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
9273e6c16c
add must_use attributes
2020-02-24 16:30:43 +01:00
Luro02
a8c788f4d2
improve documentation and tests of ExtXSessionData
2020-02-21 22:06:09 +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
8cced1ac53
some improvements
2020-02-14 13:05:18 +01:00
Luro02
9b61f74b9d
fix documentation
2020-02-10 13:51:37 +01:00
Luro02
3a388e3985
improvements to code
2020-02-10 13:21:48 +01:00
Luro02
e6f5091f1b
implement VariantStream
2020-02-10 13:20:39 +01:00
Luro02
5de47561b1
some minor improvements
2020-02-06 12:28:54 +01:00
Luro02
2471737455
update dependencies
2020-02-02 15:23:47 +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
448c331447
fix compilation
2020-01-23 17:57:57 +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
8d1ed6372b
removed Eq implementation
...
f64 and f32 don't implement Eq for a reason!
For example this comparison `1.0 + 2.0 == 3.0` is false for floats, even
though it should be true!
2019-10-05 13:23:41 +02:00
Luro02
f76b223482
made master playlist smarter
2019-10-05 12:49:08 +02:00
Luro02
5b44262dc8
minor changes
2019-10-05 09:44:23 +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
d240ac5c5e
remove code duplication
2019-09-21 15:20:19 +02:00
Luro02
71361ff328
remove url #21
2019-09-21 12:11:36 +02:00
Luro02
ea75128aee
remove getset #19
2019-09-21 11:53:34 +02:00