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

internalize ExtXDiscontinuity

This commit is contained in:
Luro02 2020-03-25 11:32:48 +01:00
parent d1fdb7fec1
commit 870a39cddd
No known key found for this signature in database
GPG key ID: B66FD4F74501A9CF
2 changed files with 4 additions and 10 deletions

View file

@ -5,16 +5,10 @@ use crate::types::ProtocolVersion;
use crate::utils::tag;
use crate::{Error, RequiredVersion};
/// # [4.4.2.3. EXT-X-DISCONTINUITY]
///
/// The [`ExtXDiscontinuity`] tag indicates a discontinuity between the
/// [`Media Segment`] that follows it and the one that preceded it.
///
/// [`Media Segment`]: crate::MediaSegment
/// [4.4.2.3. EXT-X-DISCONTINUITY]:
/// https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-04#section-4.4.2.3
/// The `ExtXDiscontinuity` tag indicates a discontinuity between the
/// `MediaSegment` that follows it and the one that preceded it.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct ExtXDiscontinuity;
pub(crate) struct ExtXDiscontinuity;
impl ExtXDiscontinuity {
pub(crate) const PREFIX: &'static str = "#EXT-X-DISCONTINUITY";

View file

@ -8,7 +8,7 @@ mod program_date_time;
pub use byte_range::*;
pub use date_range::*;
pub use discontinuity::*;
pub(crate) use discontinuity::*;
pub use inf::*;
pub use key::*;
pub use map::*;