Changeset 228799271f76d66ed1d751a3918e7e9c96a24319
- 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
| r7c4f6bb |
r2287992 |
|
| 76 | 76 | set_category( CAT_INPUT ); |
|---|
| 77 | 77 | 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 ); |
|---|
| 79 | 79 | set_capability( "access2", 50 ); |
|---|
| 80 | 80 | add_shortcut( "dv" ); |
|---|
| … | … | |
| 227 | 227 | vlc_mutex_init( p_access, &p_sys->p_ev->lock ); |
|---|
| 228 | 228 | 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 ); |
|---|
| 230 | 230 | |
|---|
| 231 | 231 | free( psz_name ); |
|---|
| … | … | |
| 279 | 279 | access_sys_t *p_sys = p_access->p_sys; |
|---|
| 280 | 280 | vlc_bool_t *pb_bool; |
|---|
| 281 | | // int *pi_int; |
|---|
| 282 | 281 | int64_t *pi_64; |
|---|
| 283 | 282 | |
|---|
| … | … | |
| 288 | 287 | case ACCESS_CAN_FASTSEEK: |
|---|
| 289 | 288 | case ACCESS_CAN_PAUSE: |
|---|
| | 289 | pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* ); |
|---|
| | 290 | *pb_bool = VLC_TRUE; |
|---|
| | 291 | break; |
|---|
| | 292 | |
|---|
| 290 | 293 | case ACCESS_CAN_CONTROL_PACE: |
|---|
| 291 | 294 | pb_bool = (vlc_bool_t*)va_arg( args, vlc_bool_t* ); |
|---|