Пример #1
0
        protected virtual void OnError(TrackInfo track, string message)
        {
            TranscoderErrorHandler handler = Error;

            if (handler != null)
            {
                handler(this, new TranscoderErrorArgs(track, message));
            }
        }
Пример #2
0
        protected virtual void RaiseError(TrackInfo track, string message)
        {
            try {
                Banshee.IO.File.Delete(output_uri);
            } catch {}

            TranscoderErrorHandler handler = Error;

            if (handler != null)
            {
                handler(this, new TranscoderErrorArgs(track, message));
            }
        }