Unit1.dfm 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. object Form1: TForm1
  2. Left = 198
  3. Top = 114
  4. Width = 367
  5. Height = 242
  6. Caption = 'Simple SnapShot'
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'MS Sans Serif'
  12. Font.Style = []
  13. OldCreateOrder = False
  14. OnClose = FormClose
  15. PixelsPerInch = 96
  16. TextHeight = 13
  17. object Image: TImage
  18. Left = 176
  19. Top = 8
  20. Width = 153
  21. Height = 121
  22. Stretch = True
  23. end
  24. object VideoWindow: TVideoWindow
  25. Left = 8
  26. Top = 8
  27. Width = 160
  28. Height = 120
  29. Mode = vmVMR
  30. FilterGraph = FilterGraph
  31. VMROptions.Mode = vmrWindowed
  32. VMROptions.Streams = 1
  33. VMROptions.Preferences = []
  34. Color = clBlack
  35. end
  36. object OpenPlay: TButton
  37. Left = 8
  38. Top = 136
  39. Width = 75
  40. Height = 25
  41. Caption = 'Open - Play'
  42. TabOrder = 1
  43. OnClick = OpenPlayClick
  44. end
  45. object Snapshot: TButton
  46. Left = 176
  47. Top = 136
  48. Width = 75
  49. Height = 25
  50. Caption = 'Snapshot'
  51. TabOrder = 2
  52. OnClick = SnapshotClick
  53. end
  54. object CallBack: TCheckBox
  55. Left = 176
  56. Top = 168
  57. Width = 97
  58. Height = 17
  59. Caption = 'Callback Event'
  60. TabOrder = 3
  61. end
  62. object FilterGraph: TFilterGraph
  63. LogFile = 'c:\dxlog.txt'
  64. AutoCreate = True
  65. GraphEdit = True
  66. Left = 16
  67. Top = 16
  68. end
  69. object SampleGrabber: TSampleGrabber
  70. OnBuffer = SampleGrabberBuffer
  71. FilterGraph = FilterGraph
  72. MediaType.data = {
  73. 7669647300001000800000AA00389B717EEB36E44F52CE119F530020AF0BA770
  74. FFFFFFFF0000000001000000809F580556C3CE11BF0100AA0055595A00000000
  75. 0000000000000000}
  76. Left = 184
  77. Top = 16
  78. end
  79. object OpenDialog: TOpenDialog
  80. Left = 16
  81. Top = 80
  82. end
  83. end