Skip to content

Commit

Permalink
comments about dasher intra-only
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouqueau committed May 6, 2024
1 parent 2241cc9 commit a01b703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/filters/dasher.c
Expand Up @@ -6903,7 +6903,7 @@ static GF_Err dasher_setup_period(GF_Filter *filter, GF_DasherCtx *ctx, GF_DashS
//not setup, create new AS
ds->set = gf_mpd_adaptation_set_new();
ds->owns_set = GF_TRUE;
//only set hls intra for visual stream if we have know for sure
//only set hls intra for visual stream if we know for sure
if ((ds->stream_type==GF_STREAM_VISUAL) && (ds->sync_points_type==DASHER_SYNC_NONE)) {
ds->set->intra_only = GF_TRUE;
}
Expand Down Expand Up @@ -8947,7 +8947,7 @@ static GF_Err dasher_process(GF_Filter *filter)

if (!sap_type && (ds->sync_points_type != DASHER_SYNC_PRESENT)) {
ds->sync_points_type = DASHER_SYNC_PRESENT;
//cf setup_period: in sbound=0 mode, if stream has sync and non-sync and uses skip samples, allow spliting
//cf setup_period: in sbound=0 mode, if stream has sync and non-sync and uses skip samples, allow splitting
//slightly before - typically needed for audio with sync points (usac, mpegh) where the segment duration is set
//to the intra interval, we need to take into account the skip samples
if (!ctx->sbound && !ds->cues
Expand Down

0 comments on commit a01b703

Please sign in to comment.