Lines Matching defs:media_event
60 IMediaEvent *media_event;
109 if (ctx->media_event)
110 IMediaEvent_Release(ctx->media_event);
870 IMediaEvent *media_event = NULL;
967 r = IGraphBuilder_QueryInterface(graph, &IID_IMediaEvent, (void **) &media_event);
972 ctx->media_event = media_event;
974 r = IMediaEvent_GetEventHandle(media_event, (void *) &media_event_handle);
1015 static int dshow_check_event_queue(IMediaEvent *media_event)
1021 while (IMediaEvent_GetEvent(media_event, &code, &p1, &p2, 0) != E_ABORT) {
1024 IMediaEvent_FreeEventParams(media_event, code, p1, p2);
1047 if (dshow_check_event_queue(ctx->media_event) < 0) {