Lines Matching defs:graph
251 if (ctx->graph) {
254 r = IGraphBuilder_EnumFilters(ctx->graph, &fenum);
259 if (IGraphBuilder_RemoveFilter(ctx->graph, f) == S_OK)
266 IGraphBuilder_Release(ctx->graph);
1323 IGraphBuilder *graph = ctx->graph;
1373 // avoid adding add two instances of the same device to the graph, one for video, one for audio
1376 av_log(avctx, AV_LOG_DEBUG, "reusing previous graph capture filter... %s\n", device_filter_unique_name);
1381 av_log(avctx, AV_LOG_DEBUG, "not reusing previous graph capture filter %s != %s\n", device_filter_unique_name, ctx->device_unique_name[otherDevType]);
1388 r = IGraphBuilder_AddFilter(graph, device_filter, NULL);
1390 av_log(avctx, AV_LOG_ERROR, "Could not add device filter to graph.\n");
1450 r = IGraphBuilder_AddFilter(graph, (IBaseFilter *) capture_filter,
1453 av_log(avctx, AV_LOG_ERROR, "Could not add capture filter to graph\n");
1467 ICaptureGraphBuilder2_SetFiltergraph(graph_builder2, graph);
1469 av_log(avctx, AV_LOG_ERROR, "Could not set graph for CaptureGraphBuilder2\n");
1678 IGraphBuilder *graph = NULL;
1713 &IID_IGraphBuilder, (void **) &graph);
1715 av_log(avctx, AV_LOG_ERROR, "Could not create capture graph.\n");
1718 ctx->graph = graph;
1787 r = IGraphBuilder_QueryInterface(graph, &IID_IMediaControl, (void **) &control);
1794 r = IGraphBuilder_QueryInterface(graph, &IID_IMediaEvent, (void **) &media_event);
1820 av_log(avctx, AV_LOG_ERROR, "Could not run graph (sometimes caused by a device already in use by other application)\n");