Ignore:
Timestamp:
Mar 1, 2011 5:40:17 PM (14 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/pjsip-apps/src/samples/vid_streamutil.c

    r3431 r3432  
    8989#define THIS_FILE       "vid_streamutil.c" 
    9090 
     91 
     92/* If set, local renderer will be created to play original file */ 
    9193#define HAS_LOCAL_RENDERER_FOR_PLAY_FILE    1 
    92 #define DEF_RENDERER_WIDTH                  0 
    93 #define DEF_RENDERER_HEIGHT                 0 
     94 
     95 
     96/* Default width and height for the renderer, better be set to maximum 
     97 * acceptable size. 
     98 */ 
     99#define DEF_RENDERER_WIDTH                  640 
     100#define DEF_RENDERER_HEIGHT                 480 
     101 
    94102 
    95103/* Prototype */ 
     
    598606    if (play_file.file_name) { 
    599607        pjmedia_video_format_detail *file_vfd; 
    600         pjmedia_clock_param *clock_param; 
     608        pjmedia_clock_param clock_param; 
    601609 
    602610        /* Create file player */ 
Note: See TracChangeset for help on using the changeset viewer.