source: trunk/DirectShowSpy/Sample/FilterGraphHelperDialog/Program.cs @ 234

Last change on this file since 234 was 234, checked in by roman, 9 years ago

Added FilterGraphHelperDialog? C# sample

File size: 701 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6using DirectShowLib;
7using AlaxInfoDirectShowSpy;
8
9namespace FilterGraphHelperDialog
10{
11    class Program
12    {
13        [STAThread]
14        static void Main(string[] args)
15        {
16            IFilterGraph2 graph = new FilterGraph() as IFilterGraph2;
17            graph.RenderFile(@"E:\Media\GoPro 2010 Highlights - You in HD - 1920x1080.mp4", "");
18            FilterGraphHelper helper = new FilterGraphHelper();
19            helper.FilterGraph = graph;
20            helper.DoPropertyFrameModal(0);
21            Console.WriteLine(helper.Text);
22        }
23    }
24}
Note: See TracBrowser for help on using the repository browser.