comparison mencoder.c @ 3563:3d73514ddefc

precaching
author arpi
date Mon, 17 Dec 2001 16:56:56 +0000
parents 48f3b07e174f
children af1f8e2d693a
comparison
equal deleted inserted replaced
3562:e84d6c8ff59b 3563:3d73514ddefc
351 exit(1); 351 exit(1);
352 } 352 }
353 353
354 printf("success: format: %d data: 0x%X - 0x%X\n",file_format, (int)(stream->start_pos),(int)(stream->end_pos)); 354 printf("success: format: %d data: 0x%X - 0x%X\n",file_format, (int)(stream->start_pos),(int)(stream->end_pos));
355 355
356 if(stream_cache_size) stream_enable_cache(stream,stream_cache_size*1024); 356 if(stream_cache_size) stream_enable_cache(stream,stream_cache_size*1024,0,0);
357 357
358 //demuxer=demux_open(stream,file_format,video_id,audio_id,dvdsub_id); 358 //demuxer=demux_open(stream,file_format,video_id,audio_id,dvdsub_id);
359 demuxer=demux_open(stream,file_format,audio_id,video_id,dvdsub_id); 359 demuxer=demux_open(stream,file_format,audio_id,video_id,dvdsub_id);
360 if(!demuxer){ 360 if(!demuxer){
361 printf("Cannot open demuxer\n"); 361 printf("Cannot open demuxer\n");