---------------------------------------------------------------------------
| 886 | |
| 887 | //--------------------------------------------------------------------------- |
| 888 | size_t Reader_libcurl::Format_Test(MediaInfo_Internal* MI, String File_Name) |
| 889 | { |
| 890 | if (!Load()) |
| 891 | return 0; |
| 892 | |
| 893 | #if MEDIAINFO_EVENTS |
| 894 | { |
| 895 | string File_Name_Local=Ztring(File_Name).To_Local(); |
| 896 | wstring File_Name_Unicode=Ztring(File_Name).To_Unicode(); |
| 897 | struct MediaInfo_Event_General_Start_0 Event; |
| 898 | memset(&Event, 0xFF, sizeof(struct MediaInfo_Event_General_Start_0)); |
| 899 | Event.StreamIDs_Size=0; |
| 900 | Event.EventCode=MediaInfo_EventCode_Create(MediaInfo_Parser_None, MediaInfo_Event_General_Start, 0); |
| 901 | Event.Stream_Size=(int64u)-1; |
| 902 | Event.FileName=File_Name_Local.c_str(); |
| 903 | Event.FileName_Unicode=File_Name_Unicode.c_str(); |
| 904 | MI->Config.Event_Send(NULL, (const int8u*)&Event, sizeof(MediaInfo_Event_General_Start_0)); |
| 905 | } |
| 906 | #endif //MEDIAINFO_EVENTS |
| 907 | |
| 908 | //With Parser MultipleParsing |
| 909 | return Format_Test_PerParser(MI, File_Name); |
| 910 | } |
| 911 | |
| 912 | //--------------------------------------------------------------------------- |
| 913 | void Reader_libcurl::Curl_Log(int Result, const Ztring &Message) |
nothing calls this directly
no test coverage detected