2016-09-05 12:47 GMT+02:00 Ligverd Haer <ligv...@r46.ru>: > Create valide manifest. > Calculate current bandwidth for eath chunk. > Now works correctly with dash.sj
> - avio_printf(out, "\t\t<AdaptationSet contentType=\"video\" > segmentAlignment=\"true\" bitstreamSwitching=\"true\""); > - if (c->max_frame_rate.num && !c->ambiguous_frame_rate) > - avio_printf(out, " %s=\"%d/%d\"", (av_cmp_q(c->min_frame_rate, > c->max_frame_rate) < 0) ? "maxFrameRate" : "frameRate", > c->max_frame_rate.num, c->max_frame_rate.den); > - avio_printf(out, ">\n"); > + avio_printf(out, "\t\t<AdaptationSet contentType=\"video\" > segmentAlignment=\"true\" bitstreamSwitching=\"true\">\n"); This hunk is not ok because it is needlessly difficult to understand what you are changing: Leave the first ("AdaptionSet") and last ("\n") line unchanged - unless I misread the patch. Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel