Skip to content

Commit

Permalink
rm default forced=no
Browse files Browse the repository at this point in the history
  • Loading branch information
shugli committed Apr 2, 2022
1 parent d5208c4 commit f6cdb28
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions vod/hls/m3u8_builder.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#define M3U8_EXT_MEDIA_AUTOSELECT "AUTOSELECT=YES,DEFAULT=NO,"
#define M3U8_EXT_MEDIA_NON_DEFAULT "AUTOSELECT=NO,DEFAULT=NO,"
#define M3U8_EXT_MEDIA_FORCED "FORCED=YES,"
#define M3U8_EXT_MEDIA_NON_FORCED "FORCED=NO,"
#define M3U8_EXT_MEDIA_AD "CHARACTERISTICS=\"public.accessibility.describes-video\","
#define M3U8_EXT_MEDIA_SDH "CHARACTERISTICS=\"public.accessibility.describes-music-and-sound\","
#define M3U8_EXT_MEDIA_URI "URI=\""
Expand Down Expand Up @@ -869,10 +868,6 @@ m3u8_builder_ext_x_media_tags_get_size(
{
result += sizeof(M3U8_EXT_MEDIA_FORCED) - 1;
}
else
{
result += sizeof(M3U8_EXT_MEDIA_NON_FORCED) - 1;
}
}

if (base_url->len != 0)
Expand Down Expand Up @@ -992,10 +987,6 @@ m3u8_builder_ext_x_media_tags_write(
{
p = vod_copy(p, M3U8_EXT_MEDIA_FORCED, sizeof(M3U8_EXT_MEDIA_FORCED) - 1);
}
else
{
p = vod_copy(p, M3U8_EXT_MEDIA_NON_FORCED, sizeof(M3U8_EXT_MEDIA_NON_FORCED) - 1);
}
}

if (media_type == MEDIA_TYPE_AUDIO)
Expand Down

0 comments on commit f6cdb28

Please sign in to comment.