/// <summary>
        /// Enable the port specified.
        /// </summary>
        /// <param name="port">The output port</param>
        /// <param name="managedCallback">The managed method to callback to from the native callback</param>
        internal void Start(MMALPortBase port, Action <MMALBufferImpl, MMALPortBase> managedCallback)
        {
            if (this.Handler != null && this.Handler.GetType().GetTypeInfo().IsSubclassOf(typeof(StreamCaptureHandler)))
            {
                ((StreamCaptureHandler)this.Handler).NewFile();
            }

            port.EnablePort(managedCallback);
        }
 /// <summary>
 /// Enable the port specified.
 /// </summary>
 /// <param name="port">The output port</param>
 /// <param name="managedCallback">The managed method to callback to from the native callback</param>
 internal void Start(MMALPortBase port, Func <MMALBufferImpl, MMALPortBase, ProcessResult> managedCallback)
 {
     port.EnablePort(managedCallback);
 }