Ignore:
Timestamp:
Apr 1, 2011 7:12:59 AM (11 years ago)
Author:
nanang
Message:

Re #1219:

  • Fixed assertion in H263 & H264 packetizer caused by invalid unpack_last_sync_pos after packet loss.
  • Updated ffmpeg_codecs.c to lower H264 video encoding latency.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c

    r3493 r3494  
    296296        ctx->qmax = 51; 
    297297        ctx->qcompress = 0.6f; 
    298  
    299         ctx->flags |= CODEC_FLAG_LOW_DELAY; 
    300298    } 
    301299 
     
    922920        ctx->opaque = ff; 
    923921 
     922        /* Set no delay, note that this may cause some codec functionals 
     923         * not working (e.g: rate control). 
     924         */ 
     925        ctx->rc_lookahead = 0; 
     926 
    924927        /* Open ffmpeg codec */ 
    925928        pj_mutex_lock(ff_mutex); 
Note: See TracChangeset for help on using the changeset viewer.