[FFmpeg-devel] [PATCH v2] avformat/hlsenc: Added option to add EXT-X-INDEPENDENT-SEGMENTS tag
Jeyapal, Karthick
kjeyapal at akamai.com
Thu Nov 23 13:35:47 EET 2017
On 11/23/17, 4:56 PM, "Carl Eugen Hoyos" <ceffmpeg at gmail.com> wrote:
>
>2017-11-23 12:21 GMT+01:00 Karthick J <kjeyapal at akamai.com>:
>
>> + if (hls->flags & HLS_SPLIT_BY_TIME) {
>> + // Independent segments cannot be guaranteed when splitting by time
>> + hls->flags &= ~HLS_INDEPENDENT_SEGMENTS;
>> + av_log(s, AV_LOG_WARNING,
>> + "'split_by_time' and 'independent_segments' cannot be enabled together. "
>> + "Disabling 'independent_segments' flag\n");
>> + }
>
>I did not read the code (so this comment may be wrong) but I would
>have expected "if (flags & BY_TIME && flags & INDEPENDENT)".
Oops. My mistake. Have corrected it in PATCH v3.
>
>Carl Eugen
regards,
Karthick
More information about the ffmpeg-devel
mailing list