Esempio n. 1
0
        private void OnTrackFinished(object o, TranscoderTrackFinishedArgs args)
        {
            transcoding = false;

            if (user_job == null || transcoder == null)
            {
                return;
            }

            UserJob.Completed++;
            args.Track.MimeType = current_context.Config.Profile.MimeTypes[0];
            current_context.Handler(args.Track, current_context.OutUri);

            ProcessQueue();
        }
Esempio n. 2
0
        private void OnTrackFinished (object o, TranscoderTrackFinishedArgs args)
        {
            transcoding = false;

            if (user_job == null || transcoder == null) {
                return;
            }

            UserJob.Completed++;
            args.Track.MimeType = current_context.Config.Profile.MimeTypes[0];
            current_context.Handler (args.Track, current_context.OutUri);

            ProcessQueue ();
        }