| 2542 | //--------------------------------------------------------------------------- |
| 2543 | #if MEDIAINFO_EVENTS |
| 2544 | void MediaInfo_Internal::Event_Prepare (struct MediaInfo_Event_Generic* Event, int32u Event_Code, size_t Event_Size) |
| 2545 | { |
| 2546 | CriticalSectionLocker CSL(CS); |
| 2547 | if (Info) |
| 2548 | Info->Event_Prepare(Event, Event_Code, Event_Size); |
| 2549 | } |
| 2550 | #endif // MEDIAINFO_EVENTS |
| 2551 | |
| 2552 | //--------------------------------------------------------------------------- |