mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-11-25 08:31:00 +00:00
internalize ExtXDiscontinuity
This commit is contained in:
parent
d1fdb7fec1
commit
870a39cddd
2 changed files with 4 additions and 10 deletions
|
@ -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";
|
||||
|
|
|
@ -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::*;
|
||||
|
|
Loading…
Reference in a new issue