On 05.11.2016 18:47, Andreas Cadhalpun wrote:
> On 05.11.2016 17:39, Anssi Hannula wrote:
>> @@ -1981,6 +1986,11 @@ static int hls_read_packet(AVFormatContext *s, 
>> AVPacket *pkt)
>>                                              
>> pls->ctx->streams[pls->pkt.stream_index]->time_base,
>>                                              AV_TIME_BASE_Q);
>>  
>> +        /* There may be more situations where this would be useful, but 
>> this at least
>> +         * handles newly probed codecs properly (i.e. request_probe by 
>> mpegts). */
>> +        if (ist->codecpar->codec_id != st->codecpar->codec_id)
>> +            set_stream_info_from_input_stream(st, pls, ist);
> 
> This has to set:
>             ist->internal->need_context_update = 1;
              ^
Should have been 'st' not 'ist'.

Best regards,
Andreas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to