Ignore:
Timestamp:
Mar 1, 2011 5:40:17 PM (11 years ago)
Author:
nanang
Message:

Re #1182:

  • Fixed ffmpeg codec: decoding buffer size check (should not use assertion), reset output bit_info before decoding, removed unused code of auto resize when decoder output size changed.
  • Fixed bug in sdl_factory_default_param() of sdl_dev.c in device direction check.
  • Fixed compile errors sample app vid_streamutil.c of bad local variable definiton.
  • Updated sample app vid_streamutil.c default renderer size to 640 x 480.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/sdl_dev.c

    r3431 r3432  
    281281 
    282282    pj_bzero(param, sizeof(*param)); 
    283     if (di->info.dir & PJMEDIA_DIR_CAPTURE_RENDER) { 
     283    if (di->info.dir == PJMEDIA_DIR_CAPTURE_RENDER) { 
    284284        param->dir = PJMEDIA_DIR_CAPTURE_RENDER; 
    285285        param->cap_id = index; 
     
    751751    } 
    752752 
     753    if (frame->size==0 || frame->buf==NULL) 
     754        goto on_return; 
     755 
    753756    if (stream->surf) { 
    754757        if (SDL_MUSTLOCK(stream->surf)) { 
Note: See TracChangeset for help on using the changeset viewer.