Sensoray 616 AVStream DirectShow User Manual
Page 10

10
The other functions are self-explanatory except that all settings except Video Proc Amp must be
changed prior to starting the stream. Video Proc Amp values (brightness, contrast, saturation) are
changed after the stream has started.
Modifications to the program can allow additional features. For instance, to change Video Proc
Amp settings before starting the graph, the developer could create a so-called “setting graph” first
where only the crossbar and avcapture graphs are added and the interfaces queried.
The demo application uses Smart Pointers to query interfaces. Smart Pointers are the
recommended method for interface querying. This eliminates the possible of memory leaks, which
can be difficult to track in DirectShow/COM programming.