예제 #1
0
        public static CommandStage Select <TStreamType>(this FFmpegCommand command, CommandInput resource)
            where TStreamType : class, IStream
        {
            if (resource == null)
            {
                throw new ArgumentNullException("resource");
            }

            return(command.Select(resource.GetStreamIdentifier <TStreamType>()));
        }