mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-12-22 20:16:27 +00:00
internalize ExtXIFramesOnly
This commit is contained in:
parent
285d2eccb8
commit
c56a56abe8
2 changed files with 2 additions and 13 deletions
|
@ -5,19 +5,8 @@ use crate::types::ProtocolVersion;
|
|||
use crate::utils::tag;
|
||||
use crate::{Error, RequiredVersion};
|
||||
|
||||
/// # [4.4.3.6. EXT-X-I-FRAMES-ONLY]
|
||||
///
|
||||
/// The [`ExtXIFramesOnly`] tag indicates that each [`Media Segment`] in the
|
||||
/// Playlist describes a single I-frame. I-frames are encoded video
|
||||
/// frames, whose decoding does not depend on any other frame. I-frame
|
||||
/// Playlists can be used for trick play, such as fast forward, rapid
|
||||
/// reverse, and scrubbing.
|
||||
///
|
||||
/// [`Media Segment`]: crate::MediaSegment
|
||||
/// [4.4.3.6. EXT-X-I-FRAMES-ONLY]:
|
||||
/// https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-04#section-4.4.3.6
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||
pub struct ExtXIFramesOnly;
|
||||
pub(crate) struct ExtXIFramesOnly;
|
||||
|
||||
impl ExtXIFramesOnly {
|
||||
pub(crate) const PREFIX: &'static str = "#EXT-X-I-FRAMES-ONLY";
|
||||
|
|
|
@ -7,7 +7,7 @@ mod target_duration;
|
|||
|
||||
pub use discontinuity_sequence::*;
|
||||
pub(crate) use end_list::*;
|
||||
pub use i_frames_only::*;
|
||||
pub(crate) use i_frames_only::*;
|
||||
pub use media_sequence::*;
|
||||
pub use playlist_type::*;
|
||||
pub use target_duration::*;
|
||||
|
|
Loading…
Reference in a new issue