Changes between Version 2 and Version 3 of Ticket #6573, comment 12


Ignore:
Timestamp:
Aug 23, 2017, 1:43:05 PM (3 years ago)
Author:
krs_vital
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6573, comment 12

    v2 v3  
    99             delta >  1LL*dts_delta_threshold*AV_TIME_BASE){
    1010--            ifile->ts_offset -= delta;
    11 +            if(delta < 0){ifile->ts_offset -= delta;}else{ifile->ts_offset += delta;}
     11+            if(delta < 0){ifile->ts_offset -= delta;}
    1212             av_log(NULL, AV_LOG_DEBUG,
    1313                    "Inter stream timestamp discontinuity %"PRId64", new offset= %"PRId64"\n",
     
    1818                 pkt_dts + AV_TIME_BASE/10 < FFMAX(ist->pts, ist->dts)) {
    1919--                ifile->ts_offset -= delta;
    20 +                if(delta < 0){ifile->ts_offset -= delta;}else{ifile->ts_offset += delta;}
     20+                if(delta < 0){ifile->ts_offset -= delta;}
    2121                 av_log(NULL, AV_LOG_DEBUG,
    2222                        "timestamp discontinuity %"PRId64", new offset= %"PRId64"\n",