Changeset 228799271f76d66ed1d751a3918e7e9c96a24319

Show
Ignore:
Timestamp:
24/11/05 21:23:07 (3 years ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1132863787 +0000
git-parent:

[1ee41d42554e30644ccdcb585bab7be2e2e0c622]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1132863787 +0000
Message:

Run thread that reads from the DV camera at a slightly higher priority then the input. Put the --dv-caching value by default at a high value 60000 (1 min). Maybe it can be lower, but needs more testing.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/dv.c

    r7c4f6bb r2287992  
    7676    set_category( CAT_INPUT ); 
    7777    set_subcategory( SUBCAT_INPUT_ACCESS ); 
    78     add_integer( "dv-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE ); 
     78    add_integer( "dv-caching", 60000 / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE ); 
    7979    set_capability( "access2", 50 ); 
    8080    add_shortcut( "dv" ); 
     
    227227    vlc_mutex_init( p_access, &p_sys->p_ev->lock ); 
    228228    vlc_thread_create( p_sys->p_ev, "dv event thread handler", Raw1394EventThread, 
    229                        VLC_THREAD_PRIORITY_INPUT, VLC_FALSE ); 
     229                       VLC_THREAD_PRIORITY_OUTPUT, VLC_FALSE ); 
    230230 
    231231    free( psz_name ); 
     
    279279    access_sys_t *p_sys = p_access->p_sys; 
    280280    vlc_bool_t   *pb_bool; 
    281    // int          *pi_int; 
    282281    int64_t      *pi_64; 
    283282 
     
    288287        case ACCESS_CAN_FASTSEEK: 
    289288        case ACCESS_CAN_PAUSE: 
     289            pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* ); 
     290            *pb_bool = VLC_TRUE; 
     291            break; 
     292 
    290293        case ACCESS_CAN_CONTROL_PACE: 
    291294            pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* );