Definition at line 548 of file VideoAccessObject.h. References ILOG_DEBUG, Impala::Core::Stream::LavcProtocolDataServer_protocol, and Impala::Core::Stream::LavcProtocolLocalFile_protocol. Referenced by VideoAccessObject(). 00549 { 00550 00551 // Set libavcodec's log output level 00552 //av_log_set_level(AV_LOG_DEBUG); 00553 //av_log_set_level(AV_LOG_ERROR); 00554 //av_log_set_level(AV_LOG_FATAL); 00555 av_log_set_level(AV_LOG_QUIET); 00556 00557 00558 // Register all formats and codecs 00559 av_register_all(); 00560 avcodec_register_all(); 00561 00562 register_protocol(&LavcProtocolDataServer_protocol); 00563 00564 if (Link::DiskImage::DiskImageUsed()) 00565 { 00566 ILOG_DEBUG("Registering disk image protocol.."); 00567 Link::DiskImage::RegisterProtocol(); 00568 } 00569 00570 #ifdef USE_IFILE 00571 ILOG_DEBUG("Registering Impala file protocol.."); 00572 register_protocol(&LavcProtocolLocalFile_protocol); 00573 #endif 00574 return true; 00575 }
|