|
VLC
2.1.0-git
|
This library provides basic functions for threads to interact with user interface, such as message output. More...
Data Structures | |
| struct | msg_item_t |
| Log message. More... | |
Macros | |
| #define | msg_GenericVa(a, b, c, d, e) vlc_vaLog(VLC_OBJECT(a), b, c, d, e) |
| #define | msg_Info(p_this,...) vlc_Log( VLC_OBJECT(p_this), VLC_MSG_INFO, MODULE_STRING, __VA_ARGS__ ) |
| #define | msg_Err(p_this,...) vlc_Log( VLC_OBJECT(p_this), VLC_MSG_ERR, MODULE_STRING, __VA_ARGS__ ) |
| #define | msg_Warn(p_this,...) vlc_Log( VLC_OBJECT(p_this), VLC_MSG_WARN, MODULE_STRING, __VA_ARGS__ ) |
| #define | msg_Dbg(p_this,...) vlc_Log( VLC_OBJECT(p_this), VLC_MSG_DBG, MODULE_STRING, __VA_ARGS__ ) |
Enumerations | |
| enum | msg_item_type { VLC_MSG_INFO = 0, VLC_MSG_ERR, VLC_MSG_WARN, VLC_MSG_DBG } |
| Message types. More... | |
Functions | |
| void | vlc_Log (vlc_object_t *, int, const char *, const char *,...) |
| Emit a log message. | |
| void | vlc_vaLog (vlc_object_t *, int, const char *, const char *, va_list) |
| Emit a log message. | |
This library provides basic functions for threads to interact with user interface, such as message output.
| #define msg_Dbg | ( | p_this, | |
| ... | |||
| ) | vlc_Log( VLC_OBJECT(p_this), VLC_MSG_DBG, MODULE_STRING, __VA_ARGS__ ) |
Referenced by access_New(), aout_CheckReady(), aout_DecSilence(), aout_DecSynchronize(), aout_FiltersPipelineCreate(), aout_FormatPrint(), aout_FormatsPrint(), aout_RequestRestart(), aout_volume_SetFormat(), AReadBlock(), AReadStream(), Art(), ASeek(), AStreamPeekStream(), AStreamPrebufferBlock(), AStreamPrebufferStream(), AStreamReadNoSeekStream(), AStreamRefillStream(), AStreamSeekBlock(), AStreamSeekStream(), config_ChainParse(), config_OpenConfigFile(), Control(), CorksCallback(), Create(), CreateFilter(), decoder_SynchroNewPicture(), DecoderDecodeAudio(), DecoderDecodeVideo(), DecoderPlayAudio(), DecoderPlayVideo(), DeinterlaceCallback(), DeleteDecoder(), demux_New(), Destructor(), DownloadArt(), EsOutDecodersStopBuffering(), EsOutDel(), EsOutFrameNext(), EsOutProgramDel(), EsOutProgramEpg(), EsOutProgramMeta(), EsOutProgramSelect(), EsOutSelect(), EsOutSend(), EsSelect(), filter_chain_AppendFilterInternal(), filter_chain_DeleteFilterInternal(), FindArt(), http_auth_ParseWwwAuthenticateHeader(), httpd_HostDelete(), ImageReadUrl(), ImageWrite(), Init(), input_EsOutNew(), input_EsOutTimeshiftNew(), input_resource_GetAout(), input_resource_PutAout(), InputGetExtraFilesPattern(), InputSourceInit(), libvlc_InternalCleanup(), libvlc_InternalInit(), libvlc_Quit(), LoadSlaves(), LoadSubtitles(), LoopRequest(), MainLoop(), MainLoopDemux(), MainLoopTryRepeat(), module_LoadPlugins(), module_unneed(), net_AcceptSingle(), net_Connect(), net_ConnectDgram(), net_Listen(), net_ListenSingle(), net_OpenDgram(), net_Read(), net_SetMcastHopLimit(), NextItem(), PlayItem(), playlist_Deactivate(), playlist_Destroy(), playlist_Export(), playlist_SaveArt(), playlist_sd_item_added(), playlist_ServicesDiscoveryAdd(), RequestSout(), RequestVout(), SAP_Add(), SelectClockSource(), SkipAPETag(), SkipID3Tag(), SlaveDemux(), SocksHandshakeTCP(), SocksNegotiate(), sout_AnnounceRegisterSDP(), sout_AnnounceUnRegister(), sout_InputDelete(), sout_InputNew(), sout_MuxAddStream(), sout_MuxNew(), sout_NewInstance(), sout_StreamDelete(), sout_StreamNew(), StartTitle(), stream_AccessNew(), stream_FilterChainNew(), stream_ReadLine(), SubtitleAdd(), subtitles_Detect(), system_Configure(), Thread(), ThreadChangeFilters(), ThreadDisplayPreparePicture(), UpdateSPU(), video_format_Print(), vlc_CPU_dump(), vlc_module_load(), vlc_object_kill(), vlc_object_waitpipe(), vlm_New(), vout_InitInterlacingSupport(), vout_ManageDisplay(), vout_NewDisplayWindow(), vout_OpenWrapper(), vout_Request(), vout_SetInterlacingState(), VoutDisplayCreateRender(), VoutDisplayEvent(), VoutDisplayEventMouse(), and VoutOsdSnapshot().
| #define msg_Err | ( | p_this, | |
| ... | |||
| ) | vlc_Log( VLC_OBJECT(p_this), VLC_MSG_ERR, MODULE_STRING, __VA_ARGS__ ) |
Referenced by AddIntfCallback(), AddressCreate(), aout_DecNew(), aout_DecPlay(), aout_FiltersNew(), aout_FiltersPipelineCreate(), aout_New(), aout_new_buffer(), aout_OutputNew(), AStreamControl(), AStreamSeekBlock(), AStreamSeekStream(), config_ChainParse(), config_GetFloat(), config_GetInt(), config_GetPsz(), config_LoadConfigFile(), config_OpenConfigFile(), config_PutFloat(), config_PutInt(), config_PutPsz(), config_SaveConfigFile(), Control(), ControlLocked(), ControlLockedSetPauseState(), ControlLockedSetRate(), ControlLockedSetTime(), CreateDecoder(), CreateEncoder(), CropCallback(), decoder_New(), DecoderProcess(), DecoderUnsupportedCodec(), demux_PacketizerNew(), demux_vaControlHelper(), dialog_VFatal(), DStreamControl(), EsOutAdd(), EsOutControlLocked(), filter_chain_AppendFilter(), filter_chain_AppendFilterInternal(), filter_chain_AppendFromStringInternal(), GetPrevItem(), http_auth_FormatAuthorizationHeader(), http_auth_ParseAuthenticationInfoHeader(), httpd_HostCreate(), httpd_HostDelete(), httpd_HostThread(), ImageWriteUrl(), input_ControlPush(), input_DecoderSetCcState(), input_ExtractAttachmentAndCacheArt(), input_item_WriteMeta(), input_Start(), input_UpdateStatistic(), input_vaControl(), InputSourceInit(), intf_Create(), libvlc_InternalAddIntf(), libvlc_InternalInit(), module_Map(), net_Accept(), net_AcceptSingle(), net_Connect(), net_ConnectDgram(), net_Listen(), net_ListenSingle(), net_OpenDgram(), net_Read(), net_SetMcastHopLimit(), net_SetMcastOut(), net_SetupDgramSocket(), net_Socket(), net_SourceSubscribe(), net_Subscribe(), net_Write(), picture_BlendSubpicture(), playlist_Activate(), playlist_Create(), playlist_Export(), playlist_fetcher_Push(), playlist_MLDump(), playlist_MLLoad(), playlist_SaveArt(), PlaylistVAControl(), SAP_Add(), SelectClockSource(), SlaveDemux(), SlaveSeek(), SocksHandshakeTCP(), SocksNegotiate(), sout_AccessOutNew(), sout_AnnounceRegisterSDP(), sout_EncoderCreate(), sout_MuxAddStream(), sout_MuxDeleteStream(), sout_NewInstance(), SplitterEvent(), spu_PutSubpicture(), SpuRenderRegion(), SpuRenderSubpictures(), sql_Create(), stream_AccessNew(), stream_BlockRemaining(), stream_ReadLine(), stream_UrlNew(), system_Configure(), ThreadChangeFilters(), ThreadDisplayRenderPicture(), ThreadExecuteCropBorder(), TsStart(), var_AddCallback(), var_Create(), var_GetIfIndex(), var_OptionParse(), VideoBufferNew(), vlc_http_HostNew(), vlc_https_HostNew(), vlc_InitActions(), vlc_object_find_name(), vlc_rtsp_HostNew(), vlc_sd_Start(), vlc_tls_ClientCreate(), vlc_tls_ClientSessionCreate(), vlc_tls_ServerCreate(), vlc_xlib_init(), vlm_ControlMediaAdd(), vlm_New(), vlm_OnMediaUpdate(), vlm_vaControlInternal(), vout_EnableFilter(), vout_FixLeaks(), vout_GetSnapshot(), vout_ManageDisplay(), vout_new_buffer(), vout_SendEventSourceAspect(), vout_snapshot_SaveImage(), VoutCreate(), VoutDisplayCreateRender(), VoutDisplayEvent(), VoutSaveSnapshot(), xml_Create(), and xml_ReaderCreate().
| #define msg_GenericVa | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e | |||
| ) | vlc_vaLog(VLC_OBJECT(a), b, c, d, e) |
Referenced by dialog_VFatal().
| #define msg_Info | ( | p_this, | |
| ... | |||
| ) | vlc_Log( VLC_OBJECT(p_this), VLC_MSG_INFO, MODULE_STRING, __VA_ARGS__ ) |
| #define msg_Warn | ( | p_this, | |
| ... | |||
| ) | vlc_Log( VLC_OBJECT(p_this), VLC_MSG_WARN, MODULE_STRING, __VA_ARGS__ ) |
Referenced by aout_DecPlay(), aout_DecSynchronize(), AStreamSeekBlock(), AStreamSeekStream(), AuthDigest(), config_ChainParse(), config_CreateDir(), config_GetIntChoices(), config_LoadConfigFile(), config_PutFloat(), config_PutInt(), config_PutPsz(), Control(), ControlPause(), ControlUnpause(), decoder_NewPicture(), decoder_NewSubpicture(), decoder_SynchroChoose(), decoder_SynchroNewPicture(), DecoderPlayAudio(), DecoderPlaySpu(), DecoderPlayVideo(), dialog_ExtensionUpdate(), DownloadArt(), DumpStructure(), EsOutFrameNext(), EsSelect(), EsUnselect(), filter_NewPicture(), filter_NewSubpicture(), FilterChainVideoFilter(), GetFilenames(), http_auth_ParseAuthenticationInfoHeader(), http_auth_ParseWwwAuthenticateHeader(), httpd_HostDelete(), httpd_UrlDelete(), httpd_UrlNew(), ImageRead(), input_clock_Update(), input_DecoderDecode(), input_ExtractAttachmentAndCacheArt(), InputSourceInit(), libvlc_InternalInit(), module_Load(), net_Connect(), net_ConnectDgram(), net_SetMcastHopLimit(), net_SourceSubscribe(), playlist_preparser_Push(), playlist_ServicesDiscoveryRemove(), SocksHandshakeTCP(), sout_InputSendBuffer(), sout_MuxDeleteStream(), sout_MuxSendBuffer(), spu_del_buffer(), spu_new_buffer(), SpuRenderRegion(), SpuRenderSubpictures(), StartTitle(), stream_FilterChainNew(), stream_ReadLine(), ThreadDisplayPreparePicture(), ThreadDisplayRenderPicture(), ThreadReinit(), TsAutoStop(), TsRun(), var_Inherit(), video_splitter_NewPicture(), vlc_InitAction(), vlc_probe(), vlm_New(), vout_InitWrapper(), vout_new_buffer(), vout_Request(), vout_snapshot_SaveImage(), VoutDisplayEvent(), and VoutOsdSnapshot().
| enum msg_item_type |
| void vlc_Log | ( | vlc_object_t * | obj, |
| int | type, | ||
| const char * | module, | ||
| const char * | format, | ||
| ... | |||
| ) |
Emit a log message.
| obj | VLC object emitting the message or NULL |
| type | VLC_MSG_* message type (info, error, warning or debug) |
| module | name of module from which the message come (normally MODULE_STRING) |
| format | printf-like message format |
References vlc_vaLog().
| void vlc_vaLog | ( | vlc_object_t * | obj, |
| int | type, | ||
| const char * | module, | ||
| const char * | format, | ||
| va_list | args | ||
| ) |
Emit a log message.
This function is the variable argument list equivalent to vlc_Log().
References libvlc_priv_t::b_color, md5_s::buf, freelocale(), vlc_object_t::i_flags, msg_item_t::i_object_id, libvlc_priv_t::i_verbose, LC_MESSAGES_MASK, libvlc_priv(), msg, msg_lock, net_strerror(), newlocale(), msg_subscription::next, OBJECT_FLAGS_QUIET, vlc_object_t::p_libvlc, vlc_object_t::p_parent, PrintColorMsg(), PrintMsg(), msg_item_t::psz_header, msg_item_t::psz_module, vlc_object_t::psz_object_type, msg_item_t::psz_object_type, uselocale(), vlc_rwlock_rdlock(), and vlc_rwlock_unlock().
Referenced by vlc_Log().
1.8.1.2